@@ -99,15 +99,13 @@ export type BridgeSolInstructionData = {
9999 discriminator : ReadonlyUint8Array ;
100100 outgoingMessageSalt : ReadonlyUint8Array ;
101101 to : ReadonlyUint8Array ;
102- remoteToken : ReadonlyUint8Array ;
103102 amount : bigint ;
104103 call : Option < Call > ;
105104} ;
106105
107106export type BridgeSolInstructionDataArgs = {
108107 outgoingMessageSalt : ReadonlyUint8Array ;
109108 to : ReadonlyUint8Array ;
110- remoteToken : ReadonlyUint8Array ;
111109 amount : number | bigint ;
112110 call : OptionOrNullable < CallArgs > ;
113111} ;
@@ -118,7 +116,6 @@ export function getBridgeSolInstructionDataEncoder(): Encoder<BridgeSolInstructi
118116 [ 'discriminator' , fixEncoderSize ( getBytesEncoder ( ) , 8 ) ] ,
119117 [ 'outgoingMessageSalt' , fixEncoderSize ( getBytesEncoder ( ) , 32 ) ] ,
120118 [ 'to' , fixEncoderSize ( getBytesEncoder ( ) , 20 ) ] ,
121- [ 'remoteToken' , fixEncoderSize ( getBytesEncoder ( ) , 20 ) ] ,
122119 [ 'amount' , getU64Encoder ( ) ] ,
123120 [ 'call' , getOptionEncoder ( getCallEncoder ( ) ) ] ,
124121 ] ) ,
@@ -131,7 +128,6 @@ export function getBridgeSolInstructionDataDecoder(): Decoder<BridgeSolInstructi
131128 [ 'discriminator' , fixDecoderSize ( getBytesDecoder ( ) , 8 ) ] ,
132129 [ 'outgoingMessageSalt' , fixDecoderSize ( getBytesDecoder ( ) , 32 ) ] ,
133130 [ 'to' , fixDecoderSize ( getBytesDecoder ( ) , 20 ) ] ,
134- [ 'remoteToken' , fixDecoderSize ( getBytesDecoder ( ) , 20 ) ] ,
135131 [ 'amount' , getU64Decoder ( ) ] ,
136132 [ 'call' , getOptionDecoder ( getCallDecoder ( ) ) ] ,
137133 ] ) ;
@@ -170,7 +166,7 @@ export type BridgeSolInput<
170166 gasFeeReceiver : Address < TAccountGasFeeReceiver > ;
171167 /**
172168 * The SOL vault account that holds locked tokens for the specific remote token.
173- * - Uses PDA with SOL_VAULT_SEED and remote_token for deterministic address
169+ * - Uses PDA with SOL_VAULT_SEED for deterministic address
174170 * - Mutable to receive the locked SOL tokens
175171 * - Each remote token has its own dedicated vault
176172 *
@@ -196,7 +192,6 @@ export type BridgeSolInput<
196192 systemProgram ?: Address < TAccountSystemProgram > ;
197193 outgoingMessageSalt : BridgeSolInstructionDataArgs [ 'outgoingMessageSalt' ] ;
198194 to : BridgeSolInstructionDataArgs [ 'to' ] ;
199- remoteToken : BridgeSolInstructionDataArgs [ 'remoteToken' ] ;
200195 amount : BridgeSolInstructionDataArgs [ 'amount' ] ;
201196 call : BridgeSolInstructionDataArgs [ 'call' ] ;
202197} ;
@@ -305,7 +300,7 @@ export type ParsedBridgeSolInstruction<
305300 gasFeeReceiver : TAccountMetas [ 2 ] ;
306301 /**
307302 * The SOL vault account that holds locked tokens for the specific remote token.
308- * - Uses PDA with SOL_VAULT_SEED and remote_token for deterministic address
303+ * - Uses PDA with SOL_VAULT_SEED for deterministic address
309304 * - Mutable to receive the locked SOL tokens
310305 * - Each remote token has its own dedicated vault
311306 *
0 commit comments