Properties
DOMAIN_SEPARATOR
DOMAIN_SEPARATOR: TypedContractMethod<[], [string], "view">
Readonly
[internal]
[internal]: any
addRewards
addRewards: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">
allowance
allowance: TypedContractMethod<[holder: AddressLike, spender: AddressLike], [bigint], "view">
approve
approve: TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
balanceOf
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">
circulatingSupply
circulatingSupply: TypedContractMethod<[], [bigint], "view">
decimals
decimals: TypedContractMethod<[], [bigint], "view">
decreaseAllowance
decreaseAllowance: TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
earlyUnstake
earlyUnstake: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">
estimateSendFee
estimateSendFee: TypedContractMethod<[dstChainId: BigNumberish, toAddress: BytesLike, amount: BigNumberish, useZro: boolean, adapterParams: BytesLike], [[bigint, bigint] & {
nativeFee: bigint;
zroFee: bigint;
}], "view">
Readonly
fallback
fallback: null | WrappedFallback
filters
filters: {
Approval: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Approval(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
BridgeLock: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
BridgeLock(address,uint64,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
EarlyUnstakeRewardCollected: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
EarlyUnstakeRewardCollected(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Harvest: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Harvest(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ReceiveFromChain: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ReceiveFromChain(uint16,bytes,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
RewardsAdded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
RewardsAdded(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SendToChain: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SendToChain(address,uint16,bytes,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetUseCustomAdapterParams: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetUseCustomAdapterParams(bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Stake: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Stake(address,uint256,uint64,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Transfer: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Transfer(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Unstake: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Unstake(address,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
UpdateLock: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
UpdateLock(address,uint64,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Withdraw: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Withdraw(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}
Type declaration
-
Approval: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Approval(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
BridgeLock: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
BridgeLock(address,uint64,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
EarlyUnstakeRewardCollected: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
EarlyUnstakeRewardCollected(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Harvest: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Harvest(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ReceiveFromChain: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ReceiveFromChain(uint16,bytes,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
RewardsAdded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
RewardsAdded(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SendToChain: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SendToChain(address,uint16,bytes,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetUseCustomAdapterParams: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetUseCustomAdapterParams(bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Stake: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Stake(address,uint256,uint64,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Transfer: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Transfer(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Unstake: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Unstake(address,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
UpdateLock: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
UpdateLock(address,uint64,uint64): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Withdraw: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Withdraw(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
getAvailablePremiaAmount
getAvailablePremiaAmount: TypedContractMethod<[], [bigint], "view">
getAvailableRewards
getAvailableRewards: TypedContractMethod<[], [[bigint, bigint] & {
rewards: bigint;
unstakeRewards: bigint;
}], "view">
getDiscount
getDiscount: TypedContractMethod<[user: AddressLike], [bigint], "view">
getEarlyUnstakeFee
getEarlyUnstakeFee: TypedContractMethod<[user: AddressLike], [bigint], "view">
getPendingRewards
getPendingRewards: TypedContractMethod<[], [bigint], "view">
getPendingUserRewards
getPendingUserRewards: TypedContractMethod<[user: AddressLike], [[bigint, bigint] & {
reward: bigint;
unstakeReward: bigint;
}], "view">
getPendingWithdrawal
getPendingWithdrawal: TypedContractMethod<[user: AddressLike], [[bigint, bigint, bigint] & {
amount: bigint;
startDate: bigint;
unlockDate: bigint;
}], "view">
getRewardToken
getRewardToken: TypedContractMethod<[], [string], "view">
getStakeLevels
getStakePeriodMultiplier
getStakePeriodMultiplier: TypedContractMethod<[period: BigNumberish], [bigint], "nonpayable">
getTotalPower
getTotalPower: TypedContractMethod<[], [bigint], "view">
getUserInfo
getUserInfo: TypedContractMethod<[user: AddressLike], [UserInfoStructOutput], "view">
getUserPower
getUserPower: TypedContractMethod<[user: AddressLike], [bigint], "view">
harvest
harvest: TypedContractMethod<[], [void], "nonpayable">
harvestAndStake
harvestAndStake: TypedContractMethod<[s
: SwapArgsStruct, stakePeriod
: BigNumberish], [void], "nonpayable">
increaseAllowance
increaseAllowance: TypedContractMethod<[spender: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
interface
interface: IPremiaStakingInterface
name
name: TypedContractMethod<[], [string], "view">
nonces
nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">
permit
permit: TypedContractMethod<[owner: AddressLike, spender: AddressLike, amount: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike], [void], "nonpayable">
Readonly
runner
runner: null | ContractRunner
sendFrom
sendFrom: TypedContractMethod<[from: AddressLike, dstChainId: BigNumberish, toAddress: BytesLike, amount: BigNumberish, refundAddress: AddressLike, zroPaymentAddress: AddressLike, adapterParams: BytesLike], [void], "payable">
stake
stake: TypedContractMethod<[amount: BigNumberish, period: BigNumberish], [void], "nonpayable">
stakeWithPermit
stakeWithPermit: TypedContractMethod<[amount: BigNumberish, period: BigNumberish, deadline: BigNumberish, v: BigNumberish, r: BytesLike, s: BytesLike], [void], "nonpayable">
startWithdraw
startWithdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">
supportsInterface
supportsInterface: TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">
symbol
symbol: TypedContractMethod<[], [string], "view">
Readonly
target
target: string | Addressable
totalSupply
totalSupply: TypedContractMethod<[], [bigint], "view">
transfer
transfer: TypedContractMethod<[recipient: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
transferFrom
transferFrom: TypedContractMethod<[holder: AddressLike, recipient: AddressLike, amount: BigNumberish], [boolean], "nonpayable">
updateLock
updateLock: TypedContractMethod<[period: BigNumberish], [void], "nonpayable">
withdraw
withdraw: TypedContractMethod<[], [void], "nonpayable">