Constructors
Methods
Static
buildTokenExtensionContext
Static
buildTokenExtensionContextForPool
Static
calculateTransferFeeExcludedAmount
Static
calculateTransferFeeIncludedAmount
Static
getExtraAccountMetasForTransferHook
getExtraAccountMetasForTransferHook( connection: Connection, tokenMintWithProgram: MintWithTokenProgram, source: PublicKey, destination: PublicKey, owner: PublicKey,): Promise<undefined | AccountMeta[]> Parameters
- connection: Connection
- tokenMintWithProgram: MintWithTokenProgram
- source: PublicKey
- destination: PublicKey
- owner: PublicKey
Returns Promise<undefined | AccountMeta[]>
Static
getExtraAccountMetasForTransferHookForPool
getExtraAccountMetasForTransferHookForPool( connection: Connection, tokenExtensionCtx: TokenExtensionContextForPool, sourceA: PublicKey, destinationA: PublicKey, ownerA: PublicKey, sourceB: PublicKey, destinationB: PublicKey, ownerB: PublicKey,): Promise< { tokenTransferHookAccountsA: undefined | AccountMeta[]; tokenTransferHookAccountsB: undefined | AccountMeta[]; },> Parameters
- connection: Connection
- tokenExtensionCtx: TokenExtensionContextForPool
- sourceA: PublicKey
- destinationA: PublicKey
- ownerA: PublicKey
- sourceB: PublicKey
- destinationB: PublicKey
- ownerB: PublicKey
Returns Promise<
{
tokenTransferHookAccountsA: undefined
| AccountMeta[];
tokenTransferHookAccountsB: undefined | AccountMeta[];
},
>
Static
isV2IxRequiredReward