EditionStake class

Inheritance

Constructors

EditionStake({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
getDefaultRewardsPerUnitTime() Future
getDefaultTimeUnit() Future
getRewardsPerUnitTime(int tokenId) Future
getRewardTokenBalance() Future
inherited
getStakeInfo(String staker) Future
getStakeInfoForToken(int tokenId, String staker) Future
getTimeUnit(int tokenId) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDefaultRewardsPerUnitTime(int rewardsPerUnitTime) Future
setDefaultTimeUnit(int timeUnit) Future
setRewardsPerUnitTime(int rewardsPerUnitTime) 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