Class: EditChainRemoteConfig
Defined in: cct/solana/token-pool/operations/edit-chain-remote-config.ts:86
Replaces an initialized remote-chain config.
Remarks
Full replacement, not a partial update — pass the complete intended config for all three fields,
or omitted values are cleared. For example, remotePoolAddresses: [] clears all remote pools.
Extends
SolanaOperation<EditChainRemoteConfigParams,UnsignedSolanaTx,ParsedEditChainRemoteConfigParams>
Constructors
Constructor
new EditChainRemoteConfig():
EditChainRemoteConfig
Returns
EditChainRemoteConfig
Inherited from
SolanaOperation< EditChainRemoteConfigParams, UnsignedSolanaTx, ParsedEditChainRemoteConfigParams >.constructor
Properties
name
readonlyname:"editChainRemoteConfig"='editChainRemoteConfig'
Defined in: cct/solana/token-pool/operations/edit-chain-remote-config.ts:91
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:ParsedEditChainRemoteConfigParams):Promise<UnsignedSolanaTx>
Defined in: cct/solana/token-pool/operations/edit-chain-remote-config.ts:134
Builds the unsigned Solana editChainRemoteConfig instruction.
Parameters
| Parameter | Type |
|---|---|
chain | SolanaChain |
opts | ParsedEditChainRemoteConfigParams |
Returns
Promise<UnsignedSolanaTx>
Overrides
SolanaOperation.buildUnsigned
execute()
execute(
chain:SolanaChain,params:ExecuteEditChainRemoteConfigParams):Promise<TransactionResult>
Defined in: cct/solana/token-pool/operations/edit-chain-remote-config.ts:168
Generate, sign, simulate, send, and confirm with the pool owner wallet.
Parameters
| Parameter | Type |
|---|---|
chain | SolanaChain |
params | ExecuteEditChainRemoteConfigParams |
Returns
Promise<TransactionResult>
Overrides
SolanaOperation.execute
generate()
generate(
chain:SolanaChain,params:SolanaGenerateParams<EditChainRemoteConfigParams>):Promise<UnsignedSolanaTx>
Defined in: cct/solana/operation.ts:42
Run prepare and buildUnsigned; no signing.
Parameters
| Parameter | Type |
|---|---|
chain | SolanaChain |
params | SolanaGenerateParams<EditChainRemoteConfigParams> |
Returns
Promise<UnsignedSolanaTx>
Inherited from
SolanaOperation.generate
parse()
protectedparse(params:GenerateEditChainRemoteConfigParams):ParsedEditChainRemoteConfigParams
Defined in: cct/solana/token-pool/operations/edit-chain-remote-config.ts:94
Parses config values and defaults authority to payer without mutating caller params.
Parameters
| Parameter | Type |
|---|---|
params | GenerateEditChainRemoteConfigParams |
Returns
ParsedEditChainRemoteConfigParams
Overrides
SolanaOperation.parse
prepare()
protectedprepare(params:SolanaGenerateParams):ParsedEditChainRemoteConfigParams
Defined in: cct/operation.ts:48
validate then parse — the single pre-RPC step, before any chain access.
Parameters
| Parameter | Type |
|---|---|
params | SolanaGenerateParams |
Returns
ParsedEditChainRemoteConfigParams
Inherited from
SolanaOperation.prepare
prepareWalletExecution()
protectedprepareWalletExecution(params:SolanaExecuteParams<EditChainRemoteConfigParams>): {computeUnits:number|undefined;parsed:ParsedEditChainRemoteConfigParams;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<EditChainRemoteConfigParams> |
Returns
{ computeUnits: number | undefined; parsed: ParsedEditChainRemoteConfigParams; payer: PublicKey; wallet: Wallet; }
computeUnits
computeUnits:
number|undefined
parsed
parsed:
ParsedEditChainRemoteConfigParams
payer
payer:
PublicKey
wallet
wallet:
Wallet
Inherited from
SolanaOperation.prepareWalletExecution
validate()
protectedvalidate(_params:SolanaGenerateParams):void
Defined in: cct/operation.ts:36
Reject invalid params before any chain RPC. No-op by default: an op that normalizes as it checks does that work in parse instead, and needs no empty stub here.
Parameters
| Parameter | Type |
|---|---|
_params | SolanaGenerateParams |
Returns
void
Inherited from
SolanaOperation.validate