TokenStake class

Inheritance

Constructors

TokenStake({required dynamic contractAddress, required dynamic contractABI, required dynamic signer})

Properties

contract ↔ Contract
getter/setter pairinherited
contractABI String
getter/setter pairinherited
contractAddress String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signer ↔ Signer<_SignerImpl>
getter/setter pairinherited

Methods

claimRewards() Future
depositRewardTokens(int amount) Future
inherited
getRewardRatio() Future
getRewardTokenBalance() Future
inherited
getStakeInfo(String staker) Future
getTimeUnit() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setRewardRatio(int numerator, int denominator) Future
setTimeUnit(int timeUnit) Future
stake(int amount) Future
toString() String
A string representation of this object.
inherited
withdraw(int amount) Future
withdrawRewardTokens(int amount) Future
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited