Variables
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
-
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
-
[eventTag: string]: (...args: Array<any>) => void
-
- (...args: Array<any>): void
Readonly address
address: string
callStatic
callStatic: { addStake: any; balanceOf: any; depositTo: any; getDepositInfo: any; unlockStake: any; withdrawStake: any; withdrawTo: any }
Type declaration
-
addStake: function
- addStake(_unstakeDelaySec: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>
-
Parameters
-
_unstakeDelaySec: PromiseOrValue<BigNumberish>
-
Optional overrides: CallOverrides
Returns Promise<void>
-
balanceOf: function
- balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
depositTo: function
- depositTo(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<void>
-
getDepositInfo: function
-
Parameters
-
-
Optional overrides: CallOverrides
-
unlockStake: function
- unlockStake(overrides?: CallOverrides): Promise<void>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<void>
-
withdrawStake: function
- withdrawStake(withdrawAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<void>
-
withdrawTo: function
-
Parameters
-
-
withdrawAmount: PromiseOrValue<BigNumberish>
-
Optional overrides: CallOverrides
Returns Promise<void>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { addStake: any; balanceOf: any; depositTo: any; getDepositInfo: any; unlockStake: any; withdrawStake: any; withdrawTo: any }
Type declaration
-
addStake: function
- addStake(_unstakeDelaySec: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & { from?: PromiseOrValue<string> }): Promise<BigNumber>
-
Parameters
Returns Promise<BigNumber>
-
balanceOf: function
- balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
depositTo: function
-
Parameters
-
-
Optional overrides: PayableOverrides & { from?: PromiseOrValue<string> }
Returns Promise<BigNumber>
-
getDepositInfo: function
- getDepositInfo(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
unlockStake: function
- unlockStake(overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<BigNumber>
-
Parameters
Returns Promise<BigNumber>
-
withdrawStake: function
-
Parameters
Returns Promise<BigNumber>
-
withdrawTo: function
-
Parameters
Returns Promise<BigNumber>
filters
filters: { Deposited: any; Deposited(address,uint256): any; StakeLocked: any; StakeLocked(address,uint256,uint256): any; StakeUnlocked: any; StakeUnlocked(address,uint256): any; StakeWithdrawn: any; StakeWithdrawn(address,address,uint256): any; Withdrawn: any; Withdrawn(address,address,uint256): any }
Type declaration
-
Deposited: function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional totalDeposit: null
-
Deposited(address,uint256): function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional totalDeposit: null
-
StakeLocked: function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional totalStaked: null
-
Optional unstakeDelaySec: null
-
StakeLocked(address,uint256,uint256): function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional totalStaked: null
-
Optional unstakeDelaySec: null
-
StakeUnlocked: function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional withdrawTime: null
-
StakeUnlocked(address,uint256): function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional withdrawTime: null
-
StakeWithdrawn: function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional withdrawAddress: null
-
Optional amount: null
-
StakeWithdrawn(address,address,uint256): function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional withdrawAddress: null
-
Optional amount: null
-
Withdrawn: function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional withdrawAddress: null
-
Optional amount: null
-
Withdrawn(address,address,uint256): function
-
Parameters
-
Optional account: PromiseOrValue<string> | null
-
Optional withdrawAddress: null
-
Optional amount: null
functions
functions: { addStake: any; balanceOf: any; depositTo: any; getDepositInfo: any; unlockStake: any; withdrawStake: any; withdrawTo: any }
Type declaration
-
addStake: function
- addStake(_unstakeDelaySec: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
-
Parameters
Returns Promise<ContractTransaction>
-
balanceOf: function
- balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[]>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<[]>
-
depositTo: function
-
Parameters
-
-
Optional overrides: PayableOverrides & { from?: PromiseOrValue<string> }
Returns Promise<ContractTransaction>
-
getDepositInfo: function
-
Parameters
-
-
Optional overrides: CallOverrides
-
unlockStake: function
- unlockStake(overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
-
Parameters
Returns Promise<ContractTransaction>
-
withdrawStake: function
- withdrawStake(withdrawAddress: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
-
Parameters
Returns Promise<ContractTransaction>
-
withdrawTo: function
-
Parameters
Returns Promise<ContractTransaction>
populateTransaction
populateTransaction: { addStake: any; balanceOf: any; depositTo: any; getDepositInfo: any; unlockStake: any; withdrawStake: any; withdrawTo: any }
Type declaration
-
addStake: function
- addStake(_unstakeDelaySec: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & { from?: PromiseOrValue<string> }): Promise<PopulatedTransaction>
-
Parameters
Returns Promise<PopulatedTransaction>
-
balanceOf: function
- balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
depositTo: function
-
Parameters
-
-
Optional overrides: PayableOverrides & { from?: PromiseOrValue<string> }
Returns Promise<PopulatedTransaction>
-
getDepositInfo: function
- getDepositInfo(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
unlockStake: function
- unlockStake(overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<PopulatedTransaction>
-
Parameters
Returns Promise<PopulatedTransaction>
-
withdrawStake: function
- withdrawStake(withdrawAddress: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<PopulatedTransaction>
-
Parameters
Returns Promise<PopulatedTransaction>
-
withdrawTo: function
-
Parameters
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer