Readonly premiaThe Premia SDK instance.
Protected streamThe current index of quote streams. Used to cancel stale streams.
Encodes the claim parameters into a transaction that can be broadcasted to the provider network.
array of addresses of vaults to claim partial amount.
amount of rewards to claim.
Optional provider: ProviderThe custom provider to use for this call.
A promise that resolves to a contract transaction for the claim operation.
Encodes the claimAll parameters into a transaction that can be broadcasted to the provider network.
array of addresses of vaults to claim all rewards.
Optional provider: ProviderThe custom provider to use for this call.
A promise that resolves to a contract transaction for the claimAll operation.
Encodes the claimAll parameters into a transaction that can be broadcasted to the provider network.
array of addresses of vaults to claim all rewards.
Optional provider: ProviderThe custom provider to use for this call.
The encoded transaction data.
Encodes the claim parameters into a transaction that can be broadcasted to the provider network.
array of addresses of vaults to claim partial amount.
amount of rewards to claim.
Optional provider: ProviderThe custom provider to use for this call.
The encoded transaction data.
Returns a promise containing amount of user rewards.
Optional provider: ProviderThe custom provider to use for this call.
Promise amount of pending dual mining rewards.
Returns a promise containing the amount of pending user rewards for a vault.
Optional provider: ProviderThe custom provider to use for this call.
Promise the amount of pending user rewards for a vault.
Returns the total number of rewards across all targets for the next year.
Optional provider: ProviderThe custom provider to use for this call.
A promise that resolves to the total number of rewards across all targets for the next year.
Returns a promise containing total amount of pending user rewards.
The address of the user.
Optional provider: ProviderThe custom provider to use for this call.
Promise total amount of pending user rewards.
Returns the UserInfo including the votes of the specified user in the vault.
The address of the user.
The address of the vault.
Optional provider: ProviderThe custom provider to use for this call.
A promise that resolves to the UserInfo including the votes of the specified user in the vault.
Returns the VaultInfo including the number of votes for the specified vault.
The address of the vault.
Optional provider: ProviderThe custom provider to use for this call.
A promise that resolves to the VaultInfo including the number of votes for the specified vault.
Returns a promise containing vote multipler for a vault.
The address of the vault.
Optional provider: ProviderThe custom provider to use for this call.
Promise vote multiplier for a vault.
Returns strike and maturity before claiming premia option rewards.
Optional provider: ProviderThe custom provider to use for this call.
A promise that resolves to the strike and maturity for premia option rewards.
Generated using TypeDoc
Represents a class for handling operations related to making liquidity mining.