Properties
Readonly [internal]
[internal]: any
addRewards
addRewards: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">
claim
claim: TypedContractMethod<[vaults: AddressLike[], amount: BigNumberish], [void], "nonpayable">
claimAll
claimAll: TypedContractMethod<[vaults: AddressLike[]], [void], "nonpayable">
Readonly fallback
fallback: null | WrappedFallback
filters
filters: {
AddDualMiningPool: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
AddDualMiningPool(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
AllocateRewards: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
AllocateRewards(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Claim: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Claim(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
RemoveDualMiningPool: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
RemoveDualMiningPool(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetRewardsPerYear: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetRewardsPerYear(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetVoteMultiplier: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SetVoteMultiplier(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
UpdateVaultVotes: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
UpdateVaultVotes(address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}
Type declaration
-
AddDualMiningPool: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
AddDualMiningPool(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
AllocateRewards: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
AllocateRewards(address,address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Claim: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Claim(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
RemoveDualMiningPool: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
RemoveDualMiningPool(address,address): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetRewardsPerYear: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetRewardsPerYear(uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetVoteMultiplier: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SetVoteMultiplier(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
UpdateVaultVotes: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
UpdateVaultVotes(address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
getDualMiningPools
getDualMiningPools: TypedContractMethod<[vault: AddressLike], [string[]], "view">
getPendingUserRewardsFromVault
getPendingUserRewardsFromVault: TypedContractMethod<[user: AddressLike, vault: AddressLike], [bigint], "view">
getPendingVaultRewards
getPendingVaultRewards: TypedContractMethod<[vault: AddressLike], [bigint], "view">
getRewardsAvailable
getRewardsAvailable: TypedContractMethod<[], [bigint], "view">
getRewardsPerYear
getRewardsPerYear: TypedContractMethod<[], [bigint], "view">
getTotalUserRewards
getTotalUserRewards: TypedContractMethod<[user: AddressLike], [bigint], "view">
getTotalVotes
getTotalVotes: TypedContractMethod<[], [bigint], "view">
getUserInfo
getUserRewards
getUserRewards: TypedContractMethod<[user: AddressLike], [bigint], "view">
getVaultInfo
getVoteMultiplier
getVoteMultiplier: TypedContractMethod<[vault: AddressLike], [bigint], "view">
interface
interface: IVaultMiningInterface
previewOptionParams
previewOptionParams: TypedContractMethod<[], [[bigint, bigint] & {
maturity: bigint;
strike: bigint;
}], "view">
Readonly runner
runner: null | ContractRunner
Readonly target
target: string | Addressable
updateUser(address,address)
updateUser(address,address): TypedContractMethod<[user: AddressLike, vault: AddressLike], [void], "nonpayable">
updateUser(address,uint256,uint256,uint256)
updateUser(address,uint256,uint256,uint256): TypedContractMethod<[user: AddressLike, newUserShares: BigNumberish, newTotalShares: BigNumberish, utilisationRate: BigNumberish], [void], "nonpayable">
updateVault
updateVault: TypedContractMethod<[vault: AddressLike], [void], "nonpayable">
updateVaults
updateVaults: TypedContractMethod<[], [void], "nonpayable">
@_ignore: