@layerzerolabs/lz-solana-sdk-v2 2.3.16 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/deployments/solana-sandbox-local/blocked_messagelib.json +9 -0
- package/deployments/solana-sandbox-local/dvn-gcda.json +9 -0
- package/deployments/solana-sandbox-local/omnicounter.json +9 -0
- package/deployments/solana-testnet/blocked_messagelib.json +9 -0
- package/deployments/solana-testnet/dvn.json +9 -0
- package/deployments/solana-testnet/endpoint.json +9 -0
- package/deployments/solana-testnet/executor.json +9 -0
- package/deployments/solana-testnet/pricefeed.json +9 -0
- package/deployments/solana-testnet/uln.json +9 -0
- package/dist/index.cjs +2268 -2229
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +169 -337
- package/dist/index.d.ts +169 -337
- package/dist/index.mjs +2080 -2033
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -16
- package/deployments/default-keypair/blocked_messagelib-keypair.json +0 -1
- package/deployments/default-keypair/dvn-keypair.json +0 -1
- package/deployments/default-keypair/endpoint-keypair.json +0 -6
- package/deployments/default-keypair/executor-keypair.json +0 -1
- package/deployments/default-keypair/oft-keypair.json +0 -1
- package/deployments/default-keypair/omnicounter-keypair.json +0 -6
- package/deployments/default-keypair/pricefeed-keypair.json +0 -1
- package/deployments/default-keypair/simple_messagelib-keypair.json +0 -6
- package/deployments/default-keypair/uln-keypair.json +0 -1
- package/deployments/solana-testnet/blocked_messagelib-keypair.json +0 -1
- package/deployments/solana-testnet/endpoint-keypair.json +0 -1
- package/deployments/solana-testnet/omnicounter-keypair.json +0 -1
- package/deployments/solana-testnet/simple_messagelib-keypair.json +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as web3 from '@solana/web3.js';
|
|
2
|
-
import
|
|
2
|
+
import { PublicKey, Connection, Commitment, GetAccountInfoConfig, TransactionInstruction, AccountMeta, GetNonceConfig, Transaction, AccountInfo, TransactionSignature, Finality, GetVersionedTransactionConfig, Blockhash, VersionedTransaction, Keypair, NonceAccount, MessageV0 } from '@solana/web3.js';
|
|
3
3
|
import { PacketPath, PacketV1Codec, Packet as Packet$2 } from '@layerzerolabs/lz-v2-utilities';
|
|
4
4
|
import * as beet from '@metaplex-foundation/beet';
|
|
5
5
|
import { bignum, FixableBeetArgsStruct, BeetArgsStruct } from '@metaplex-foundation/beet';
|
|
@@ -247,23 +247,6 @@ declare const composeMessageStateBeet: beet.BeetStruct<ComposeMessageState, Comp
|
|
|
247
247
|
accountDiscriminator: number[];
|
|
248
248
|
}>;
|
|
249
249
|
|
|
250
|
-
/**
|
|
251
|
-
* This code was GENERATED using the solita package.
|
|
252
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
253
|
-
*
|
|
254
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
255
|
-
*/
|
|
256
|
-
|
|
257
|
-
type SendContext$1 = {
|
|
258
|
-
dstEid: number;
|
|
259
|
-
sender: web3.PublicKey;
|
|
260
|
-
};
|
|
261
|
-
/**
|
|
262
|
-
* @category userTypes
|
|
263
|
-
* @category generated
|
|
264
|
-
*/
|
|
265
|
-
declare const sendContextBeet$1: beet.BeetArgsStruct<SendContext$1>;
|
|
266
|
-
|
|
267
250
|
/**
|
|
268
251
|
* This code was GENERATED using the solita package.
|
|
269
252
|
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
@@ -276,14 +259,13 @@ declare const sendContextBeet$1: beet.BeetArgsStruct<SendContext$1>;
|
|
|
276
259
|
* @category Accounts
|
|
277
260
|
* @category generated
|
|
278
261
|
*/
|
|
279
|
-
type EndpointSettingsArgs
|
|
262
|
+
type EndpointSettingsArgs = {
|
|
280
263
|
eid: number;
|
|
281
264
|
bump: number;
|
|
282
|
-
sendContext: beet.COption<SendContext$1>;
|
|
283
265
|
admin: web3.PublicKey;
|
|
284
266
|
lzTokenMint: beet.COption<web3.PublicKey>;
|
|
285
267
|
};
|
|
286
|
-
declare const endpointSettingsDiscriminator
|
|
268
|
+
declare const endpointSettingsDiscriminator: number[];
|
|
287
269
|
/**
|
|
288
270
|
* Holds the data for the {@link EndpointSettings} Account and provides de/serialization
|
|
289
271
|
* functionality for that data
|
|
@@ -291,43 +273,42 @@ declare const endpointSettingsDiscriminator$1: number[];
|
|
|
291
273
|
* @category Accounts
|
|
292
274
|
* @category generated
|
|
293
275
|
*/
|
|
294
|
-
declare class EndpointSettings
|
|
276
|
+
declare class EndpointSettings implements EndpointSettingsArgs {
|
|
295
277
|
readonly eid: number;
|
|
296
278
|
readonly bump: number;
|
|
297
|
-
readonly sendContext: beet.COption<SendContext$1>;
|
|
298
279
|
readonly admin: web3.PublicKey;
|
|
299
280
|
readonly lzTokenMint: beet.COption<web3.PublicKey>;
|
|
300
281
|
private constructor();
|
|
301
282
|
/**
|
|
302
283
|
* Creates a {@link EndpointSettings} instance from the provided args.
|
|
303
284
|
*/
|
|
304
|
-
static fromArgs(args: EndpointSettingsArgs
|
|
285
|
+
static fromArgs(args: EndpointSettingsArgs): EndpointSettings;
|
|
305
286
|
/**
|
|
306
287
|
* Deserializes the {@link EndpointSettings} from the data of the provided {@link web3.AccountInfo}.
|
|
307
288
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
308
289
|
*/
|
|
309
|
-
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [EndpointSettings
|
|
290
|
+
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [EndpointSettings, number];
|
|
310
291
|
/**
|
|
311
292
|
* Retrieves the account info from the provided address and deserializes
|
|
312
293
|
* the {@link EndpointSettings} from its data.
|
|
313
294
|
*
|
|
314
295
|
* @throws Error if no account info is found at the address or if deserialization fails
|
|
315
296
|
*/
|
|
316
|
-
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<EndpointSettings
|
|
297
|
+
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<EndpointSettings>;
|
|
317
298
|
/**
|
|
318
299
|
* Provides a {@link web3.Connection.getProgramAccounts} config builder,
|
|
319
300
|
* to fetch accounts matching filters that can be specified via that builder.
|
|
320
301
|
*
|
|
321
302
|
* @param programId - the program that owns the accounts we are filtering
|
|
322
303
|
*/
|
|
323
|
-
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<EndpointSettingsArgs
|
|
304
|
+
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<EndpointSettingsArgs & {
|
|
324
305
|
accountDiscriminator: number[];
|
|
325
306
|
}>;
|
|
326
307
|
/**
|
|
327
308
|
* Deserializes the {@link EndpointSettings} from the provided data Buffer.
|
|
328
309
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
329
310
|
*/
|
|
330
|
-
static deserialize(buf: Buffer, offset?: number): [EndpointSettings
|
|
311
|
+
static deserialize(buf: Buffer, offset?: number): [EndpointSettings, number];
|
|
331
312
|
/**
|
|
332
313
|
* Serializes the {@link EndpointSettings} into a Buffer.
|
|
333
314
|
* @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.
|
|
@@ -340,7 +321,7 @@ declare class EndpointSettings$1 implements EndpointSettingsArgs$1 {
|
|
|
340
321
|
* @param args need to be provided since the byte size for this account
|
|
341
322
|
* depends on them
|
|
342
323
|
*/
|
|
343
|
-
static byteSize(args: EndpointSettingsArgs
|
|
324
|
+
static byteSize(args: EndpointSettingsArgs): number;
|
|
344
325
|
/**
|
|
345
326
|
* Fetches the minimum balance needed to exempt an account holding
|
|
346
327
|
* {@link EndpointSettings} data from rent
|
|
@@ -349,7 +330,7 @@ declare class EndpointSettings$1 implements EndpointSettingsArgs$1 {
|
|
|
349
330
|
* depends on them
|
|
350
331
|
* @param connection used to retrieve the rent exemption information
|
|
351
332
|
*/
|
|
352
|
-
static getMinimumBalanceForRentExemption(args: EndpointSettingsArgs
|
|
333
|
+
static getMinimumBalanceForRentExemption(args: EndpointSettingsArgs, connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
353
334
|
/**
|
|
354
335
|
* Returns a readable version of {@link EndpointSettings} properties
|
|
355
336
|
* and can be used to convert to JSON and/or logging
|
|
@@ -357,7 +338,6 @@ declare class EndpointSettings$1 implements EndpointSettingsArgs$1 {
|
|
|
357
338
|
pretty(): {
|
|
358
339
|
eid: number;
|
|
359
340
|
bump: number;
|
|
360
|
-
sendContext: beet.COption<SendContext$1>;
|
|
361
341
|
admin: string;
|
|
362
342
|
lzTokenMint: beet.COption<web3.PublicKey>;
|
|
363
343
|
};
|
|
@@ -366,7 +346,7 @@ declare class EndpointSettings$1 implements EndpointSettingsArgs$1 {
|
|
|
366
346
|
* @category Accounts
|
|
367
347
|
* @category generated
|
|
368
348
|
*/
|
|
369
|
-
declare const endpointSettingsBeet
|
|
349
|
+
declare const endpointSettingsBeet: beet.FixableBeetStruct<EndpointSettings, EndpointSettingsArgs & {
|
|
370
350
|
accountDiscriminator: number[];
|
|
371
351
|
}>;
|
|
372
352
|
|
|
@@ -1115,7 +1095,7 @@ declare const sendLibraryConfigBeet: beet.BeetStruct<SendLibraryConfig, SendLibr
|
|
|
1115
1095
|
|
|
1116
1096
|
declare const accountProviders$6: {
|
|
1117
1097
|
ComposeMessageState: typeof ComposeMessageState;
|
|
1118
|
-
EndpointSettings: typeof EndpointSettings
|
|
1098
|
+
EndpointSettings: typeof EndpointSettings;
|
|
1119
1099
|
OAppRegistry: typeof OAppRegistry;
|
|
1120
1100
|
MessageLibInfo: typeof MessageLibInfo;
|
|
1121
1101
|
ReceiveLibraryConfig: typeof ReceiveLibraryConfig;
|
|
@@ -1128,6 +1108,9 @@ declare const accountProviders$6: {
|
|
|
1128
1108
|
type index$s_ComposeMessageState = ComposeMessageState;
|
|
1129
1109
|
declare const index$s_ComposeMessageState: typeof ComposeMessageState;
|
|
1130
1110
|
type index$s_ComposeMessageStateArgs = ComposeMessageStateArgs;
|
|
1111
|
+
type index$s_EndpointSettings = EndpointSettings;
|
|
1112
|
+
declare const index$s_EndpointSettings: typeof EndpointSettings;
|
|
1113
|
+
type index$s_EndpointSettingsArgs = EndpointSettingsArgs;
|
|
1131
1114
|
type index$s_MessageLibInfo = MessageLibInfo;
|
|
1132
1115
|
declare const index$s_MessageLibInfo: typeof MessageLibInfo;
|
|
1133
1116
|
type index$s_MessageLibInfoArgs = MessageLibInfoArgs;
|
|
@@ -1148,6 +1131,8 @@ declare const index$s_SendLibraryConfig: typeof SendLibraryConfig;
|
|
|
1148
1131
|
type index$s_SendLibraryConfigArgs = SendLibraryConfigArgs;
|
|
1149
1132
|
declare const index$s_composeMessageStateBeet: typeof composeMessageStateBeet;
|
|
1150
1133
|
declare const index$s_composeMessageStateDiscriminator: typeof composeMessageStateDiscriminator;
|
|
1134
|
+
declare const index$s_endpointSettingsBeet: typeof endpointSettingsBeet;
|
|
1135
|
+
declare const index$s_endpointSettingsDiscriminator: typeof endpointSettingsDiscriminator;
|
|
1151
1136
|
declare const index$s_messageLibInfoBeet: typeof messageLibInfoBeet;
|
|
1152
1137
|
declare const index$s_messageLibInfoDiscriminator: typeof messageLibInfoDiscriminator;
|
|
1153
1138
|
declare const index$s_oAppRegistryBeet: typeof oAppRegistryBeet;
|
|
@@ -1161,7 +1146,7 @@ declare const index$s_receiveLibraryConfigDiscriminator: typeof receiveLibraryCo
|
|
|
1161
1146
|
declare const index$s_sendLibraryConfigBeet: typeof sendLibraryConfigBeet;
|
|
1162
1147
|
declare const index$s_sendLibraryConfigDiscriminator: typeof sendLibraryConfigDiscriminator;
|
|
1163
1148
|
declare namespace index$s {
|
|
1164
|
-
export { index$s_ComposeMessageState as ComposeMessageState, type index$s_ComposeMessageStateArgs as ComposeMessageStateArgs,
|
|
1149
|
+
export { index$s_ComposeMessageState as ComposeMessageState, type index$s_ComposeMessageStateArgs as ComposeMessageStateArgs, index$s_EndpointSettings as EndpointSettings, type index$s_EndpointSettingsArgs as EndpointSettingsArgs, index$s_MessageLibInfo as MessageLibInfo, type index$s_MessageLibInfoArgs as MessageLibInfoArgs, Nonce$1 as Nonce, type NonceArgs$1 as NonceArgs, index$s_OAppRegistry as OAppRegistry, type index$s_OAppRegistryArgs as OAppRegistryArgs, index$s_PayloadHash as PayloadHash, type index$s_PayloadHashArgs as PayloadHashArgs, index$s_PendingInboundNonce as PendingInboundNonce, type index$s_PendingInboundNonceArgs as PendingInboundNonceArgs, index$s_ReceiveLibraryConfig as ReceiveLibraryConfig, type index$s_ReceiveLibraryConfigArgs as ReceiveLibraryConfigArgs, index$s_SendLibraryConfig as SendLibraryConfig, type index$s_SendLibraryConfigArgs as SendLibraryConfigArgs, accountProviders$6 as accountProviders, index$s_composeMessageStateBeet as composeMessageStateBeet, index$s_composeMessageStateDiscriminator as composeMessageStateDiscriminator, index$s_endpointSettingsBeet as endpointSettingsBeet, index$s_endpointSettingsDiscriminator as endpointSettingsDiscriminator, index$s_messageLibInfoBeet as messageLibInfoBeet, index$s_messageLibInfoDiscriminator as messageLibInfoDiscriminator, nonceBeet$1 as nonceBeet, nonceDiscriminator$1 as nonceDiscriminator, index$s_oAppRegistryBeet as oAppRegistryBeet, index$s_oAppRegistryDiscriminator as oAppRegistryDiscriminator, index$s_payloadHashBeet as payloadHashBeet, index$s_payloadHashDiscriminator as payloadHashDiscriminator, index$s_pendingInboundNonceBeet as pendingInboundNonceBeet, index$s_pendingInboundNonceDiscriminator as pendingInboundNonceDiscriminator, index$s_receiveLibraryConfigBeet as receiveLibraryConfigBeet, index$s_receiveLibraryConfigDiscriminator as receiveLibraryConfigDiscriminator, index$s_sendLibraryConfigBeet as sendLibraryConfigBeet, index$s_sendLibraryConfigDiscriminator as sendLibraryConfigDiscriminator };
|
|
1165
1150
|
}
|
|
1166
1151
|
|
|
1167
1152
|
/**
|
|
@@ -1318,34 +1303,56 @@ declare class ComposeNotFoundError extends Error {
|
|
|
1318
1303
|
constructor();
|
|
1319
1304
|
}
|
|
1320
1305
|
/**
|
|
1321
|
-
*
|
|
1306
|
+
* InvalidPayloadHash: ''
|
|
1322
1307
|
*
|
|
1323
1308
|
* @category Errors
|
|
1324
1309
|
* @category generated
|
|
1325
1310
|
*/
|
|
1326
|
-
declare class
|
|
1311
|
+
declare class InvalidPayloadHashError extends Error {
|
|
1327
1312
|
readonly code: number;
|
|
1328
1313
|
readonly name: string;
|
|
1329
1314
|
constructor();
|
|
1330
1315
|
}
|
|
1331
1316
|
/**
|
|
1332
|
-
*
|
|
1317
|
+
* LzTokenUnavailable: ''
|
|
1333
1318
|
*
|
|
1334
1319
|
* @category Errors
|
|
1335
1320
|
* @category generated
|
|
1336
1321
|
*/
|
|
1337
|
-
declare class
|
|
1322
|
+
declare class LzTokenUnavailableError$2 extends Error {
|
|
1338
1323
|
readonly code: number;
|
|
1339
1324
|
readonly name: string;
|
|
1340
1325
|
constructor();
|
|
1341
1326
|
}
|
|
1342
1327
|
/**
|
|
1343
|
-
*
|
|
1328
|
+
* ReadOnlyAccount: ''
|
|
1344
1329
|
*
|
|
1345
1330
|
* @category Errors
|
|
1346
1331
|
* @category generated
|
|
1347
1332
|
*/
|
|
1348
|
-
declare class
|
|
1333
|
+
declare class ReadOnlyAccountError extends Error {
|
|
1334
|
+
readonly code: number;
|
|
1335
|
+
readonly name: string;
|
|
1336
|
+
constructor();
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* InvalidMessageLib: ''
|
|
1340
|
+
*
|
|
1341
|
+
* @category Errors
|
|
1342
|
+
* @category generated
|
|
1343
|
+
*/
|
|
1344
|
+
declare class InvalidMessageLibError extends Error {
|
|
1345
|
+
readonly code: number;
|
|
1346
|
+
readonly name: string;
|
|
1347
|
+
constructor();
|
|
1348
|
+
}
|
|
1349
|
+
/**
|
|
1350
|
+
* WritableAccountNotAllowed: ''
|
|
1351
|
+
*
|
|
1352
|
+
* @category Errors
|
|
1353
|
+
* @category generated
|
|
1354
|
+
*/
|
|
1355
|
+
declare class WritableAccountNotAllowedError extends Error {
|
|
1349
1356
|
readonly code: number;
|
|
1350
1357
|
readonly name: string;
|
|
1351
1358
|
constructor();
|
|
@@ -1369,6 +1376,8 @@ type index$r_ComposeNotFoundError = ComposeNotFoundError;
|
|
|
1369
1376
|
declare const index$r_ComposeNotFoundError: typeof ComposeNotFoundError;
|
|
1370
1377
|
type index$r_InvalidExpiryError = InvalidExpiryError;
|
|
1371
1378
|
declare const index$r_InvalidExpiryError: typeof InvalidExpiryError;
|
|
1379
|
+
type index$r_InvalidMessageLibError = InvalidMessageLibError;
|
|
1380
|
+
declare const index$r_InvalidMessageLibError: typeof InvalidMessageLibError;
|
|
1372
1381
|
type index$r_InvalidNonceError = InvalidNonceError;
|
|
1373
1382
|
declare const index$r_InvalidNonceError: typeof InvalidNonceError;
|
|
1374
1383
|
type index$r_InvalidPayloadHashError = InvalidPayloadHashError;
|
|
@@ -1385,10 +1394,14 @@ type index$r_OnlySendLibError = OnlySendLibError;
|
|
|
1385
1394
|
declare const index$r_OnlySendLibError: typeof OnlySendLibError;
|
|
1386
1395
|
type index$r_PayloadHashNotFoundError = PayloadHashNotFoundError;
|
|
1387
1396
|
declare const index$r_PayloadHashNotFoundError: typeof PayloadHashNotFoundError;
|
|
1397
|
+
type index$r_ReadOnlyAccountError = ReadOnlyAccountError;
|
|
1398
|
+
declare const index$r_ReadOnlyAccountError: typeof ReadOnlyAccountError;
|
|
1388
1399
|
type index$r_SameValueError = SameValueError;
|
|
1389
1400
|
declare const index$r_SameValueError: typeof SameValueError;
|
|
1401
|
+
type index$r_WritableAccountNotAllowedError = WritableAccountNotAllowedError;
|
|
1402
|
+
declare const index$r_WritableAccountNotAllowedError: typeof WritableAccountNotAllowedError;
|
|
1390
1403
|
declare namespace index$r {
|
|
1391
|
-
export { index$r_AccountNotFoundError as AccountNotFoundError, index$r_ComposeNotFoundError as ComposeNotFoundError, InvalidAmountError$3 as InvalidAmountError, index$r_InvalidExpiryError as InvalidExpiryError, index$r_InvalidNonceError as InvalidNonceError, index$r_InvalidPayloadHashError as InvalidPayloadHashError, index$r_InvalidReceiveLibraryError as InvalidReceiveLibraryError, index$r_InvalidSendLibraryError as InvalidSendLibraryError, LzTokenUnavailableError$2 as LzTokenUnavailableError, index$r_OnlyNonDefaultLibError as OnlyNonDefaultLibError, index$r_OnlyReceiveLibError as OnlyReceiveLibError, index$r_OnlySendLibError as OnlySendLibError, index$r_PayloadHashNotFoundError as PayloadHashNotFoundError, index$
|
|
1404
|
+
export { index$r_AccountNotFoundError as AccountNotFoundError, index$r_ComposeNotFoundError as ComposeNotFoundError, InvalidAmountError$3 as InvalidAmountError, index$r_InvalidExpiryError as InvalidExpiryError, index$r_InvalidMessageLibError as InvalidMessageLibError, index$r_InvalidNonceError as InvalidNonceError, index$r_InvalidPayloadHashError as InvalidPayloadHashError, index$r_InvalidReceiveLibraryError as InvalidReceiveLibraryError, index$r_InvalidSendLibraryError as InvalidSendLibraryError, LzTokenUnavailableError$2 as LzTokenUnavailableError, index$r_OnlyNonDefaultLibError as OnlyNonDefaultLibError, index$r_OnlyReceiveLibError as OnlyReceiveLibError, index$r_OnlySendLibError as OnlySendLibError, index$r_PayloadHashNotFoundError as PayloadHashNotFoundError, index$r_ReadOnlyAccountError as ReadOnlyAccountError, index$r_SameValueError as SameValueError, UnauthorizedError$2 as UnauthorizedError, index$r_WritableAccountNotAllowedError as WritableAccountNotAllowedError, errorFromCode$5 as errorFromCode, errorFromName$5 as errorFromName };
|
|
1392
1405
|
}
|
|
1393
1406
|
|
|
1394
1407
|
/**
|
|
@@ -2867,7 +2880,7 @@ declare const sendStruct$3: beet.FixableBeetArgsStruct<SendInstructionArgs$3 & {
|
|
|
2867
2880
|
* @property [] sendLibraryConfig
|
|
2868
2881
|
* @property [] defaultSendLibraryConfig
|
|
2869
2882
|
* @property [] sendLibraryInfo
|
|
2870
|
-
* @property [
|
|
2883
|
+
* @property [] endpoint
|
|
2871
2884
|
* @property [_writable_] nonce
|
|
2872
2885
|
* @property [] eventAuthority
|
|
2873
2886
|
* @property [] program
|
|
@@ -4329,7 +4342,7 @@ declare const index$p_setReceiveLibraryTimeoutParamsBeet: typeof setReceiveLibra
|
|
|
4329
4342
|
declare const index$p_setSendLibraryParamsBeet: typeof setSendLibraryParamsBeet;
|
|
4330
4343
|
declare const index$p_skipParamsBeet: typeof skipParamsBeet;
|
|
4331
4344
|
declare namespace index$p {
|
|
4332
|
-
export { type index$p_BurnParams as BurnParams, type index$p_ClearComposeParams as ClearComposeParams, type index$p_ClearParams as ClearParams, type InitConfigParams$2 as InitConfigParams, type index$p_InitDefaultReceiveLibraryParams as InitDefaultReceiveLibraryParams, type index$p_InitDefaultSendLibraryParams as InitDefaultSendLibraryParams, type index$p_InitEndpointParams as InitEndpointParams, type index$p_InitNonceParams as InitNonceParams, type index$p_InitReceiveLibraryParams as InitReceiveLibraryParams, type index$p_InitSendLibraryParams as InitSendLibraryParams, type InitVerifyParams$1 as InitVerifyParams, type index$p_LzComposeAlertParams as LzComposeAlertParams, type index$p_LzReceiveAlertParams as LzReceiveAlertParams, index$p_MessageLibType as MessageLibType, type MessagingFee$3 as MessagingFee, type MessagingReceipt$1 as MessagingReceipt, type index$p_NilifyParams as NilifyParams, type QuoteParams$3 as QuoteParams, type index$p_ReceiveLibraryTimeout as ReceiveLibraryTimeout, type index$p_RegisterLibraryParams as RegisterLibraryParams, type index$p_RegisterOAppParams as RegisterOAppParams, type index$p_SendComposeParams as SendComposeParams, type
|
|
4345
|
+
export { type index$p_BurnParams as BurnParams, type index$p_ClearComposeParams as ClearComposeParams, type index$p_ClearParams as ClearParams, type InitConfigParams$2 as InitConfigParams, type index$p_InitDefaultReceiveLibraryParams as InitDefaultReceiveLibraryParams, type index$p_InitDefaultSendLibraryParams as InitDefaultSendLibraryParams, type index$p_InitEndpointParams as InitEndpointParams, type index$p_InitNonceParams as InitNonceParams, type index$p_InitReceiveLibraryParams as InitReceiveLibraryParams, type index$p_InitSendLibraryParams as InitSendLibraryParams, type InitVerifyParams$1 as InitVerifyParams, type index$p_LzComposeAlertParams as LzComposeAlertParams, type index$p_LzReceiveAlertParams as LzReceiveAlertParams, index$p_MessageLibType as MessageLibType, type MessagingFee$3 as MessagingFee, type MessagingReceipt$1 as MessagingReceipt, type index$p_NilifyParams as NilifyParams, type QuoteParams$3 as QuoteParams, type index$p_ReceiveLibraryTimeout as ReceiveLibraryTimeout, type index$p_RegisterLibraryParams as RegisterLibraryParams, type index$p_RegisterOAppParams as RegisterOAppParams, type index$p_SendComposeParams as SendComposeParams, type SendParams$3 as SendParams, type SetConfigParams$3 as SetConfigParams, type index$p_SetDefaultReceiveLibraryParams as SetDefaultReceiveLibraryParams, type index$p_SetDefaultReceiveLibraryTimeoutParams as SetDefaultReceiveLibraryTimeoutParams, type index$p_SetDefaultSendLibraryParams as SetDefaultSendLibraryParams, type SetDelegateParams$1 as SetDelegateParams, type index$p_SetLzTokenParams as SetLzTokenParams, type index$p_SetReceiveLibraryParams as SetReceiveLibraryParams, type index$p_SetReceiveLibraryTimeoutParams as SetReceiveLibraryTimeoutParams, type index$p_SetSendLibraryParams as SetSendLibraryParams, type index$p_SkipParams as SkipParams, type TransferAdminParams$4 as TransferAdminParams, type VerifyParams$1 as VerifyParams, type WithdrawRentParams$1 as WithdrawRentParams, index$p_burnParamsBeet as burnParamsBeet, index$p_clearComposeParamsBeet as clearComposeParamsBeet, index$p_clearParamsBeet as clearParamsBeet, initConfigParamsBeet$2 as initConfigParamsBeet, index$p_initDefaultReceiveLibraryParamsBeet as initDefaultReceiveLibraryParamsBeet, index$p_initDefaultSendLibraryParamsBeet as initDefaultSendLibraryParamsBeet, index$p_initEndpointParamsBeet as initEndpointParamsBeet, index$p_initNonceParamsBeet as initNonceParamsBeet, index$p_initReceiveLibraryParamsBeet as initReceiveLibraryParamsBeet, index$p_initSendLibraryParamsBeet as initSendLibraryParamsBeet, initVerifyParamsBeet$1 as initVerifyParamsBeet, index$p_lzComposeAlertParamsBeet as lzComposeAlertParamsBeet, index$p_lzReceiveAlertParamsBeet as lzReceiveAlertParamsBeet, index$p_messageLibTypeBeet as messageLibTypeBeet, messagingFeeBeet$3 as messagingFeeBeet, messagingReceiptBeet$1 as messagingReceiptBeet, index$p_nilifyParamsBeet as nilifyParamsBeet, quoteParamsBeet$3 as quoteParamsBeet, index$p_receiveLibraryTimeoutBeet as receiveLibraryTimeoutBeet, index$p_registerLibraryParamsBeet as registerLibraryParamsBeet, index$p_registerOAppParamsBeet as registerOAppParamsBeet, index$p_sendComposeParamsBeet as sendComposeParamsBeet, sendParamsBeet$3 as sendParamsBeet, setConfigParamsBeet$3 as setConfigParamsBeet, index$p_setDefaultReceiveLibraryParamsBeet as setDefaultReceiveLibraryParamsBeet, index$p_setDefaultReceiveLibraryTimeoutParamsBeet as setDefaultReceiveLibraryTimeoutParamsBeet, index$p_setDefaultSendLibraryParamsBeet as setDefaultSendLibraryParamsBeet, setDelegateParamsBeet$1 as setDelegateParamsBeet, index$p_setLzTokenParamsBeet as setLzTokenParamsBeet, index$p_setReceiveLibraryParamsBeet as setReceiveLibraryParamsBeet, index$p_setReceiveLibraryTimeoutParamsBeet as setReceiveLibraryTimeoutParamsBeet, index$p_setSendLibraryParamsBeet as setSendLibraryParamsBeet, index$p_skipParamsBeet as skipParamsBeet, transferAdminParamsBeet$4 as transferAdminParamsBeet, verifyParamsBeet$1 as verifyParamsBeet, withdrawRentParamsBeet$1 as withdrawRentParamsBeet };
|
|
4333
4346
|
}
|
|
4334
4347
|
|
|
4335
4348
|
/**
|
|
@@ -4794,129 +4807,6 @@ declare namespace index$o {
|
|
|
4794
4807
|
export { type AdminTransferredEvent$1 as AdminTransferredEvent, type index$o_ComposeDeliveredEvent as ComposeDeliveredEvent, type index$o_ComposeSentEvent as ComposeSentEvent, type index$o_DefaultReceiveLibrarySetEvent as DefaultReceiveLibrarySetEvent, type index$o_DefaultReceiveLibraryTimeoutSetEvent as DefaultReceiveLibraryTimeoutSetEvent, type index$o_DefaultSendLibrarySetEvent as DefaultSendLibrarySetEvent, type index$o_DelegateSetEvent as DelegateSetEvent, type index$o_InboundNonceSkippedEvent as InboundNonceSkippedEvent, type index$o_LibraryRegisteredEvent as LibraryRegisteredEvent, type index$o_LzComposeAlertEvent as LzComposeAlertEvent, type index$o_LzReceiveAlertEvent as LzReceiveAlertEvent, type index$o_LzTokenSetEvent as LzTokenSetEvent, type index$o_OAppRegisteredEvent as OAppRegisteredEvent, type index$o_PacketBurntEvent as PacketBurntEvent, type index$o_PacketDeliveredEvent as PacketDeliveredEvent, type index$o_PacketNilifiedEvent as PacketNilifiedEvent, type index$o_PacketSentEvent as PacketSentEvent, type index$o_PacketVerifiedEvent as PacketVerifiedEvent, type index$o_ReceiveLibrarySetEvent as ReceiveLibrarySetEvent, type index$o_ReceiveLibraryTimeoutSetEvent as ReceiveLibraryTimeoutSetEvent, type RentWithdrawnEvent$1 as RentWithdrawnEvent, type index$o_SendLibrarySetEvent as SendLibrarySetEvent, adminTransferredEventBeet$1 as adminTransferredEventBeet, index$o_composeDeliveredEventBeet as composeDeliveredEventBeet, index$o_composeSentEventBeet as composeSentEventBeet, index$o_defaultReceiveLibrarySetEventBeet as defaultReceiveLibrarySetEventBeet, index$o_defaultReceiveLibraryTimeoutSetEventBeet as defaultReceiveLibraryTimeoutSetEventBeet, index$o_defaultSendLibrarySetEventBeet as defaultSendLibrarySetEventBeet, index$o_delegateSetEventBeet as delegateSetEventBeet, index$o_inboundNonceSkippedEventBeet as inboundNonceSkippedEventBeet, index$o_libraryRegisteredEventBeet as libraryRegisteredEventBeet, index$o_lzComposeAlertEventBeet as lzComposeAlertEventBeet, index$o_lzReceiveAlertEventBeet as lzReceiveAlertEventBeet, index$o_lzTokenSetEventBeet as lzTokenSetEventBeet, index$o_oAppRegisteredEventBeet as oAppRegisteredEventBeet, index$o_packetBurntEventBeet as packetBurntEventBeet, index$o_packetDeliveredEventBeet as packetDeliveredEventBeet, index$o_packetNilifiedEventBeet as packetNilifiedEventBeet, index$o_packetSentEventBeet as packetSentEventBeet, index$o_packetVerifiedEventBeet as packetVerifiedEventBeet, index$o_receiveLibrarySetEventBeet as receiveLibrarySetEventBeet, index$o_receiveLibraryTimeoutSetEventBeet as receiveLibraryTimeoutSetEventBeet, rentWithdrawnEventBeet$1 as rentWithdrawnEventBeet, index$o_sendLibrarySetEventBeet as sendLibrarySetEventBeet };
|
|
4795
4808
|
}
|
|
4796
4809
|
|
|
4797
|
-
/**
|
|
4798
|
-
* This code was GENERATED using the solita package.
|
|
4799
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4800
|
-
*
|
|
4801
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
4802
|
-
*/
|
|
4803
|
-
|
|
4804
|
-
type SendContext = {
|
|
4805
|
-
dstEid: number;
|
|
4806
|
-
sender: web3.PublicKey;
|
|
4807
|
-
};
|
|
4808
|
-
/**
|
|
4809
|
-
* @category userTypes
|
|
4810
|
-
* @category generated
|
|
4811
|
-
*/
|
|
4812
|
-
declare const sendContextBeet: beet.BeetArgsStruct<SendContext>;
|
|
4813
|
-
|
|
4814
|
-
/**
|
|
4815
|
-
* This code was GENERATED using the solita package.
|
|
4816
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
4817
|
-
*
|
|
4818
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
4819
|
-
*/
|
|
4820
|
-
|
|
4821
|
-
/**
|
|
4822
|
-
* Arguments used to create {@link EndpointSettings}
|
|
4823
|
-
* @category Accounts
|
|
4824
|
-
* @category generated
|
|
4825
|
-
*/
|
|
4826
|
-
type EndpointSettingsArgs = {
|
|
4827
|
-
eid: number;
|
|
4828
|
-
bump: number;
|
|
4829
|
-
sendContext: beet.COption<SendContext>;
|
|
4830
|
-
admin: web3.PublicKey;
|
|
4831
|
-
lzTokenMint: beet.COption<web3.PublicKey>;
|
|
4832
|
-
};
|
|
4833
|
-
declare const endpointSettingsDiscriminator: number[];
|
|
4834
|
-
/**
|
|
4835
|
-
* Holds the data for the {@link EndpointSettings} Account and provides de/serialization
|
|
4836
|
-
* functionality for that data
|
|
4837
|
-
*
|
|
4838
|
-
* @category Accounts
|
|
4839
|
-
* @category generated
|
|
4840
|
-
*/
|
|
4841
|
-
declare class EndpointSettings implements EndpointSettingsArgs {
|
|
4842
|
-
readonly eid: number;
|
|
4843
|
-
readonly bump: number;
|
|
4844
|
-
readonly sendContext: beet.COption<SendContext>;
|
|
4845
|
-
readonly admin: web3.PublicKey;
|
|
4846
|
-
readonly lzTokenMint: beet.COption<web3.PublicKey>;
|
|
4847
|
-
private constructor();
|
|
4848
|
-
/**
|
|
4849
|
-
* Creates a {@link EndpointSettings} instance from the provided args.
|
|
4850
|
-
*/
|
|
4851
|
-
static fromArgs(args: EndpointSettingsArgs): EndpointSettings;
|
|
4852
|
-
/**
|
|
4853
|
-
* Deserializes the {@link EndpointSettings} from the data of the provided {@link web3.AccountInfo}.
|
|
4854
|
-
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
4855
|
-
*/
|
|
4856
|
-
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [EndpointSettings, number];
|
|
4857
|
-
/**
|
|
4858
|
-
* Retrieves the account info from the provided address and deserializes
|
|
4859
|
-
* the {@link EndpointSettings} from its data.
|
|
4860
|
-
*
|
|
4861
|
-
* @throws Error if no account info is found at the address or if deserialization fails
|
|
4862
|
-
*/
|
|
4863
|
-
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<EndpointSettings>;
|
|
4864
|
-
/**
|
|
4865
|
-
* Provides a {@link web3.Connection.getProgramAccounts} config builder,
|
|
4866
|
-
* to fetch accounts matching filters that can be specified via that builder.
|
|
4867
|
-
*
|
|
4868
|
-
* @param programId - the program that owns the accounts we are filtering
|
|
4869
|
-
*/
|
|
4870
|
-
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<EndpointSettingsArgs & {
|
|
4871
|
-
accountDiscriminator: number[];
|
|
4872
|
-
}>;
|
|
4873
|
-
/**
|
|
4874
|
-
* Deserializes the {@link EndpointSettings} from the provided data Buffer.
|
|
4875
|
-
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
4876
|
-
*/
|
|
4877
|
-
static deserialize(buf: Buffer, offset?: number): [EndpointSettings, number];
|
|
4878
|
-
/**
|
|
4879
|
-
* Serializes the {@link EndpointSettings} into a Buffer.
|
|
4880
|
-
* @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.
|
|
4881
|
-
*/
|
|
4882
|
-
serialize(): [Buffer, number];
|
|
4883
|
-
/**
|
|
4884
|
-
* Returns the byteSize of a {@link Buffer} holding the serialized data of
|
|
4885
|
-
* {@link EndpointSettings} for the provided args.
|
|
4886
|
-
*
|
|
4887
|
-
* @param args need to be provided since the byte size for this account
|
|
4888
|
-
* depends on them
|
|
4889
|
-
*/
|
|
4890
|
-
static byteSize(args: EndpointSettingsArgs): number;
|
|
4891
|
-
/**
|
|
4892
|
-
* Fetches the minimum balance needed to exempt an account holding
|
|
4893
|
-
* {@link EndpointSettings} data from rent
|
|
4894
|
-
*
|
|
4895
|
-
* @param args need to be provided since the byte size for this account
|
|
4896
|
-
* depends on them
|
|
4897
|
-
* @param connection used to retrieve the rent exemption information
|
|
4898
|
-
*/
|
|
4899
|
-
static getMinimumBalanceForRentExemption(args: EndpointSettingsArgs, connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
4900
|
-
/**
|
|
4901
|
-
* Returns a readable version of {@link EndpointSettings} properties
|
|
4902
|
-
* and can be used to convert to JSON and/or logging
|
|
4903
|
-
*/
|
|
4904
|
-
pretty(): {
|
|
4905
|
-
eid: number;
|
|
4906
|
-
bump: number;
|
|
4907
|
-
sendContext: beet.COption<SendContext>;
|
|
4908
|
-
admin: string;
|
|
4909
|
-
lzTokenMint: beet.COption<web3.PublicKey>;
|
|
4910
|
-
};
|
|
4911
|
-
}
|
|
4912
|
-
/**
|
|
4913
|
-
* @category Accounts
|
|
4914
|
-
* @category generated
|
|
4915
|
-
*/
|
|
4916
|
-
declare const endpointSettingsBeet: beet.FixableBeetStruct<EndpointSettings, EndpointSettingsArgs & {
|
|
4917
|
-
accountDiscriminator: number[];
|
|
4918
|
-
}>;
|
|
4919
|
-
|
|
4920
4810
|
/**
|
|
4921
4811
|
* This code was GENERATED using the solita package.
|
|
4922
4812
|
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
@@ -5239,15 +5129,11 @@ declare const sendConfigStoreBeet: beet.FixableBeetStruct<SendConfigStore, SendC
|
|
|
5239
5129
|
}>;
|
|
5240
5130
|
|
|
5241
5131
|
declare const accountProviders$5: {
|
|
5242
|
-
EndpointSettings: typeof EndpointSettings;
|
|
5243
5132
|
MessageLib: typeof MessageLib;
|
|
5244
5133
|
ReceiveConfigStore: typeof ReceiveConfigStore;
|
|
5245
5134
|
SendConfigStore: typeof SendConfigStore;
|
|
5246
5135
|
};
|
|
5247
5136
|
|
|
5248
|
-
type index$n_EndpointSettings = EndpointSettings;
|
|
5249
|
-
declare const index$n_EndpointSettings: typeof EndpointSettings;
|
|
5250
|
-
type index$n_EndpointSettingsArgs = EndpointSettingsArgs;
|
|
5251
5137
|
type index$n_MessageLib = MessageLib;
|
|
5252
5138
|
declare const index$n_MessageLib: typeof MessageLib;
|
|
5253
5139
|
type index$n_MessageLibArgs = MessageLibArgs;
|
|
@@ -5257,8 +5143,6 @@ type index$n_ReceiveConfigStoreArgs = ReceiveConfigStoreArgs;
|
|
|
5257
5143
|
type index$n_SendConfigStore = SendConfigStore;
|
|
5258
5144
|
declare const index$n_SendConfigStore: typeof SendConfigStore;
|
|
5259
5145
|
type index$n_SendConfigStoreArgs = SendConfigStoreArgs;
|
|
5260
|
-
declare const index$n_endpointSettingsBeet: typeof endpointSettingsBeet;
|
|
5261
|
-
declare const index$n_endpointSettingsDiscriminator: typeof endpointSettingsDiscriminator;
|
|
5262
5146
|
declare const index$n_messageLibBeet: typeof messageLibBeet;
|
|
5263
5147
|
declare const index$n_messageLibDiscriminator: typeof messageLibDiscriminator;
|
|
5264
5148
|
declare const index$n_receiveConfigStoreBeet: typeof receiveConfigStoreBeet;
|
|
@@ -5266,7 +5150,7 @@ declare const index$n_receiveConfigStoreDiscriminator: typeof receiveConfigStore
|
|
|
5266
5150
|
declare const index$n_sendConfigStoreBeet: typeof sendConfigStoreBeet;
|
|
5267
5151
|
declare const index$n_sendConfigStoreDiscriminator: typeof sendConfigStoreDiscriminator;
|
|
5268
5152
|
declare namespace index$n {
|
|
5269
|
-
export { index$
|
|
5153
|
+
export { index$n_MessageLib as MessageLib, type index$n_MessageLibArgs as MessageLibArgs, index$n_ReceiveConfigStore as ReceiveConfigStore, type index$n_ReceiveConfigStoreArgs as ReceiveConfigStoreArgs, index$n_SendConfigStore as SendConfigStore, type index$n_SendConfigStoreArgs as SendConfigStoreArgs, accountProviders$5 as accountProviders, index$n_messageLibBeet as messageLibBeet, index$n_messageLibDiscriminator as messageLibDiscriminator, index$n_receiveConfigStoreBeet as receiveConfigStoreBeet, index$n_receiveConfigStoreDiscriminator as receiveConfigStoreDiscriminator, index$n_sendConfigStoreBeet as sendConfigStoreBeet, index$n_sendConfigStoreDiscriminator as sendConfigStoreDiscriminator };
|
|
5270
5154
|
}
|
|
5271
5155
|
|
|
5272
5156
|
/**
|
|
@@ -5900,7 +5784,6 @@ declare const sendWithLzTokenStruct$1: beet.FixableBeetArgsStruct<SendWithLzToke
|
|
|
5900
5784
|
* @property [_writable_, **signer**] payer
|
|
5901
5785
|
* @property [_writable_] lzTokenSource
|
|
5902
5786
|
* @property [] lzTokenMint
|
|
5903
|
-
* @property [] endpointSettings
|
|
5904
5787
|
* @category Instructions
|
|
5905
5788
|
* @category SendWithLzToken
|
|
5906
5789
|
* @category generated
|
|
@@ -5912,7 +5795,6 @@ type SendWithLzTokenInstructionAccounts$1 = {
|
|
|
5912
5795
|
payer: web3.PublicKey;
|
|
5913
5796
|
lzTokenSource: web3.PublicKey;
|
|
5914
5797
|
lzTokenMint: web3.PublicKey;
|
|
5915
|
-
endpointSettings: web3.PublicKey;
|
|
5916
5798
|
tokenProgram?: web3.PublicKey;
|
|
5917
5799
|
systemProgram?: web3.PublicKey;
|
|
5918
5800
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
@@ -6588,19 +6470,17 @@ type Version$2 = {
|
|
|
6588
6470
|
declare const versionBeet$2: beet.BeetArgsStruct<Version$2>;
|
|
6589
6471
|
|
|
6590
6472
|
type index$k_InitMessageLibParams = InitMessageLibParams;
|
|
6591
|
-
type index$k_SendContext = SendContext;
|
|
6592
6473
|
type index$k_SetFeeParams = SetFeeParams;
|
|
6593
6474
|
type index$k_SetWlCallerParams = SetWlCallerParams;
|
|
6594
6475
|
type index$k_ValidatePacketParams = ValidatePacketParams;
|
|
6595
6476
|
type index$k_WithdrawFeesParams = WithdrawFeesParams;
|
|
6596
6477
|
declare const index$k_initMessageLibParamsBeet: typeof initMessageLibParamsBeet;
|
|
6597
|
-
declare const index$k_sendContextBeet: typeof sendContextBeet;
|
|
6598
6478
|
declare const index$k_setFeeParamsBeet: typeof setFeeParamsBeet;
|
|
6599
6479
|
declare const index$k_setWlCallerParamsBeet: typeof setWlCallerParamsBeet;
|
|
6600
6480
|
declare const index$k_validatePacketParamsBeet: typeof validatePacketParamsBeet;
|
|
6601
6481
|
declare const index$k_withdrawFeesParamsBeet: typeof withdrawFeesParamsBeet;
|
|
6602
6482
|
declare namespace index$k {
|
|
6603
|
-
export { type InitConfigParams$1 as InitConfigParams, type InitDefaultConfigParams$1 as InitDefaultConfigParams, type index$k_InitMessageLibParams as InitMessageLibParams, type MessagingFee$2 as MessagingFee, type Packet$1 as Packet, type QuoteParams$2 as QuoteParams, type
|
|
6483
|
+
export { type InitConfigParams$1 as InitConfigParams, type InitDefaultConfigParams$1 as InitDefaultConfigParams, type index$k_InitMessageLibParams as InitMessageLibParams, type MessagingFee$2 as MessagingFee, type Packet$1 as Packet, type QuoteParams$2 as QuoteParams, type SendParams$2 as SendParams, type SendWithLzTokenParams$1 as SendWithLzTokenParams, type SetConfigParams$2 as SetConfigParams, type SetDefaultConfigParams$1 as SetDefaultConfigParams, type index$k_SetFeeParams as SetFeeParams, type index$k_SetWlCallerParams as SetWlCallerParams, type TransferAdminParams$3 as TransferAdminParams, type index$k_ValidatePacketParams as ValidatePacketParams, type Version$2 as Version, type index$k_WithdrawFeesParams as WithdrawFeesParams, initConfigParamsBeet$1 as initConfigParamsBeet, initDefaultConfigParamsBeet$1 as initDefaultConfigParamsBeet, index$k_initMessageLibParamsBeet as initMessageLibParamsBeet, messagingFeeBeet$2 as messagingFeeBeet, packetBeet$1 as packetBeet, quoteParamsBeet$2 as quoteParamsBeet, sendParamsBeet$2 as sendParamsBeet, sendWithLzTokenParamsBeet$1 as sendWithLzTokenParamsBeet, setConfigParamsBeet$2 as setConfigParamsBeet, setDefaultConfigParamsBeet$1 as setDefaultConfigParamsBeet, index$k_setFeeParamsBeet as setFeeParamsBeet, index$k_setWlCallerParamsBeet as setWlCallerParamsBeet, transferAdminParamsBeet$3 as transferAdminParamsBeet, index$k_validatePacketParamsBeet as validatePacketParamsBeet, versionBeet$2 as versionBeet, index$k_withdrawFeesParamsBeet as withdrawFeesParamsBeet };
|
|
6604
6484
|
}
|
|
6605
6485
|
|
|
6606
6486
|
/**
|
|
@@ -6678,7 +6558,7 @@ declare class Endpoint {
|
|
|
6678
6558
|
getSkipIxAccountMetaForCPI(receiver: PublicKey, sender: Uint8Array, srcEid: number, nonce: number): AccountMeta[];
|
|
6679
6559
|
isDefaultSendLibrary(connection: Connection, messageLibProgram: PublicKey, dstEid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<boolean>;
|
|
6680
6560
|
isDefaultReceiveLibrary(connection: Connection, messageLibProgram: PublicKey, srcEid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<boolean>;
|
|
6681
|
-
getSetting(connection: Connection, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<EndpointSettings
|
|
6561
|
+
getSetting(connection: Connection, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<EndpointSettings | null>;
|
|
6682
6562
|
/**
|
|
6683
6563
|
*
|
|
6684
6564
|
* @param messageLib It is a PDA of the message library program
|
|
@@ -7141,7 +7021,6 @@ type UlnSettingsArgs = {
|
|
|
7141
7021
|
endpointProgram: web3.PublicKey;
|
|
7142
7022
|
bump: number;
|
|
7143
7023
|
admin: web3.PublicKey;
|
|
7144
|
-
treasuryFeeCap: beet.bignum;
|
|
7145
7024
|
treasury: beet.COption<Treasury>;
|
|
7146
7025
|
};
|
|
7147
7026
|
declare const ulnSettingsDiscriminator: number[];
|
|
@@ -7158,7 +7037,6 @@ declare class UlnSettings implements UlnSettingsArgs {
|
|
|
7158
7037
|
readonly endpointProgram: web3.PublicKey;
|
|
7159
7038
|
readonly bump: number;
|
|
7160
7039
|
readonly admin: web3.PublicKey;
|
|
7161
|
-
readonly treasuryFeeCap: beet.bignum;
|
|
7162
7040
|
readonly treasury: beet.COption<Treasury>;
|
|
7163
7041
|
private constructor();
|
|
7164
7042
|
/**
|
|
@@ -7223,9 +7101,6 @@ declare class UlnSettings implements UlnSettingsArgs {
|
|
|
7223
7101
|
endpointProgram: string;
|
|
7224
7102
|
bump: number;
|
|
7225
7103
|
admin: string;
|
|
7226
|
-
treasuryFeeCap: number | {
|
|
7227
|
-
toNumber: () => number;
|
|
7228
|
-
};
|
|
7229
7104
|
treasury: beet.COption<Treasury>;
|
|
7230
7105
|
};
|
|
7231
7106
|
}
|
|
@@ -7614,6 +7489,28 @@ declare class ExceededU128Error extends Error {
|
|
|
7614
7489
|
readonly name: string;
|
|
7615
7490
|
constructor();
|
|
7616
7491
|
}
|
|
7492
|
+
/**
|
|
7493
|
+
* NonSigner: ''
|
|
7494
|
+
*
|
|
7495
|
+
* @category Errors
|
|
7496
|
+
* @category generated
|
|
7497
|
+
*/
|
|
7498
|
+
declare class NonSignerError extends Error {
|
|
7499
|
+
readonly code: number;
|
|
7500
|
+
readonly name: string;
|
|
7501
|
+
constructor();
|
|
7502
|
+
}
|
|
7503
|
+
/**
|
|
7504
|
+
* InvalidPayer: ''
|
|
7505
|
+
*
|
|
7506
|
+
* @category Errors
|
|
7507
|
+
* @category generated
|
|
7508
|
+
*/
|
|
7509
|
+
declare class InvalidPayerError extends Error {
|
|
7510
|
+
readonly code: number;
|
|
7511
|
+
readonly name: string;
|
|
7512
|
+
constructor();
|
|
7513
|
+
}
|
|
7617
7514
|
/**
|
|
7618
7515
|
* Attempts to resolve a custom program error from the provided error code.
|
|
7619
7516
|
* @category Errors
|
|
@@ -7665,6 +7562,8 @@ type index$i_InvalidOptionalDVNThresholdError = InvalidOptionalDVNThresholdError
|
|
|
7665
7562
|
declare const index$i_InvalidOptionalDVNThresholdError: typeof InvalidOptionalDVNThresholdError;
|
|
7666
7563
|
type index$i_InvalidPacketVersionError = InvalidPacketVersionError;
|
|
7667
7564
|
declare const index$i_InvalidPacketVersionError: typeof InvalidPacketVersionError;
|
|
7565
|
+
type index$i_InvalidPayerError = InvalidPayerError;
|
|
7566
|
+
declare const index$i_InvalidPayerError: typeof InvalidPayerError;
|
|
7668
7567
|
type index$i_InvalidRequiredDVNCountError = InvalidRequiredDVNCountError;
|
|
7669
7568
|
declare const index$i_InvalidRequiredDVNCountError: typeof InvalidRequiredDVNCountError;
|
|
7670
7569
|
type index$i_InvalidTreasuryError = InvalidTreasuryError;
|
|
@@ -7679,6 +7578,8 @@ type index$i_InvalidWorkerIdError = InvalidWorkerIdError;
|
|
|
7679
7578
|
declare const index$i_InvalidWorkerIdError: typeof InvalidWorkerIdError;
|
|
7680
7579
|
type index$i_LzTokenUnavailableError = LzTokenUnavailableError;
|
|
7681
7580
|
declare const index$i_LzTokenUnavailableError: typeof LzTokenUnavailableError;
|
|
7581
|
+
type index$i_NonSignerError = NonSignerError;
|
|
7582
|
+
declare const index$i_NonSignerError: typeof NonSignerError;
|
|
7682
7583
|
type index$i_UnsortedError = UnsortedError;
|
|
7683
7584
|
declare const index$i_UnsortedError: typeof UnsortedError;
|
|
7684
7585
|
type index$i_VerifyingError = VerifyingError;
|
|
@@ -7686,7 +7587,7 @@ declare const index$i_VerifyingError: typeof VerifyingError;
|
|
|
7686
7587
|
type index$i_ZeroMessageSizeError = ZeroMessageSizeError;
|
|
7687
7588
|
declare const index$i_ZeroMessageSizeError: typeof ZeroMessageSizeError;
|
|
7688
7589
|
declare namespace index$i {
|
|
7689
|
-
export { index$i_AtLeastOneDVNError as AtLeastOneDVNError, index$i_ExceededMaxMessageSizeError as ExceededMaxMessageSizeError, index$i_ExceededU128Error as ExceededU128Error, index$i_InsufficientFeeError as InsufficientFeeError, index$i_InvalidAccountLengthError as InvalidAccountLengthError, InvalidAmountError$1 as InvalidAmountError, index$i_InvalidBpsError as InvalidBpsError, index$i_InvalidConfigTypeError as InvalidConfigTypeError, index$i_InvalidConfirmationError as InvalidConfirmationError, index$i_InvalidConfirmationsError as InvalidConfirmationsError, index$i_InvalidDvnError as InvalidDvnError, index$i_InvalidDvnProgramError as InvalidDvnProgramError, index$i_InvalidEidError as InvalidEidError, index$i_InvalidExecutorError as InvalidExecutorError, index$i_InvalidExecutorProgramError as InvalidExecutorProgramError, index$i_InvalidLzTokenMintError as InvalidLzTokenMintError, index$i_InvalidOptionTypeError as InvalidOptionTypeError, index$i_InvalidOptionalDVNCountError as InvalidOptionalDVNCountError, index$i_InvalidOptionalDVNThresholdError as InvalidOptionalDVNThresholdError, index$i_InvalidPacketVersionError as InvalidPacketVersionError, index$i_InvalidRequiredDVNCountError as InvalidRequiredDVNCountError, index$i_InvalidTreasuryError as InvalidTreasuryError, index$i_InvalidTreasuryFeeCapError as InvalidTreasuryFeeCapError, index$i_InvalidType1SizeError as InvalidType1SizeError, index$i_InvalidType2SizeError as InvalidType2SizeError, index$i_InvalidWorkerIdError as InvalidWorkerIdError, index$i_LzTokenUnavailableError as LzTokenUnavailableError, UnauthorizedError$1 as UnauthorizedError, index$i_UnsortedError as UnsortedError, index$i_VerifyingError as VerifyingError, index$i_ZeroMessageSizeError as ZeroMessageSizeError, errorFromCode$3 as errorFromCode, errorFromName$3 as errorFromName };
|
|
7590
|
+
export { index$i_AtLeastOneDVNError as AtLeastOneDVNError, index$i_ExceededMaxMessageSizeError as ExceededMaxMessageSizeError, index$i_ExceededU128Error as ExceededU128Error, index$i_InsufficientFeeError as InsufficientFeeError, index$i_InvalidAccountLengthError as InvalidAccountLengthError, InvalidAmountError$1 as InvalidAmountError, index$i_InvalidBpsError as InvalidBpsError, index$i_InvalidConfigTypeError as InvalidConfigTypeError, index$i_InvalidConfirmationError as InvalidConfirmationError, index$i_InvalidConfirmationsError as InvalidConfirmationsError, index$i_InvalidDvnError as InvalidDvnError, index$i_InvalidDvnProgramError as InvalidDvnProgramError, index$i_InvalidEidError as InvalidEidError, index$i_InvalidExecutorError as InvalidExecutorError, index$i_InvalidExecutorProgramError as InvalidExecutorProgramError, index$i_InvalidLzTokenMintError as InvalidLzTokenMintError, index$i_InvalidOptionTypeError as InvalidOptionTypeError, index$i_InvalidOptionalDVNCountError as InvalidOptionalDVNCountError, index$i_InvalidOptionalDVNThresholdError as InvalidOptionalDVNThresholdError, index$i_InvalidPacketVersionError as InvalidPacketVersionError, index$i_InvalidPayerError as InvalidPayerError, index$i_InvalidRequiredDVNCountError as InvalidRequiredDVNCountError, index$i_InvalidTreasuryError as InvalidTreasuryError, index$i_InvalidTreasuryFeeCapError as InvalidTreasuryFeeCapError, index$i_InvalidType1SizeError as InvalidType1SizeError, index$i_InvalidType2SizeError as InvalidType2SizeError, index$i_InvalidWorkerIdError as InvalidWorkerIdError, index$i_LzTokenUnavailableError as LzTokenUnavailableError, index$i_NonSignerError as NonSignerError, UnauthorizedError$1 as UnauthorizedError, index$i_UnsortedError as UnsortedError, index$i_VerifyingError as VerifyingError, index$i_ZeroMessageSizeError as ZeroMessageSizeError, errorFromCode$3 as errorFromCode, errorFromName$3 as errorFromName };
|
|
7690
7591
|
}
|
|
7691
7592
|
|
|
7692
7593
|
/**
|
|
@@ -7897,22 +7798,6 @@ type RentWithdrawnEvent = {
|
|
|
7897
7798
|
*/
|
|
7898
7799
|
declare const rentWithdrawnEventBeet: beet.BeetArgsStruct<RentWithdrawnEvent>;
|
|
7899
7800
|
|
|
7900
|
-
/**
|
|
7901
|
-
* This code was GENERATED using the solita package.
|
|
7902
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
7903
|
-
*
|
|
7904
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
7905
|
-
*/
|
|
7906
|
-
|
|
7907
|
-
type TreasuryFeeCapSetEvent = {
|
|
7908
|
-
treasuryFeeCap: beet.bignum;
|
|
7909
|
-
};
|
|
7910
|
-
/**
|
|
7911
|
-
* @category userTypes
|
|
7912
|
-
* @category generated
|
|
7913
|
-
*/
|
|
7914
|
-
declare const treasuryFeeCapSetEventBeet: beet.BeetArgsStruct<TreasuryFeeCapSetEvent>;
|
|
7915
|
-
|
|
7916
7801
|
/**
|
|
7917
7802
|
* This code was GENERATED using the solita package.
|
|
7918
7803
|
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
@@ -7935,7 +7820,6 @@ type index$h_DefaultConfigSetEvent = DefaultConfigSetEvent;
|
|
|
7935
7820
|
type index$h_FeesPaidEvent = FeesPaidEvent;
|
|
7936
7821
|
type index$h_PayloadVerifiedEvent = PayloadVerifiedEvent;
|
|
7937
7822
|
type index$h_RentWithdrawnEvent = RentWithdrawnEvent;
|
|
7938
|
-
type index$h_TreasuryFeeCapSetEvent = TreasuryFeeCapSetEvent;
|
|
7939
7823
|
type index$h_TreasurySetEvent = TreasurySetEvent;
|
|
7940
7824
|
declare const index$h_adminTransferredEventBeet: typeof adminTransferredEventBeet;
|
|
7941
7825
|
declare const index$h_configSetEventBeet: typeof configSetEventBeet;
|
|
@@ -7943,10 +7827,9 @@ declare const index$h_defaultConfigSetEventBeet: typeof defaultConfigSetEventBee
|
|
|
7943
7827
|
declare const index$h_feesPaidEventBeet: typeof feesPaidEventBeet;
|
|
7944
7828
|
declare const index$h_payloadVerifiedEventBeet: typeof payloadVerifiedEventBeet;
|
|
7945
7829
|
declare const index$h_rentWithdrawnEventBeet: typeof rentWithdrawnEventBeet;
|
|
7946
|
-
declare const index$h_treasuryFeeCapSetEventBeet: typeof treasuryFeeCapSetEventBeet;
|
|
7947
7830
|
declare const index$h_treasurySetEventBeet: typeof treasurySetEventBeet;
|
|
7948
7831
|
declare namespace index$h {
|
|
7949
|
-
export { type index$h_AdminTransferredEvent as AdminTransferredEvent, type index$h_ConfigSetEvent as ConfigSetEvent, type index$h_DefaultConfigSetEvent as DefaultConfigSetEvent, type index$h_FeesPaidEvent as FeesPaidEvent, type index$h_PayloadVerifiedEvent as PayloadVerifiedEvent, type index$h_RentWithdrawnEvent as RentWithdrawnEvent, type index$
|
|
7832
|
+
export { type index$h_AdminTransferredEvent as AdminTransferredEvent, type index$h_ConfigSetEvent as ConfigSetEvent, type index$h_DefaultConfigSetEvent as DefaultConfigSetEvent, type index$h_FeesPaidEvent as FeesPaidEvent, type index$h_PayloadVerifiedEvent as PayloadVerifiedEvent, type index$h_RentWithdrawnEvent as RentWithdrawnEvent, type index$h_TreasurySetEvent as TreasurySetEvent, index$h_adminTransferredEventBeet as adminTransferredEventBeet, index$h_configSetEventBeet as configSetEventBeet, index$h_defaultConfigSetEventBeet as defaultConfigSetEventBeet, index$h_feesPaidEventBeet as feesPaidEventBeet, index$h_payloadVerifiedEventBeet as payloadVerifiedEventBeet, index$h_rentWithdrawnEventBeet as rentWithdrawnEventBeet, index$h_treasurySetEventBeet as treasurySetEventBeet };
|
|
7950
7833
|
}
|
|
7951
7834
|
|
|
7952
7835
|
/**
|
|
@@ -8209,7 +8092,6 @@ type InitUlnParams = {
|
|
|
8209
8092
|
endpoint: web3.PublicKey;
|
|
8210
8093
|
endpointProgram: web3.PublicKey;
|
|
8211
8094
|
admin: web3.PublicKey;
|
|
8212
|
-
treasuryFeeCap: beet.bignum;
|
|
8213
8095
|
};
|
|
8214
8096
|
/**
|
|
8215
8097
|
* @category userTypes
|
|
@@ -8906,85 +8788,6 @@ declare function createSetTreasuryInstruction(accounts: SetTreasuryInstructionAc
|
|
|
8906
8788
|
*/
|
|
8907
8789
|
declare function createSetTreasuryInstructionAccounts(accounts: SetTreasuryInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
8908
8790
|
|
|
8909
|
-
/**
|
|
8910
|
-
* This code was GENERATED using the solita package.
|
|
8911
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
8912
|
-
*
|
|
8913
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
8914
|
-
*/
|
|
8915
|
-
|
|
8916
|
-
type SetTreasuryFeeCapParams = {
|
|
8917
|
-
treasuryFeeCap: beet.bignum;
|
|
8918
|
-
};
|
|
8919
|
-
/**
|
|
8920
|
-
* @category userTypes
|
|
8921
|
-
* @category generated
|
|
8922
|
-
*/
|
|
8923
|
-
declare const setTreasuryFeeCapParamsBeet: beet.BeetArgsStruct<SetTreasuryFeeCapParams>;
|
|
8924
|
-
|
|
8925
|
-
/**
|
|
8926
|
-
* This code was GENERATED using the solita package.
|
|
8927
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
8928
|
-
*
|
|
8929
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
8930
|
-
*/
|
|
8931
|
-
|
|
8932
|
-
/**
|
|
8933
|
-
* @category Instructions
|
|
8934
|
-
* @category SetTreasuryFeeCap
|
|
8935
|
-
* @category generated
|
|
8936
|
-
*/
|
|
8937
|
-
type SetTreasuryFeeCapInstructionArgs = {
|
|
8938
|
-
params: SetTreasuryFeeCapParams;
|
|
8939
|
-
};
|
|
8940
|
-
/**
|
|
8941
|
-
* @category Instructions
|
|
8942
|
-
* @category SetTreasuryFeeCap
|
|
8943
|
-
* @category generated
|
|
8944
|
-
*/
|
|
8945
|
-
declare const setTreasuryFeeCapStruct: beet.BeetArgsStruct<SetTreasuryFeeCapInstructionArgs & {
|
|
8946
|
-
instructionDiscriminator: number[];
|
|
8947
|
-
}>;
|
|
8948
|
-
/**
|
|
8949
|
-
* Accounts required by the _setTreasuryFeeCap_ instruction
|
|
8950
|
-
*
|
|
8951
|
-
* @property [**signer**] admin
|
|
8952
|
-
* @property [_writable_] uln
|
|
8953
|
-
* @property [] eventAuthority
|
|
8954
|
-
* @property [] program
|
|
8955
|
-
* @category Instructions
|
|
8956
|
-
* @category SetTreasuryFeeCap
|
|
8957
|
-
* @category generated
|
|
8958
|
-
*/
|
|
8959
|
-
type SetTreasuryFeeCapInstructionAccounts = {
|
|
8960
|
-
admin: web3.PublicKey;
|
|
8961
|
-
uln: web3.PublicKey;
|
|
8962
|
-
eventAuthority: web3.PublicKey;
|
|
8963
|
-
program: web3.PublicKey;
|
|
8964
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
8965
|
-
};
|
|
8966
|
-
declare const setTreasuryFeeCapInstructionDiscriminator: number[];
|
|
8967
|
-
/**
|
|
8968
|
-
* Creates a _SetTreasuryFeeCap_ instruction.
|
|
8969
|
-
*
|
|
8970
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
8971
|
-
* @param args to provide as instruction data to the program
|
|
8972
|
-
*
|
|
8973
|
-
* @category Instructions
|
|
8974
|
-
* @category SetTreasuryFeeCap
|
|
8975
|
-
* @category generated
|
|
8976
|
-
*/
|
|
8977
|
-
declare function createSetTreasuryFeeCapInstruction(accounts: SetTreasuryFeeCapInstructionAccounts, args: SetTreasuryFeeCapInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
8978
|
-
/**
|
|
8979
|
-
* Creates a _SetTreasuryFeeCap_ instructionAccounts.
|
|
8980
|
-
*
|
|
8981
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
8982
|
-
* @category Instructions
|
|
8983
|
-
* @category SetTreasuryFeeCap
|
|
8984
|
-
* @category generated
|
|
8985
|
-
*/
|
|
8986
|
-
declare function createSetTreasuryFeeCapInstructionAccounts(accounts: SetTreasuryFeeCapInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
8987
|
-
|
|
8988
8791
|
/**
|
|
8989
8792
|
* This code was GENERATED using the solita package.
|
|
8990
8793
|
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
@@ -9273,8 +9076,6 @@ type index$g_SendWithLzTokenInstructionAccounts = SendWithLzTokenInstructionAcco
|
|
|
9273
9076
|
type index$g_SendWithLzTokenInstructionArgs = SendWithLzTokenInstructionArgs;
|
|
9274
9077
|
type index$g_SetDefaultConfigInstructionAccounts = SetDefaultConfigInstructionAccounts;
|
|
9275
9078
|
type index$g_SetDefaultConfigInstructionArgs = SetDefaultConfigInstructionArgs;
|
|
9276
|
-
type index$g_SetTreasuryFeeCapInstructionAccounts = SetTreasuryFeeCapInstructionAccounts;
|
|
9277
|
-
type index$g_SetTreasuryFeeCapInstructionArgs = SetTreasuryFeeCapInstructionArgs;
|
|
9278
9079
|
type index$g_SetTreasuryInstructionAccounts = SetTreasuryInstructionAccounts;
|
|
9279
9080
|
type index$g_SetTreasuryInstructionArgs = SetTreasuryInstructionArgs;
|
|
9280
9081
|
type index$g_VerifyInstructionAccounts = VerifyInstructionAccounts;
|
|
@@ -9297,8 +9098,6 @@ declare const index$g_createSendWithLzTokenInstruction: typeof createSendWithLzT
|
|
|
9297
9098
|
declare const index$g_createSendWithLzTokenInstructionAccounts: typeof createSendWithLzTokenInstructionAccounts;
|
|
9298
9099
|
declare const index$g_createSetDefaultConfigInstruction: typeof createSetDefaultConfigInstruction;
|
|
9299
9100
|
declare const index$g_createSetDefaultConfigInstructionAccounts: typeof createSetDefaultConfigInstructionAccounts;
|
|
9300
|
-
declare const index$g_createSetTreasuryFeeCapInstruction: typeof createSetTreasuryFeeCapInstruction;
|
|
9301
|
-
declare const index$g_createSetTreasuryFeeCapInstructionAccounts: typeof createSetTreasuryFeeCapInstructionAccounts;
|
|
9302
9101
|
declare const index$g_createSetTreasuryInstruction: typeof createSetTreasuryInstruction;
|
|
9303
9102
|
declare const index$g_createSetTreasuryInstructionAccounts: typeof createSetTreasuryInstructionAccounts;
|
|
9304
9103
|
declare const index$g_createVerifyInstruction: typeof createVerifyInstruction;
|
|
@@ -9317,8 +9116,6 @@ declare const index$g_sendWithLzTokenInstructionDiscriminator: typeof sendWithLz
|
|
|
9317
9116
|
declare const index$g_sendWithLzTokenStruct: typeof sendWithLzTokenStruct;
|
|
9318
9117
|
declare const index$g_setDefaultConfigInstructionDiscriminator: typeof setDefaultConfigInstructionDiscriminator;
|
|
9319
9118
|
declare const index$g_setDefaultConfigStruct: typeof setDefaultConfigStruct;
|
|
9320
|
-
declare const index$g_setTreasuryFeeCapInstructionDiscriminator: typeof setTreasuryFeeCapInstructionDiscriminator;
|
|
9321
|
-
declare const index$g_setTreasuryFeeCapStruct: typeof setTreasuryFeeCapStruct;
|
|
9322
9119
|
declare const index$g_setTreasuryInstructionDiscriminator: typeof setTreasuryInstructionDiscriminator;
|
|
9323
9120
|
declare const index$g_setTreasuryStruct: typeof setTreasuryStruct;
|
|
9324
9121
|
declare const index$g_verifyInstructionDiscriminator: typeof verifyInstructionDiscriminator;
|
|
@@ -9326,7 +9123,7 @@ declare const index$g_verifyStruct: typeof verifyStruct;
|
|
|
9326
9123
|
declare const index$g_withdrawRentInstructionDiscriminator: typeof withdrawRentInstructionDiscriminator;
|
|
9327
9124
|
declare const index$g_withdrawRentStruct: typeof withdrawRentStruct;
|
|
9328
9125
|
declare namespace index$g {
|
|
9329
|
-
export { type index$g_CommitVerificationInstructionAccounts as CommitVerificationInstructionAccounts, type index$g_CommitVerificationInstructionArgs as CommitVerificationInstructionArgs, type index$g_InitConfigInstructionAccounts as InitConfigInstructionAccounts, type index$g_InitConfigInstructionArgs as InitConfigInstructionArgs, type index$g_InitDefaultConfigInstructionAccounts as InitDefaultConfigInstructionAccounts, type index$g_InitDefaultConfigInstructionArgs as InitDefaultConfigInstructionArgs, type index$g_InitUlnInstructionAccounts as InitUlnInstructionAccounts, type index$g_InitUlnInstructionArgs as InitUlnInstructionArgs, type index$g_InitVerifyInstructionAccounts as InitVerifyInstructionAccounts, type index$g_InitVerifyInstructionArgs as InitVerifyInstructionArgs, type QuoteInstructionAccounts$1 as QuoteInstructionAccounts, type QuoteInstructionArgs$1 as QuoteInstructionArgs, type SendInstructionAccounts$1 as SendInstructionAccounts, type SendInstructionArgs$1 as SendInstructionArgs, type index$g_SendWithLzTokenInstructionAccounts as SendWithLzTokenInstructionAccounts, type index$g_SendWithLzTokenInstructionArgs as SendWithLzTokenInstructionArgs, type SetConfigInstructionAccounts$1 as SetConfigInstructionAccounts, type SetConfigInstructionArgs$1 as SetConfigInstructionArgs, type index$g_SetDefaultConfigInstructionAccounts as SetDefaultConfigInstructionAccounts, type index$g_SetDefaultConfigInstructionArgs as SetDefaultConfigInstructionArgs, type index$
|
|
9126
|
+
export { type index$g_CommitVerificationInstructionAccounts as CommitVerificationInstructionAccounts, type index$g_CommitVerificationInstructionArgs as CommitVerificationInstructionArgs, type index$g_InitConfigInstructionAccounts as InitConfigInstructionAccounts, type index$g_InitConfigInstructionArgs as InitConfigInstructionArgs, type index$g_InitDefaultConfigInstructionAccounts as InitDefaultConfigInstructionAccounts, type index$g_InitDefaultConfigInstructionArgs as InitDefaultConfigInstructionArgs, type index$g_InitUlnInstructionAccounts as InitUlnInstructionAccounts, type index$g_InitUlnInstructionArgs as InitUlnInstructionArgs, type index$g_InitVerifyInstructionAccounts as InitVerifyInstructionAccounts, type index$g_InitVerifyInstructionArgs as InitVerifyInstructionArgs, type QuoteInstructionAccounts$1 as QuoteInstructionAccounts, type QuoteInstructionArgs$1 as QuoteInstructionArgs, type SendInstructionAccounts$1 as SendInstructionAccounts, type SendInstructionArgs$1 as SendInstructionArgs, type index$g_SendWithLzTokenInstructionAccounts as SendWithLzTokenInstructionAccounts, type index$g_SendWithLzTokenInstructionArgs as SendWithLzTokenInstructionArgs, type SetConfigInstructionAccounts$1 as SetConfigInstructionAccounts, type SetConfigInstructionArgs$1 as SetConfigInstructionArgs, type index$g_SetDefaultConfigInstructionAccounts as SetDefaultConfigInstructionAccounts, type index$g_SetDefaultConfigInstructionArgs as SetDefaultConfigInstructionArgs, type index$g_SetTreasuryInstructionAccounts as SetTreasuryInstructionAccounts, type index$g_SetTreasuryInstructionArgs as SetTreasuryInstructionArgs, type TransferAdminInstructionAccounts$2 as TransferAdminInstructionAccounts, type TransferAdminInstructionArgs$2 as TransferAdminInstructionArgs, type index$g_VerifyInstructionAccounts as VerifyInstructionAccounts, type index$g_VerifyInstructionArgs as VerifyInstructionArgs, type index$g_WithdrawRentInstructionAccounts as WithdrawRentInstructionAccounts, type index$g_WithdrawRentInstructionArgs as WithdrawRentInstructionArgs, index$g_commitVerificationInstructionDiscriminator as commitVerificationInstructionDiscriminator, index$g_commitVerificationStruct as commitVerificationStruct, index$g_createCommitVerificationInstruction as createCommitVerificationInstruction, index$g_createCommitVerificationInstructionAccounts as createCommitVerificationInstructionAccounts, index$g_createInitConfigInstruction as createInitConfigInstruction, index$g_createInitConfigInstructionAccounts as createInitConfigInstructionAccounts, index$g_createInitDefaultConfigInstruction as createInitDefaultConfigInstruction, index$g_createInitDefaultConfigInstructionAccounts as createInitDefaultConfigInstructionAccounts, index$g_createInitUlnInstruction as createInitUlnInstruction, index$g_createInitUlnInstructionAccounts as createInitUlnInstructionAccounts, index$g_createInitVerifyInstruction as createInitVerifyInstruction, index$g_createInitVerifyInstructionAccounts as createInitVerifyInstructionAccounts, createQuoteInstruction$1 as createQuoteInstruction, createQuoteInstructionAccounts$1 as createQuoteInstructionAccounts, createSendInstruction$1 as createSendInstruction, createSendInstructionAccounts$1 as createSendInstructionAccounts, index$g_createSendWithLzTokenInstruction as createSendWithLzTokenInstruction, index$g_createSendWithLzTokenInstructionAccounts as createSendWithLzTokenInstructionAccounts, createSetConfigInstruction$1 as createSetConfigInstruction, createSetConfigInstructionAccounts$1 as createSetConfigInstructionAccounts, index$g_createSetDefaultConfigInstruction as createSetDefaultConfigInstruction, index$g_createSetDefaultConfigInstructionAccounts as createSetDefaultConfigInstructionAccounts, index$g_createSetTreasuryInstruction as createSetTreasuryInstruction, index$g_createSetTreasuryInstructionAccounts as createSetTreasuryInstructionAccounts, createTransferAdminInstruction$2 as createTransferAdminInstruction, createTransferAdminInstructionAccounts$2 as createTransferAdminInstructionAccounts, index$g_createVerifyInstruction as createVerifyInstruction, index$g_createVerifyInstructionAccounts as createVerifyInstructionAccounts, createVersionInstruction$2 as createVersionInstruction, createVersionInstructionAccounts$2 as createVersionInstructionAccounts, index$g_createWithdrawRentInstruction as createWithdrawRentInstruction, index$g_createWithdrawRentInstructionAccounts as createWithdrawRentInstructionAccounts, index$g_initConfigInstructionDiscriminator as initConfigInstructionDiscriminator, index$g_initConfigStruct as initConfigStruct, index$g_initDefaultConfigInstructionDiscriminator as initDefaultConfigInstructionDiscriminator, index$g_initDefaultConfigStruct as initDefaultConfigStruct, index$g_initUlnInstructionDiscriminator as initUlnInstructionDiscriminator, index$g_initUlnStruct as initUlnStruct, index$g_initVerifyInstructionDiscriminator as initVerifyInstructionDiscriminator, index$g_initVerifyStruct as initVerifyStruct, quoteInstructionDiscriminator$1 as quoteInstructionDiscriminator, quoteStruct$1 as quoteStruct, sendInstructionDiscriminator$1 as sendInstructionDiscriminator, sendStruct$1 as sendStruct, index$g_sendWithLzTokenInstructionDiscriminator as sendWithLzTokenInstructionDiscriminator, index$g_sendWithLzTokenStruct as sendWithLzTokenStruct, setConfigInstructionDiscriminator$1 as setConfigInstructionDiscriminator, setConfigStruct$1 as setConfigStruct, index$g_setDefaultConfigInstructionDiscriminator as setDefaultConfigInstructionDiscriminator, index$g_setDefaultConfigStruct as setDefaultConfigStruct, index$g_setTreasuryInstructionDiscriminator as setTreasuryInstructionDiscriminator, index$g_setTreasuryStruct as setTreasuryStruct, transferAdminInstructionDiscriminator$2 as transferAdminInstructionDiscriminator, transferAdminStruct$2 as transferAdminStruct, index$g_verifyInstructionDiscriminator as verifyInstructionDiscriminator, index$g_verifyStruct as verifyStruct, versionInstructionDiscriminator$2 as versionInstructionDiscriminator, versionStruct$2 as versionStruct, index$g_withdrawRentInstructionDiscriminator as withdrawRentInstructionDiscriminator, index$g_withdrawRentStruct as withdrawRentStruct };
|
|
9330
9127
|
}
|
|
9331
9128
|
|
|
9332
9129
|
/**
|
|
@@ -9375,7 +9172,6 @@ type index$f_LzTokenTreasury = LzTokenTreasury;
|
|
|
9375
9172
|
type index$f_Packet = Packet;
|
|
9376
9173
|
type index$f_SendWithLzTokenParams = SendWithLzTokenParams;
|
|
9377
9174
|
type index$f_SetDefaultConfigParams = SetDefaultConfigParams;
|
|
9378
|
-
type index$f_SetTreasuryFeeCapParams = SetTreasuryFeeCapParams;
|
|
9379
9175
|
type index$f_SetTreasuryParams = SetTreasuryParams;
|
|
9380
9176
|
type index$f_Treasury = Treasury;
|
|
9381
9177
|
type index$f_TreasuryFee = TreasuryFee;
|
|
@@ -9395,7 +9191,6 @@ declare const index$f_lzTokenTreasuryBeet: typeof lzTokenTreasuryBeet;
|
|
|
9395
9191
|
declare const index$f_packetBeet: typeof packetBeet;
|
|
9396
9192
|
declare const index$f_sendWithLzTokenParamsBeet: typeof sendWithLzTokenParamsBeet;
|
|
9397
9193
|
declare const index$f_setDefaultConfigParamsBeet: typeof setDefaultConfigParamsBeet;
|
|
9398
|
-
declare const index$f_setTreasuryFeeCapParamsBeet: typeof setTreasuryFeeCapParamsBeet;
|
|
9399
9194
|
declare const index$f_setTreasuryParamsBeet: typeof setTreasuryParamsBeet;
|
|
9400
9195
|
declare const index$f_treasuryBeet: typeof treasuryBeet;
|
|
9401
9196
|
declare const index$f_treasuryFeeBeet: typeof treasuryFeeBeet;
|
|
@@ -9403,7 +9198,7 @@ declare const index$f_verifyParamsBeet: typeof verifyParamsBeet;
|
|
|
9403
9198
|
declare const index$f_withdrawRentParamsBeet: typeof withdrawRentParamsBeet;
|
|
9404
9199
|
declare const index$f_workerFeeBeet: typeof workerFeeBeet;
|
|
9405
9200
|
declare namespace index$f {
|
|
9406
|
-
export { type index$f_CommitVerificationParams as CommitVerificationParams, type index$f_Config as Config, type index$f_ConfigRecord as ConfigRecord, type ExecutorConfig$1 as ExecutorConfig, type index$f_InitConfigParams as InitConfigParams, type index$f_InitDefaultConfigParams as InitDefaultConfigParams, type index$f_InitUlnParams as InitUlnParams, type index$f_InitVerifyParams as InitVerifyParams, type index$f_LzTokenTreasury as LzTokenTreasury, type MessagingFee$1 as MessagingFee, type index$f_Packet as Packet, type QuoteParams$1 as QuoteParams, type SendParams$1 as SendParams, type index$f_SendWithLzTokenParams as SendWithLzTokenParams, type SetConfigParams$1 as SetConfigParams, type index$f_SetDefaultConfigParams as SetDefaultConfigParams, type index$
|
|
9201
|
+
export { type index$f_CommitVerificationParams as CommitVerificationParams, type index$f_Config as Config, type index$f_ConfigRecord as ConfigRecord, type ExecutorConfig$1 as ExecutorConfig, type index$f_InitConfigParams as InitConfigParams, type index$f_InitDefaultConfigParams as InitDefaultConfigParams, type index$f_InitUlnParams as InitUlnParams, type index$f_InitVerifyParams as InitVerifyParams, type index$f_LzTokenTreasury as LzTokenTreasury, type MessagingFee$1 as MessagingFee, type index$f_Packet as Packet, type QuoteParams$1 as QuoteParams, type SendParams$1 as SendParams, type index$f_SendWithLzTokenParams as SendWithLzTokenParams, type SetConfigParams$1 as SetConfigParams, type index$f_SetDefaultConfigParams as SetDefaultConfigParams, type index$f_SetTreasuryParams as SetTreasuryParams, type TransferAdminParams$2 as TransferAdminParams, type index$f_Treasury as Treasury, type index$f_TreasuryFee as TreasuryFee, type UlnConfig$1 as UlnConfig, type index$f_VerifyParams as VerifyParams, type Version$1 as Version, type index$f_WithdrawRentParams as WithdrawRentParams, type index$f_WorkerFee as WorkerFee, index$f_commitVerificationParamsBeet as commitVerificationParamsBeet, index$f_configBeet as configBeet, executorConfigBeet$1 as executorConfigBeet, index$f_initConfigParamsBeet as initConfigParamsBeet, index$f_initDefaultConfigParamsBeet as initDefaultConfigParamsBeet, index$f_initUlnParamsBeet as initUlnParamsBeet, index$f_initVerifyParamsBeet as initVerifyParamsBeet, index$f_isConfigExecutor as isConfigExecutor, index$f_isConfigReceiveUln as isConfigReceiveUln, index$f_isConfigSendUln as isConfigSendUln, index$f_lzTokenTreasuryBeet as lzTokenTreasuryBeet, messagingFeeBeet$1 as messagingFeeBeet, index$f_packetBeet as packetBeet, quoteParamsBeet$1 as quoteParamsBeet, sendParamsBeet$1 as sendParamsBeet, index$f_sendWithLzTokenParamsBeet as sendWithLzTokenParamsBeet, setConfigParamsBeet$1 as setConfigParamsBeet, index$f_setDefaultConfigParamsBeet as setDefaultConfigParamsBeet, index$f_setTreasuryParamsBeet as setTreasuryParamsBeet, transferAdminParamsBeet$2 as transferAdminParamsBeet, index$f_treasuryBeet as treasuryBeet, index$f_treasuryFeeBeet as treasuryFeeBeet, ulnConfigBeet$1 as ulnConfigBeet, index$f_verifyParamsBeet as verifyParamsBeet, versionBeet$1 as versionBeet, index$f_withdrawRentParamsBeet as withdrawRentParamsBeet, index$f_workerFeeBeet as workerFeeBeet };
|
|
9407
9202
|
}
|
|
9408
9203
|
|
|
9409
9204
|
/**
|
|
@@ -9453,7 +9248,7 @@ declare class Uln implements MessageLibInterface {
|
|
|
9453
9248
|
deriver: UlnPDADeriver;
|
|
9454
9249
|
eventAuthorityPDA: PublicKey;
|
|
9455
9250
|
constructor(program: PublicKey);
|
|
9456
|
-
initUln(connection: Connection, payer: PublicKey, admin: PublicKey, endpointProgram: PublicKey, eid: number,
|
|
9251
|
+
initUln(connection: Connection, payer: PublicKey, admin: PublicKey, endpointProgram: PublicKey, eid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction | null>;
|
|
9457
9252
|
/**
|
|
9458
9253
|
* before calling this function, you should call initUln to initialize the uln
|
|
9459
9254
|
*/
|
|
@@ -9470,7 +9265,6 @@ declare class Uln implements MessageLibInterface {
|
|
|
9470
9265
|
fee: number;
|
|
9471
9266
|
} | null;
|
|
9472
9267
|
} | null): Promise<TransactionInstruction>;
|
|
9473
|
-
setTreasuryFeeCap(admin: PublicKey, treasuryFeeCap: bignum): TransactionInstruction;
|
|
9474
9268
|
transferAdmin(connection: Connection, admin: PublicKey, newAdmin: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction>;
|
|
9475
9269
|
/**
|
|
9476
9270
|
*
|
|
@@ -9575,6 +9369,8 @@ type uln_InvalidOptionalDVNThresholdError = InvalidOptionalDVNThresholdError;
|
|
|
9575
9369
|
declare const uln_InvalidOptionalDVNThresholdError: typeof InvalidOptionalDVNThresholdError;
|
|
9576
9370
|
type uln_InvalidPacketVersionError = InvalidPacketVersionError;
|
|
9577
9371
|
declare const uln_InvalidPacketVersionError: typeof InvalidPacketVersionError;
|
|
9372
|
+
type uln_InvalidPayerError = InvalidPayerError;
|
|
9373
|
+
declare const uln_InvalidPayerError: typeof InvalidPayerError;
|
|
9578
9374
|
type uln_InvalidRequiredDVNCountError = InvalidRequiredDVNCountError;
|
|
9579
9375
|
declare const uln_InvalidRequiredDVNCountError: typeof InvalidRequiredDVNCountError;
|
|
9580
9376
|
type uln_InvalidTreasuryError = InvalidTreasuryError;
|
|
@@ -9591,6 +9387,8 @@ type uln_LzTokenTreasury = LzTokenTreasury;
|
|
|
9591
9387
|
type uln_LzTokenUnavailableError = LzTokenUnavailableError;
|
|
9592
9388
|
declare const uln_LzTokenUnavailableError: typeof LzTokenUnavailableError;
|
|
9593
9389
|
type uln_MaxMessageSize = MaxMessageSize;
|
|
9390
|
+
type uln_NonSignerError = NonSignerError;
|
|
9391
|
+
declare const uln_NonSignerError: typeof NonSignerError;
|
|
9594
9392
|
type uln_OptionalOracles = OptionalOracles;
|
|
9595
9393
|
type uln_Oracles = Oracles;
|
|
9596
9394
|
type uln_OutboundConfirmations = OutboundConfirmations;
|
|
@@ -9604,9 +9402,6 @@ type uln_SendWithLzTokenParams = SendWithLzTokenParams;
|
|
|
9604
9402
|
type uln_SetDefaultConfigInstructionAccounts = SetDefaultConfigInstructionAccounts;
|
|
9605
9403
|
type uln_SetDefaultConfigInstructionArgs = SetDefaultConfigInstructionArgs;
|
|
9606
9404
|
type uln_SetDefaultConfigParams = SetDefaultConfigParams;
|
|
9607
|
-
type uln_SetTreasuryFeeCapInstructionAccounts = SetTreasuryFeeCapInstructionAccounts;
|
|
9608
|
-
type uln_SetTreasuryFeeCapInstructionArgs = SetTreasuryFeeCapInstructionArgs;
|
|
9609
|
-
type uln_SetTreasuryFeeCapParams = SetTreasuryFeeCapParams;
|
|
9610
9405
|
type uln_SetTreasuryInstructionAccounts = SetTreasuryInstructionAccounts;
|
|
9611
9406
|
type uln_SetTreasuryInstructionArgs = SetTreasuryInstructionArgs;
|
|
9612
9407
|
type uln_SetTreasuryParams = SetTreasuryParams;
|
|
@@ -9650,8 +9445,6 @@ declare const uln_createSendWithLzTokenInstruction: typeof createSendWithLzToken
|
|
|
9650
9445
|
declare const uln_createSendWithLzTokenInstructionAccounts: typeof createSendWithLzTokenInstructionAccounts;
|
|
9651
9446
|
declare const uln_createSetDefaultConfigInstruction: typeof createSetDefaultConfigInstruction;
|
|
9652
9447
|
declare const uln_createSetDefaultConfigInstructionAccounts: typeof createSetDefaultConfigInstructionAccounts;
|
|
9653
|
-
declare const uln_createSetTreasuryFeeCapInstruction: typeof createSetTreasuryFeeCapInstruction;
|
|
9654
|
-
declare const uln_createSetTreasuryFeeCapInstructionAccounts: typeof createSetTreasuryFeeCapInstructionAccounts;
|
|
9655
9448
|
declare const uln_createSetTreasuryInstruction: typeof createSetTreasuryInstruction;
|
|
9656
9449
|
declare const uln_createSetTreasuryInstructionAccounts: typeof createSetTreasuryInstructionAccounts;
|
|
9657
9450
|
declare const uln_createVerifyInstruction: typeof createVerifyInstruction;
|
|
@@ -9683,9 +9476,6 @@ declare const uln_sendWithLzTokenStruct: typeof sendWithLzTokenStruct;
|
|
|
9683
9476
|
declare const uln_setDefaultConfigInstructionDiscriminator: typeof setDefaultConfigInstructionDiscriminator;
|
|
9684
9477
|
declare const uln_setDefaultConfigParamsBeet: typeof setDefaultConfigParamsBeet;
|
|
9685
9478
|
declare const uln_setDefaultConfigStruct: typeof setDefaultConfigStruct;
|
|
9686
|
-
declare const uln_setTreasuryFeeCapInstructionDiscriminator: typeof setTreasuryFeeCapInstructionDiscriminator;
|
|
9687
|
-
declare const uln_setTreasuryFeeCapParamsBeet: typeof setTreasuryFeeCapParamsBeet;
|
|
9688
|
-
declare const uln_setTreasuryFeeCapStruct: typeof setTreasuryFeeCapStruct;
|
|
9689
9479
|
declare const uln_setTreasuryInstructionDiscriminator: typeof setTreasuryInstructionDiscriminator;
|
|
9690
9480
|
declare const uln_setTreasuryParamsBeet: typeof setTreasuryParamsBeet;
|
|
9691
9481
|
declare const uln_setTreasuryStruct: typeof setTreasuryStruct;
|
|
@@ -9701,7 +9491,7 @@ declare const uln_withdrawRentParamsBeet: typeof withdrawRentParamsBeet;
|
|
|
9701
9491
|
declare const uln_withdrawRentStruct: typeof withdrawRentStruct;
|
|
9702
9492
|
declare const uln_workerFeeBeet: typeof workerFeeBeet;
|
|
9703
9493
|
declare namespace uln {
|
|
9704
|
-
export { uln_AtLeastOneDVNError as AtLeastOneDVNError, type uln_CommitVerificationInstructionAccounts as CommitVerificationInstructionAccounts, type uln_CommitVerificationInstructionArgs as CommitVerificationInstructionArgs, type uln_CommitVerificationParams as CommitVerificationParams, type uln_Config as Config, type uln_ConfigRecord as ConfigRecord, uln_Confirmations as Confirmations, type uln_ConfirmationsArgs as ConfirmationsArgs, uln_ExceededMaxMessageSizeError as ExceededMaxMessageSizeError, uln_ExceededU128Error as ExceededU128Error, type Executor$1 as Executor, type ExecutorConfig$1 as ExecutorConfig, type uln_InboundConfirmations as InboundConfirmations, type uln_InitConfigInstructionAccounts as InitConfigInstructionAccounts, type uln_InitConfigInstructionArgs as InitConfigInstructionArgs, type uln_InitConfigParams as InitConfigParams, type uln_InitDefaultConfigInstructionAccounts as InitDefaultConfigInstructionAccounts, type uln_InitDefaultConfigInstructionArgs as InitDefaultConfigInstructionArgs, type uln_InitDefaultConfigParams as InitDefaultConfigParams, type uln_InitUlnInstructionAccounts as InitUlnInstructionAccounts, type uln_InitUlnInstructionArgs as InitUlnInstructionArgs, type uln_InitUlnParams as InitUlnParams, type uln_InitVerifyInstructionAccounts as InitVerifyInstructionAccounts, type uln_InitVerifyInstructionArgs as InitVerifyInstructionArgs, type uln_InitVerifyParams as InitVerifyParams, uln_InsufficientFeeError as InsufficientFeeError, uln_InvalidAccountLengthError as InvalidAccountLengthError, InvalidAmountError$1 as InvalidAmountError, uln_InvalidBpsError as InvalidBpsError, uln_InvalidConfigTypeError as InvalidConfigTypeError, uln_InvalidConfirmationError as InvalidConfirmationError, uln_InvalidConfirmationsError as InvalidConfirmationsError, uln_InvalidDvnError as InvalidDvnError, uln_InvalidDvnProgramError as InvalidDvnProgramError, uln_InvalidEidError as InvalidEidError, uln_InvalidExecutorError as InvalidExecutorError, uln_InvalidExecutorProgramError as InvalidExecutorProgramError, uln_InvalidLzTokenMintError as InvalidLzTokenMintError, uln_InvalidOptionTypeError as InvalidOptionTypeError, uln_InvalidOptionalDVNCountError as InvalidOptionalDVNCountError, uln_InvalidOptionalDVNThresholdError as InvalidOptionalDVNThresholdError, uln_InvalidPacketVersionError as InvalidPacketVersionError, uln_InvalidRequiredDVNCountError as InvalidRequiredDVNCountError, uln_InvalidTreasuryError as InvalidTreasuryError, uln_InvalidTreasuryFeeCapError as InvalidTreasuryFeeCapError, uln_InvalidType1SizeError as InvalidType1SizeError, uln_InvalidType2SizeError as InvalidType2SizeError, uln_InvalidWorkerIdError as InvalidWorkerIdError, type uln_LzTokenTreasury as LzTokenTreasury, uln_LzTokenUnavailableError as LzTokenUnavailableError, type uln_MaxMessageSize as MaxMessageSize, type MessagingFee$1 as MessagingFee, type uln_OptionalOracles as OptionalOracles, type uln_Oracles as Oracles, type uln_OutboundConfirmations as OutboundConfirmations, PROGRAM_ADDRESS$4 as PROGRAM_ADDRESS, PROGRAM_ID$5 as PROGRAM_ID, type uln_Packet as Packet, type QuoteInstructionAccounts$1 as QuoteInstructionAccounts, type QuoteInstructionArgs$1 as QuoteInstructionArgs, type QuoteParams$1 as QuoteParams, ReceiveConfig$1 as ReceiveConfig, type ReceiveConfigArgs$1 as ReceiveConfigArgs, uln_SendConfig as SendConfig, type uln_SendConfigArgs as SendConfigArgs, type SendInstructionAccounts$1 as SendInstructionAccounts, type SendInstructionArgs$1 as SendInstructionArgs, type SendParams$1 as SendParams, type uln_SendWithLzTokenInstructionAccounts as SendWithLzTokenInstructionAccounts, type uln_SendWithLzTokenInstructionArgs as SendWithLzTokenInstructionArgs, type uln_SendWithLzTokenParams as SendWithLzTokenParams, type SetConfigInstructionAccounts$1 as SetConfigInstructionAccounts, type SetConfigInstructionArgs$1 as SetConfigInstructionArgs, type SetConfigParams$1 as SetConfigParams, type uln_SetDefaultConfigInstructionAccounts as SetDefaultConfigInstructionAccounts, type uln_SetDefaultConfigInstructionArgs as SetDefaultConfigInstructionArgs, type uln_SetDefaultConfigParams as SetDefaultConfigParams, type uln_SetTreasuryFeeCapInstructionAccounts as SetTreasuryFeeCapInstructionAccounts, type uln_SetTreasuryFeeCapInstructionArgs as SetTreasuryFeeCapInstructionArgs, type uln_SetTreasuryFeeCapParams as SetTreasuryFeeCapParams, type uln_SetTreasuryInstructionAccounts as SetTreasuryInstructionAccounts, type uln_SetTreasuryInstructionArgs as SetTreasuryInstructionArgs, type uln_SetTreasuryParams as SetTreasuryParams, type TransferAdminInstructionAccounts$2 as TransferAdminInstructionAccounts, type TransferAdminInstructionArgs$2 as TransferAdminInstructionArgs, type TransferAdminParams$2 as TransferAdminParams, type uln_Treasury as Treasury, type uln_TreasuryFee as TreasuryFee, uln_Uln as Uln, type UlnConfig$1 as UlnConfig, uln_UlnSettings as UlnSettings, type uln_UlnSettingsArgs as UlnSettingsArgs, UnauthorizedError$1 as UnauthorizedError, uln_UnsortedError as UnsortedError, type uln_VerifyInstructionAccounts as VerifyInstructionAccounts, type uln_VerifyInstructionArgs as VerifyInstructionArgs, type uln_VerifyParams as VerifyParams, uln_VerifyingError as VerifyingError, type Version$1 as Version, type uln_WithdrawRentInstructionAccounts as WithdrawRentInstructionAccounts, type uln_WithdrawRentInstructionArgs as WithdrawRentInstructionArgs, type uln_WithdrawRentParams as WithdrawRentParams, type uln_WorkerFee as WorkerFee, uln_ZeroMessageSizeError as ZeroMessageSizeError, accountProviders$4 as accountProviders, index$j as accounts, uln_commitVerificationInstructionDiscriminator as commitVerificationInstructionDiscriminator, uln_commitVerificationParamsBeet as commitVerificationParamsBeet, uln_commitVerificationStruct as commitVerificationStruct, uln_configBeet as configBeet, uln_confirmationsBeet as confirmationsBeet, uln_confirmationsDiscriminator as confirmationsDiscriminator, uln_createCommitVerificationInstruction as createCommitVerificationInstruction, uln_createCommitVerificationInstructionAccounts as createCommitVerificationInstructionAccounts, uln_createInitConfigInstruction as createInitConfigInstruction, uln_createInitConfigInstructionAccounts as createInitConfigInstructionAccounts, uln_createInitDefaultConfigInstruction as createInitDefaultConfigInstruction, uln_createInitDefaultConfigInstructionAccounts as createInitDefaultConfigInstructionAccounts, uln_createInitUlnInstruction as createInitUlnInstruction, uln_createInitUlnInstructionAccounts as createInitUlnInstructionAccounts, uln_createInitVerifyInstruction as createInitVerifyInstruction, uln_createInitVerifyInstructionAccounts as createInitVerifyInstructionAccounts, createQuoteInstruction$1 as createQuoteInstruction, createQuoteInstructionAccounts$1 as createQuoteInstructionAccounts, createSendInstruction$1 as createSendInstruction, createSendInstructionAccounts$1 as createSendInstructionAccounts, uln_createSendWithLzTokenInstruction as createSendWithLzTokenInstruction, uln_createSendWithLzTokenInstructionAccounts as createSendWithLzTokenInstructionAccounts, createSetConfigInstruction$1 as createSetConfigInstruction, createSetConfigInstructionAccounts$1 as createSetConfigInstructionAccounts, uln_createSetDefaultConfigInstruction as createSetDefaultConfigInstruction, uln_createSetDefaultConfigInstructionAccounts as createSetDefaultConfigInstructionAccounts, uln_createSetTreasuryFeeCapInstruction as createSetTreasuryFeeCapInstruction, uln_createSetTreasuryFeeCapInstructionAccounts as createSetTreasuryFeeCapInstructionAccounts, uln_createSetTreasuryInstruction as createSetTreasuryInstruction, uln_createSetTreasuryInstructionAccounts as createSetTreasuryInstructionAccounts, createTransferAdminInstruction$2 as createTransferAdminInstruction, createTransferAdminInstructionAccounts$2 as createTransferAdminInstructionAccounts, uln_createVerifyInstruction as createVerifyInstruction, uln_createVerifyInstructionAccounts as createVerifyInstructionAccounts, createVersionInstruction$2 as createVersionInstruction, createVersionInstructionAccounts$2 as createVersionInstructionAccounts, uln_createWithdrawRentInstruction as createWithdrawRentInstruction, uln_createWithdrawRentInstructionAccounts as createWithdrawRentInstructionAccounts, errorFromCode$3 as errorFromCode, errorFromName$3 as errorFromName, index$i as errors, index$h as events, executorConfigBeet$1 as executorConfigBeet, uln_initConfigInstructionDiscriminator as initConfigInstructionDiscriminator, uln_initConfigParamsBeet as initConfigParamsBeet, uln_initConfigStruct as initConfigStruct, uln_initDefaultConfigInstructionDiscriminator as initDefaultConfigInstructionDiscriminator, uln_initDefaultConfigParamsBeet as initDefaultConfigParamsBeet, uln_initDefaultConfigStruct as initDefaultConfigStruct, uln_initUlnInstructionDiscriminator as initUlnInstructionDiscriminator, uln_initUlnParamsBeet as initUlnParamsBeet, uln_initUlnStruct as initUlnStruct, uln_initVerifyInstructionDiscriminator as initVerifyInstructionDiscriminator, uln_initVerifyParamsBeet as initVerifyParamsBeet, uln_initVerifyStruct as initVerifyStruct, index$g as instructions, uln_isConfigExecutor as isConfigExecutor, uln_isConfigReceiveUln as isConfigReceiveUln, uln_isConfigSendUln as isConfigSendUln, uln_lzTokenTreasuryBeet as lzTokenTreasuryBeet, messagingFeeBeet$1 as messagingFeeBeet, uln_packetBeet as packetBeet, quoteInstructionDiscriminator$1 as quoteInstructionDiscriminator, quoteParamsBeet$1 as quoteParamsBeet, quoteStruct$1 as quoteStruct, receiveConfigBeet$1 as receiveConfigBeet, receiveConfigDiscriminator$1 as receiveConfigDiscriminator, uln_sendConfigBeet as sendConfigBeet, uln_sendConfigDiscriminator as sendConfigDiscriminator, sendInstructionDiscriminator$1 as sendInstructionDiscriminator, sendParamsBeet$1 as sendParamsBeet, sendStruct$1 as sendStruct, uln_sendWithLzTokenInstructionDiscriminator as sendWithLzTokenInstructionDiscriminator, uln_sendWithLzTokenParamsBeet as sendWithLzTokenParamsBeet, uln_sendWithLzTokenStruct as sendWithLzTokenStruct, setConfigInstructionDiscriminator$1 as setConfigInstructionDiscriminator, setConfigParamsBeet$1 as setConfigParamsBeet, setConfigStruct$1 as setConfigStruct, uln_setDefaultConfigInstructionDiscriminator as setDefaultConfigInstructionDiscriminator, uln_setDefaultConfigParamsBeet as setDefaultConfigParamsBeet, uln_setDefaultConfigStruct as setDefaultConfigStruct, uln_setTreasuryFeeCapInstructionDiscriminator as setTreasuryFeeCapInstructionDiscriminator, uln_setTreasuryFeeCapParamsBeet as setTreasuryFeeCapParamsBeet, uln_setTreasuryFeeCapStruct as setTreasuryFeeCapStruct, uln_setTreasuryInstructionDiscriminator as setTreasuryInstructionDiscriminator, uln_setTreasuryParamsBeet as setTreasuryParamsBeet, uln_setTreasuryStruct as setTreasuryStruct, transferAdminInstructionDiscriminator$2 as transferAdminInstructionDiscriminator, transferAdminParamsBeet$2 as transferAdminParamsBeet, transferAdminStruct$2 as transferAdminStruct, uln_treasuryBeet as treasuryBeet, uln_treasuryFeeBeet as treasuryFeeBeet, index$f as types, ulnConfigBeet$1 as ulnConfigBeet, uln_ulnSettingsBeet as ulnSettingsBeet, uln_ulnSettingsDiscriminator as ulnSettingsDiscriminator, uln_verifyInstructionDiscriminator as verifyInstructionDiscriminator, uln_verifyParamsBeet as verifyParamsBeet, uln_verifyStruct as verifyStruct, versionBeet$1 as versionBeet, versionInstructionDiscriminator$2 as versionInstructionDiscriminator, versionStruct$2 as versionStruct, uln_withdrawRentInstructionDiscriminator as withdrawRentInstructionDiscriminator, uln_withdrawRentParamsBeet as withdrawRentParamsBeet, uln_withdrawRentStruct as withdrawRentStruct, uln_workerFeeBeet as workerFeeBeet };
|
|
9494
|
+
export { uln_AtLeastOneDVNError as AtLeastOneDVNError, type uln_CommitVerificationInstructionAccounts as CommitVerificationInstructionAccounts, type uln_CommitVerificationInstructionArgs as CommitVerificationInstructionArgs, type uln_CommitVerificationParams as CommitVerificationParams, type uln_Config as Config, type uln_ConfigRecord as ConfigRecord, uln_Confirmations as Confirmations, type uln_ConfirmationsArgs as ConfirmationsArgs, uln_ExceededMaxMessageSizeError as ExceededMaxMessageSizeError, uln_ExceededU128Error as ExceededU128Error, type Executor$1 as Executor, type ExecutorConfig$1 as ExecutorConfig, type uln_InboundConfirmations as InboundConfirmations, type uln_InitConfigInstructionAccounts as InitConfigInstructionAccounts, type uln_InitConfigInstructionArgs as InitConfigInstructionArgs, type uln_InitConfigParams as InitConfigParams, type uln_InitDefaultConfigInstructionAccounts as InitDefaultConfigInstructionAccounts, type uln_InitDefaultConfigInstructionArgs as InitDefaultConfigInstructionArgs, type uln_InitDefaultConfigParams as InitDefaultConfigParams, type uln_InitUlnInstructionAccounts as InitUlnInstructionAccounts, type uln_InitUlnInstructionArgs as InitUlnInstructionArgs, type uln_InitUlnParams as InitUlnParams, type uln_InitVerifyInstructionAccounts as InitVerifyInstructionAccounts, type uln_InitVerifyInstructionArgs as InitVerifyInstructionArgs, type uln_InitVerifyParams as InitVerifyParams, uln_InsufficientFeeError as InsufficientFeeError, uln_InvalidAccountLengthError as InvalidAccountLengthError, InvalidAmountError$1 as InvalidAmountError, uln_InvalidBpsError as InvalidBpsError, uln_InvalidConfigTypeError as InvalidConfigTypeError, uln_InvalidConfirmationError as InvalidConfirmationError, uln_InvalidConfirmationsError as InvalidConfirmationsError, uln_InvalidDvnError as InvalidDvnError, uln_InvalidDvnProgramError as InvalidDvnProgramError, uln_InvalidEidError as InvalidEidError, uln_InvalidExecutorError as InvalidExecutorError, uln_InvalidExecutorProgramError as InvalidExecutorProgramError, uln_InvalidLzTokenMintError as InvalidLzTokenMintError, uln_InvalidOptionTypeError as InvalidOptionTypeError, uln_InvalidOptionalDVNCountError as InvalidOptionalDVNCountError, uln_InvalidOptionalDVNThresholdError as InvalidOptionalDVNThresholdError, uln_InvalidPacketVersionError as InvalidPacketVersionError, uln_InvalidPayerError as InvalidPayerError, uln_InvalidRequiredDVNCountError as InvalidRequiredDVNCountError, uln_InvalidTreasuryError as InvalidTreasuryError, uln_InvalidTreasuryFeeCapError as InvalidTreasuryFeeCapError, uln_InvalidType1SizeError as InvalidType1SizeError, uln_InvalidType2SizeError as InvalidType2SizeError, uln_InvalidWorkerIdError as InvalidWorkerIdError, type uln_LzTokenTreasury as LzTokenTreasury, uln_LzTokenUnavailableError as LzTokenUnavailableError, type uln_MaxMessageSize as MaxMessageSize, type MessagingFee$1 as MessagingFee, uln_NonSignerError as NonSignerError, type uln_OptionalOracles as OptionalOracles, type uln_Oracles as Oracles, type uln_OutboundConfirmations as OutboundConfirmations, PROGRAM_ADDRESS$4 as PROGRAM_ADDRESS, PROGRAM_ID$5 as PROGRAM_ID, type uln_Packet as Packet, type QuoteInstructionAccounts$1 as QuoteInstructionAccounts, type QuoteInstructionArgs$1 as QuoteInstructionArgs, type QuoteParams$1 as QuoteParams, ReceiveConfig$1 as ReceiveConfig, type ReceiveConfigArgs$1 as ReceiveConfigArgs, uln_SendConfig as SendConfig, type uln_SendConfigArgs as SendConfigArgs, type SendInstructionAccounts$1 as SendInstructionAccounts, type SendInstructionArgs$1 as SendInstructionArgs, type SendParams$1 as SendParams, type uln_SendWithLzTokenInstructionAccounts as SendWithLzTokenInstructionAccounts, type uln_SendWithLzTokenInstructionArgs as SendWithLzTokenInstructionArgs, type uln_SendWithLzTokenParams as SendWithLzTokenParams, type SetConfigInstructionAccounts$1 as SetConfigInstructionAccounts, type SetConfigInstructionArgs$1 as SetConfigInstructionArgs, type SetConfigParams$1 as SetConfigParams, type uln_SetDefaultConfigInstructionAccounts as SetDefaultConfigInstructionAccounts, type uln_SetDefaultConfigInstructionArgs as SetDefaultConfigInstructionArgs, type uln_SetDefaultConfigParams as SetDefaultConfigParams, type uln_SetTreasuryInstructionAccounts as SetTreasuryInstructionAccounts, type uln_SetTreasuryInstructionArgs as SetTreasuryInstructionArgs, type uln_SetTreasuryParams as SetTreasuryParams, type TransferAdminInstructionAccounts$2 as TransferAdminInstructionAccounts, type TransferAdminInstructionArgs$2 as TransferAdminInstructionArgs, type TransferAdminParams$2 as TransferAdminParams, type uln_Treasury as Treasury, type uln_TreasuryFee as TreasuryFee, uln_Uln as Uln, type UlnConfig$1 as UlnConfig, uln_UlnSettings as UlnSettings, type uln_UlnSettingsArgs as UlnSettingsArgs, UnauthorizedError$1 as UnauthorizedError, uln_UnsortedError as UnsortedError, type uln_VerifyInstructionAccounts as VerifyInstructionAccounts, type uln_VerifyInstructionArgs as VerifyInstructionArgs, type uln_VerifyParams as VerifyParams, uln_VerifyingError as VerifyingError, type Version$1 as Version, type uln_WithdrawRentInstructionAccounts as WithdrawRentInstructionAccounts, type uln_WithdrawRentInstructionArgs as WithdrawRentInstructionArgs, type uln_WithdrawRentParams as WithdrawRentParams, type uln_WorkerFee as WorkerFee, uln_ZeroMessageSizeError as ZeroMessageSizeError, accountProviders$4 as accountProviders, index$j as accounts, uln_commitVerificationInstructionDiscriminator as commitVerificationInstructionDiscriminator, uln_commitVerificationParamsBeet as commitVerificationParamsBeet, uln_commitVerificationStruct as commitVerificationStruct, uln_configBeet as configBeet, uln_confirmationsBeet as confirmationsBeet, uln_confirmationsDiscriminator as confirmationsDiscriminator, uln_createCommitVerificationInstruction as createCommitVerificationInstruction, uln_createCommitVerificationInstructionAccounts as createCommitVerificationInstructionAccounts, uln_createInitConfigInstruction as createInitConfigInstruction, uln_createInitConfigInstructionAccounts as createInitConfigInstructionAccounts, uln_createInitDefaultConfigInstruction as createInitDefaultConfigInstruction, uln_createInitDefaultConfigInstructionAccounts as createInitDefaultConfigInstructionAccounts, uln_createInitUlnInstruction as createInitUlnInstruction, uln_createInitUlnInstructionAccounts as createInitUlnInstructionAccounts, uln_createInitVerifyInstruction as createInitVerifyInstruction, uln_createInitVerifyInstructionAccounts as createInitVerifyInstructionAccounts, createQuoteInstruction$1 as createQuoteInstruction, createQuoteInstructionAccounts$1 as createQuoteInstructionAccounts, createSendInstruction$1 as createSendInstruction, createSendInstructionAccounts$1 as createSendInstructionAccounts, uln_createSendWithLzTokenInstruction as createSendWithLzTokenInstruction, uln_createSendWithLzTokenInstructionAccounts as createSendWithLzTokenInstructionAccounts, createSetConfigInstruction$1 as createSetConfigInstruction, createSetConfigInstructionAccounts$1 as createSetConfigInstructionAccounts, uln_createSetDefaultConfigInstruction as createSetDefaultConfigInstruction, uln_createSetDefaultConfigInstructionAccounts as createSetDefaultConfigInstructionAccounts, uln_createSetTreasuryInstruction as createSetTreasuryInstruction, uln_createSetTreasuryInstructionAccounts as createSetTreasuryInstructionAccounts, createTransferAdminInstruction$2 as createTransferAdminInstruction, createTransferAdminInstructionAccounts$2 as createTransferAdminInstructionAccounts, uln_createVerifyInstruction as createVerifyInstruction, uln_createVerifyInstructionAccounts as createVerifyInstructionAccounts, createVersionInstruction$2 as createVersionInstruction, createVersionInstructionAccounts$2 as createVersionInstructionAccounts, uln_createWithdrawRentInstruction as createWithdrawRentInstruction, uln_createWithdrawRentInstructionAccounts as createWithdrawRentInstructionAccounts, errorFromCode$3 as errorFromCode, errorFromName$3 as errorFromName, index$i as errors, index$h as events, executorConfigBeet$1 as executorConfigBeet, uln_initConfigInstructionDiscriminator as initConfigInstructionDiscriminator, uln_initConfigParamsBeet as initConfigParamsBeet, uln_initConfigStruct as initConfigStruct, uln_initDefaultConfigInstructionDiscriminator as initDefaultConfigInstructionDiscriminator, uln_initDefaultConfigParamsBeet as initDefaultConfigParamsBeet, uln_initDefaultConfigStruct as initDefaultConfigStruct, uln_initUlnInstructionDiscriminator as initUlnInstructionDiscriminator, uln_initUlnParamsBeet as initUlnParamsBeet, uln_initUlnStruct as initUlnStruct, uln_initVerifyInstructionDiscriminator as initVerifyInstructionDiscriminator, uln_initVerifyParamsBeet as initVerifyParamsBeet, uln_initVerifyStruct as initVerifyStruct, index$g as instructions, uln_isConfigExecutor as isConfigExecutor, uln_isConfigReceiveUln as isConfigReceiveUln, uln_isConfigSendUln as isConfigSendUln, uln_lzTokenTreasuryBeet as lzTokenTreasuryBeet, messagingFeeBeet$1 as messagingFeeBeet, uln_packetBeet as packetBeet, quoteInstructionDiscriminator$1 as quoteInstructionDiscriminator, quoteParamsBeet$1 as quoteParamsBeet, quoteStruct$1 as quoteStruct, receiveConfigBeet$1 as receiveConfigBeet, receiveConfigDiscriminator$1 as receiveConfigDiscriminator, uln_sendConfigBeet as sendConfigBeet, uln_sendConfigDiscriminator as sendConfigDiscriminator, sendInstructionDiscriminator$1 as sendInstructionDiscriminator, sendParamsBeet$1 as sendParamsBeet, sendStruct$1 as sendStruct, uln_sendWithLzTokenInstructionDiscriminator as sendWithLzTokenInstructionDiscriminator, uln_sendWithLzTokenParamsBeet as sendWithLzTokenParamsBeet, uln_sendWithLzTokenStruct as sendWithLzTokenStruct, setConfigInstructionDiscriminator$1 as setConfigInstructionDiscriminator, setConfigParamsBeet$1 as setConfigParamsBeet, setConfigStruct$1 as setConfigStruct, uln_setDefaultConfigInstructionDiscriminator as setDefaultConfigInstructionDiscriminator, uln_setDefaultConfigParamsBeet as setDefaultConfigParamsBeet, uln_setDefaultConfigStruct as setDefaultConfigStruct, uln_setTreasuryInstructionDiscriminator as setTreasuryInstructionDiscriminator, uln_setTreasuryParamsBeet as setTreasuryParamsBeet, uln_setTreasuryStruct as setTreasuryStruct, transferAdminInstructionDiscriminator$2 as transferAdminInstructionDiscriminator, transferAdminParamsBeet$2 as transferAdminParamsBeet, transferAdminStruct$2 as transferAdminStruct, uln_treasuryBeet as treasuryBeet, uln_treasuryFeeBeet as treasuryFeeBeet, index$f as types, ulnConfigBeet$1 as ulnConfigBeet, uln_ulnSettingsBeet as ulnSettingsBeet, uln_ulnSettingsDiscriminator as ulnSettingsDiscriminator, uln_verifyInstructionDiscriminator as verifyInstructionDiscriminator, uln_verifyParamsBeet as verifyParamsBeet, uln_verifyStruct as verifyStruct, versionBeet$1 as versionBeet, versionInstructionDiscriminator$2 as versionInstructionDiscriminator, versionStruct$2 as versionStruct, uln_withdrawRentInstructionDiscriminator as withdrawRentInstructionDiscriminator, uln_withdrawRentParamsBeet as withdrawRentParamsBeet, uln_withdrawRentStruct as withdrawRentStruct, uln_workerFeeBeet as workerFeeBeet };
|
|
9705
9495
|
}
|
|
9706
9496
|
|
|
9707
9497
|
/**
|
|
@@ -9730,12 +9520,11 @@ declare const aclBeet$1: beet.FixableBeetArgsStruct<Acl$1>;
|
|
|
9730
9520
|
|
|
9731
9521
|
type DstConfig$1 = {
|
|
9732
9522
|
eid: number;
|
|
9733
|
-
lzReceiveBaseGas:
|
|
9734
|
-
lzComposeBaseGas:
|
|
9523
|
+
lzReceiveBaseGas: number;
|
|
9524
|
+
lzComposeBaseGas: number;
|
|
9735
9525
|
multiplierBps: beet.COption<number>;
|
|
9736
9526
|
floorMarginUsd: beet.COption<beet.bignum>;
|
|
9737
9527
|
nativeDropCap: beet.bignum;
|
|
9738
|
-
supportedOptionTypes: Uint8Array;
|
|
9739
9528
|
};
|
|
9740
9529
|
/**
|
|
9741
9530
|
* @category userTypes
|
|
@@ -11178,6 +10967,17 @@ declare class EidNotSupportedError$1 extends Error {
|
|
|
11178
10967
|
readonly name: string;
|
|
11179
10968
|
constructor();
|
|
11180
10969
|
}
|
|
10970
|
+
/**
|
|
10971
|
+
* ExecutorIsAdmin: ''
|
|
10972
|
+
*
|
|
10973
|
+
* @category Errors
|
|
10974
|
+
* @category generated
|
|
10975
|
+
*/
|
|
10976
|
+
declare class ExecutorIsAdminError extends Error {
|
|
10977
|
+
readonly code: number;
|
|
10978
|
+
readonly name: string;
|
|
10979
|
+
constructor();
|
|
10980
|
+
}
|
|
11181
10981
|
/**
|
|
11182
10982
|
* Attempts to resolve a custom program error from the provided error code.
|
|
11183
10983
|
* @category Errors
|
|
@@ -11246,6 +11046,8 @@ declare const executor_Executor: typeof Executor;
|
|
|
11246
11046
|
type executor_ExecutorConfig = ExecutorConfig;
|
|
11247
11047
|
declare const executor_ExecutorConfig: typeof ExecutorConfig;
|
|
11248
11048
|
type executor_ExecutorConfigArgs = ExecutorConfigArgs;
|
|
11049
|
+
type executor_ExecutorIsAdminError = ExecutorIsAdminError;
|
|
11050
|
+
declare const executor_ExecutorIsAdminError: typeof ExecutorIsAdminError;
|
|
11249
11051
|
type executor_InitExecutorInstructionAccounts = InitExecutorInstructionAccounts;
|
|
11250
11052
|
type executor_InitExecutorInstructionArgs = InitExecutorInstructionArgs;
|
|
11251
11053
|
type executor_InitExecutorParams = InitExecutorParams;
|
|
@@ -11341,7 +11143,7 @@ declare const executor_quoteExecutorInstructionDiscriminator: typeof quoteExecut
|
|
|
11341
11143
|
declare const executor_quoteExecutorParamsBeet: typeof quoteExecutorParamsBeet;
|
|
11342
11144
|
declare const executor_quoteExecutorStruct: typeof quoteExecutorStruct;
|
|
11343
11145
|
declare namespace executor {
|
|
11344
|
-
export { type Acl$1 as Acl, type executor_AdminSetConfigInstructionAccounts as AdminSetConfigInstructionAccounts, type executor_AdminSetConfigInstructionArgs as AdminSetConfigInstructionArgs, type executor_AdminSetConfigParams as AdminSetConfigParams, type executor_AdminSetConfigParamsRecord as AdminSetConfigParamsRecord, type executor_ComposeInstructionAccounts as ComposeInstructionAccounts, type executor_ComposeInstructionArgs as ComposeInstructionArgs, type executor_ComposeParams as ComposeParams, type DstConfig$1 as DstConfig, EidNotSupportedError$1 as EidNotSupportedError, type executor_ExecutableInstructionAccounts as ExecutableInstructionAccounts, type executor_ExecutableInstructionArgs as ExecutableInstructionArgs, type executor_ExecutableParams as ExecutableParams, type executor_ExecuteInstructionAccounts as ExecuteInstructionAccounts, type executor_ExecuteInstructionArgs as ExecuteInstructionArgs, type executor_ExecuteParams as ExecuteParams, executor_ExecutionState as ExecutionState, executor_Executor as Executor, executor_ExecutorConfig as ExecutorConfig, type executor_ExecutorConfigArgs as ExecutorConfigArgs, type executor_InitExecutorInstructionAccounts as InitExecutorInstructionAccounts, type executor_InitExecutorInstructionArgs as InitExecutorInstructionArgs, type executor_InitExecutorParams as InitExecutorParams, executor_InsufficientBalanceError as InsufficientBalanceError, executor_InvalidNativeDropReceiverError as InvalidNativeDropReceiverError, executor_InvalidNativeDropRequestsLengthError as InvalidNativeDropRequestsLengthError, executor_InvalidSizeError as InvalidSizeError, type LzComposeParams$1 as LzComposeParams, type LzOption$1 as LzOption, type LzReceiveParams$2 as LzReceiveParams, MsgLibNotAllowedError$1 as MsgLibNotAllowedError, executor_NativeAmountExceedsCapError as NativeAmountExceedsCapError, type executor_NativeDropInstructionAccounts as NativeDropInstructionAccounts, type executor_NativeDropInstructionArgs as NativeDropInstructionArgs, type executor_NativeDropParams as NativeDropParams, type executor_NativeDropRequest as NativeDropRequest, executor_Nonce as Nonce, type executor_NonceArgs as NonceArgs, NotAdminError$1 as NotAdminError, executor_NotExecutorError as NotExecutorError, type executor_OwnerSetConfigInstructionAccounts as OwnerSetConfigInstructionAccounts, type executor_OwnerSetConfigInstructionArgs as OwnerSetConfigInstructionArgs, type executor_OwnerSetConfigParams as OwnerSetConfigParams, type executor_OwnerSetConfigParamsRecord as OwnerSetConfigParamsRecord, PROGRAM_ADDRESS$3 as PROGRAM_ADDRESS, PROGRAM_ID$4 as PROGRAM_ID, PausedError$1 as PausedError, type executor_QuoteExecutorInstructionAccounts as QuoteExecutorInstructionAccounts, type executor_QuoteExecutorInstructionArgs as QuoteExecutorInstructionArgs, type executor_QuoteExecutorParams as QuoteExecutorParams, TooManyAdminsError$1 as TooManyAdminsError, executor_TooManyExecutorsError as TooManyExecutorsError, TooManyOptionTypesError$1 as TooManyOptionTypesError, executor_UnsupportedOptionTypeError as UnsupportedOptionTypeError, executor_ZeroLzComposeGasProvidedError as ZeroLzComposeGasProvidedError, executor_ZeroLzReceiveGasProvidedError as ZeroLzReceiveGasProvidedError, accountProviders$3 as accountProviders, index$e as accounts, aclBeet$1 as aclBeet, executor_adminSetConfigInstructionDiscriminator as adminSetConfigInstructionDiscriminator, executor_adminSetConfigParamsBeet as adminSetConfigParamsBeet, executor_adminSetConfigStruct as adminSetConfigStruct, executor_composeInstructionDiscriminator as composeInstructionDiscriminator, executor_composeParamsBeet as composeParamsBeet, executor_composeStruct as composeStruct, executor_createAdminSetConfigInstruction as createAdminSetConfigInstruction, executor_createAdminSetConfigInstructionAccounts as createAdminSetConfigInstructionAccounts, executor_createComposeInstruction as createComposeInstruction, executor_createComposeInstructionAccounts as createComposeInstructionAccounts, executor_createExecutableInstruction as createExecutableInstruction, executor_createExecutableInstructionAccounts as createExecutableInstructionAccounts, executor_createExecuteInstruction as createExecuteInstruction, executor_createExecuteInstructionAccounts as createExecuteInstructionAccounts, executor_createInitExecutorInstruction as createInitExecutorInstruction, executor_createInitExecutorInstructionAccounts as createInitExecutorInstructionAccounts, executor_createNativeDropInstruction as createNativeDropInstruction, executor_createNativeDropInstructionAccounts as createNativeDropInstructionAccounts, executor_createOwnerSetConfigInstruction as createOwnerSetConfigInstruction, executor_createOwnerSetConfigInstructionAccounts as createOwnerSetConfigInstructionAccounts, executor_createQuoteExecutorInstruction as createQuoteExecutorInstruction, executor_createQuoteExecutorInstructionAccounts as createQuoteExecutorInstructionAccounts, dstConfigBeet$1 as dstConfigBeet, errorFromCode$2 as errorFromCode, errorFromName$2 as errorFromName, index$d as events, executor_executableInstructionDiscriminator as executableInstructionDiscriminator, executor_executableParamsBeet as executableParamsBeet, executor_executableStruct as executableStruct, executor_executeInstructionDiscriminator as executeInstructionDiscriminator, executor_executeParamsBeet as executeParamsBeet, executor_executeStruct as executeStruct, executor_executionStateBeet as executionStateBeet, executor_executorConfigBeet as executorConfigBeet, executor_executorConfigDiscriminator as executorConfigDiscriminator, executor_initExecutorInstructionDiscriminator as initExecutorInstructionDiscriminator, executor_initExecutorParamsBeet as initExecutorParamsBeet, executor_initExecutorStruct as initExecutorStruct, index$c as instructions, executor_isAdminSetConfigParamsDefaultMultiplierBps as isAdminSetConfigParamsDefaultMultiplierBps, executor_isAdminSetConfigParamsDstConfigs as isAdminSetConfigParamsDstConfigs, executor_isAdminSetConfigParamsPriceFeed as isAdminSetConfigParamsPriceFeed, executor_isOwnerSetConfigParamsAdmins as isOwnerSetConfigParamsAdmins, executor_isOwnerSetConfigParamsAllowlist as isOwnerSetConfigParamsAllowlist, executor_isOwnerSetConfigParamsDenylist as isOwnerSetConfigParamsDenylist, executor_isOwnerSetConfigParamsExecutors as isOwnerSetConfigParamsExecutors, executor_isOwnerSetConfigParamsMsglibs as isOwnerSetConfigParamsMsglibs, executor_isOwnerSetConfigParamsOwner as isOwnerSetConfigParamsOwner, executor_isOwnerSetConfigParamsPaused as isOwnerSetConfigParamsPaused, executor_lzComposeParamsBeet as lzComposeParamsBeet, lzOptionBeet$1 as lzOptionBeet, lzReceiveParamsBeet$1 as lzReceiveParamsBeet, executor_nativeDropInstructionDiscriminator as nativeDropInstructionDiscriminator, executor_nativeDropParamsBeet as nativeDropParamsBeet, executor_nativeDropRequestBeet as nativeDropRequestBeet, executor_nativeDropStruct as nativeDropStruct, executor_nonceBeet as nonceBeet, executor_nonceDiscriminator as nonceDiscriminator, executor_ownerSetConfigInstructionDiscriminator as ownerSetConfigInstructionDiscriminator, executor_ownerSetConfigParamsBeet as ownerSetConfigParamsBeet, executor_ownerSetConfigStruct as ownerSetConfigStruct, executor_quoteExecutorInstructionDiscriminator as quoteExecutorInstructionDiscriminator, executor_quoteExecutorParamsBeet as quoteExecutorParamsBeet, executor_quoteExecutorStruct as quoteExecutorStruct, index$b as types };
|
|
11146
|
+
export { type Acl$1 as Acl, type executor_AdminSetConfigInstructionAccounts as AdminSetConfigInstructionAccounts, type executor_AdminSetConfigInstructionArgs as AdminSetConfigInstructionArgs, type executor_AdminSetConfigParams as AdminSetConfigParams, type executor_AdminSetConfigParamsRecord as AdminSetConfigParamsRecord, type executor_ComposeInstructionAccounts as ComposeInstructionAccounts, type executor_ComposeInstructionArgs as ComposeInstructionArgs, type executor_ComposeParams as ComposeParams, type DstConfig$1 as DstConfig, EidNotSupportedError$1 as EidNotSupportedError, type executor_ExecutableInstructionAccounts as ExecutableInstructionAccounts, type executor_ExecutableInstructionArgs as ExecutableInstructionArgs, type executor_ExecutableParams as ExecutableParams, type executor_ExecuteInstructionAccounts as ExecuteInstructionAccounts, type executor_ExecuteInstructionArgs as ExecuteInstructionArgs, type executor_ExecuteParams as ExecuteParams, executor_ExecutionState as ExecutionState, executor_Executor as Executor, executor_ExecutorConfig as ExecutorConfig, type executor_ExecutorConfigArgs as ExecutorConfigArgs, executor_ExecutorIsAdminError as ExecutorIsAdminError, type executor_InitExecutorInstructionAccounts as InitExecutorInstructionAccounts, type executor_InitExecutorInstructionArgs as InitExecutorInstructionArgs, type executor_InitExecutorParams as InitExecutorParams, executor_InsufficientBalanceError as InsufficientBalanceError, executor_InvalidNativeDropReceiverError as InvalidNativeDropReceiverError, executor_InvalidNativeDropRequestsLengthError as InvalidNativeDropRequestsLengthError, executor_InvalidSizeError as InvalidSizeError, type LzComposeParams$1 as LzComposeParams, type LzOption$1 as LzOption, type LzReceiveParams$2 as LzReceiveParams, MsgLibNotAllowedError$1 as MsgLibNotAllowedError, executor_NativeAmountExceedsCapError as NativeAmountExceedsCapError, type executor_NativeDropInstructionAccounts as NativeDropInstructionAccounts, type executor_NativeDropInstructionArgs as NativeDropInstructionArgs, type executor_NativeDropParams as NativeDropParams, type executor_NativeDropRequest as NativeDropRequest, executor_Nonce as Nonce, type executor_NonceArgs as NonceArgs, NotAdminError$1 as NotAdminError, executor_NotExecutorError as NotExecutorError, type executor_OwnerSetConfigInstructionAccounts as OwnerSetConfigInstructionAccounts, type executor_OwnerSetConfigInstructionArgs as OwnerSetConfigInstructionArgs, type executor_OwnerSetConfigParams as OwnerSetConfigParams, type executor_OwnerSetConfigParamsRecord as OwnerSetConfigParamsRecord, PROGRAM_ADDRESS$3 as PROGRAM_ADDRESS, PROGRAM_ID$4 as PROGRAM_ID, PausedError$1 as PausedError, type executor_QuoteExecutorInstructionAccounts as QuoteExecutorInstructionAccounts, type executor_QuoteExecutorInstructionArgs as QuoteExecutorInstructionArgs, type executor_QuoteExecutorParams as QuoteExecutorParams, TooManyAdminsError$1 as TooManyAdminsError, executor_TooManyExecutorsError as TooManyExecutorsError, TooManyOptionTypesError$1 as TooManyOptionTypesError, executor_UnsupportedOptionTypeError as UnsupportedOptionTypeError, executor_ZeroLzComposeGasProvidedError as ZeroLzComposeGasProvidedError, executor_ZeroLzReceiveGasProvidedError as ZeroLzReceiveGasProvidedError, accountProviders$3 as accountProviders, index$e as accounts, aclBeet$1 as aclBeet, executor_adminSetConfigInstructionDiscriminator as adminSetConfigInstructionDiscriminator, executor_adminSetConfigParamsBeet as adminSetConfigParamsBeet, executor_adminSetConfigStruct as adminSetConfigStruct, executor_composeInstructionDiscriminator as composeInstructionDiscriminator, executor_composeParamsBeet as composeParamsBeet, executor_composeStruct as composeStruct, executor_createAdminSetConfigInstruction as createAdminSetConfigInstruction, executor_createAdminSetConfigInstructionAccounts as createAdminSetConfigInstructionAccounts, executor_createComposeInstruction as createComposeInstruction, executor_createComposeInstructionAccounts as createComposeInstructionAccounts, executor_createExecutableInstruction as createExecutableInstruction, executor_createExecutableInstructionAccounts as createExecutableInstructionAccounts, executor_createExecuteInstruction as createExecuteInstruction, executor_createExecuteInstructionAccounts as createExecuteInstructionAccounts, executor_createInitExecutorInstruction as createInitExecutorInstruction, executor_createInitExecutorInstructionAccounts as createInitExecutorInstructionAccounts, executor_createNativeDropInstruction as createNativeDropInstruction, executor_createNativeDropInstructionAccounts as createNativeDropInstructionAccounts, executor_createOwnerSetConfigInstruction as createOwnerSetConfigInstruction, executor_createOwnerSetConfigInstructionAccounts as createOwnerSetConfigInstructionAccounts, executor_createQuoteExecutorInstruction as createQuoteExecutorInstruction, executor_createQuoteExecutorInstructionAccounts as createQuoteExecutorInstructionAccounts, dstConfigBeet$1 as dstConfigBeet, errorFromCode$2 as errorFromCode, errorFromName$2 as errorFromName, index$d as events, executor_executableInstructionDiscriminator as executableInstructionDiscriminator, executor_executableParamsBeet as executableParamsBeet, executor_executableStruct as executableStruct, executor_executeInstructionDiscriminator as executeInstructionDiscriminator, executor_executeParamsBeet as executeParamsBeet, executor_executeStruct as executeStruct, executor_executionStateBeet as executionStateBeet, executor_executorConfigBeet as executorConfigBeet, executor_executorConfigDiscriminator as executorConfigDiscriminator, executor_initExecutorInstructionDiscriminator as initExecutorInstructionDiscriminator, executor_initExecutorParamsBeet as initExecutorParamsBeet, executor_initExecutorStruct as initExecutorStruct, index$c as instructions, executor_isAdminSetConfigParamsDefaultMultiplierBps as isAdminSetConfigParamsDefaultMultiplierBps, executor_isAdminSetConfigParamsDstConfigs as isAdminSetConfigParamsDstConfigs, executor_isAdminSetConfigParamsPriceFeed as isAdminSetConfigParamsPriceFeed, executor_isOwnerSetConfigParamsAdmins as isOwnerSetConfigParamsAdmins, executor_isOwnerSetConfigParamsAllowlist as isOwnerSetConfigParamsAllowlist, executor_isOwnerSetConfigParamsDenylist as isOwnerSetConfigParamsDenylist, executor_isOwnerSetConfigParamsExecutors as isOwnerSetConfigParamsExecutors, executor_isOwnerSetConfigParamsMsglibs as isOwnerSetConfigParamsMsglibs, executor_isOwnerSetConfigParamsOwner as isOwnerSetConfigParamsOwner, executor_isOwnerSetConfigParamsPaused as isOwnerSetConfigParamsPaused, executor_lzComposeParamsBeet as lzComposeParamsBeet, lzOptionBeet$1 as lzOptionBeet, lzReceiveParamsBeet$1 as lzReceiveParamsBeet, executor_nativeDropInstructionDiscriminator as nativeDropInstructionDiscriminator, executor_nativeDropParamsBeet as nativeDropParamsBeet, executor_nativeDropRequestBeet as nativeDropRequestBeet, executor_nativeDropStruct as nativeDropStruct, executor_nonceBeet as nonceBeet, executor_nonceDiscriminator as nonceDiscriminator, executor_ownerSetConfigInstructionDiscriminator as ownerSetConfigInstructionDiscriminator, executor_ownerSetConfigParamsBeet as ownerSetConfigParamsBeet, executor_ownerSetConfigStruct as ownerSetConfigStruct, executor_quoteExecutorInstructionDiscriminator as quoteExecutorInstructionDiscriminator, executor_quoteExecutorParamsBeet as quoteExecutorParamsBeet, executor_quoteExecutorStruct as quoteExecutorStruct, index$b as types };
|
|
11345
11147
|
}
|
|
11346
11148
|
|
|
11347
11149
|
/**
|
|
@@ -12149,10 +11951,9 @@ declare const aclBeet: beet.FixableBeetArgsStruct<Acl>;
|
|
|
12149
11951
|
|
|
12150
11952
|
type DstConfig = {
|
|
12151
11953
|
eid: number;
|
|
12152
|
-
dstGas:
|
|
11954
|
+
dstGas: number;
|
|
12153
11955
|
multiplierBps: beet.COption<number>;
|
|
12154
11956
|
floorMarginUsd: beet.COption<beet.bignum>;
|
|
12155
|
-
supportedOptionTypes: Uint8Array;
|
|
12156
11957
|
};
|
|
12157
11958
|
/**
|
|
12158
11959
|
* @category userTypes
|
|
@@ -13950,7 +13751,7 @@ declare class DVN {
|
|
|
13950
13751
|
createSetDstConfigInstruction(admin: PublicKey, dstConfigs: DstConfig[]): TransactionInstruction;
|
|
13951
13752
|
createSetMsgLibsInstruction(msglibPrograms: PublicKey[]): TransactionInstruction;
|
|
13952
13753
|
_getExpiration(): number;
|
|
13953
|
-
setMsgLibs(connection: Connection, payer: PublicKey, msgLibs: PublicKey[], sign: SignFunc): Promise<
|
|
13754
|
+
setMsgLibs(connection: Connection, payer: PublicKey, msgLibs: PublicKey[], sign: SignFunc): Promise<TransactionInstruction>;
|
|
13954
13755
|
createSetPriceFeedInstruction(admin: PublicKey, priceFeedProgram: PublicKey): TransactionInstruction;
|
|
13955
13756
|
getQuoteIXAccountMetaForCPI(connection: Connection, payment: boolean, commitment?: Commitment): Promise<AccountMeta[]>;
|
|
13956
13757
|
getConfigState(connection: Connection, commitment?: Commitment | GetAccountInfoConfig): Promise<DvnConfig | null>;
|
|
@@ -13973,7 +13774,7 @@ declare enum ConfigType {
|
|
|
13973
13774
|
ReceiveUln = 3
|
|
13974
13775
|
}
|
|
13975
13776
|
declare function isAccountInitialized$1(connection: Connection, account: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<boolean>;
|
|
13976
|
-
declare function createNonceTx(connection: Connection, nonceAccount: PublicKey, nonceAuthority: PublicKey, instructions: TransactionInstruction[]): Promise<Transaction>;
|
|
13777
|
+
declare function createNonceTx(connection: Connection, nonceAccount: PublicKey, nonceAuthority: PublicKey, instructions: TransactionInstruction[], commitmentOrConfig?: Commitment | GetNonceConfig): Promise<Transaction>;
|
|
13977
13778
|
declare function createInitAdapterOftIx(payer: PublicKey, admin: PublicKey, mint: PublicKey, lzDelegate: PublicKey, escrow: PublicKey, sharedDecimals?: number, tokenProgram?: PublicKey): Promise<TransactionInstruction>;
|
|
13978
13779
|
declare function createInitNativeOftIx(payer: PublicKey, admin: PublicKey, mint: PublicKey, oftMintAuthority: PublicKey, lzDelegate: PublicKey, sharedDecimals?: number, tokenProgram?: PublicKey): Promise<TransactionInstruction>;
|
|
13979
13780
|
declare function createSetPeerIx(admin: PublicKey, oftConfig: PublicKey, dstEid: number, peer: number[]): Promise<TransactionInstruction>;
|
|
@@ -13991,11 +13792,36 @@ declare function createTransferAdminIx(signer: PublicKey, oftConfig: PublicKey,
|
|
|
13991
13792
|
declare function sendWithUln(connection: Connection, payer: PublicKey, tokenMint: PublicKey, tokenSource: PublicKey, dstEid: number, amountLd: bigint, minAmountLd: bigint, options: Uint8Array, to: number[], nativeFee: bigint, tokenEscrow?: PublicKey | undefined, lzTokenFee?: bigint, tokenProgram?: PublicKey, composeMsg?: Uint8Array | null): Promise<TransactionInstruction>;
|
|
13992
13793
|
declare function createInitNonceIx(delegate: PublicKey, // payer
|
|
13993
13794
|
dstEid: number, oftInstance: PublicKey, remoteOappAddr: Uint8Array): Promise<TransactionInstruction>;
|
|
13795
|
+
declare function quoteOft(connection: Connection, payer: PublicKey, tokenMint: PublicKey, dstEid: number, amountLd: bigint, minAmountLd: bigint, options: Uint8Array, to: number[], tokenEscrow?: PublicKey | undefined, payInLzToken?: boolean, composeMsg?: Uint8Array | null): Promise<{
|
|
13796
|
+
oftLimits: {
|
|
13797
|
+
minAmountLd: string;
|
|
13798
|
+
maxAmountLd: string;
|
|
13799
|
+
};
|
|
13800
|
+
oftFeeDetail: {
|
|
13801
|
+
feeAmountLd: string;
|
|
13802
|
+
description: string;
|
|
13803
|
+
};
|
|
13804
|
+
oftReceipt: {
|
|
13805
|
+
amountSentLd: string;
|
|
13806
|
+
amountReceivedLd: string;
|
|
13807
|
+
};
|
|
13808
|
+
}>;
|
|
13994
13809
|
declare function quoteWithUln(connection: Connection, payer: PublicKey, tokenMint: PublicKey, dstEid: number, amountLd: bigint, minAmountLd: bigint, options: Uint8Array, to: number[], tokenEscrow?: PublicKey | undefined, payInLzToken?: boolean, composeMsg?: Uint8Array | null): Promise<{
|
|
13995
13810
|
nativeFee: bigint;
|
|
13996
13811
|
lzTokenFee: bigint;
|
|
13997
13812
|
}>;
|
|
13998
|
-
declare function createSetMintAuthorityIx(signer: PublicKey, oftInstance: PublicKey, newAuthority: PublicKey): Promise<TransactionInstruction>;
|
|
13813
|
+
declare function createSetMintAuthorityIx(signer: PublicKey, oftInstance: PublicKey, newAuthority: PublicKey | null): Promise<TransactionInstruction>;
|
|
13814
|
+
declare function getEndpointConfig(connection: Connection, oftInstance: PublicKey, dstEid: number): Promise<{
|
|
13815
|
+
sendLibraryConfig: SendLibraryConfig & {
|
|
13816
|
+
ulnSendConfig?: SendConfig;
|
|
13817
|
+
};
|
|
13818
|
+
receiveLibraryConfig: ReceiveLibraryConfig & {
|
|
13819
|
+
ulnReceiveConfig?: ReceiveConfig$1;
|
|
13820
|
+
};
|
|
13821
|
+
}>;
|
|
13822
|
+
declare function getPeerAddress(connection: Connection, oftInstance: PublicKey, dstEid: number): Promise<string>;
|
|
13823
|
+
declare function getDelegate(connection: Connection, oftInstance: PublicKey): Promise<PublicKey>;
|
|
13824
|
+
declare function getEnforcedOptions(connection: Connection, oftInstance: PublicKey, dstEid: number): Promise<any>;
|
|
13999
13825
|
|
|
14000
13826
|
type OftTools_ConfigType = ConfigType;
|
|
14001
13827
|
declare const OftTools_ConfigType: typeof ConfigType;
|
|
@@ -14018,10 +13844,15 @@ declare const OftTools_createSetRateLimitIx: typeof createSetRateLimitIx;
|
|
|
14018
13844
|
declare const OftTools_createSetReceiveLibraryIx: typeof createSetReceiveLibraryIx;
|
|
14019
13845
|
declare const OftTools_createSetSendLibraryIx: typeof createSetSendLibraryIx;
|
|
14020
13846
|
declare const OftTools_createTransferAdminIx: typeof createTransferAdminIx;
|
|
13847
|
+
declare const OftTools_getDelegate: typeof getDelegate;
|
|
13848
|
+
declare const OftTools_getEndpointConfig: typeof getEndpointConfig;
|
|
13849
|
+
declare const OftTools_getEnforcedOptions: typeof getEnforcedOptions;
|
|
13850
|
+
declare const OftTools_getPeerAddress: typeof getPeerAddress;
|
|
13851
|
+
declare const OftTools_quoteOft: typeof quoteOft;
|
|
14021
13852
|
declare const OftTools_quoteWithUln: typeof quoteWithUln;
|
|
14022
13853
|
declare const OftTools_sendWithUln: typeof sendWithUln;
|
|
14023
13854
|
declare namespace OftTools {
|
|
14024
|
-
export { OftTools_ConfigType as ConfigType, OftTools_OFT_SEED as OFT_SEED, OftTools_SOLANA_EID as SOLANA_EID, OftTools_createInitAdapterOftIx as createInitAdapterOftIx, OftTools_createInitConfigIx as createInitConfigIx, OftTools_createInitNativeOftIx as createInitNativeOftIx, OftTools_createInitNonceIx as createInitNonceIx, OftTools_createInitReceiveLibraryIx as createInitReceiveLibraryIx, OftTools_createInitSendLibraryIx as createInitSendLibraryIx, OftTools_createMintToIx as createMintToIx, OftTools_createNonceTx as createNonceTx, OftTools_createSetConfigIx as createSetConfigIx, OftTools_createSetDelegateIx as createSetDelegateIx, OftTools_createSetEnforcedOptionsIx as createSetEnforcedOptionsIx, OftTools_createSetMintAuthorityIx as createSetMintAuthorityIx, OftTools_createSetPeerIx as createSetPeerIx, OftTools_createSetRateLimitIx as createSetRateLimitIx, OftTools_createSetReceiveLibraryIx as createSetReceiveLibraryIx, OftTools_createSetSendLibraryIx as createSetSendLibraryIx, OftTools_createTransferAdminIx as createTransferAdminIx, isAccountInitialized$1 as isAccountInitialized, OftTools_quoteWithUln as quoteWithUln, OftTools_sendWithUln as sendWithUln };
|
|
13855
|
+
export { OftTools_ConfigType as ConfigType, OftTools_OFT_SEED as OFT_SEED, OftTools_SOLANA_EID as SOLANA_EID, OftTools_createInitAdapterOftIx as createInitAdapterOftIx, OftTools_createInitConfigIx as createInitConfigIx, OftTools_createInitNativeOftIx as createInitNativeOftIx, OftTools_createInitNonceIx as createInitNonceIx, OftTools_createInitReceiveLibraryIx as createInitReceiveLibraryIx, OftTools_createInitSendLibraryIx as createInitSendLibraryIx, OftTools_createMintToIx as createMintToIx, OftTools_createNonceTx as createNonceTx, OftTools_createSetConfigIx as createSetConfigIx, OftTools_createSetDelegateIx as createSetDelegateIx, OftTools_createSetEnforcedOptionsIx as createSetEnforcedOptionsIx, OftTools_createSetMintAuthorityIx as createSetMintAuthorityIx, OftTools_createSetPeerIx as createSetPeerIx, OftTools_createSetRateLimitIx as createSetRateLimitIx, OftTools_createSetReceiveLibraryIx as createSetReceiveLibraryIx, OftTools_createSetSendLibraryIx as createSetSendLibraryIx, OftTools_createTransferAdminIx as createTransferAdminIx, OftTools_getDelegate as getDelegate, OftTools_getEndpointConfig as getEndpointConfig, OftTools_getEnforcedOptions as getEnforcedOptions, OftTools_getPeerAddress as getPeerAddress, isAccountInitialized$1 as isAccountInitialized, OftTools_quoteOft as quoteOft, OftTools_quoteWithUln as quoteWithUln, OftTools_sendWithUln as sendWithUln };
|
|
14025
13856
|
}
|
|
14026
13857
|
|
|
14027
13858
|
/**
|
|
@@ -16180,9 +16011,6 @@ declare abstract class BaseOApp {
|
|
|
16180
16011
|
getRemote(connection: Connection, dstEid: number, commitmentOrConfig?: web3$1.Commitment | web3$1.GetAccountInfoConfig): Promise<Uint8Array | null>;
|
|
16181
16012
|
}
|
|
16182
16013
|
|
|
16183
|
-
declare function loadKeypair(filepath: string): Keypair;
|
|
16184
|
-
declare function saveKeypair(keypair: Keypair, keypairPath: string): void;
|
|
16185
|
-
declare function loadAnchorKeypair(): Keypair;
|
|
16186
16014
|
declare function extractSentPacketEventByTxHash(connection: Connection, program: PublicKey, signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>, commitment?: Finality | GetVersionedTransactionConfig): Promise<PacketSentEvent[] | null>;
|
|
16187
16015
|
declare function extractVerifiedPacketEventByTxHash(connection: Connection, program: PublicKey, signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>, commitment?: Finality | GetVersionedTransactionConfig): Promise<PacketVerifiedEvent[] | null>;
|
|
16188
16016
|
declare function extractReceivedPacketEventByTxHash(connection: Connection, program: PublicKey, signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>, commitment?: Finality | GetVersionedTransactionConfig): Promise<PacketDeliveredEvent[] | null>;
|
|
@@ -16191,22 +16019,22 @@ declare function extractComposeDeliveredEventByTxHash(connection: Connection, pr
|
|
|
16191
16019
|
declare function extractWorkerFeePaidEventByTxHash(connection: Connection, program: PublicKey, signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>, commitment?: Finality | GetVersionedTransactionConfig): Promise<FeesPaidEvent[] | null>;
|
|
16192
16020
|
declare function extractEventFromTransactionSignature<E>(connection: Connection, program: PublicKey, signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>, eventBeet: beet.FixableBeetArgsStruct<E> | beet.BeetArgsStruct<E>, commitment?: Finality | GetVersionedTransactionConfig): Promise<E[] | null>;
|
|
16193
16021
|
declare function generateAddressLookupTable(connection: Connection, payer: PublicKey, authority: PublicKey, addresses: PublicKey[]): Promise<{
|
|
16194
|
-
|
|
16022
|
+
instructions: TransactionInstruction[];
|
|
16195
16023
|
address: PublicKey;
|
|
16196
16024
|
}>;
|
|
16197
16025
|
declare function deactivateLookupTable(authority: PublicKey, lookupTable: PublicKey): TransactionInstruction;
|
|
16198
16026
|
declare function closeLookupTable(recipient: PublicKey, authority: PublicKey, lookupTable: PublicKey): TransactionInstruction;
|
|
16199
|
-
declare function txWithAddressLookupTable(connection: Connection, payer: PublicKey, instructions: TransactionInstruction[],
|
|
16027
|
+
declare function txWithAddressLookupTable(connection: Connection, payer: PublicKey, instructions: TransactionInstruction[], recentBlockHash?: Blockhash, tableAddr?: PublicKey): Promise<VersionedTransaction>;
|
|
16200
16028
|
declare function createNonceAccountTX(connection: Connection, auth: PublicKey, lamportsForRent?: number): Promise<{
|
|
16201
16029
|
tx: Transaction;
|
|
16202
16030
|
nonceAccount: Keypair;
|
|
16203
16031
|
}>;
|
|
16204
16032
|
declare function txWithNonce(connection: Connection, noncePubkey: PublicKey, instructions: TransactionInstruction[], nonceInfo?: NonceAccount): Promise<Transaction | null>;
|
|
16205
16033
|
declare function isAccountInitialized(connection: Connection, account: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<boolean>;
|
|
16206
|
-
declare function buildMessageV0(connection: Connection, payerKey: PublicKey, instructions: TransactionInstruction[], commitmentOrConfig?: Commitment | GetAccountInfoConfig,
|
|
16207
|
-
declare function buildVersionedTransaction(connection: Connection, payerKey: PublicKey, instructions: TransactionInstruction[], commitmentOrConfig?: Commitment | GetAccountInfoConfig,
|
|
16034
|
+
declare function buildMessageV0(connection: Connection, payerKey: PublicKey, instructions: TransactionInstruction[], commitmentOrConfig?: Commitment | GetAccountInfoConfig, blockhash?: Blockhash): Promise<MessageV0>;
|
|
16035
|
+
declare function buildVersionedTransaction(connection: Connection, payerKey: PublicKey, instructions: TransactionInstruction[], commitmentOrConfig?: Commitment | GetAccountInfoConfig, blockhash?: Blockhash, lookupTableAddress?: PublicKey): Promise<VersionedTransaction>;
|
|
16208
16036
|
declare function instructionDiscriminator(method: string): Buffer;
|
|
16209
|
-
declare function simulateTransaction(connection: Connection, instructions: TransactionInstruction[], programId: PublicKey, payer: PublicKey, commitment?: Commitment, blockhash?: Blockhash): Promise<Buffer>;
|
|
16037
|
+
declare function simulateTransaction(connection: Connection, instructions: TransactionInstruction[], programId: PublicKey, payer: PublicKey, commitment?: Commitment, blockhash?: Blockhash, lookupTableAddress?: PublicKey): Promise<Buffer>;
|
|
16210
16038
|
|
|
16211
16039
|
declare const idlTypes: string[];
|
|
16212
16040
|
declare const messageLibs: string[];
|
|
@@ -16214,19 +16042,6 @@ declare const FAUCET_URL: {
|
|
|
16214
16042
|
[env in Environment]: string;
|
|
16215
16043
|
};
|
|
16216
16044
|
|
|
16217
|
-
type SupportedPrograms = 'endpoint' | 'simple_messagelib' | 'uln' | 'blocked_messagelib' | 'executor' | 'pricefeed' | 'dvn';
|
|
16218
|
-
declare function programKeypairPath(network: Network | 'default', program: SupportedPrograms): string;
|
|
16219
|
-
declare function getProgramKeypair(network: Network | 'default', program: SupportedPrograms): Keypair;
|
|
16220
|
-
declare function getEndpointProgramId(network: Network | 'default'): PublicKey;
|
|
16221
|
-
declare function getSimpleMessageLibProgramId(network: Network | 'default'): PublicKey;
|
|
16222
|
-
declare function getULNProgramId(network: Network | 'default'): PublicKey;
|
|
16223
|
-
declare function getDVNProgramId(network: Network | 'default'): PublicKey;
|
|
16224
|
-
declare function getBlockedMessageLibProgramId(network: Network | 'default'): PublicKey;
|
|
16225
|
-
declare function getExecutorProgramId(network: Network | 'default'): PublicKey;
|
|
16226
|
-
declare function getPricefeedProgramId(network: Network | 'default'): PublicKey;
|
|
16227
|
-
declare function getProgramPath(program: SupportedPrograms, targetDir?: string): string;
|
|
16228
|
-
declare function deploy(network: Network, program: SupportedPrograms, programDir: string, programIdDir: string, keypair: string, rpc: string): Buffer;
|
|
16229
|
-
|
|
16230
16045
|
declare const AddressType: beet.ElementCollectionBeet & beet.BeetBase & beet.BeetReadWrite<number[], number[]>;
|
|
16231
16046
|
declare const MSG_TYPE_OFFSET = 0;
|
|
16232
16047
|
declare enum MessageType {
|
|
@@ -16291,6 +16106,23 @@ declare function lzCompose(connection: Connection, payer: PublicKey, event: Comp
|
|
|
16291
16106
|
declare function getLzReceiveAccounts(connection: Connection, payer: PublicKey, receiver: PublicKey, receiverProgram: PublicKey, params: LzReceiveParams, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountMeta[]>;
|
|
16292
16107
|
declare function getLzComposeAccountMeta(connection: Connection, payer: PublicKey, to: PublicKey, composerProgram: PublicKey, params: LzComposeParams, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountMeta[]>;
|
|
16293
16108
|
|
|
16109
|
+
type SupportedPrograms = 'endpoint' | 'simple_messagelib' | 'uln' | 'blocked_messagelib' | 'executor' | 'pricefeed' | 'dvn';
|
|
16110
|
+
interface Deployment {
|
|
16111
|
+
name: SupportedPrograms;
|
|
16112
|
+
network: Network;
|
|
16113
|
+
address: string;
|
|
16114
|
+
compatibleVersions: string[];
|
|
16115
|
+
deployer: string;
|
|
16116
|
+
}
|
|
16117
|
+
declare function getProgramKeypair(network: Network | 'default', program: SupportedPrograms): PublicKey;
|
|
16118
|
+
declare function getEndpointProgramId(network: Network | 'default'): PublicKey;
|
|
16119
|
+
declare function getSimpleMessageLibProgramId(network: Network | 'default'): PublicKey;
|
|
16120
|
+
declare function getULNProgramId(network: Network | 'default'): PublicKey;
|
|
16121
|
+
declare function getDVNProgramId(network: Network | 'default'): PublicKey;
|
|
16122
|
+
declare function getBlockedMessageLibProgramId(network: Network | 'default'): PublicKey;
|
|
16123
|
+
declare function getExecutorProgramId(network: Network | 'default'): PublicKey;
|
|
16124
|
+
declare function getPricefeedProgramId(network: Network | 'default'): PublicKey;
|
|
16125
|
+
|
|
16294
16126
|
/**
|
|
16295
16127
|
* This code was GENERATED using the solita package.
|
|
16296
16128
|
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
@@ -16457,4 +16289,4 @@ interface MessageLibInterface {
|
|
|
16457
16289
|
getSetConfigIXAccountMetaForCPI(endpointProgram: PublicKey, oappID: PublicKey, eid: number): Promise<AccountMeta[]>;
|
|
16458
16290
|
}
|
|
16459
16291
|
|
|
16460
|
-
export { AddressType, BaseOApp, index as BlockedMessageLibProgram, COMPOSED_MESSAGE_HASH_SEED, CONFIRMATIONS_SEED, COUNT_SEED, DVNDeriver, dvn as DVNProgram, DVN_CONFIG_SEED, index$3 as DvnProgram, ENDPOINT_SEED, ENFORCED_OPTIONS_SEED, EVENT_SEED, EXECUTOR_CONFIG_SEED, EndpointPDADeriver, endpoint as EndpointProgram, EventPDADeriver, ExecutorOptionType, ExecutorPDADeriver, executor as ExecutorProgram, FAUCET_URL, IdlTypes, LZ_COMPOSE_TYPES_SEED, LZ_RECEIVE_TYPES_SEED, type LzComposeParams, LzComposeParamsBeet, type LzReceiveAccount, LzReceiveAccountBeet, type LzReceiveParams, LzReceiveParamsBeet, MESSAGE_LIB_SEED, MINT_SEED, MSG_TYPE_OFFSET, MaxExecutorOptionTypeLength, type MessageLibInterface, MessageLibPDADeriver, MessageType, NONCE_SEED, OAPP_SEED, OAppBasePDADeriver, OFT_SEED$1 as OFT_SEED, OPTIONS_SEED, OftPDADeriver, OftTools, OmniCounterPDADeriver, PAYLOAD_HASH_SEED, PEER_SEED, PENDING_NONCE_SEED, PRICE_FEED_SEED, PriceFeedPDADeriver, pricefeed as PriceFeedProgram, RECEIVE_CONFIG_SEED, RECEIVE_LIBRARY_CONFIG_SEED, REMOTE_SEED, SEND_CONFIG_SEED, SEND_LIBRARY_CONFIG_SEED, SetConfigType, simpleMessageLib as SimpleMessageLibProgram, type SupportedPrograms, ULN_CONFIG_SEED, ULN_SEED, UlnPDADeriver, uln as UlnProgram, WORKER_SEED, buildMessageV0, buildVersionedTransaction, closeLookupTable, createNonceAccountTX, deactivateLookupTable,
|
|
16292
|
+
export { AddressType, BaseOApp, index as BlockedMessageLibProgram, COMPOSED_MESSAGE_HASH_SEED, CONFIRMATIONS_SEED, COUNT_SEED, DVNDeriver, dvn as DVNProgram, DVN_CONFIG_SEED, type Deployment, index$3 as DvnProgram, ENDPOINT_SEED, ENFORCED_OPTIONS_SEED, EVENT_SEED, EXECUTOR_CONFIG_SEED, EndpointPDADeriver, endpoint as EndpointProgram, EventPDADeriver, ExecutorOptionType, ExecutorPDADeriver, executor as ExecutorProgram, FAUCET_URL, IdlTypes, LZ_COMPOSE_TYPES_SEED, LZ_RECEIVE_TYPES_SEED, type LzComposeParams, LzComposeParamsBeet, type LzReceiveAccount, LzReceiveAccountBeet, type LzReceiveParams, LzReceiveParamsBeet, MESSAGE_LIB_SEED, MINT_SEED, MSG_TYPE_OFFSET, MaxExecutorOptionTypeLength, type MessageLibInterface, MessageLibPDADeriver, MessageType, NONCE_SEED, OAPP_SEED, OAppBasePDADeriver, OFT_SEED$1 as OFT_SEED, OPTIONS_SEED, index$1 as Oft, OftPDADeriver, OftTools, OmniCounterPDADeriver, PAYLOAD_HASH_SEED, PEER_SEED, PENDING_NONCE_SEED, PRICE_FEED_SEED, PriceFeedPDADeriver, pricefeed as PriceFeedProgram, RECEIVE_CONFIG_SEED, RECEIVE_LIBRARY_CONFIG_SEED, REMOTE_SEED, SEND_CONFIG_SEED, SEND_LIBRARY_CONFIG_SEED, SetConfigType, simpleMessageLib as SimpleMessageLibProgram, type SupportedPrograms, ULN_CONFIG_SEED, ULN_SEED, UlnPDADeriver, uln as UlnProgram, WORKER_SEED, buildMessageV0, buildVersionedTransaction, closeLookupTable, createNonceAccountTX, deactivateLookupTable, deriveLzComposeTypesAccountsPDA, deriveLzReceiveTypesAccountsPDA, extractComposeDeliveredEventByTxHash, extractComposeSentEventByTxHash, extractEventFromTransactionSignature, extractReceivedPacketEventByTxHash, extractSentPacketEventByTxHash, extractVerifiedPacketEventByTxHash, extractWorkerFeePaidEventByTxHash, generateAddressLookupTable, getBlockedMessageLibProgramId, getDVNProgramId, getEndpointProgramId, getExecutorProgramId, getLzComposeAccountMeta, getLzReceiveAccounts, getPricefeedProgramId, getProgramKeypair, getSimpleMessageLibProgramId, getULNProgramId, idlTypes, instructionDiscriminator, isAccountInitialized, lzCompose, lzReceive, messageLibs, oappIDPDA, simulateTransaction, txWithAddressLookupTable, txWithNonce };
|