Accessors
provider
- get provider(): AugmentedProvider
-
Returns AugmentedProvider
Methods
createRewarder
- createRewarder(param0: { authority?: PublicKey; baseKP?: Signer; mintWrapper: PublicKey }): Promise<{ key: PublicKey; tx: TransactionEnvelope }>
-
Parameters
-
param0: { authority?: PublicKey; baseKP?: Signer; mintWrapper: PublicKey }
-
Optional
authority?: PublicKey
-
Optional
baseKP?: Signer
-
mintWrapper: PublicKey
Returns Promise<{ key: PublicKey; tx: TransactionEnvelope }>
createRewarderV1
- createRewarderV1(param0: { authority?: PublicKey; baseKP?: Signer; mintWrapper: PublicKey }): Promise<{ key: PublicKey; tx: TransactionEnvelope }>
-
Parameters
-
param0: { authority?: PublicKey; baseKP?: Signer; mintWrapper: PublicKey }
-
Optional
authority?: PublicKey
-
Optional
baseKP?: Signer
-
mintWrapper: PublicKey
Returns Promise<{ key: PublicKey; tx: TransactionEnvelope }>
rescueTokens
- rescueTokens(__namedParameters: { miner: PublicKey; minerTokenAccount: PublicKey; mint: PublicKey; owner?: PublicKey }): Promise<TransactionEnvelope>
-
Parameters
-
__namedParameters: { miner: PublicKey; minerTokenAccount: PublicKey; mint: PublicKey; owner?: PublicKey }
-
miner: PublicKey
-
minerTokenAccount: PublicKey
-
mint: PublicKey
-
Optional
owner?: PublicKey
Returns Promise<TransactionEnvelope>
Creates a new Rewarder.
Returns