Properties
Readonly [internal]
[internal]: any
addRewards
addRewards: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">
claim
claim: TypedContractMethod<[user: AddressLike], [void], "nonpayable">
Readonly fallback
fallback: null | WrappedFallback
filters
filters: {
Claim: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Claim(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Initialized: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Initialized(address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
MiningEnded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
MiningEnded(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}
Type declaration
-
Claim: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Claim(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Initialized: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Initialized(address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
MiningEnded: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
MiningEnded(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
getPendingUserRewards
getPendingUserRewards: TypedContractMethod<[user: AddressLike], [bigint], "view">
getRewardsAvailable
getRewardsAvailable: TypedContractMethod<[], [bigint], "view">
getUserInfo
init
init: TypedContractMethod<[initialParentAccRewardsPerShare: BigNumberish], [void], "nonpayable">
interface
interface: IDualMiningInterface
Readonly runner
runner: null | ContractRunner
Readonly target
target: string | Addressable
updatePool
updatePool: TypedContractMethod<[poolRewards: BigNumberish, accRewardsPerShare: BigNumberish], [void], "nonpayable">
updateUser
updateUser: TypedContractMethod<[user: AddressLike, oldShares: BigNumberish, oldRewardDebt: BigNumberish, poolRewards: BigNumberish, userRewards: BigNumberish, accRewardsPerShare: BigNumberish], [void], "nonpayable">
@_ignore: