Class AdminControlledPoolInstructions
Hierarchy
-
AdminControlledPoolInstructions
Methods
Static addAsset
- addAsset(pool: PoolInfo, vault: PublicKey): TransactionInstruction
-
Parameters
Returns TransactionInstruction
Static approveDelegate
- approveDelegate(pool: PoolInfo, vault: PublicKey, delegate: PublicKey, amount: BN): TransactionInstruction
-
Parameters
-
-
vault: PublicKey
-
delegate: PublicKey
-
amount: BN
Returns TransactionInstruction
Static pause
- pause(pool: PoolInfo): TransactionInstruction
-
Parameters
Returns TransactionInstruction
Static removeAsset
- removeAsset(pool: PoolInfo, vault: PublicKey): TransactionInstruction
-
Parameters
Returns TransactionInstruction
Static unpause
- unpause(pool: PoolInfo): TransactionInstruction
-
Parameters
Returns TransactionInstruction
Static updateAdmin
- updateAdmin(pool: PoolInfo, newAdmin: PublicKey): TransactionInstruction
-
Parameters
Returns TransactionInstruction
Static updateFee
- updateFee(pool: PoolInfo, feeRate: number): TransactionInstruction
-
Parameters
Returns TransactionInstruction
Instructions for interacting with the example admin-controlled pool.