Class: ConfigureAllowlist
Defined in: cct/solana/token-pool/operations/configure-allowlist.ts:64
Adds addresses to and enables or disables a Solana token pool allowlist.
Remarks
Added addresses must not contain duplicates.
Extends
SolanaOperation<ConfigureAllowlistParams,UnsignedSolanaTx,ParsedConfigureAllowlistParams>
Constructors
Constructor
new ConfigureAllowlist():
ConfigureAllowlist
Returns
ConfigureAllowlist
Inherited from
SolanaOperation< ConfigureAllowlistParams, UnsignedSolanaTx, ParsedConfigureAllowlistParams >.constructor
Properties
name
readonlyname:"configureAllowlist"='configureAllowlist'
Defined in: cct/solana/token-pool/operations/configure-allowlist.ts:69
camelCase id; matches the token-manager facade method and error context.
Overrides
SolanaOperation.name
splitMode
protectedreadonlysplitMode:SolanaSplitMode='atomic'
Defined in: cct/solana/operation.ts:36
Multi-transaction safety policy; resource splitting requires an operation-specific audit.
Inherited from
SolanaOperation.splitMode
Methods
buildUnsigned()
protectedbuildUnsigned(chain:SolanaChain,opts:ParsedConfigureAllowlistParams):Promise<UnsignedSolanaTx>
Defined in: cct/solana/token-pool/operations/configure-allowlist.ts:106
Builds the unsigned Solana configureAllowList instruction.
Parameters
| Parameter | Type |
|---|---|
chain | SolanaChain |
opts | ParsedConfigureAllowlistParams |
Returns
Promise<UnsignedSolanaTx>
Overrides
SolanaOperation.buildUnsigned
execute()
execute(
chain:SolanaChain,params:ExecuteConfigureAllowlistParams):Promise<TransactionResult>
Defined in: cct/solana/token-pool/operations/configure-allowlist.ts:136
Generate, sign, simulate, send, and confirm with the pool owner wallet.
Parameters
| Parameter | Type |
|---|---|
chain | SolanaChain |
params | ExecuteConfigureAllowlistParams |
Returns
Promise<TransactionResult>
Overrides
SolanaOperation.execute
generate()
generate(
chain:SolanaChain,params:SolanaGenerateParams<ConfigureAllowlistParams>):Promise<UnsignedSolanaTx>
Defined in: cct/solana/operation.ts:42
Run prepare and buildUnsigned; no signing.
Parameters
| Parameter | Type |
|---|---|
chain | SolanaChain |
params | SolanaGenerateParams<ConfigureAllowlistParams> |
Returns
Promise<UnsignedSolanaTx>
Inherited from
SolanaOperation.generate
prepare()
protectedprepare(params:GenerateConfigureAllowlistParams):ParsedConfigureAllowlistParams
Defined in: cct/solana/token-pool/operations/configure-allowlist.ts:72
Parses public keys and defaults authority to payer without mutating caller params.
Parameters
| Parameter | Type |
|---|---|
params | GenerateConfigureAllowlistParams |
Returns
ParsedConfigureAllowlistParams
Overrides
SolanaOperation.prepare
prepareWalletExecution()
protectedprepareWalletExecution(params:SolanaExecuteParams<ConfigureAllowlistParams>): {computeUnits:number|undefined;parsed:ParsedConfigureAllowlistParams;payer:PublicKey;wallet:Wallet; }
Defined in: cct/solana/operation.ts:47
Validates the wallet and prepares signed execution parameters with it as payer.
Parameters
| Parameter | Type |
|---|---|
params | SolanaExecuteParams<ConfigureAllowlistParams> |
Returns
{ computeUnits: number | undefined; parsed: ParsedConfigureAllowlistParams; payer: PublicKey; wallet: Wallet; }
computeUnits
computeUnits:
number|undefined
parsed
parsed:
ParsedConfigureAllowlistParams
payer
payer:
PublicKey
wallet
wallet:
Wallet
Inherited from
SolanaOperation.prepareWalletExecution