@layerzerolabs/lz-solana-sdk-v2 2.3.14 → 2.3.15
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 +11 -0
- package/dist/index.cjs +3084 -2581
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1182 -859
- package/dist/index.d.ts +1182 -859
- package/dist/index.mjs +3058 -2557
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import { PacketPath, PacketV1Codec, Packet as Packet$2 } from '@layerzerolabs/lz
|
|
|
4
4
|
import * as beet from '@metaplex-foundation/beet';
|
|
5
5
|
import { bignum as bignum$1, FixableBeetArgsStruct, BeetArgsStruct } from '@metaplex-foundation/beet';
|
|
6
6
|
import * as beetSolana from '@metaplex-foundation/beet-solana';
|
|
7
|
+
import BN from 'bn.js';
|
|
7
8
|
import { SolanaSigner } from '@layerzerolabs/lz-corekit-solana';
|
|
8
9
|
import { EndpointId, Environment, Network } from '@layerzerolabs/lz-definitions';
|
|
9
10
|
import { web3 as web3$1 } from '@coral-xyz/anchor';
|
|
10
11
|
import { ProcessEnvOptions } from 'child_process';
|
|
11
|
-
import BN from 'bn.js';
|
|
12
12
|
|
|
13
13
|
declare const ENDPOINT_SEED = "Endpoint";
|
|
14
14
|
declare const MESSAGE_LIB_SEED = "MessageLib";
|
|
@@ -508,12 +508,12 @@ declare const messageLibInfoBeet: beet.BeetStruct<MessageLibInfo, MessageLibInfo
|
|
|
508
508
|
* @category Accounts
|
|
509
509
|
* @category generated
|
|
510
510
|
*/
|
|
511
|
-
type NonceArgs = {
|
|
511
|
+
type NonceArgs$1 = {
|
|
512
512
|
bump: number;
|
|
513
513
|
outboundNonce: beet.bignum;
|
|
514
514
|
inboundNonce: beet.bignum;
|
|
515
515
|
};
|
|
516
|
-
declare const nonceDiscriminator: number[];
|
|
516
|
+
declare const nonceDiscriminator$1: number[];
|
|
517
517
|
/**
|
|
518
518
|
* Holds the data for the {@link Nonce} Account and provides de/serialization
|
|
519
519
|
* functionality for that data
|
|
@@ -521,7 +521,7 @@ declare const nonceDiscriminator: number[];
|
|
|
521
521
|
* @category Accounts
|
|
522
522
|
* @category generated
|
|
523
523
|
*/
|
|
524
|
-
declare class Nonce implements NonceArgs {
|
|
524
|
+
declare class Nonce$1 implements NonceArgs$1 {
|
|
525
525
|
readonly bump: number;
|
|
526
526
|
readonly outboundNonce: beet.bignum;
|
|
527
527
|
readonly inboundNonce: beet.bignum;
|
|
@@ -529,19 +529,19 @@ declare class Nonce implements NonceArgs {
|
|
|
529
529
|
/**
|
|
530
530
|
* Creates a {@link Nonce} instance from the provided args.
|
|
531
531
|
*/
|
|
532
|
-
static fromArgs(args: NonceArgs): Nonce;
|
|
532
|
+
static fromArgs(args: NonceArgs$1): Nonce$1;
|
|
533
533
|
/**
|
|
534
534
|
* Deserializes the {@link Nonce} from the data of the provided {@link web3.AccountInfo}.
|
|
535
535
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
536
536
|
*/
|
|
537
|
-
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [Nonce, number];
|
|
537
|
+
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [Nonce$1, number];
|
|
538
538
|
/**
|
|
539
539
|
* Retrieves the account info from the provided address and deserializes
|
|
540
540
|
* the {@link Nonce} from its data.
|
|
541
541
|
*
|
|
542
542
|
* @throws Error if no account info is found at the address or if deserialization fails
|
|
543
543
|
*/
|
|
544
|
-
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<Nonce>;
|
|
544
|
+
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<Nonce$1>;
|
|
545
545
|
/**
|
|
546
546
|
* Provides a {@link web3.Connection.getProgramAccounts} config builder,
|
|
547
547
|
* to fetch accounts matching filters that can be specified via that builder.
|
|
@@ -558,7 +558,7 @@ declare class Nonce implements NonceArgs {
|
|
|
558
558
|
* Deserializes the {@link Nonce} from the provided data Buffer.
|
|
559
559
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
560
560
|
*/
|
|
561
|
-
static deserialize(buf: Buffer, offset?: number): [Nonce, number];
|
|
561
|
+
static deserialize(buf: Buffer, offset?: number): [Nonce$1, number];
|
|
562
562
|
/**
|
|
563
563
|
* Serializes the {@link Nonce} into a Buffer.
|
|
564
564
|
* @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.
|
|
@@ -599,7 +599,7 @@ declare class Nonce implements NonceArgs {
|
|
|
599
599
|
* @category Accounts
|
|
600
600
|
* @category generated
|
|
601
601
|
*/
|
|
602
|
-
declare const nonceBeet: beet.BeetStruct<Nonce, NonceArgs & {
|
|
602
|
+
declare const nonceBeet$1: beet.BeetStruct<Nonce$1, NonceArgs$1 & {
|
|
603
603
|
accountDiscriminator: number[];
|
|
604
604
|
}>;
|
|
605
605
|
|
|
@@ -1121,7 +1121,7 @@ declare const accountProviders$5: {
|
|
|
1121
1121
|
MessageLibInfo: typeof MessageLibInfo;
|
|
1122
1122
|
ReceiveLibraryConfig: typeof ReceiveLibraryConfig;
|
|
1123
1123
|
SendLibraryConfig: typeof SendLibraryConfig;
|
|
1124
|
-
Nonce: typeof Nonce;
|
|
1124
|
+
Nonce: typeof Nonce$1;
|
|
1125
1125
|
PayloadHash: typeof PayloadHash;
|
|
1126
1126
|
PendingInboundNonce: typeof PendingInboundNonce;
|
|
1127
1127
|
};
|
|
@@ -1132,9 +1132,6 @@ type index$q_ComposeMessageStateArgs = ComposeMessageStateArgs;
|
|
|
1132
1132
|
type index$q_MessageLibInfo = MessageLibInfo;
|
|
1133
1133
|
declare const index$q_MessageLibInfo: typeof MessageLibInfo;
|
|
1134
1134
|
type index$q_MessageLibInfoArgs = MessageLibInfoArgs;
|
|
1135
|
-
type index$q_Nonce = Nonce;
|
|
1136
|
-
declare const index$q_Nonce: typeof Nonce;
|
|
1137
|
-
type index$q_NonceArgs = NonceArgs;
|
|
1138
1135
|
type index$q_OAppRegistry = OAppRegistry;
|
|
1139
1136
|
declare const index$q_OAppRegistry: typeof OAppRegistry;
|
|
1140
1137
|
type index$q_OAppRegistryArgs = OAppRegistryArgs;
|
|
@@ -1154,8 +1151,6 @@ declare const index$q_composeMessageStateBeet: typeof composeMessageStateBeet;
|
|
|
1154
1151
|
declare const index$q_composeMessageStateDiscriminator: typeof composeMessageStateDiscriminator;
|
|
1155
1152
|
declare const index$q_messageLibInfoBeet: typeof messageLibInfoBeet;
|
|
1156
1153
|
declare const index$q_messageLibInfoDiscriminator: typeof messageLibInfoDiscriminator;
|
|
1157
|
-
declare const index$q_nonceBeet: typeof nonceBeet;
|
|
1158
|
-
declare const index$q_nonceDiscriminator: typeof nonceDiscriminator;
|
|
1159
1154
|
declare const index$q_oAppRegistryBeet: typeof oAppRegistryBeet;
|
|
1160
1155
|
declare const index$q_oAppRegistryDiscriminator: typeof oAppRegistryDiscriminator;
|
|
1161
1156
|
declare const index$q_payloadHashBeet: typeof payloadHashBeet;
|
|
@@ -1167,7 +1162,7 @@ declare const index$q_receiveLibraryConfigDiscriminator: typeof receiveLibraryCo
|
|
|
1167
1162
|
declare const index$q_sendLibraryConfigBeet: typeof sendLibraryConfigBeet;
|
|
1168
1163
|
declare const index$q_sendLibraryConfigDiscriminator: typeof sendLibraryConfigDiscriminator;
|
|
1169
1164
|
declare namespace index$q {
|
|
1170
|
-
export { index$q_ComposeMessageState as ComposeMessageState, type index$q_ComposeMessageStateArgs as ComposeMessageStateArgs, EndpointSettings$1 as EndpointSettings, type EndpointSettingsArgs$1 as EndpointSettingsArgs, index$q_MessageLibInfo as MessageLibInfo, type index$q_MessageLibInfoArgs as MessageLibInfoArgs,
|
|
1165
|
+
export { index$q_ComposeMessageState as ComposeMessageState, type index$q_ComposeMessageStateArgs as ComposeMessageStateArgs, EndpointSettings$1 as EndpointSettings, type EndpointSettingsArgs$1 as EndpointSettingsArgs, index$q_MessageLibInfo as MessageLibInfo, type index$q_MessageLibInfoArgs as MessageLibInfoArgs, Nonce$1 as Nonce, type NonceArgs$1 as NonceArgs, index$q_OAppRegistry as OAppRegistry, type index$q_OAppRegistryArgs as OAppRegistryArgs, index$q_PayloadHash as PayloadHash, type index$q_PayloadHashArgs as PayloadHashArgs, index$q_PendingInboundNonce as PendingInboundNonce, type index$q_PendingInboundNonceArgs as PendingInboundNonceArgs, index$q_ReceiveLibraryConfig as ReceiveLibraryConfig, type index$q_ReceiveLibraryConfigArgs as ReceiveLibraryConfigArgs, index$q_SendLibraryConfig as SendLibraryConfig, type index$q_SendLibraryConfigArgs as SendLibraryConfigArgs, accountProviders$5 as accountProviders, index$q_composeMessageStateBeet as composeMessageStateBeet, index$q_composeMessageStateDiscriminator as composeMessageStateDiscriminator, endpointSettingsBeet$1 as endpointSettingsBeet, endpointSettingsDiscriminator$1 as endpointSettingsDiscriminator, index$q_messageLibInfoBeet as messageLibInfoBeet, index$q_messageLibInfoDiscriminator as messageLibInfoDiscriminator, nonceBeet$1 as nonceBeet, nonceDiscriminator$1 as nonceDiscriminator, index$q_oAppRegistryBeet as oAppRegistryBeet, index$q_oAppRegistryDiscriminator as oAppRegistryDiscriminator, index$q_payloadHashBeet as payloadHashBeet, index$q_payloadHashDiscriminator as payloadHashDiscriminator, index$q_pendingInboundNonceBeet as pendingInboundNonceBeet, index$q_pendingInboundNonceDiscriminator as pendingInboundNonceDiscriminator, index$q_receiveLibraryConfigBeet as receiveLibraryConfigBeet, index$q_receiveLibraryConfigDiscriminator as receiveLibraryConfigDiscriminator, index$q_sendLibraryConfigBeet as sendLibraryConfigBeet, index$q_sendLibraryConfigDiscriminator as sendLibraryConfigDiscriminator };
|
|
1171
1166
|
}
|
|
1172
1167
|
|
|
1173
1168
|
/**
|
|
@@ -6653,7 +6648,7 @@ declare class Endpoint {
|
|
|
6653
6648
|
setReceiveLibrary(connection: Connection, oappAdmin: PublicKey, oappIDPDA: PublicKey, newReceiveLibProgram: PublicKey, srcEid: number, gracePeriod?: number): Promise<TransactionInstruction | null>;
|
|
6654
6649
|
setOappConfig(connection: Connection, oappDelegate: PublicKey, oappID: PublicKey, msgLibProgram: PublicKey, eid: number, config: {
|
|
6655
6650
|
configType: SetConfigType;
|
|
6656
|
-
value: ExecutorConfig$1 | UlnConfig;
|
|
6651
|
+
value: ExecutorConfig$1 | UlnConfig$1;
|
|
6657
6652
|
}, commitment?: Commitment): Promise<TransactionInstruction>;
|
|
6658
6653
|
/***
|
|
6659
6654
|
*
|
|
@@ -6730,7 +6725,7 @@ declare class Endpoint {
|
|
|
6730
6725
|
} | null>;
|
|
6731
6726
|
getInboundPayloadHash(connection: Connection, receiver: PublicKey, srcEid: number, sender: Uint8Array, nonce: number, payloadHash: Uint8Array, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<PayloadHash | null>;
|
|
6732
6727
|
getComposedMessageState(connection: Connection, from: PublicKey, params: SendComposeParams, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<ComposeMessageState | null>;
|
|
6733
|
-
getNonce(connection: Connection, oappIDPDA: PublicKey, remoteEid: number, remoteOappAddr: Uint8Array, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<Nonce | null>;
|
|
6728
|
+
getNonce(connection: Connection, oappIDPDA: PublicKey, remoteEid: number, remoteOappAddr: Uint8Array, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<Nonce$1 | null>;
|
|
6734
6729
|
getPendingInboundNonce(connection: Connection, oappIDPDA: PublicKey, remoteEid: number, remoteOappAddr: Uint8Array, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<PendingInboundNonce | null>;
|
|
6735
6730
|
getMessageLibVersion(connection: Connection, payer: PublicKey, messageLibProgram: PublicKey, commitment?: Commitment): Promise<Version$1 | null>;
|
|
6736
6731
|
}
|
|
@@ -6874,7 +6869,7 @@ declare const confirmationsBeet: beet.FixableBeetStruct<Confirmations, Confirmat
|
|
|
6874
6869
|
* See: https://github.com/metaplex-foundation/solita
|
|
6875
6870
|
*/
|
|
6876
6871
|
|
|
6877
|
-
type UlnConfig = {
|
|
6872
|
+
type UlnConfig$1 = {
|
|
6878
6873
|
confirmations: beet.bignum;
|
|
6879
6874
|
requiredDvnCount: number;
|
|
6880
6875
|
optionalDvnCount: number;
|
|
@@ -6886,7 +6881,7 @@ type UlnConfig = {
|
|
|
6886
6881
|
* @category userTypes
|
|
6887
6882
|
* @category generated
|
|
6888
6883
|
*/
|
|
6889
|
-
declare const ulnConfigBeet: beet.FixableBeetArgsStruct<UlnConfig>;
|
|
6884
|
+
declare const ulnConfigBeet$1: beet.FixableBeetArgsStruct<UlnConfig$1>;
|
|
6890
6885
|
|
|
6891
6886
|
/**
|
|
6892
6887
|
* This code was GENERATED using the solita package.
|
|
@@ -6900,11 +6895,11 @@ declare const ulnConfigBeet: beet.FixableBeetArgsStruct<UlnConfig>;
|
|
|
6900
6895
|
* @category Accounts
|
|
6901
6896
|
* @category generated
|
|
6902
6897
|
*/
|
|
6903
|
-
type ReceiveConfigArgs = {
|
|
6898
|
+
type ReceiveConfigArgs$1 = {
|
|
6904
6899
|
bump: number;
|
|
6905
|
-
uln: UlnConfig;
|
|
6900
|
+
uln: UlnConfig$1;
|
|
6906
6901
|
};
|
|
6907
|
-
declare const receiveConfigDiscriminator: number[];
|
|
6902
|
+
declare const receiveConfigDiscriminator$1: number[];
|
|
6908
6903
|
/**
|
|
6909
6904
|
* Holds the data for the {@link ReceiveConfig} Account and provides de/serialization
|
|
6910
6905
|
* functionality for that data
|
|
@@ -6912,40 +6907,40 @@ declare const receiveConfigDiscriminator: number[];
|
|
|
6912
6907
|
* @category Accounts
|
|
6913
6908
|
* @category generated
|
|
6914
6909
|
*/
|
|
6915
|
-
declare class ReceiveConfig implements ReceiveConfigArgs {
|
|
6910
|
+
declare class ReceiveConfig$1 implements ReceiveConfigArgs$1 {
|
|
6916
6911
|
readonly bump: number;
|
|
6917
|
-
readonly uln: UlnConfig;
|
|
6912
|
+
readonly uln: UlnConfig$1;
|
|
6918
6913
|
private constructor();
|
|
6919
6914
|
/**
|
|
6920
6915
|
* Creates a {@link ReceiveConfig} instance from the provided args.
|
|
6921
6916
|
*/
|
|
6922
|
-
static fromArgs(args: ReceiveConfigArgs): ReceiveConfig;
|
|
6917
|
+
static fromArgs(args: ReceiveConfigArgs$1): ReceiveConfig$1;
|
|
6923
6918
|
/**
|
|
6924
6919
|
* Deserializes the {@link ReceiveConfig} from the data of the provided {@link web3.AccountInfo}.
|
|
6925
6920
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
6926
6921
|
*/
|
|
6927
|
-
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [ReceiveConfig, number];
|
|
6922
|
+
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [ReceiveConfig$1, number];
|
|
6928
6923
|
/**
|
|
6929
6924
|
* Retrieves the account info from the provided address and deserializes
|
|
6930
6925
|
* the {@link ReceiveConfig} from its data.
|
|
6931
6926
|
*
|
|
6932
6927
|
* @throws Error if no account info is found at the address or if deserialization fails
|
|
6933
6928
|
*/
|
|
6934
|
-
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<ReceiveConfig>;
|
|
6929
|
+
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<ReceiveConfig$1>;
|
|
6935
6930
|
/**
|
|
6936
6931
|
* Provides a {@link web3.Connection.getProgramAccounts} config builder,
|
|
6937
6932
|
* to fetch accounts matching filters that can be specified via that builder.
|
|
6938
6933
|
*
|
|
6939
6934
|
* @param programId - the program that owns the accounts we are filtering
|
|
6940
6935
|
*/
|
|
6941
|
-
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<ReceiveConfigArgs & {
|
|
6936
|
+
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<ReceiveConfigArgs$1 & {
|
|
6942
6937
|
accountDiscriminator: number[];
|
|
6943
6938
|
}>;
|
|
6944
6939
|
/**
|
|
6945
6940
|
* Deserializes the {@link ReceiveConfig} from the provided data Buffer.
|
|
6946
6941
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
6947
6942
|
*/
|
|
6948
|
-
static deserialize(buf: Buffer, offset?: number): [ReceiveConfig, number];
|
|
6943
|
+
static deserialize(buf: Buffer, offset?: number): [ReceiveConfig$1, number];
|
|
6949
6944
|
/**
|
|
6950
6945
|
* Serializes the {@link ReceiveConfig} into a Buffer.
|
|
6951
6946
|
* @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.
|
|
@@ -6958,7 +6953,7 @@ declare class ReceiveConfig implements ReceiveConfigArgs {
|
|
|
6958
6953
|
* @param args need to be provided since the byte size for this account
|
|
6959
6954
|
* depends on them
|
|
6960
6955
|
*/
|
|
6961
|
-
static byteSize(args: ReceiveConfigArgs): number;
|
|
6956
|
+
static byteSize(args: ReceiveConfigArgs$1): number;
|
|
6962
6957
|
/**
|
|
6963
6958
|
* Fetches the minimum balance needed to exempt an account holding
|
|
6964
6959
|
* {@link ReceiveConfig} data from rent
|
|
@@ -6967,21 +6962,21 @@ declare class ReceiveConfig implements ReceiveConfigArgs {
|
|
|
6967
6962
|
* depends on them
|
|
6968
6963
|
* @param connection used to retrieve the rent exemption information
|
|
6969
6964
|
*/
|
|
6970
|
-
static getMinimumBalanceForRentExemption(args: ReceiveConfigArgs, connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
6965
|
+
static getMinimumBalanceForRentExemption(args: ReceiveConfigArgs$1, connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
6971
6966
|
/**
|
|
6972
6967
|
* Returns a readable version of {@link ReceiveConfig} properties
|
|
6973
6968
|
* and can be used to convert to JSON and/or logging
|
|
6974
6969
|
*/
|
|
6975
6970
|
pretty(): {
|
|
6976
6971
|
bump: number;
|
|
6977
|
-
uln: UlnConfig;
|
|
6972
|
+
uln: UlnConfig$1;
|
|
6978
6973
|
};
|
|
6979
6974
|
}
|
|
6980
6975
|
/**
|
|
6981
6976
|
* @category Accounts
|
|
6982
6977
|
* @category generated
|
|
6983
6978
|
*/
|
|
6984
|
-
declare const receiveConfigBeet: beet.FixableBeetStruct<ReceiveConfig, ReceiveConfigArgs & {
|
|
6979
|
+
declare const receiveConfigBeet$1: beet.FixableBeetStruct<ReceiveConfig$1, ReceiveConfigArgs$1 & {
|
|
6985
6980
|
accountDiscriminator: number[];
|
|
6986
6981
|
}>;
|
|
6987
6982
|
|
|
@@ -7016,7 +7011,7 @@ declare const executorConfigBeet$1: beet.BeetArgsStruct<ExecutorConfig$1>;
|
|
|
7016
7011
|
*/
|
|
7017
7012
|
type SendConfigArgs = {
|
|
7018
7013
|
bump: number;
|
|
7019
|
-
uln: UlnConfig;
|
|
7014
|
+
uln: UlnConfig$1;
|
|
7020
7015
|
executor: ExecutorConfig$1;
|
|
7021
7016
|
};
|
|
7022
7017
|
declare const sendConfigDiscriminator: number[];
|
|
@@ -7029,7 +7024,7 @@ declare const sendConfigDiscriminator: number[];
|
|
|
7029
7024
|
*/
|
|
7030
7025
|
declare class SendConfig implements SendConfigArgs {
|
|
7031
7026
|
readonly bump: number;
|
|
7032
|
-
readonly uln: UlnConfig;
|
|
7027
|
+
readonly uln: UlnConfig$1;
|
|
7033
7028
|
readonly executor: ExecutorConfig$1;
|
|
7034
7029
|
private constructor();
|
|
7035
7030
|
/**
|
|
@@ -7090,7 +7085,7 @@ declare class SendConfig implements SendConfigArgs {
|
|
|
7090
7085
|
*/
|
|
7091
7086
|
pretty(): {
|
|
7092
7087
|
bump: number;
|
|
7093
|
-
uln: UlnConfig;
|
|
7088
|
+
uln: UlnConfig$1;
|
|
7094
7089
|
executor: ExecutorConfig$1;
|
|
7095
7090
|
};
|
|
7096
7091
|
}
|
|
@@ -7254,7 +7249,7 @@ declare const ulnSettingsBeet: beet.FixableBeetStruct<UlnSettings, UlnSettingsAr
|
|
|
7254
7249
|
|
|
7255
7250
|
declare const accountProviders$3: {
|
|
7256
7251
|
Confirmations: typeof Confirmations;
|
|
7257
|
-
ReceiveConfig: typeof ReceiveConfig;
|
|
7252
|
+
ReceiveConfig: typeof ReceiveConfig$1;
|
|
7258
7253
|
SendConfig: typeof SendConfig;
|
|
7259
7254
|
UlnSettings: typeof UlnSettings;
|
|
7260
7255
|
};
|
|
@@ -7262,9 +7257,6 @@ declare const accountProviders$3: {
|
|
|
7262
7257
|
type index$h_Confirmations = Confirmations;
|
|
7263
7258
|
declare const index$h_Confirmations: typeof Confirmations;
|
|
7264
7259
|
type index$h_ConfirmationsArgs = ConfirmationsArgs;
|
|
7265
|
-
type index$h_ReceiveConfig = ReceiveConfig;
|
|
7266
|
-
declare const index$h_ReceiveConfig: typeof ReceiveConfig;
|
|
7267
|
-
type index$h_ReceiveConfigArgs = ReceiveConfigArgs;
|
|
7268
7260
|
type index$h_SendConfig = SendConfig;
|
|
7269
7261
|
declare const index$h_SendConfig: typeof SendConfig;
|
|
7270
7262
|
type index$h_SendConfigArgs = SendConfigArgs;
|
|
@@ -7273,14 +7265,12 @@ declare const index$h_UlnSettings: typeof UlnSettings;
|
|
|
7273
7265
|
type index$h_UlnSettingsArgs = UlnSettingsArgs;
|
|
7274
7266
|
declare const index$h_confirmationsBeet: typeof confirmationsBeet;
|
|
7275
7267
|
declare const index$h_confirmationsDiscriminator: typeof confirmationsDiscriminator;
|
|
7276
|
-
declare const index$h_receiveConfigBeet: typeof receiveConfigBeet;
|
|
7277
|
-
declare const index$h_receiveConfigDiscriminator: typeof receiveConfigDiscriminator;
|
|
7278
7268
|
declare const index$h_sendConfigBeet: typeof sendConfigBeet;
|
|
7279
7269
|
declare const index$h_sendConfigDiscriminator: typeof sendConfigDiscriminator;
|
|
7280
7270
|
declare const index$h_ulnSettingsBeet: typeof ulnSettingsBeet;
|
|
7281
7271
|
declare const index$h_ulnSettingsDiscriminator: typeof ulnSettingsDiscriminator;
|
|
7282
7272
|
declare namespace index$h {
|
|
7283
|
-
export { index$h_Confirmations as Confirmations, type index$h_ConfirmationsArgs as ConfirmationsArgs,
|
|
7273
|
+
export { index$h_Confirmations as Confirmations, type index$h_ConfirmationsArgs as ConfirmationsArgs, ReceiveConfig$1 as ReceiveConfig, type ReceiveConfigArgs$1 as ReceiveConfigArgs, index$h_SendConfig as SendConfig, type index$h_SendConfigArgs as SendConfigArgs, index$h_UlnSettings as UlnSettings, type index$h_UlnSettingsArgs as UlnSettingsArgs, accountProviders$3 as accountProviders, index$h_confirmationsBeet as confirmationsBeet, index$h_confirmationsDiscriminator as confirmationsDiscriminator, receiveConfigBeet$1 as receiveConfigBeet, receiveConfigDiscriminator$1 as receiveConfigDiscriminator, index$h_sendConfigBeet as sendConfigBeet, index$h_sendConfigDiscriminator as sendConfigDiscriminator, index$h_ulnSettingsBeet as ulnSettingsBeet, index$h_ulnSettingsDiscriminator as ulnSettingsDiscriminator };
|
|
7284
7274
|
}
|
|
7285
7275
|
|
|
7286
7276
|
/**
|
|
@@ -7745,10 +7735,10 @@ declare const adminTransferredEventBeet: beet.BeetArgsStruct<AdminTransferredEve
|
|
|
7745
7735
|
*/
|
|
7746
7736
|
type ConfigRecord = {
|
|
7747
7737
|
SendUln: {
|
|
7748
|
-
fields: [UlnConfig];
|
|
7738
|
+
fields: [UlnConfig$1];
|
|
7749
7739
|
};
|
|
7750
7740
|
ReceiveUln: {
|
|
7751
|
-
fields: [UlnConfig];
|
|
7741
|
+
fields: [UlnConfig$1];
|
|
7752
7742
|
};
|
|
7753
7743
|
Executor: {
|
|
7754
7744
|
fields: [ExecutorConfig$1];
|
|
@@ -7769,14 +7759,14 @@ type Config = beet.DataEnumKeyAsKind<ConfigRecord>;
|
|
|
7769
7759
|
declare const isConfigSendUln: (x: Config) => x is {
|
|
7770
7760
|
__kind: "SendUln";
|
|
7771
7761
|
} & Omit<{
|
|
7772
|
-
fields: [UlnConfig];
|
|
7762
|
+
fields: [UlnConfig$1];
|
|
7773
7763
|
}, "void"> & {
|
|
7774
7764
|
__kind: 'SendUln';
|
|
7775
7765
|
};
|
|
7776
7766
|
declare const isConfigReceiveUln: (x: Config) => x is {
|
|
7777
7767
|
__kind: "ReceiveUln";
|
|
7778
7768
|
} & Omit<{
|
|
7779
|
-
fields: [UlnConfig];
|
|
7769
|
+
fields: [UlnConfig$1];
|
|
7780
7770
|
}, "void"> & {
|
|
7781
7771
|
__kind: 'ReceiveUln';
|
|
7782
7772
|
};
|
|
@@ -7820,8 +7810,8 @@ declare const configSetEventBeet: beet.FixableBeetArgsStruct<ConfigSetEvent>;
|
|
|
7820
7810
|
|
|
7821
7811
|
type DefaultConfigSetEvent = {
|
|
7822
7812
|
eid: number;
|
|
7823
|
-
sendUlnConfig: beet.COption<UlnConfig>;
|
|
7824
|
-
receiveUlnConfig: beet.COption<UlnConfig>;
|
|
7813
|
+
sendUlnConfig: beet.COption<UlnConfig$1>;
|
|
7814
|
+
receiveUlnConfig: beet.COption<UlnConfig$1>;
|
|
7825
7815
|
executorConfig: beet.COption<ExecutorConfig$1>;
|
|
7826
7816
|
};
|
|
7827
7817
|
/**
|
|
@@ -8141,8 +8131,8 @@ declare function createInitConfigInstructionAccounts(accounts: InitConfigInstruc
|
|
|
8141
8131
|
|
|
8142
8132
|
type InitDefaultConfigParams = {
|
|
8143
8133
|
eid: number;
|
|
8144
|
-
sendUlnConfig: UlnConfig;
|
|
8145
|
-
receiveUlnConfig: UlnConfig;
|
|
8134
|
+
sendUlnConfig: UlnConfig$1;
|
|
8135
|
+
receiveUlnConfig: UlnConfig$1;
|
|
8146
8136
|
executorConfig: ExecutorConfig$1;
|
|
8147
8137
|
};
|
|
8148
8138
|
/**
|
|
@@ -8772,8 +8762,8 @@ declare function createSetConfigInstructionAccounts$1(accounts: SetConfigInstruc
|
|
|
8772
8762
|
|
|
8773
8763
|
type SetDefaultConfigParams = {
|
|
8774
8764
|
eid: number;
|
|
8775
|
-
sendUlnConfig: beet.COption<UlnConfig>;
|
|
8776
|
-
receiveUlnConfig: beet.COption<UlnConfig>;
|
|
8765
|
+
sendUlnConfig: beet.COption<UlnConfig$1>;
|
|
8766
|
+
receiveUlnConfig: beet.COption<UlnConfig$1>;
|
|
8777
8767
|
executorConfig: beet.COption<ExecutorConfig$1>;
|
|
8778
8768
|
};
|
|
8779
8769
|
/**
|
|
@@ -9416,7 +9406,6 @@ type index$d_SetTreasuryFeeCapParams = SetTreasuryFeeCapParams;
|
|
|
9416
9406
|
type index$d_SetTreasuryParams = SetTreasuryParams;
|
|
9417
9407
|
type index$d_Treasury = Treasury;
|
|
9418
9408
|
type index$d_TreasuryFee = TreasuryFee;
|
|
9419
|
-
type index$d_UlnConfig = UlnConfig;
|
|
9420
9409
|
type index$d_VerifyParams = VerifyParams;
|
|
9421
9410
|
type index$d_Version = Version;
|
|
9422
9411
|
type index$d_WithdrawRentParams = WithdrawRentParams;
|
|
@@ -9441,13 +9430,12 @@ declare const index$d_setTreasuryFeeCapParamsBeet: typeof setTreasuryFeeCapParam
|
|
|
9441
9430
|
declare const index$d_setTreasuryParamsBeet: typeof setTreasuryParamsBeet;
|
|
9442
9431
|
declare const index$d_treasuryBeet: typeof treasuryBeet;
|
|
9443
9432
|
declare const index$d_treasuryFeeBeet: typeof treasuryFeeBeet;
|
|
9444
|
-
declare const index$d_ulnConfigBeet: typeof ulnConfigBeet;
|
|
9445
9433
|
declare const index$d_verifyParamsBeet: typeof verifyParamsBeet;
|
|
9446
9434
|
declare const index$d_versionBeet: typeof versionBeet;
|
|
9447
9435
|
declare const index$d_withdrawRentParamsBeet: typeof withdrawRentParamsBeet;
|
|
9448
9436
|
declare const index$d_workerFeeBeet: typeof workerFeeBeet;
|
|
9449
9437
|
declare namespace index$d {
|
|
9450
|
-
export { type index$d_CommitVerificationParams as CommitVerificationParams, type index$d_Config as Config, type index$d_ConfigRecord as ConfigRecord, type ExecutorConfig$1 as ExecutorConfig, type index$d_InitConfigParams as InitConfigParams, type index$d_InitDefaultConfigParams as InitDefaultConfigParams, type index$d_InitUlnParams as InitUlnParams, type index$d_InitVerifyParams as InitVerifyParams, type index$d_LzTokenTreasury as LzTokenTreasury, type index$d_MessagingFee as MessagingFee, type index$d_Packet as Packet, type index$d_QuoteParams as QuoteParams, type index$d_SendParams as SendParams, type index$d_SendWithLzTokenParams as SendWithLzTokenParams, type SetConfigParams$1 as SetConfigParams, type index$d_SetDefaultConfigParams as SetDefaultConfigParams, type index$d_SetTreasuryFeeCapParams as SetTreasuryFeeCapParams, type index$d_SetTreasuryParams as SetTreasuryParams, type TransferAdminParams$1 as TransferAdminParams, type index$d_Treasury as Treasury, type index$d_TreasuryFee as TreasuryFee, type
|
|
9438
|
+
export { type index$d_CommitVerificationParams as CommitVerificationParams, type index$d_Config as Config, type index$d_ConfigRecord as ConfigRecord, type ExecutorConfig$1 as ExecutorConfig, type index$d_InitConfigParams as InitConfigParams, type index$d_InitDefaultConfigParams as InitDefaultConfigParams, type index$d_InitUlnParams as InitUlnParams, type index$d_InitVerifyParams as InitVerifyParams, type index$d_LzTokenTreasury as LzTokenTreasury, type index$d_MessagingFee as MessagingFee, type index$d_Packet as Packet, type index$d_QuoteParams as QuoteParams, type index$d_SendParams as SendParams, type index$d_SendWithLzTokenParams as SendWithLzTokenParams, type SetConfigParams$1 as SetConfigParams, type index$d_SetDefaultConfigParams as SetDefaultConfigParams, type index$d_SetTreasuryFeeCapParams as SetTreasuryFeeCapParams, type index$d_SetTreasuryParams as SetTreasuryParams, type TransferAdminParams$1 as TransferAdminParams, type index$d_Treasury as Treasury, type index$d_TreasuryFee as TreasuryFee, type UlnConfig$1 as UlnConfig, type index$d_VerifyParams as VerifyParams, type index$d_Version as Version, type index$d_WithdrawRentParams as WithdrawRentParams, type index$d_WorkerFee as WorkerFee, index$d_commitVerificationParamsBeet as commitVerificationParamsBeet, index$d_configBeet as configBeet, executorConfigBeet$1 as executorConfigBeet, index$d_initConfigParamsBeet as initConfigParamsBeet, index$d_initDefaultConfigParamsBeet as initDefaultConfigParamsBeet, index$d_initUlnParamsBeet as initUlnParamsBeet, index$d_initVerifyParamsBeet as initVerifyParamsBeet, index$d_isConfigExecutor as isConfigExecutor, index$d_isConfigReceiveUln as isConfigReceiveUln, index$d_isConfigSendUln as isConfigSendUln, index$d_lzTokenTreasuryBeet as lzTokenTreasuryBeet, index$d_messagingFeeBeet as messagingFeeBeet, index$d_packetBeet as packetBeet, index$d_quoteParamsBeet as quoteParamsBeet, index$d_sendParamsBeet as sendParamsBeet, index$d_sendWithLzTokenParamsBeet as sendWithLzTokenParamsBeet, setConfigParamsBeet$1 as setConfigParamsBeet, index$d_setDefaultConfigParamsBeet as setDefaultConfigParamsBeet, index$d_setTreasuryFeeCapParamsBeet as setTreasuryFeeCapParamsBeet, index$d_setTreasuryParamsBeet as setTreasuryParamsBeet, transferAdminParamsBeet$1 as transferAdminParamsBeet, index$d_treasuryBeet as treasuryBeet, index$d_treasuryFeeBeet as treasuryFeeBeet, ulnConfigBeet$1 as ulnConfigBeet, index$d_verifyParamsBeet as verifyParamsBeet, index$d_versionBeet as versionBeet, index$d_withdrawRentParamsBeet as withdrawRentParamsBeet, index$d_workerFeeBeet as workerFeeBeet };
|
|
9451
9439
|
}
|
|
9452
9440
|
|
|
9453
9441
|
/**
|
|
@@ -9501,7 +9489,7 @@ declare class Uln implements MessageLibInterface {
|
|
|
9501
9489
|
/**
|
|
9502
9490
|
* before calling this function, you should call initUln to initialize the uln
|
|
9503
9491
|
*/
|
|
9504
|
-
initOrUpdateDefaultConfig(connection: Connection, admin: PublicKey, eid: number, sendUlnConfig: UlnConfig, receiveUlnConfig: UlnConfig, executorConfig: ExecutorConfig$1, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction>;
|
|
9492
|
+
initOrUpdateDefaultConfig(connection: Connection, admin: PublicKey, eid: number, sendUlnConfig: UlnConfig$1, receiveUlnConfig: UlnConfig$1, executorConfig: ExecutorConfig$1, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction>;
|
|
9505
9493
|
/**
|
|
9506
9494
|
* before calling this function, you should call initUln to initialize the uln
|
|
9507
9495
|
*/
|
|
@@ -9546,7 +9534,7 @@ declare class Uln implements MessageLibInterface {
|
|
|
9546
9534
|
* Get the account meta of the send instruction for CPI(Cross-Program Invocation )
|
|
9547
9535
|
*/
|
|
9548
9536
|
getInitConfigIXAccountMetaForCPI(payer: PublicKey, oappID: PublicKey, eid: number): Promise<AccountMeta[]>;
|
|
9549
|
-
static constructSetConfigData(configType: SetConfigType, configData: ExecutorConfig$1 | UlnConfig): Uint8Array;
|
|
9537
|
+
static constructSetConfigData(configType: SetConfigType, configData: ExecutorConfig$1 | UlnConfig$1): Uint8Array;
|
|
9550
9538
|
/**
|
|
9551
9539
|
* @param oappID the oApp PDA
|
|
9552
9540
|
*
|
|
@@ -9555,8 +9543,8 @@ declare class Uln implements MessageLibInterface {
|
|
|
9555
9543
|
getSetting(connection: Connection, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<UlnSettings | null>;
|
|
9556
9544
|
getDefaultSendConfigState(connection: Connection, eid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<SendConfig | null>;
|
|
9557
9545
|
getSendConfigState(connection: Connection, sender: PublicKey, eid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<SendConfig | null>;
|
|
9558
|
-
getDefaultReceiveConfigState(connection: Connection, eid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<ReceiveConfig | null>;
|
|
9559
|
-
getReceiveConfigState(connection: Connection, receiver: PublicKey, eid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<ReceiveConfig | null>;
|
|
9546
|
+
getDefaultReceiveConfigState(connection: Connection, eid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<ReceiveConfig$1 | null>;
|
|
9547
|
+
getReceiveConfigState(connection: Connection, receiver: PublicKey, eid: number, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<ReceiveConfig$1 | null>;
|
|
9560
9548
|
}
|
|
9561
9549
|
|
|
9562
9550
|
type uln_AtLeastOneDVNError = AtLeastOneDVNError;
|
|
@@ -9642,9 +9630,6 @@ type uln_Packet = Packet;
|
|
|
9642
9630
|
type uln_QuoteInstructionAccounts = QuoteInstructionAccounts;
|
|
9643
9631
|
type uln_QuoteInstructionArgs = QuoteInstructionArgs;
|
|
9644
9632
|
type uln_QuoteParams = QuoteParams;
|
|
9645
|
-
type uln_ReceiveConfig = ReceiveConfig;
|
|
9646
|
-
declare const uln_ReceiveConfig: typeof ReceiveConfig;
|
|
9647
|
-
type uln_ReceiveConfigArgs = ReceiveConfigArgs;
|
|
9648
9633
|
type uln_SendConfig = SendConfig;
|
|
9649
9634
|
declare const uln_SendConfig: typeof SendConfig;
|
|
9650
9635
|
type uln_SendConfigArgs = SendConfigArgs;
|
|
@@ -9667,7 +9652,6 @@ type uln_Treasury = Treasury;
|
|
|
9667
9652
|
type uln_TreasuryFee = TreasuryFee;
|
|
9668
9653
|
type uln_Uln = Uln;
|
|
9669
9654
|
declare const uln_Uln: typeof Uln;
|
|
9670
|
-
type uln_UlnConfig = UlnConfig;
|
|
9671
9655
|
type uln_UlnSettings = UlnSettings;
|
|
9672
9656
|
declare const uln_UlnSettings: typeof UlnSettings;
|
|
9673
9657
|
type uln_UlnSettingsArgs = UlnSettingsArgs;
|
|
@@ -9740,8 +9724,6 @@ declare const uln_packetBeet: typeof packetBeet;
|
|
|
9740
9724
|
declare const uln_quoteInstructionDiscriminator: typeof quoteInstructionDiscriminator;
|
|
9741
9725
|
declare const uln_quoteParamsBeet: typeof quoteParamsBeet;
|
|
9742
9726
|
declare const uln_quoteStruct: typeof quoteStruct;
|
|
9743
|
-
declare const uln_receiveConfigBeet: typeof receiveConfigBeet;
|
|
9744
|
-
declare const uln_receiveConfigDiscriminator: typeof receiveConfigDiscriminator;
|
|
9745
9727
|
declare const uln_sendConfigBeet: typeof sendConfigBeet;
|
|
9746
9728
|
declare const uln_sendConfigDiscriminator: typeof sendConfigDiscriminator;
|
|
9747
9729
|
declare const uln_sendInstructionDiscriminator: typeof sendInstructionDiscriminator;
|
|
@@ -9761,7 +9743,6 @@ declare const uln_setTreasuryParamsBeet: typeof setTreasuryParamsBeet;
|
|
|
9761
9743
|
declare const uln_setTreasuryStruct: typeof setTreasuryStruct;
|
|
9762
9744
|
declare const uln_treasuryBeet: typeof treasuryBeet;
|
|
9763
9745
|
declare const uln_treasuryFeeBeet: typeof treasuryFeeBeet;
|
|
9764
|
-
declare const uln_ulnConfigBeet: typeof ulnConfigBeet;
|
|
9765
9746
|
declare const uln_ulnSettingsBeet: typeof ulnSettingsBeet;
|
|
9766
9747
|
declare const uln_ulnSettingsDiscriminator: typeof ulnSettingsDiscriminator;
|
|
9767
9748
|
declare const uln_verifyInstructionDiscriminator: typeof verifyInstructionDiscriminator;
|
|
@@ -9773,7 +9754,7 @@ declare const uln_withdrawRentParamsBeet: typeof withdrawRentParamsBeet;
|
|
|
9773
9754
|
declare const uln_withdrawRentStruct: typeof withdrawRentStruct;
|
|
9774
9755
|
declare const uln_workerFeeBeet: typeof workerFeeBeet;
|
|
9775
9756
|
declare namespace uln {
|
|
9776
|
-
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 uln_MessagingFee as MessagingFee, type uln_OptionalOracles as OptionalOracles, type uln_Oracles as Oracles, type uln_OutboundConfirmations as OutboundConfirmations, PROGRAM_ADDRESS$3 as PROGRAM_ADDRESS, PROGRAM_ID$4 as PROGRAM_ID, type uln_Packet as Packet, type uln_QuoteInstructionAccounts as QuoteInstructionAccounts, type uln_QuoteInstructionArgs as QuoteInstructionArgs, type uln_QuoteParams as QuoteParams, uln_ReceiveConfig as ReceiveConfig, type uln_ReceiveConfigArgs as ReceiveConfigArgs, uln_SendConfig as SendConfig, type uln_SendConfigArgs as SendConfigArgs, type uln_SendInstructionAccounts as SendInstructionAccounts, type uln_SendInstructionArgs as SendInstructionArgs, type uln_SendParams 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$1 as TransferAdminInstructionAccounts, type TransferAdminInstructionArgs$1 as TransferAdminInstructionArgs, type TransferAdminParams$1 as TransferAdminParams, type uln_Treasury as Treasury, type uln_TreasuryFee as TreasuryFee, uln_Uln as Uln, type uln_UlnConfig as UlnConfig, uln_UlnSettings as UlnSettings, type uln_UlnSettingsArgs as UlnSettingsArgs, uln_UnauthorizedError 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 uln_Version 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$3 as accountProviders, index$h 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, uln_createQuoteInstruction as createQuoteInstruction, uln_createQuoteInstructionAccounts as createQuoteInstructionAccounts, uln_createSendInstruction as createSendInstruction, uln_createSendInstructionAccounts 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$1 as createTransferAdminInstruction, createTransferAdminInstructionAccounts$1 as createTransferAdminInstructionAccounts, uln_createVerifyInstruction as createVerifyInstruction, uln_createVerifyInstructionAccounts as createVerifyInstructionAccounts, createVersionInstruction$1 as createVersionInstruction, createVersionInstructionAccounts$1 as createVersionInstructionAccounts, uln_createWithdrawRentInstruction as createWithdrawRentInstruction, uln_createWithdrawRentInstructionAccounts as createWithdrawRentInstructionAccounts, errorFromCode$2 as errorFromCode, errorFromName$2 as errorFromName, index$g as errors, index$f 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$e as instructions, uln_isConfigExecutor as isConfigExecutor, uln_isConfigReceiveUln as isConfigReceiveUln, uln_isConfigSendUln as isConfigSendUln, uln_lzTokenTreasuryBeet as lzTokenTreasuryBeet, uln_messagingFeeBeet as messagingFeeBeet, uln_packetBeet as packetBeet, uln_quoteInstructionDiscriminator as quoteInstructionDiscriminator, uln_quoteParamsBeet as quoteParamsBeet, uln_quoteStruct as quoteStruct, uln_receiveConfigBeet as receiveConfigBeet, uln_receiveConfigDiscriminator as receiveConfigDiscriminator, uln_sendConfigBeet as sendConfigBeet, uln_sendConfigDiscriminator as sendConfigDiscriminator, uln_sendInstructionDiscriminator as sendInstructionDiscriminator, uln_sendParamsBeet as sendParamsBeet, uln_sendStruct 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$1 as transferAdminInstructionDiscriminator, transferAdminParamsBeet$1 as transferAdminParamsBeet, transferAdminStruct$1 as transferAdminStruct, uln_treasuryBeet as treasuryBeet, uln_treasuryFeeBeet as treasuryFeeBeet, index$d as types, uln_ulnConfigBeet as ulnConfigBeet, uln_ulnSettingsBeet as ulnSettingsBeet, uln_ulnSettingsDiscriminator as ulnSettingsDiscriminator, uln_verifyInstructionDiscriminator as verifyInstructionDiscriminator, uln_verifyParamsBeet as verifyParamsBeet, uln_verifyStruct as verifyStruct, uln_versionBeet as versionBeet, versionInstructionDiscriminator$1 as versionInstructionDiscriminator, versionStruct$1 as versionStruct, uln_withdrawRentInstructionDiscriminator as withdrawRentInstructionDiscriminator, uln_withdrawRentParamsBeet as withdrawRentParamsBeet, uln_withdrawRentStruct as withdrawRentStruct, uln_workerFeeBeet as workerFeeBeet };
|
|
9757
|
+
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 uln_MessagingFee as MessagingFee, type uln_OptionalOracles as OptionalOracles, type uln_Oracles as Oracles, type uln_OutboundConfirmations as OutboundConfirmations, PROGRAM_ADDRESS$3 as PROGRAM_ADDRESS, PROGRAM_ID$4 as PROGRAM_ID, type uln_Packet as Packet, type uln_QuoteInstructionAccounts as QuoteInstructionAccounts, type uln_QuoteInstructionArgs as QuoteInstructionArgs, type uln_QuoteParams as QuoteParams, ReceiveConfig$1 as ReceiveConfig, type ReceiveConfigArgs$1 as ReceiveConfigArgs, uln_SendConfig as SendConfig, type uln_SendConfigArgs as SendConfigArgs, type uln_SendInstructionAccounts as SendInstructionAccounts, type uln_SendInstructionArgs as SendInstructionArgs, type uln_SendParams 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$1 as TransferAdminInstructionAccounts, type TransferAdminInstructionArgs$1 as TransferAdminInstructionArgs, type TransferAdminParams$1 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, uln_UnauthorizedError 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 uln_Version 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$3 as accountProviders, index$h 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, uln_createQuoteInstruction as createQuoteInstruction, uln_createQuoteInstructionAccounts as createQuoteInstructionAccounts, uln_createSendInstruction as createSendInstruction, uln_createSendInstructionAccounts 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$1 as createTransferAdminInstruction, createTransferAdminInstructionAccounts$1 as createTransferAdminInstructionAccounts, uln_createVerifyInstruction as createVerifyInstruction, uln_createVerifyInstructionAccounts as createVerifyInstructionAccounts, createVersionInstruction$1 as createVersionInstruction, createVersionInstructionAccounts$1 as createVersionInstructionAccounts, uln_createWithdrawRentInstruction as createWithdrawRentInstruction, uln_createWithdrawRentInstructionAccounts as createWithdrawRentInstructionAccounts, errorFromCode$2 as errorFromCode, errorFromName$2 as errorFromName, index$g as errors, index$f 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$e as instructions, uln_isConfigExecutor as isConfigExecutor, uln_isConfigReceiveUln as isConfigReceiveUln, uln_isConfigSendUln as isConfigSendUln, uln_lzTokenTreasuryBeet as lzTokenTreasuryBeet, uln_messagingFeeBeet as messagingFeeBeet, uln_packetBeet as packetBeet, uln_quoteInstructionDiscriminator as quoteInstructionDiscriminator, uln_quoteParamsBeet as quoteParamsBeet, uln_quoteStruct as quoteStruct, receiveConfigBeet$1 as receiveConfigBeet, receiveConfigDiscriminator$1 as receiveConfigDiscriminator, uln_sendConfigBeet as sendConfigBeet, uln_sendConfigDiscriminator as sendConfigDiscriminator, uln_sendInstructionDiscriminator as sendInstructionDiscriminator, uln_sendParamsBeet as sendParamsBeet, uln_sendStruct 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$1 as transferAdminInstructionDiscriminator, transferAdminParamsBeet$1 as transferAdminParamsBeet, transferAdminStruct$1 as transferAdminStruct, uln_treasuryBeet as treasuryBeet, uln_treasuryFeeBeet as treasuryFeeBeet, index$d 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, uln_versionBeet as versionBeet, versionInstructionDiscriminator$1 as versionInstructionDiscriminator, versionStruct$1 as versionStruct, uln_withdrawRentInstructionDiscriminator as withdrawRentInstructionDiscriminator, uln_withdrawRentParamsBeet as withdrawRentParamsBeet, uln_withdrawRentStruct as withdrawRentStruct, uln_workerFeeBeet as workerFeeBeet };
|
|
9777
9758
|
}
|
|
9778
9759
|
|
|
9779
9760
|
/**
|
|
@@ -9807,6 +9788,7 @@ type DstConfig$1 = {
|
|
|
9807
9788
|
multiplierBps: beet.COption<number>;
|
|
9808
9789
|
floorMarginUsd: beet.COption<beet.bignum>;
|
|
9809
9790
|
nativeDropCap: beet.bignum;
|
|
9791
|
+
supportedOptionTypes: Uint8Array;
|
|
9810
9792
|
};
|
|
9811
9793
|
/**
|
|
9812
9794
|
* @category userTypes
|
|
@@ -9830,12 +9812,12 @@ type ExecutorConfigArgs = {
|
|
|
9830
9812
|
bump: number;
|
|
9831
9813
|
owner: web3.PublicKey;
|
|
9832
9814
|
acl: Acl$1;
|
|
9833
|
-
defaultMultiplierBps: number;
|
|
9834
|
-
priceFeed: web3.PublicKey;
|
|
9835
9815
|
admins: web3.PublicKey[];
|
|
9836
|
-
|
|
9837
|
-
supportedOptionTypes: number[];
|
|
9816
|
+
executors: web3.PublicKey[];
|
|
9838
9817
|
msglibs: web3.PublicKey[];
|
|
9818
|
+
paused: boolean;
|
|
9819
|
+
defaultMultiplierBps: number;
|
|
9820
|
+
priceFeed: web3.PublicKey;
|
|
9839
9821
|
dstConfigs: DstConfig$1[];
|
|
9840
9822
|
};
|
|
9841
9823
|
declare const executorConfigDiscriminator: number[];
|
|
@@ -9850,12 +9832,12 @@ declare class ExecutorConfig implements ExecutorConfigArgs {
|
|
|
9850
9832
|
readonly bump: number;
|
|
9851
9833
|
readonly owner: web3.PublicKey;
|
|
9852
9834
|
readonly acl: Acl$1;
|
|
9853
|
-
readonly defaultMultiplierBps: number;
|
|
9854
|
-
readonly priceFeed: web3.PublicKey;
|
|
9855
9835
|
readonly admins: web3.PublicKey[];
|
|
9856
|
-
readonly
|
|
9857
|
-
readonly supportedOptionTypes: number[];
|
|
9836
|
+
readonly executors: web3.PublicKey[];
|
|
9858
9837
|
readonly msglibs: web3.PublicKey[];
|
|
9838
|
+
readonly paused: boolean;
|
|
9839
|
+
readonly defaultMultiplierBps: number;
|
|
9840
|
+
readonly priceFeed: web3.PublicKey;
|
|
9859
9841
|
readonly dstConfigs: DstConfig$1[];
|
|
9860
9842
|
private constructor();
|
|
9861
9843
|
/**
|
|
@@ -9918,12 +9900,12 @@ declare class ExecutorConfig implements ExecutorConfigArgs {
|
|
|
9918
9900
|
bump: number;
|
|
9919
9901
|
owner: string;
|
|
9920
9902
|
acl: Acl$1;
|
|
9921
|
-
defaultMultiplierBps: number;
|
|
9922
|
-
priceFeed: string;
|
|
9923
9903
|
admins: web3.PublicKey[];
|
|
9924
|
-
|
|
9925
|
-
supportedOptionTypes: number[];
|
|
9904
|
+
executors: web3.PublicKey[];
|
|
9926
9905
|
msglibs: web3.PublicKey[];
|
|
9906
|
+
paused: boolean;
|
|
9907
|
+
defaultMultiplierBps: number;
|
|
9908
|
+
priceFeed: string;
|
|
9927
9909
|
dstConfigs: DstConfig$1[];
|
|
9928
9910
|
};
|
|
9929
9911
|
}
|
|
@@ -9935,17 +9917,130 @@ declare const executorConfigBeet: beet.FixableBeetStruct<ExecutorConfig, Executo
|
|
|
9935
9917
|
accountDiscriminator: number[];
|
|
9936
9918
|
}>;
|
|
9937
9919
|
|
|
9920
|
+
/**
|
|
9921
|
+
* This code was GENERATED using the solita package.
|
|
9922
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
9923
|
+
*
|
|
9924
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
9925
|
+
*/
|
|
9926
|
+
|
|
9927
|
+
/**
|
|
9928
|
+
* Arguments used to create {@link Nonce}
|
|
9929
|
+
* @category Accounts
|
|
9930
|
+
* @category generated
|
|
9931
|
+
*/
|
|
9932
|
+
type NonceArgs = {
|
|
9933
|
+
bump: number;
|
|
9934
|
+
outboundNonce: beet.bignum;
|
|
9935
|
+
inboundNonce: beet.bignum;
|
|
9936
|
+
};
|
|
9937
|
+
declare const nonceDiscriminator: number[];
|
|
9938
|
+
/**
|
|
9939
|
+
* Holds the data for the {@link Nonce} Account and provides de/serialization
|
|
9940
|
+
* functionality for that data
|
|
9941
|
+
*
|
|
9942
|
+
* @category Accounts
|
|
9943
|
+
* @category generated
|
|
9944
|
+
*/
|
|
9945
|
+
declare class Nonce implements NonceArgs {
|
|
9946
|
+
readonly bump: number;
|
|
9947
|
+
readonly outboundNonce: beet.bignum;
|
|
9948
|
+
readonly inboundNonce: beet.bignum;
|
|
9949
|
+
private constructor();
|
|
9950
|
+
/**
|
|
9951
|
+
* Creates a {@link Nonce} instance from the provided args.
|
|
9952
|
+
*/
|
|
9953
|
+
static fromArgs(args: NonceArgs): Nonce;
|
|
9954
|
+
/**
|
|
9955
|
+
* Deserializes the {@link Nonce} from the data of the provided {@link web3.AccountInfo}.
|
|
9956
|
+
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
9957
|
+
*/
|
|
9958
|
+
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [Nonce, number];
|
|
9959
|
+
/**
|
|
9960
|
+
* Retrieves the account info from the provided address and deserializes
|
|
9961
|
+
* the {@link Nonce} from its data.
|
|
9962
|
+
*
|
|
9963
|
+
* @throws Error if no account info is found at the address or if deserialization fails
|
|
9964
|
+
*/
|
|
9965
|
+
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<Nonce>;
|
|
9966
|
+
/**
|
|
9967
|
+
* Provides a {@link web3.Connection.getProgramAccounts} config builder,
|
|
9968
|
+
* to fetch accounts matching filters that can be specified via that builder.
|
|
9969
|
+
*
|
|
9970
|
+
* @param programId - the program that owns the accounts we are filtering
|
|
9971
|
+
*/
|
|
9972
|
+
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<{
|
|
9973
|
+
bump: any;
|
|
9974
|
+
outboundNonce: any;
|
|
9975
|
+
inboundNonce: any;
|
|
9976
|
+
accountDiscriminator: any;
|
|
9977
|
+
}>;
|
|
9978
|
+
/**
|
|
9979
|
+
* Deserializes the {@link Nonce} from the provided data Buffer.
|
|
9980
|
+
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
9981
|
+
*/
|
|
9982
|
+
static deserialize(buf: Buffer, offset?: number): [Nonce, number];
|
|
9983
|
+
/**
|
|
9984
|
+
* Serializes the {@link Nonce} into a Buffer.
|
|
9985
|
+
* @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.
|
|
9986
|
+
*/
|
|
9987
|
+
serialize(): [Buffer, number];
|
|
9988
|
+
/**
|
|
9989
|
+
* Returns the byteSize of a {@link Buffer} holding the serialized data of
|
|
9990
|
+
* {@link Nonce}
|
|
9991
|
+
*/
|
|
9992
|
+
static get byteSize(): number;
|
|
9993
|
+
/**
|
|
9994
|
+
* Fetches the minimum balance needed to exempt an account holding
|
|
9995
|
+
* {@link Nonce} data from rent
|
|
9996
|
+
*
|
|
9997
|
+
* @param connection used to retrieve the rent exemption information
|
|
9998
|
+
*/
|
|
9999
|
+
static getMinimumBalanceForRentExemption(connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
10000
|
+
/**
|
|
10001
|
+
* Determines if the provided {@link Buffer} has the correct byte size to
|
|
10002
|
+
* hold {@link Nonce} data.
|
|
10003
|
+
*/
|
|
10004
|
+
static hasCorrectByteSize(buf: Buffer, offset?: number): boolean;
|
|
10005
|
+
/**
|
|
10006
|
+
* Returns a readable version of {@link Nonce} properties
|
|
10007
|
+
* and can be used to convert to JSON and/or logging
|
|
10008
|
+
*/
|
|
10009
|
+
pretty(): {
|
|
10010
|
+
bump: number;
|
|
10011
|
+
outboundNonce: number | {
|
|
10012
|
+
toNumber: () => number;
|
|
10013
|
+
};
|
|
10014
|
+
inboundNonce: number | {
|
|
10015
|
+
toNumber: () => number;
|
|
10016
|
+
};
|
|
10017
|
+
};
|
|
10018
|
+
}
|
|
10019
|
+
/**
|
|
10020
|
+
* @category Accounts
|
|
10021
|
+
* @category generated
|
|
10022
|
+
*/
|
|
10023
|
+
declare const nonceBeet: beet.BeetStruct<Nonce, NonceArgs & {
|
|
10024
|
+
accountDiscriminator: number[];
|
|
10025
|
+
}>;
|
|
10026
|
+
|
|
9938
10027
|
declare const accountProviders$2: {
|
|
10028
|
+
Nonce: typeof Nonce;
|
|
9939
10029
|
ExecutorConfig: typeof ExecutorConfig;
|
|
9940
10030
|
};
|
|
9941
10031
|
|
|
9942
10032
|
type index$c_ExecutorConfig = ExecutorConfig;
|
|
9943
10033
|
declare const index$c_ExecutorConfig: typeof ExecutorConfig;
|
|
9944
10034
|
type index$c_ExecutorConfigArgs = ExecutorConfigArgs;
|
|
10035
|
+
type index$c_Nonce = Nonce;
|
|
10036
|
+
declare const index$c_Nonce: typeof Nonce;
|
|
10037
|
+
type index$c_NonceArgs = NonceArgs;
|
|
9945
10038
|
declare const index$c_executorConfigBeet: typeof executorConfigBeet;
|
|
9946
10039
|
declare const index$c_executorConfigDiscriminator: typeof executorConfigDiscriminator;
|
|
10040
|
+
declare const index$c_nonceBeet: typeof nonceBeet;
|
|
10041
|
+
declare const index$c_nonceDiscriminator: typeof nonceDiscriminator;
|
|
9947
10042
|
declare namespace index$c {
|
|
9948
|
-
export { index$c_ExecutorConfig as ExecutorConfig, type index$c_ExecutorConfigArgs as ExecutorConfigArgs, accountProviders$2 as accountProviders, index$c_executorConfigBeet as executorConfigBeet, index$c_executorConfigDiscriminator as executorConfigDiscriminator };
|
|
10043
|
+
export { index$c_ExecutorConfig as ExecutorConfig, type index$c_ExecutorConfigArgs as ExecutorConfigArgs, index$c_Nonce as Nonce, type index$c_NonceArgs as NonceArgs, accountProviders$2 as accountProviders, index$c_executorConfigBeet as executorConfigBeet, index$c_executorConfigDiscriminator as executorConfigDiscriminator, index$c_nonceBeet as nonceBeet, index$c_nonceDiscriminator as nonceDiscriminator };
|
|
9949
10044
|
}
|
|
9950
10045
|
|
|
9951
10046
|
/**
|
|
@@ -10000,15 +10095,64 @@ declare namespace index$b {
|
|
|
10000
10095
|
* See: https://github.com/metaplex-foundation/solita
|
|
10001
10096
|
*/
|
|
10002
10097
|
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10098
|
+
/**
|
|
10099
|
+
* This type is used to derive the {@link AdminSetConfigParams} type as well as the de/serializer.
|
|
10100
|
+
* However don't refer to it in your code but use the {@link AdminSetConfigParams} type instead.
|
|
10101
|
+
*
|
|
10102
|
+
* @category userTypes
|
|
10103
|
+
* @category enums
|
|
10104
|
+
* @category generated
|
|
10105
|
+
* @private
|
|
10106
|
+
*/
|
|
10107
|
+
type AdminSetConfigParamsRecord = {
|
|
10108
|
+
PriceFeed: {
|
|
10109
|
+
fields: [web3.PublicKey];
|
|
10110
|
+
};
|
|
10111
|
+
DefaultMultiplierBps: {
|
|
10112
|
+
fields: [number];
|
|
10113
|
+
};
|
|
10114
|
+
DstConfigs: {
|
|
10115
|
+
fields: [DstConfig$1[]];
|
|
10116
|
+
};
|
|
10006
10117
|
};
|
|
10007
10118
|
/**
|
|
10119
|
+
* Union type respresenting the AdminSetConfigParams data enum defined in Rust.
|
|
10120
|
+
*
|
|
10121
|
+
* NOTE: that it includes a `__kind` property which allows to narrow types in
|
|
10122
|
+
* switch/if statements.
|
|
10123
|
+
* Additionally `isAdminSetConfigParams*` type guards are exposed below to narrow to a specific variant.
|
|
10124
|
+
*
|
|
10008
10125
|
* @category userTypes
|
|
10126
|
+
* @category enums
|
|
10009
10127
|
* @category generated
|
|
10010
10128
|
*/
|
|
10011
|
-
|
|
10129
|
+
type AdminSetConfigParams = beet.DataEnumKeyAsKind<AdminSetConfigParamsRecord>;
|
|
10130
|
+
declare const isAdminSetConfigParamsPriceFeed: (x: AdminSetConfigParams) => x is {
|
|
10131
|
+
__kind: "PriceFeed";
|
|
10132
|
+
} & Omit<{
|
|
10133
|
+
fields: [web3.PublicKey];
|
|
10134
|
+
}, "void"> & {
|
|
10135
|
+
__kind: 'PriceFeed';
|
|
10136
|
+
};
|
|
10137
|
+
declare const isAdminSetConfigParamsDefaultMultiplierBps: (x: AdminSetConfigParams) => x is {
|
|
10138
|
+
__kind: "DefaultMultiplierBps";
|
|
10139
|
+
} & Omit<{
|
|
10140
|
+
fields: [number];
|
|
10141
|
+
}, "void"> & {
|
|
10142
|
+
__kind: 'DefaultMultiplierBps';
|
|
10143
|
+
};
|
|
10144
|
+
declare const isAdminSetConfigParamsDstConfigs: (x: AdminSetConfigParams) => x is {
|
|
10145
|
+
__kind: "DstConfigs";
|
|
10146
|
+
} & Omit<{
|
|
10147
|
+
fields: [DstConfig$1[]];
|
|
10148
|
+
}, "void"> & {
|
|
10149
|
+
__kind: 'DstConfigs';
|
|
10150
|
+
};
|
|
10151
|
+
/**
|
|
10152
|
+
* @category userTypes
|
|
10153
|
+
* @category generated
|
|
10154
|
+
*/
|
|
10155
|
+
declare const adminSetConfigParamsBeet: beet.FixableBeet<AdminSetConfigParams, AdminSetConfigParams>;
|
|
10012
10156
|
|
|
10013
10157
|
/**
|
|
10014
10158
|
* This code was GENERATED using the solita package.
|
|
@@ -10019,56 +10163,55 @@ declare const initExecutorParamsBeet: beet.FixableBeetArgsStruct<InitExecutorPar
|
|
|
10019
10163
|
|
|
10020
10164
|
/**
|
|
10021
10165
|
* @category Instructions
|
|
10022
|
-
* @category
|
|
10166
|
+
* @category AdminSetConfig
|
|
10023
10167
|
* @category generated
|
|
10024
10168
|
*/
|
|
10025
|
-
type
|
|
10026
|
-
params:
|
|
10169
|
+
type AdminSetConfigInstructionArgs = {
|
|
10170
|
+
params: AdminSetConfigParams;
|
|
10027
10171
|
};
|
|
10028
10172
|
/**
|
|
10029
10173
|
* @category Instructions
|
|
10030
|
-
* @category
|
|
10174
|
+
* @category AdminSetConfig
|
|
10031
10175
|
* @category generated
|
|
10032
10176
|
*/
|
|
10033
|
-
declare const
|
|
10177
|
+
declare const adminSetConfigStruct: beet.FixableBeetArgsStruct<AdminSetConfigInstructionArgs & {
|
|
10034
10178
|
instructionDiscriminator: number[];
|
|
10035
10179
|
}>;
|
|
10036
10180
|
/**
|
|
10037
|
-
* Accounts required by the
|
|
10181
|
+
* Accounts required by the _adminSetConfig_ instruction
|
|
10038
10182
|
*
|
|
10039
|
-
* @property [
|
|
10183
|
+
* @property [**signer**] admin
|
|
10040
10184
|
* @property [_writable_] config
|
|
10041
10185
|
* @category Instructions
|
|
10042
|
-
* @category
|
|
10186
|
+
* @category AdminSetConfig
|
|
10043
10187
|
* @category generated
|
|
10044
10188
|
*/
|
|
10045
|
-
type
|
|
10046
|
-
|
|
10189
|
+
type AdminSetConfigInstructionAccounts = {
|
|
10190
|
+
admin: web3.PublicKey;
|
|
10047
10191
|
config: web3.PublicKey;
|
|
10048
|
-
systemProgram?: web3.PublicKey;
|
|
10049
10192
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10050
10193
|
};
|
|
10051
|
-
declare const
|
|
10194
|
+
declare const adminSetConfigInstructionDiscriminator: number[];
|
|
10052
10195
|
/**
|
|
10053
|
-
* Creates a
|
|
10196
|
+
* Creates a _AdminSetConfig_ instruction.
|
|
10054
10197
|
*
|
|
10055
10198
|
* @param accounts that will be accessed while the instruction is processed
|
|
10056
10199
|
* @param args to provide as instruction data to the program
|
|
10057
10200
|
*
|
|
10058
10201
|
* @category Instructions
|
|
10059
|
-
* @category
|
|
10202
|
+
* @category AdminSetConfig
|
|
10060
10203
|
* @category generated
|
|
10061
10204
|
*/
|
|
10062
|
-
declare function
|
|
10205
|
+
declare function createAdminSetConfigInstruction(accounts: AdminSetConfigInstructionAccounts, args: AdminSetConfigInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10063
10206
|
/**
|
|
10064
|
-
* Creates a
|
|
10207
|
+
* Creates a _AdminSetConfig_ instructionAccounts.
|
|
10065
10208
|
*
|
|
10066
10209
|
* @param accounts that will be accessed while the instruction is processed
|
|
10067
10210
|
* @category Instructions
|
|
10068
|
-
* @category
|
|
10211
|
+
* @category AdminSetConfig
|
|
10069
10212
|
* @category generated
|
|
10070
10213
|
*/
|
|
10071
|
-
declare function
|
|
10214
|
+
declare function createAdminSetConfigInstructionAccounts(accounts: AdminSetConfigInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10072
10215
|
|
|
10073
10216
|
/**
|
|
10074
10217
|
* This code was GENERATED using the solita package.
|
|
@@ -10077,19 +10220,37 @@ declare function createInitExecutorInstructionAccounts(accounts: InitExecutorIns
|
|
|
10077
10220
|
* See: https://github.com/metaplex-foundation/solita
|
|
10078
10221
|
*/
|
|
10079
10222
|
|
|
10080
|
-
type
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10223
|
+
type LzComposeParams$1 = {
|
|
10224
|
+
from: web3.PublicKey;
|
|
10225
|
+
to: web3.PublicKey;
|
|
10226
|
+
guid: number[];
|
|
10227
|
+
index: number;
|
|
10228
|
+
message: Uint8Array;
|
|
10229
|
+
extraData: Uint8Array;
|
|
10087
10230
|
};
|
|
10088
10231
|
/**
|
|
10089
10232
|
* @category userTypes
|
|
10090
10233
|
* @category generated
|
|
10091
10234
|
*/
|
|
10092
|
-
declare const
|
|
10235
|
+
declare const lzComposeParamsBeet: beet.FixableBeetArgsStruct<LzComposeParams$1>;
|
|
10236
|
+
|
|
10237
|
+
/**
|
|
10238
|
+
* This code was GENERATED using the solita package.
|
|
10239
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10240
|
+
*
|
|
10241
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
10242
|
+
*/
|
|
10243
|
+
|
|
10244
|
+
type ComposeParams = {
|
|
10245
|
+
lzCompose: LzComposeParams$1;
|
|
10246
|
+
computeUnits: beet.bignum;
|
|
10247
|
+
value: beet.bignum;
|
|
10248
|
+
};
|
|
10249
|
+
/**
|
|
10250
|
+
* @category userTypes
|
|
10251
|
+
* @category generated
|
|
10252
|
+
*/
|
|
10253
|
+
declare const composeParamsBeet: beet.FixableBeetArgsStruct<ComposeParams>;
|
|
10093
10254
|
|
|
10094
10255
|
/**
|
|
10095
10256
|
* This code was GENERATED using the solita package.
|
|
@@ -10100,77 +10261,63 @@ declare const nativeDropParamsBeet: beet.FixableBeetArgsStruct<NativeDropParams>
|
|
|
10100
10261
|
|
|
10101
10262
|
/**
|
|
10102
10263
|
* @category Instructions
|
|
10103
|
-
* @category
|
|
10264
|
+
* @category Compose
|
|
10104
10265
|
* @category generated
|
|
10105
10266
|
*/
|
|
10106
|
-
type
|
|
10107
|
-
params:
|
|
10267
|
+
type ComposeInstructionArgs = {
|
|
10268
|
+
params: ComposeParams;
|
|
10108
10269
|
};
|
|
10109
10270
|
/**
|
|
10110
10271
|
* @category Instructions
|
|
10111
|
-
* @category
|
|
10272
|
+
* @category Compose
|
|
10112
10273
|
* @category generated
|
|
10113
10274
|
*/
|
|
10114
|
-
declare const
|
|
10275
|
+
declare const composeStruct: beet.FixableBeetArgsStruct<ComposeInstructionArgs & {
|
|
10115
10276
|
instructionDiscriminator: number[];
|
|
10116
10277
|
}>;
|
|
10117
10278
|
/**
|
|
10118
|
-
* Accounts required by the
|
|
10279
|
+
* Accounts required by the _compose_ instruction
|
|
10119
10280
|
*
|
|
10120
|
-
* @property [**signer**]
|
|
10121
|
-
* @property [
|
|
10281
|
+
* @property [_writable_, **signer**] executor
|
|
10282
|
+
* @property [] config
|
|
10283
|
+
* @property [] endpointProgram
|
|
10284
|
+
* @property [] endpointEventAuthority
|
|
10122
10285
|
* @property [] eventAuthority
|
|
10123
10286
|
* @property [] program
|
|
10124
10287
|
* @category Instructions
|
|
10125
|
-
* @category
|
|
10288
|
+
* @category Compose
|
|
10126
10289
|
* @category generated
|
|
10127
10290
|
*/
|
|
10128
|
-
type
|
|
10129
|
-
|
|
10291
|
+
type ComposeInstructionAccounts = {
|
|
10292
|
+
executor: web3.PublicKey;
|
|
10130
10293
|
config: web3.PublicKey;
|
|
10131
|
-
|
|
10294
|
+
endpointProgram: web3.PublicKey;
|
|
10295
|
+
endpointEventAuthority: web3.PublicKey;
|
|
10132
10296
|
eventAuthority: web3.PublicKey;
|
|
10133
10297
|
program: web3.PublicKey;
|
|
10134
10298
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10135
10299
|
};
|
|
10136
|
-
declare const
|
|
10300
|
+
declare const composeInstructionDiscriminator: number[];
|
|
10137
10301
|
/**
|
|
10138
|
-
* Creates a
|
|
10302
|
+
* Creates a _Compose_ instruction.
|
|
10139
10303
|
*
|
|
10140
10304
|
* @param accounts that will be accessed while the instruction is processed
|
|
10141
10305
|
* @param args to provide as instruction data to the program
|
|
10142
10306
|
*
|
|
10143
10307
|
* @category Instructions
|
|
10144
|
-
* @category
|
|
10308
|
+
* @category Compose
|
|
10145
10309
|
* @category generated
|
|
10146
10310
|
*/
|
|
10147
|
-
declare function
|
|
10311
|
+
declare function createComposeInstruction(accounts: ComposeInstructionAccounts, args: ComposeInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10148
10312
|
/**
|
|
10149
|
-
* Creates a
|
|
10313
|
+
* Creates a _Compose_ instructionAccounts.
|
|
10150
10314
|
*
|
|
10151
10315
|
* @param accounts that will be accessed while the instruction is processed
|
|
10152
10316
|
* @category Instructions
|
|
10153
|
-
* @category
|
|
10154
|
-
* @category generated
|
|
10155
|
-
*/
|
|
10156
|
-
declare function createNativeDropInstructionAccounts(accounts: NativeDropInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10157
|
-
|
|
10158
|
-
/**
|
|
10159
|
-
* This code was GENERATED using the solita package.
|
|
10160
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10161
|
-
*
|
|
10162
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10163
|
-
*/
|
|
10164
|
-
|
|
10165
|
-
type LzOption$1 = {
|
|
10166
|
-
optionType: number;
|
|
10167
|
-
params: Uint8Array;
|
|
10168
|
-
};
|
|
10169
|
-
/**
|
|
10170
|
-
* @category userTypes
|
|
10317
|
+
* @category Compose
|
|
10171
10318
|
* @category generated
|
|
10172
10319
|
*/
|
|
10173
|
-
declare
|
|
10320
|
+
declare function createComposeInstructionAccounts(accounts: ComposeInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10174
10321
|
|
|
10175
10322
|
/**
|
|
10176
10323
|
* This code was GENERATED using the solita package.
|
|
@@ -10179,18 +10326,17 @@ declare const lzOptionBeet$1: beet.FixableBeetArgsStruct<LzOption$1>;
|
|
|
10179
10326
|
* See: https://github.com/metaplex-foundation/solita
|
|
10180
10327
|
*/
|
|
10181
10328
|
|
|
10182
|
-
type
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
sender:
|
|
10186
|
-
|
|
10187
|
-
options: LzOption$1[];
|
|
10329
|
+
type ExecutableParams = {
|
|
10330
|
+
receiver: web3.PublicKey;
|
|
10331
|
+
srcEid: number;
|
|
10332
|
+
sender: number[];
|
|
10333
|
+
nonce: beet.bignum;
|
|
10188
10334
|
};
|
|
10189
10335
|
/**
|
|
10190
10336
|
* @category userTypes
|
|
10191
10337
|
* @category generated
|
|
10192
10338
|
*/
|
|
10193
|
-
declare const
|
|
10339
|
+
declare const executableParamsBeet: beet.BeetArgsStruct<ExecutableParams>;
|
|
10194
10340
|
|
|
10195
10341
|
/**
|
|
10196
10342
|
* This code was GENERATED using the solita package.
|
|
@@ -10201,57 +10347,55 @@ declare const quoteExecutorParamsBeet: beet.FixableBeetArgsStruct<QuoteExecutorP
|
|
|
10201
10347
|
|
|
10202
10348
|
/**
|
|
10203
10349
|
* @category Instructions
|
|
10204
|
-
* @category
|
|
10350
|
+
* @category Executable
|
|
10205
10351
|
* @category generated
|
|
10206
10352
|
*/
|
|
10207
|
-
type
|
|
10208
|
-
params:
|
|
10353
|
+
type ExecutableInstructionArgs = {
|
|
10354
|
+
params: ExecutableParams;
|
|
10209
10355
|
};
|
|
10210
10356
|
/**
|
|
10211
10357
|
* @category Instructions
|
|
10212
|
-
* @category
|
|
10358
|
+
* @category Executable
|
|
10213
10359
|
* @category generated
|
|
10214
10360
|
*/
|
|
10215
|
-
declare const
|
|
10361
|
+
declare const executableStruct: beet.BeetArgsStruct<ExecutableInstructionArgs & {
|
|
10216
10362
|
instructionDiscriminator: number[];
|
|
10217
10363
|
}>;
|
|
10218
10364
|
/**
|
|
10219
|
-
* Accounts required by the
|
|
10365
|
+
* Accounts required by the _executable_ instruction
|
|
10220
10366
|
*
|
|
10221
|
-
* @property []
|
|
10222
|
-
* @property []
|
|
10223
|
-
* @property [] priceFeedConfig
|
|
10367
|
+
* @property [] nonce
|
|
10368
|
+
* @property [] payloadHash
|
|
10224
10369
|
* @category Instructions
|
|
10225
|
-
* @category
|
|
10370
|
+
* @category Executable
|
|
10226
10371
|
* @category generated
|
|
10227
10372
|
*/
|
|
10228
|
-
type
|
|
10229
|
-
|
|
10230
|
-
|
|
10231
|
-
priceFeedConfig: web3.PublicKey;
|
|
10373
|
+
type ExecutableInstructionAccounts = {
|
|
10374
|
+
nonce: web3.PublicKey;
|
|
10375
|
+
payloadHash: web3.PublicKey;
|
|
10232
10376
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10233
10377
|
};
|
|
10234
|
-
declare const
|
|
10378
|
+
declare const executableInstructionDiscriminator: number[];
|
|
10235
10379
|
/**
|
|
10236
|
-
* Creates a
|
|
10380
|
+
* Creates a _Executable_ instruction.
|
|
10237
10381
|
*
|
|
10238
10382
|
* @param accounts that will be accessed while the instruction is processed
|
|
10239
10383
|
* @param args to provide as instruction data to the program
|
|
10240
10384
|
*
|
|
10241
10385
|
* @category Instructions
|
|
10242
|
-
* @category
|
|
10386
|
+
* @category Executable
|
|
10243
10387
|
* @category generated
|
|
10244
10388
|
*/
|
|
10245
|
-
declare function
|
|
10389
|
+
declare function createExecutableInstruction(accounts: ExecutableInstructionAccounts, args: ExecutableInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10246
10390
|
/**
|
|
10247
|
-
* Creates a
|
|
10391
|
+
* Creates a _Executable_ instructionAccounts.
|
|
10248
10392
|
*
|
|
10249
10393
|
* @param accounts that will be accessed while the instruction is processed
|
|
10250
10394
|
* @category Instructions
|
|
10251
|
-
* @category
|
|
10395
|
+
* @category Executable
|
|
10252
10396
|
* @category generated
|
|
10253
10397
|
*/
|
|
10254
|
-
declare function
|
|
10398
|
+
declare function createExecutableInstructionAccounts(accounts: ExecutableInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10255
10399
|
|
|
10256
10400
|
/**
|
|
10257
10401
|
* This code was GENERATED using the solita package.
|
|
@@ -10260,73 +10404,19 @@ declare function createQuoteExecutorInstructionAccounts(accounts: QuoteExecutorI
|
|
|
10260
10404
|
* See: https://github.com/metaplex-foundation/solita
|
|
10261
10405
|
*/
|
|
10262
10406
|
|
|
10263
|
-
type
|
|
10264
|
-
|
|
10407
|
+
type LzReceiveParams$1 = {
|
|
10408
|
+
srcEid: number;
|
|
10409
|
+
sender: number[];
|
|
10410
|
+
nonce: beet.bignum;
|
|
10411
|
+
guid: number[];
|
|
10412
|
+
message: Uint8Array;
|
|
10413
|
+
extraData: Uint8Array;
|
|
10265
10414
|
};
|
|
10266
10415
|
/**
|
|
10267
10416
|
* @category userTypes
|
|
10268
10417
|
* @category generated
|
|
10269
10418
|
*/
|
|
10270
|
-
declare const
|
|
10271
|
-
|
|
10272
|
-
/**
|
|
10273
|
-
* This code was GENERATED using the solita package.
|
|
10274
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10275
|
-
*
|
|
10276
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10277
|
-
*/
|
|
10278
|
-
|
|
10279
|
-
/**
|
|
10280
|
-
* @category Instructions
|
|
10281
|
-
* @category SetAdmin
|
|
10282
|
-
* @category generated
|
|
10283
|
-
*/
|
|
10284
|
-
type SetAdminInstructionArgs = {
|
|
10285
|
-
params: SetAdminParams;
|
|
10286
|
-
};
|
|
10287
|
-
/**
|
|
10288
|
-
* @category Instructions
|
|
10289
|
-
* @category SetAdmin
|
|
10290
|
-
* @category generated
|
|
10291
|
-
*/
|
|
10292
|
-
declare const setAdminStruct: beet.FixableBeetArgsStruct<SetAdminInstructionArgs & {
|
|
10293
|
-
instructionDiscriminator: number[];
|
|
10294
|
-
}>;
|
|
10295
|
-
/**
|
|
10296
|
-
* Accounts required by the _setAdmin_ instruction
|
|
10297
|
-
*
|
|
10298
|
-
* @property [**signer**] owner
|
|
10299
|
-
* @property [_writable_] config
|
|
10300
|
-
* @category Instructions
|
|
10301
|
-
* @category SetAdmin
|
|
10302
|
-
* @category generated
|
|
10303
|
-
*/
|
|
10304
|
-
type SetAdminInstructionAccounts = {
|
|
10305
|
-
owner: web3.PublicKey;
|
|
10306
|
-
config: web3.PublicKey;
|
|
10307
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10308
|
-
};
|
|
10309
|
-
declare const setAdminInstructionDiscriminator: number[];
|
|
10310
|
-
/**
|
|
10311
|
-
* Creates a _SetAdmin_ instruction.
|
|
10312
|
-
*
|
|
10313
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
10314
|
-
* @param args to provide as instruction data to the program
|
|
10315
|
-
*
|
|
10316
|
-
* @category Instructions
|
|
10317
|
-
* @category SetAdmin
|
|
10318
|
-
* @category generated
|
|
10319
|
-
*/
|
|
10320
|
-
declare function createSetAdminInstruction(accounts: SetAdminInstructionAccounts, args: SetAdminInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10321
|
-
/**
|
|
10322
|
-
* Creates a _SetAdmin_ instructionAccounts.
|
|
10323
|
-
*
|
|
10324
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
10325
|
-
* @category Instructions
|
|
10326
|
-
* @category SetAdmin
|
|
10327
|
-
* @category generated
|
|
10328
|
-
*/
|
|
10329
|
-
declare function createSetAdminInstructionAccounts(accounts: SetAdminInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10419
|
+
declare const lzReceiveParamsBeet: beet.FixableBeetArgsStruct<LzReceiveParams$1>;
|
|
10330
10420
|
|
|
10331
10421
|
/**
|
|
10332
10422
|
* This code was GENERATED using the solita package.
|
|
@@ -10335,14 +10425,17 @@ declare function createSetAdminInstructionAccounts(accounts: SetAdminInstruction
|
|
|
10335
10425
|
* See: https://github.com/metaplex-foundation/solita
|
|
10336
10426
|
*/
|
|
10337
10427
|
|
|
10338
|
-
type
|
|
10339
|
-
|
|
10428
|
+
type ExecuteParams = {
|
|
10429
|
+
receiver: web3.PublicKey;
|
|
10430
|
+
lzReceive: LzReceiveParams$1;
|
|
10431
|
+
value: beet.bignum;
|
|
10432
|
+
computeUnits: beet.bignum;
|
|
10340
10433
|
};
|
|
10341
10434
|
/**
|
|
10342
10435
|
* @category userTypes
|
|
10343
10436
|
* @category generated
|
|
10344
10437
|
*/
|
|
10345
|
-
declare const
|
|
10438
|
+
declare const executeParamsBeet: beet.FixableBeetArgsStruct<ExecuteParams>;
|
|
10346
10439
|
|
|
10347
10440
|
/**
|
|
10348
10441
|
* This code was GENERATED using the solita package.
|
|
@@ -10353,55 +10446,63 @@ declare const setAllowlistParamsBeet: beet.FixableBeetArgsStruct<SetAllowlistPar
|
|
|
10353
10446
|
|
|
10354
10447
|
/**
|
|
10355
10448
|
* @category Instructions
|
|
10356
|
-
* @category
|
|
10449
|
+
* @category Execute
|
|
10357
10450
|
* @category generated
|
|
10358
10451
|
*/
|
|
10359
|
-
type
|
|
10360
|
-
params:
|
|
10452
|
+
type ExecuteInstructionArgs = {
|
|
10453
|
+
params: ExecuteParams;
|
|
10361
10454
|
};
|
|
10362
10455
|
/**
|
|
10363
10456
|
* @category Instructions
|
|
10364
|
-
* @category
|
|
10457
|
+
* @category Execute
|
|
10365
10458
|
* @category generated
|
|
10366
10459
|
*/
|
|
10367
|
-
declare const
|
|
10460
|
+
declare const executeStruct: beet.FixableBeetArgsStruct<ExecuteInstructionArgs & {
|
|
10368
10461
|
instructionDiscriminator: number[];
|
|
10369
10462
|
}>;
|
|
10370
10463
|
/**
|
|
10371
|
-
* Accounts required by the
|
|
10464
|
+
* Accounts required by the _execute_ instruction
|
|
10372
10465
|
*
|
|
10373
|
-
* @property [**signer**]
|
|
10374
|
-
* @property [
|
|
10466
|
+
* @property [_writable_, **signer**] executor
|
|
10467
|
+
* @property [] config
|
|
10468
|
+
* @property [] endpointProgram
|
|
10469
|
+
* @property [] endpointEventAuthority
|
|
10470
|
+
* @property [] eventAuthority
|
|
10471
|
+
* @property [] program
|
|
10375
10472
|
* @category Instructions
|
|
10376
|
-
* @category
|
|
10473
|
+
* @category Execute
|
|
10377
10474
|
* @category generated
|
|
10378
10475
|
*/
|
|
10379
|
-
type
|
|
10380
|
-
|
|
10476
|
+
type ExecuteInstructionAccounts = {
|
|
10477
|
+
executor: web3.PublicKey;
|
|
10381
10478
|
config: web3.PublicKey;
|
|
10479
|
+
endpointProgram: web3.PublicKey;
|
|
10480
|
+
endpointEventAuthority: web3.PublicKey;
|
|
10481
|
+
eventAuthority: web3.PublicKey;
|
|
10482
|
+
program: web3.PublicKey;
|
|
10382
10483
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10383
10484
|
};
|
|
10384
|
-
declare const
|
|
10485
|
+
declare const executeInstructionDiscriminator: number[];
|
|
10385
10486
|
/**
|
|
10386
|
-
* Creates a
|
|
10487
|
+
* Creates a _Execute_ instruction.
|
|
10387
10488
|
*
|
|
10388
10489
|
* @param accounts that will be accessed while the instruction is processed
|
|
10389
10490
|
* @param args to provide as instruction data to the program
|
|
10390
10491
|
*
|
|
10391
10492
|
* @category Instructions
|
|
10392
|
-
* @category
|
|
10493
|
+
* @category Execute
|
|
10393
10494
|
* @category generated
|
|
10394
10495
|
*/
|
|
10395
|
-
declare function
|
|
10496
|
+
declare function createExecuteInstruction(accounts: ExecuteInstructionAccounts, args: ExecuteInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10396
10497
|
/**
|
|
10397
|
-
* Creates a
|
|
10498
|
+
* Creates a _Execute_ instructionAccounts.
|
|
10398
10499
|
*
|
|
10399
10500
|
* @param accounts that will be accessed while the instruction is processed
|
|
10400
10501
|
* @category Instructions
|
|
10401
|
-
* @category
|
|
10502
|
+
* @category Execute
|
|
10402
10503
|
* @category generated
|
|
10403
10504
|
*/
|
|
10404
|
-
declare function
|
|
10505
|
+
declare function createExecuteInstructionAccounts(accounts: ExecuteInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10405
10506
|
|
|
10406
10507
|
/**
|
|
10407
10508
|
* This code was GENERATED using the solita package.
|
|
@@ -10410,14 +10511,18 @@ declare function createSetAllowlistInstructionAccounts(accounts: SetAllowlistIns
|
|
|
10410
10511
|
* See: https://github.com/metaplex-foundation/solita
|
|
10411
10512
|
*/
|
|
10412
10513
|
|
|
10413
|
-
type
|
|
10414
|
-
|
|
10514
|
+
type InitExecutorParams = {
|
|
10515
|
+
owner: web3.PublicKey;
|
|
10516
|
+
admins: web3.PublicKey[];
|
|
10517
|
+
executors: web3.PublicKey[];
|
|
10518
|
+
msglibs: web3.PublicKey[];
|
|
10519
|
+
priceFeed: web3.PublicKey;
|
|
10415
10520
|
};
|
|
10416
10521
|
/**
|
|
10417
10522
|
* @category userTypes
|
|
10418
10523
|
* @category generated
|
|
10419
10524
|
*/
|
|
10420
|
-
declare const
|
|
10525
|
+
declare const initExecutorParamsBeet: beet.FixableBeetArgsStruct<InitExecutorParams>;
|
|
10421
10526
|
|
|
10422
10527
|
/**
|
|
10423
10528
|
* This code was GENERATED using the solita package.
|
|
@@ -10428,55 +10533,56 @@ declare const setDefaultMultiplierBpsParamsBeet: beet.BeetArgsStruct<SetDefaultM
|
|
|
10428
10533
|
|
|
10429
10534
|
/**
|
|
10430
10535
|
* @category Instructions
|
|
10431
|
-
* @category
|
|
10536
|
+
* @category InitExecutor
|
|
10432
10537
|
* @category generated
|
|
10433
10538
|
*/
|
|
10434
|
-
type
|
|
10435
|
-
params:
|
|
10539
|
+
type InitExecutorInstructionArgs = {
|
|
10540
|
+
params: InitExecutorParams;
|
|
10436
10541
|
};
|
|
10437
10542
|
/**
|
|
10438
10543
|
* @category Instructions
|
|
10439
|
-
* @category
|
|
10544
|
+
* @category InitExecutor
|
|
10440
10545
|
* @category generated
|
|
10441
10546
|
*/
|
|
10442
|
-
declare const
|
|
10547
|
+
declare const initExecutorStruct: beet.FixableBeetArgsStruct<InitExecutorInstructionArgs & {
|
|
10443
10548
|
instructionDiscriminator: number[];
|
|
10444
10549
|
}>;
|
|
10445
10550
|
/**
|
|
10446
|
-
* Accounts required by the
|
|
10551
|
+
* Accounts required by the _initExecutor_ instruction
|
|
10447
10552
|
*
|
|
10448
|
-
* @property [**signer**]
|
|
10553
|
+
* @property [_writable_, **signer**] payer
|
|
10449
10554
|
* @property [_writable_] config
|
|
10450
10555
|
* @category Instructions
|
|
10451
|
-
* @category
|
|
10556
|
+
* @category InitExecutor
|
|
10452
10557
|
* @category generated
|
|
10453
10558
|
*/
|
|
10454
|
-
type
|
|
10455
|
-
|
|
10559
|
+
type InitExecutorInstructionAccounts = {
|
|
10560
|
+
payer: web3.PublicKey;
|
|
10456
10561
|
config: web3.PublicKey;
|
|
10562
|
+
systemProgram?: web3.PublicKey;
|
|
10457
10563
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10458
10564
|
};
|
|
10459
|
-
declare const
|
|
10565
|
+
declare const initExecutorInstructionDiscriminator: number[];
|
|
10460
10566
|
/**
|
|
10461
|
-
* Creates a
|
|
10567
|
+
* Creates a _InitExecutor_ instruction.
|
|
10462
10568
|
*
|
|
10463
10569
|
* @param accounts that will be accessed while the instruction is processed
|
|
10464
10570
|
* @param args to provide as instruction data to the program
|
|
10465
10571
|
*
|
|
10466
10572
|
* @category Instructions
|
|
10467
|
-
* @category
|
|
10573
|
+
* @category InitExecutor
|
|
10468
10574
|
* @category generated
|
|
10469
10575
|
*/
|
|
10470
|
-
declare function
|
|
10576
|
+
declare function createInitExecutorInstruction(accounts: InitExecutorInstructionAccounts, args: InitExecutorInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10471
10577
|
/**
|
|
10472
|
-
* Creates a
|
|
10578
|
+
* Creates a _InitExecutor_ instructionAccounts.
|
|
10473
10579
|
*
|
|
10474
10580
|
* @param accounts that will be accessed while the instruction is processed
|
|
10475
10581
|
* @category Instructions
|
|
10476
|
-
* @category
|
|
10582
|
+
* @category InitExecutor
|
|
10477
10583
|
* @category generated
|
|
10478
10584
|
*/
|
|
10479
|
-
declare function
|
|
10585
|
+
declare function createInitExecutorInstructionAccounts(accounts: InitExecutorInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10480
10586
|
|
|
10481
10587
|
/**
|
|
10482
10588
|
* This code was GENERATED using the solita package.
|
|
@@ -10485,14 +10591,19 @@ declare function createSetDefaultMultiplierBpsInstructionAccounts(accounts: SetD
|
|
|
10485
10591
|
* See: https://github.com/metaplex-foundation/solita
|
|
10486
10592
|
*/
|
|
10487
10593
|
|
|
10488
|
-
type
|
|
10489
|
-
|
|
10594
|
+
type NativeDropParams = {
|
|
10595
|
+
srcEid: number;
|
|
10596
|
+
sender: number[];
|
|
10597
|
+
nonce: beet.bignum;
|
|
10598
|
+
dstEid: number;
|
|
10599
|
+
oapp: web3.PublicKey;
|
|
10600
|
+
nativeDropRequests: NativeDropRequest[];
|
|
10490
10601
|
};
|
|
10491
10602
|
/**
|
|
10492
10603
|
* @category userTypes
|
|
10493
10604
|
* @category generated
|
|
10494
10605
|
*/
|
|
10495
|
-
declare const
|
|
10606
|
+
declare const nativeDropParamsBeet: beet.FixableBeetArgsStruct<NativeDropParams>;
|
|
10496
10607
|
|
|
10497
10608
|
/**
|
|
10498
10609
|
* This code was GENERATED using the solita package.
|
|
@@ -10503,71 +10614,60 @@ declare const setDenylistParamsBeet: beet.FixableBeetArgsStruct<SetDenylistParam
|
|
|
10503
10614
|
|
|
10504
10615
|
/**
|
|
10505
10616
|
* @category Instructions
|
|
10506
|
-
* @category
|
|
10617
|
+
* @category NativeDrop
|
|
10507
10618
|
* @category generated
|
|
10508
10619
|
*/
|
|
10509
|
-
type
|
|
10510
|
-
params:
|
|
10620
|
+
type NativeDropInstructionArgs = {
|
|
10621
|
+
params: NativeDropParams;
|
|
10511
10622
|
};
|
|
10512
10623
|
/**
|
|
10513
10624
|
* @category Instructions
|
|
10514
|
-
* @category
|
|
10625
|
+
* @category NativeDrop
|
|
10515
10626
|
* @category generated
|
|
10516
10627
|
*/
|
|
10517
|
-
declare const
|
|
10628
|
+
declare const nativeDropStruct: beet.FixableBeetArgsStruct<NativeDropInstructionArgs & {
|
|
10518
10629
|
instructionDiscriminator: number[];
|
|
10519
10630
|
}>;
|
|
10520
10631
|
/**
|
|
10521
|
-
* Accounts required by the
|
|
10632
|
+
* Accounts required by the _nativeDrop_ instruction
|
|
10522
10633
|
*
|
|
10523
|
-
* @property [**signer**]
|
|
10634
|
+
* @property [_writable_, **signer**] executor
|
|
10524
10635
|
* @property [_writable_] config
|
|
10636
|
+
* @property [] eventAuthority
|
|
10637
|
+
* @property [] program
|
|
10525
10638
|
* @category Instructions
|
|
10526
|
-
* @category
|
|
10639
|
+
* @category NativeDrop
|
|
10527
10640
|
* @category generated
|
|
10528
10641
|
*/
|
|
10529
|
-
type
|
|
10530
|
-
|
|
10642
|
+
type NativeDropInstructionAccounts = {
|
|
10643
|
+
executor: web3.PublicKey;
|
|
10531
10644
|
config: web3.PublicKey;
|
|
10645
|
+
systemProgram?: web3.PublicKey;
|
|
10646
|
+
eventAuthority: web3.PublicKey;
|
|
10647
|
+
program: web3.PublicKey;
|
|
10532
10648
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10533
10649
|
};
|
|
10534
|
-
declare const
|
|
10650
|
+
declare const nativeDropInstructionDiscriminator: number[];
|
|
10535
10651
|
/**
|
|
10536
|
-
* Creates a
|
|
10652
|
+
* Creates a _NativeDrop_ instruction.
|
|
10537
10653
|
*
|
|
10538
10654
|
* @param accounts that will be accessed while the instruction is processed
|
|
10539
10655
|
* @param args to provide as instruction data to the program
|
|
10540
10656
|
*
|
|
10541
10657
|
* @category Instructions
|
|
10542
|
-
* @category
|
|
10658
|
+
* @category NativeDrop
|
|
10543
10659
|
* @category generated
|
|
10544
10660
|
*/
|
|
10545
|
-
declare function
|
|
10661
|
+
declare function createNativeDropInstruction(accounts: NativeDropInstructionAccounts, args: NativeDropInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10546
10662
|
/**
|
|
10547
|
-
* Creates a
|
|
10663
|
+
* Creates a _NativeDrop_ instructionAccounts.
|
|
10548
10664
|
*
|
|
10549
10665
|
* @param accounts that will be accessed while the instruction is processed
|
|
10550
10666
|
* @category Instructions
|
|
10551
|
-
* @category
|
|
10552
|
-
* @category generated
|
|
10553
|
-
*/
|
|
10554
|
-
declare function createSetDenylistInstructionAccounts(accounts: SetDenylistInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10555
|
-
|
|
10556
|
-
/**
|
|
10557
|
-
* This code was GENERATED using the solita package.
|
|
10558
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10559
|
-
*
|
|
10560
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10561
|
-
*/
|
|
10562
|
-
|
|
10563
|
-
type SetDstConfigParams = {
|
|
10564
|
-
dstConfigs: DstConfig$1[];
|
|
10565
|
-
};
|
|
10566
|
-
/**
|
|
10567
|
-
* @category userTypes
|
|
10667
|
+
* @category NativeDrop
|
|
10568
10668
|
* @category generated
|
|
10569
10669
|
*/
|
|
10570
|
-
declare
|
|
10670
|
+
declare function createNativeDropInstructionAccounts(accounts: NativeDropInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10571
10671
|
|
|
10572
10672
|
/**
|
|
10573
10673
|
* This code was GENERATED using the solita package.
|
|
@@ -10577,222 +10677,103 @@ declare const setDstConfigParamsBeet: beet.FixableBeetArgsStruct<SetDstConfigPar
|
|
|
10577
10677
|
*/
|
|
10578
10678
|
|
|
10579
10679
|
/**
|
|
10580
|
-
* @
|
|
10581
|
-
* @
|
|
10582
|
-
* @category generated
|
|
10583
|
-
*/
|
|
10584
|
-
type SetDstConfigInstructionArgs = {
|
|
10585
|
-
params: SetDstConfigParams;
|
|
10586
|
-
};
|
|
10587
|
-
/**
|
|
10588
|
-
* @category Instructions
|
|
10589
|
-
* @category SetDstConfig
|
|
10590
|
-
* @category generated
|
|
10591
|
-
*/
|
|
10592
|
-
declare const setDstConfigStruct: beet.FixableBeetArgsStruct<SetDstConfigInstructionArgs & {
|
|
10593
|
-
instructionDiscriminator: number[];
|
|
10594
|
-
}>;
|
|
10595
|
-
/**
|
|
10596
|
-
* Accounts required by the _setDstConfig_ instruction
|
|
10680
|
+
* This type is used to derive the {@link OwnerSetConfigParams} type as well as the de/serializer.
|
|
10681
|
+
* However don't refer to it in your code but use the {@link OwnerSetConfigParams} type instead.
|
|
10597
10682
|
*
|
|
10598
|
-
* @
|
|
10599
|
-
* @
|
|
10600
|
-
* @category Instructions
|
|
10601
|
-
* @category SetDstConfig
|
|
10683
|
+
* @category userTypes
|
|
10684
|
+
* @category enums
|
|
10602
10685
|
* @category generated
|
|
10686
|
+
* @private
|
|
10603
10687
|
*/
|
|
10604
|
-
type
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10688
|
+
type OwnerSetConfigParamsRecord = {
|
|
10689
|
+
Admins: {
|
|
10690
|
+
fields: [web3.PublicKey[]];
|
|
10691
|
+
};
|
|
10692
|
+
Executors: {
|
|
10693
|
+
fields: [web3.PublicKey[]];
|
|
10694
|
+
};
|
|
10695
|
+
Msglibs: {
|
|
10696
|
+
fields: [web3.PublicKey[]];
|
|
10697
|
+
};
|
|
10698
|
+
Owner: {
|
|
10699
|
+
fields: [web3.PublicKey];
|
|
10700
|
+
};
|
|
10701
|
+
Paused: {
|
|
10702
|
+
fields: [boolean];
|
|
10703
|
+
};
|
|
10704
|
+
Allowlist: {
|
|
10705
|
+
fields: [web3.PublicKey[]];
|
|
10706
|
+
};
|
|
10707
|
+
Denylist: {
|
|
10708
|
+
fields: [web3.PublicKey[]];
|
|
10709
|
+
};
|
|
10608
10710
|
};
|
|
10609
|
-
declare const setDstConfigInstructionDiscriminator: number[];
|
|
10610
10711
|
/**
|
|
10611
|
-
*
|
|
10712
|
+
* Union type respresenting the OwnerSetConfigParams data enum defined in Rust.
|
|
10612
10713
|
*
|
|
10613
|
-
*
|
|
10614
|
-
*
|
|
10615
|
-
*
|
|
10616
|
-
* @category Instructions
|
|
10617
|
-
* @category SetDstConfig
|
|
10618
|
-
* @category generated
|
|
10619
|
-
*/
|
|
10620
|
-
declare function createSetDstConfigInstruction(accounts: SetDstConfigInstructionAccounts, args: SetDstConfigInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10621
|
-
/**
|
|
10622
|
-
* Creates a _SetDstConfig_ instructionAccounts.
|
|
10623
|
-
*
|
|
10624
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
10625
|
-
* @category Instructions
|
|
10626
|
-
* @category SetDstConfig
|
|
10627
|
-
* @category generated
|
|
10628
|
-
*/
|
|
10629
|
-
declare function createSetDstConfigInstructionAccounts(accounts: SetDstConfigInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10630
|
-
|
|
10631
|
-
/**
|
|
10632
|
-
* This code was GENERATED using the solita package.
|
|
10633
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10714
|
+
* NOTE: that it includes a `__kind` property which allows to narrow types in
|
|
10715
|
+
* switch/if statements.
|
|
10716
|
+
* Additionally `isOwnerSetConfigParams*` type guards are exposed below to narrow to a specific variant.
|
|
10634
10717
|
*
|
|
10635
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10636
|
-
*/
|
|
10637
|
-
|
|
10638
|
-
type SetMsglibsParams = {
|
|
10639
|
-
msglibs: web3.PublicKey[];
|
|
10640
|
-
};
|
|
10641
|
-
/**
|
|
10642
10718
|
* @category userTypes
|
|
10719
|
+
* @category enums
|
|
10643
10720
|
* @category generated
|
|
10644
10721
|
*/
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
*/
|
|
10653
|
-
|
|
10654
|
-
/**
|
|
10655
|
-
* @category Instructions
|
|
10656
|
-
* @category SetMsglibs
|
|
10657
|
-
* @category generated
|
|
10658
|
-
*/
|
|
10659
|
-
type SetMsglibsInstructionArgs = {
|
|
10660
|
-
params: SetMsglibsParams;
|
|
10722
|
+
type OwnerSetConfigParams = beet.DataEnumKeyAsKind<OwnerSetConfigParamsRecord>;
|
|
10723
|
+
declare const isOwnerSetConfigParamsAdmins: (x: OwnerSetConfigParams) => x is {
|
|
10724
|
+
__kind: "Admins";
|
|
10725
|
+
} & Omit<{
|
|
10726
|
+
fields: [web3.PublicKey[]];
|
|
10727
|
+
}, "void"> & {
|
|
10728
|
+
__kind: 'Admins';
|
|
10661
10729
|
};
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
instructionDiscriminator: number[];
|
|
10669
|
-
}>;
|
|
10670
|
-
/**
|
|
10671
|
-
* Accounts required by the _setMsglibs_ instruction
|
|
10672
|
-
*
|
|
10673
|
-
* @property [**signer**] owner
|
|
10674
|
-
* @property [_writable_] config
|
|
10675
|
-
* @category Instructions
|
|
10676
|
-
* @category SetMsglibs
|
|
10677
|
-
* @category generated
|
|
10678
|
-
*/
|
|
10679
|
-
type SetMsglibsInstructionAccounts = {
|
|
10680
|
-
owner: web3.PublicKey;
|
|
10681
|
-
config: web3.PublicKey;
|
|
10682
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10730
|
+
declare const isOwnerSetConfigParamsExecutors: (x: OwnerSetConfigParams) => x is {
|
|
10731
|
+
__kind: "Executors";
|
|
10732
|
+
} & Omit<{
|
|
10733
|
+
fields: [web3.PublicKey[]];
|
|
10734
|
+
}, "void"> & {
|
|
10735
|
+
__kind: 'Executors';
|
|
10683
10736
|
};
|
|
10684
|
-
declare const
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
*
|
|
10691
|
-
* @category Instructions
|
|
10692
|
-
* @category SetMsglibs
|
|
10693
|
-
* @category generated
|
|
10694
|
-
*/
|
|
10695
|
-
declare function createSetMsglibsInstruction(accounts: SetMsglibsInstructionAccounts, args: SetMsglibsInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10696
|
-
/**
|
|
10697
|
-
* Creates a _SetMsglibs_ instructionAccounts.
|
|
10698
|
-
*
|
|
10699
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
10700
|
-
* @category Instructions
|
|
10701
|
-
* @category SetMsglibs
|
|
10702
|
-
* @category generated
|
|
10703
|
-
*/
|
|
10704
|
-
declare function createSetMsglibsInstructionAccounts(accounts: SetMsglibsInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10705
|
-
|
|
10706
|
-
/**
|
|
10707
|
-
* This code was GENERATED using the solita package.
|
|
10708
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10709
|
-
*
|
|
10710
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10711
|
-
*/
|
|
10712
|
-
|
|
10713
|
-
type SetOwnerParams = {
|
|
10714
|
-
owner: web3.PublicKey;
|
|
10737
|
+
declare const isOwnerSetConfigParamsMsglibs: (x: OwnerSetConfigParams) => x is {
|
|
10738
|
+
__kind: "Msglibs";
|
|
10739
|
+
} & Omit<{
|
|
10740
|
+
fields: [web3.PublicKey[]];
|
|
10741
|
+
}, "void"> & {
|
|
10742
|
+
__kind: 'Msglibs';
|
|
10715
10743
|
};
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
/**
|
|
10723
|
-
* This code was GENERATED using the solita package.
|
|
10724
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10725
|
-
*
|
|
10726
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10727
|
-
*/
|
|
10728
|
-
|
|
10729
|
-
/**
|
|
10730
|
-
* @category Instructions
|
|
10731
|
-
* @category SetOwner
|
|
10732
|
-
* @category generated
|
|
10733
|
-
*/
|
|
10734
|
-
type SetOwnerInstructionArgs = {
|
|
10735
|
-
params: SetOwnerParams;
|
|
10744
|
+
declare const isOwnerSetConfigParamsOwner: (x: OwnerSetConfigParams) => x is {
|
|
10745
|
+
__kind: "Owner";
|
|
10746
|
+
} & Omit<{
|
|
10747
|
+
fields: [web3.PublicKey];
|
|
10748
|
+
}, "void"> & {
|
|
10749
|
+
__kind: 'Owner';
|
|
10736
10750
|
};
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
instructionDiscriminator: number[];
|
|
10744
|
-
}>;
|
|
10745
|
-
/**
|
|
10746
|
-
* Accounts required by the _setOwner_ instruction
|
|
10747
|
-
*
|
|
10748
|
-
* @property [**signer**] owner
|
|
10749
|
-
* @property [_writable_] config
|
|
10750
|
-
* @category Instructions
|
|
10751
|
-
* @category SetOwner
|
|
10752
|
-
* @category generated
|
|
10753
|
-
*/
|
|
10754
|
-
type SetOwnerInstructionAccounts = {
|
|
10755
|
-
owner: web3.PublicKey;
|
|
10756
|
-
config: web3.PublicKey;
|
|
10757
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10751
|
+
declare const isOwnerSetConfigParamsPaused: (x: OwnerSetConfigParams) => x is {
|
|
10752
|
+
__kind: "Paused";
|
|
10753
|
+
} & Omit<{
|
|
10754
|
+
fields: [boolean];
|
|
10755
|
+
}, "void"> & {
|
|
10756
|
+
__kind: 'Paused';
|
|
10758
10757
|
};
|
|
10759
|
-
declare const
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
* Creates a _SetOwner_ instructionAccounts.
|
|
10773
|
-
*
|
|
10774
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
10775
|
-
* @category Instructions
|
|
10776
|
-
* @category SetOwner
|
|
10777
|
-
* @category generated
|
|
10778
|
-
*/
|
|
10779
|
-
declare function createSetOwnerInstructionAccounts(accounts: SetOwnerInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10780
|
-
|
|
10781
|
-
/**
|
|
10782
|
-
* This code was GENERATED using the solita package.
|
|
10783
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10784
|
-
*
|
|
10785
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10786
|
-
*/
|
|
10787
|
-
|
|
10788
|
-
type SetPausedParams = {
|
|
10789
|
-
paused: boolean;
|
|
10758
|
+
declare const isOwnerSetConfigParamsAllowlist: (x: OwnerSetConfigParams) => x is {
|
|
10759
|
+
__kind: "Allowlist";
|
|
10760
|
+
} & Omit<{
|
|
10761
|
+
fields: [web3.PublicKey[]];
|
|
10762
|
+
}, "void"> & {
|
|
10763
|
+
__kind: 'Allowlist';
|
|
10764
|
+
};
|
|
10765
|
+
declare const isOwnerSetConfigParamsDenylist: (x: OwnerSetConfigParams) => x is {
|
|
10766
|
+
__kind: "Denylist";
|
|
10767
|
+
} & Omit<{
|
|
10768
|
+
fields: [web3.PublicKey[]];
|
|
10769
|
+
}, "void"> & {
|
|
10770
|
+
__kind: 'Denylist';
|
|
10790
10771
|
};
|
|
10791
10772
|
/**
|
|
10792
10773
|
* @category userTypes
|
|
10793
10774
|
* @category generated
|
|
10794
10775
|
*/
|
|
10795
|
-
declare const
|
|
10776
|
+
declare const ownerSetConfigParamsBeet: beet.FixableBeet<OwnerSetConfigParams, OwnerSetConfigParams>;
|
|
10796
10777
|
|
|
10797
10778
|
/**
|
|
10798
10779
|
* This code was GENERATED using the solita package.
|
|
@@ -10803,55 +10784,55 @@ declare const setPausedParamsBeet: beet.BeetArgsStruct<SetPausedParams>;
|
|
|
10803
10784
|
|
|
10804
10785
|
/**
|
|
10805
10786
|
* @category Instructions
|
|
10806
|
-
* @category
|
|
10787
|
+
* @category OwnerSetConfig
|
|
10807
10788
|
* @category generated
|
|
10808
10789
|
*/
|
|
10809
|
-
type
|
|
10810
|
-
params:
|
|
10790
|
+
type OwnerSetConfigInstructionArgs = {
|
|
10791
|
+
params: OwnerSetConfigParams;
|
|
10811
10792
|
};
|
|
10812
10793
|
/**
|
|
10813
10794
|
* @category Instructions
|
|
10814
|
-
* @category
|
|
10795
|
+
* @category OwnerSetConfig
|
|
10815
10796
|
* @category generated
|
|
10816
10797
|
*/
|
|
10817
|
-
declare const
|
|
10798
|
+
declare const ownerSetConfigStruct: beet.FixableBeetArgsStruct<OwnerSetConfigInstructionArgs & {
|
|
10818
10799
|
instructionDiscriminator: number[];
|
|
10819
10800
|
}>;
|
|
10820
10801
|
/**
|
|
10821
|
-
* Accounts required by the
|
|
10802
|
+
* Accounts required by the _ownerSetConfig_ instruction
|
|
10822
10803
|
*
|
|
10823
10804
|
* @property [**signer**] owner
|
|
10824
10805
|
* @property [_writable_] config
|
|
10825
10806
|
* @category Instructions
|
|
10826
|
-
* @category
|
|
10807
|
+
* @category OwnerSetConfig
|
|
10827
10808
|
* @category generated
|
|
10828
10809
|
*/
|
|
10829
|
-
type
|
|
10810
|
+
type OwnerSetConfigInstructionAccounts = {
|
|
10830
10811
|
owner: web3.PublicKey;
|
|
10831
10812
|
config: web3.PublicKey;
|
|
10832
10813
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10833
10814
|
};
|
|
10834
|
-
declare const
|
|
10815
|
+
declare const ownerSetConfigInstructionDiscriminator: number[];
|
|
10835
10816
|
/**
|
|
10836
|
-
* Creates a
|
|
10817
|
+
* Creates a _OwnerSetConfig_ instruction.
|
|
10837
10818
|
*
|
|
10838
10819
|
* @param accounts that will be accessed while the instruction is processed
|
|
10839
10820
|
* @param args to provide as instruction data to the program
|
|
10840
10821
|
*
|
|
10841
10822
|
* @category Instructions
|
|
10842
|
-
* @category
|
|
10823
|
+
* @category OwnerSetConfig
|
|
10843
10824
|
* @category generated
|
|
10844
10825
|
*/
|
|
10845
|
-
declare function
|
|
10826
|
+
declare function createOwnerSetConfigInstruction(accounts: OwnerSetConfigInstructionAccounts, args: OwnerSetConfigInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10846
10827
|
/**
|
|
10847
|
-
* Creates a
|
|
10828
|
+
* Creates a _OwnerSetConfig_ instructionAccounts.
|
|
10848
10829
|
*
|
|
10849
10830
|
* @param accounts that will be accessed while the instruction is processed
|
|
10850
10831
|
* @category Instructions
|
|
10851
|
-
* @category
|
|
10832
|
+
* @category OwnerSetConfig
|
|
10852
10833
|
* @category generated
|
|
10853
10834
|
*/
|
|
10854
|
-
declare function
|
|
10835
|
+
declare function createOwnerSetConfigInstructionAccounts(accounts: OwnerSetConfigInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
10855
10836
|
|
|
10856
10837
|
/**
|
|
10857
10838
|
* This code was GENERATED using the solita package.
|
|
@@ -10860,73 +10841,15 @@ declare function createSetPausedInstructionAccounts(accounts: SetPausedInstructi
|
|
|
10860
10841
|
* See: https://github.com/metaplex-foundation/solita
|
|
10861
10842
|
*/
|
|
10862
10843
|
|
|
10863
|
-
type
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
* @category
|
|
10869
|
-
*/
|
|
10870
|
-
declare const setPriceFeedParamsBeet$1: beet.BeetArgsStruct<SetPriceFeedParams$1>;
|
|
10871
|
-
|
|
10872
|
-
/**
|
|
10873
|
-
* This code was GENERATED using the solita package.
|
|
10874
|
-
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
10875
|
-
*
|
|
10876
|
-
* See: https://github.com/metaplex-foundation/solita
|
|
10877
|
-
*/
|
|
10878
|
-
|
|
10879
|
-
/**
|
|
10880
|
-
* @category Instructions
|
|
10881
|
-
* @category SetPriceFeed
|
|
10882
|
-
* @category generated
|
|
10883
|
-
*/
|
|
10884
|
-
type SetPriceFeedInstructionArgs$1 = {
|
|
10885
|
-
params: SetPriceFeedParams$1;
|
|
10886
|
-
};
|
|
10887
|
-
/**
|
|
10888
|
-
* @category Instructions
|
|
10889
|
-
* @category SetPriceFeed
|
|
10890
|
-
* @category generated
|
|
10891
|
-
*/
|
|
10892
|
-
declare const setPriceFeedStruct$1: beet.BeetArgsStruct<SetPriceFeedInstructionArgs$1 & {
|
|
10893
|
-
instructionDiscriminator: number[];
|
|
10894
|
-
}>;
|
|
10895
|
-
/**
|
|
10896
|
-
* Accounts required by the _setPriceFeed_ instruction
|
|
10897
|
-
*
|
|
10898
|
-
* @property [**signer**] admin
|
|
10899
|
-
* @property [_writable_] config
|
|
10900
|
-
* @category Instructions
|
|
10901
|
-
* @category SetPriceFeed
|
|
10902
|
-
* @category generated
|
|
10903
|
-
*/
|
|
10904
|
-
type SetPriceFeedInstructionAccounts$1 = {
|
|
10905
|
-
admin: web3.PublicKey;
|
|
10906
|
-
config: web3.PublicKey;
|
|
10907
|
-
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10908
|
-
};
|
|
10909
|
-
declare const setPriceFeedInstructionDiscriminator$1: number[];
|
|
10910
|
-
/**
|
|
10911
|
-
* Creates a _SetPriceFeed_ instruction.
|
|
10912
|
-
*
|
|
10913
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
10914
|
-
* @param args to provide as instruction data to the program
|
|
10915
|
-
*
|
|
10916
|
-
* @category Instructions
|
|
10917
|
-
* @category SetPriceFeed
|
|
10918
|
-
* @category generated
|
|
10919
|
-
*/
|
|
10920
|
-
declare function createSetPriceFeedInstruction$1(accounts: SetPriceFeedInstructionAccounts$1, args: SetPriceFeedInstructionArgs$1, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10921
|
-
/**
|
|
10922
|
-
* Creates a _SetPriceFeed_ instructionAccounts.
|
|
10923
|
-
*
|
|
10924
|
-
* @param accounts that will be accessed while the instruction is processed
|
|
10925
|
-
* @category Instructions
|
|
10926
|
-
* @category SetPriceFeed
|
|
10844
|
+
type LzOption$1 = {
|
|
10845
|
+
optionType: number;
|
|
10846
|
+
params: Uint8Array;
|
|
10847
|
+
};
|
|
10848
|
+
/**
|
|
10849
|
+
* @category userTypes
|
|
10927
10850
|
* @category generated
|
|
10928
10851
|
*/
|
|
10929
|
-
declare
|
|
10852
|
+
declare const lzOptionBeet$1: beet.FixableBeetArgsStruct<LzOption$1>;
|
|
10930
10853
|
|
|
10931
10854
|
/**
|
|
10932
10855
|
* This code was GENERATED using the solita package.
|
|
@@ -10935,14 +10858,18 @@ declare function createSetPriceFeedInstructionAccounts$1(accounts: SetPriceFeedI
|
|
|
10935
10858
|
* See: https://github.com/metaplex-foundation/solita
|
|
10936
10859
|
*/
|
|
10937
10860
|
|
|
10938
|
-
type
|
|
10939
|
-
|
|
10861
|
+
type QuoteExecutorParams = {
|
|
10862
|
+
msglib: web3.PublicKey;
|
|
10863
|
+
dstEid: number;
|
|
10864
|
+
sender: web3.PublicKey;
|
|
10865
|
+
calldataSize: beet.bignum;
|
|
10866
|
+
options: LzOption$1[];
|
|
10940
10867
|
};
|
|
10941
10868
|
/**
|
|
10942
10869
|
* @category userTypes
|
|
10943
10870
|
* @category generated
|
|
10944
10871
|
*/
|
|
10945
|
-
declare const
|
|
10872
|
+
declare const quoteExecutorParamsBeet: beet.FixableBeetArgsStruct<QuoteExecutorParams>;
|
|
10946
10873
|
|
|
10947
10874
|
/**
|
|
10948
10875
|
* This code was GENERATED using the solita package.
|
|
@@ -10953,215 +10880,171 @@ declare const setSupportedOptionTypesParamsBeet: beet.BeetArgsStruct<SetSupporte
|
|
|
10953
10880
|
|
|
10954
10881
|
/**
|
|
10955
10882
|
* @category Instructions
|
|
10956
|
-
* @category
|
|
10883
|
+
* @category QuoteExecutor
|
|
10957
10884
|
* @category generated
|
|
10958
10885
|
*/
|
|
10959
|
-
type
|
|
10960
|
-
params:
|
|
10886
|
+
type QuoteExecutorInstructionArgs = {
|
|
10887
|
+
params: QuoteExecutorParams;
|
|
10961
10888
|
};
|
|
10962
10889
|
/**
|
|
10963
10890
|
* @category Instructions
|
|
10964
|
-
* @category
|
|
10891
|
+
* @category QuoteExecutor
|
|
10965
10892
|
* @category generated
|
|
10966
10893
|
*/
|
|
10967
|
-
declare const
|
|
10894
|
+
declare const quoteExecutorStruct: beet.FixableBeetArgsStruct<QuoteExecutorInstructionArgs & {
|
|
10968
10895
|
instructionDiscriminator: number[];
|
|
10969
10896
|
}>;
|
|
10970
10897
|
/**
|
|
10971
|
-
* Accounts required by the
|
|
10898
|
+
* Accounts required by the _quoteExecutor_ instruction
|
|
10972
10899
|
*
|
|
10973
|
-
* @property [
|
|
10974
|
-
* @property [
|
|
10900
|
+
* @property [] executorConfig
|
|
10901
|
+
* @property [] priceFeedProgram
|
|
10902
|
+
* @property [] priceFeedConfig
|
|
10975
10903
|
* @category Instructions
|
|
10976
|
-
* @category
|
|
10904
|
+
* @category QuoteExecutor
|
|
10977
10905
|
* @category generated
|
|
10978
10906
|
*/
|
|
10979
|
-
type
|
|
10980
|
-
|
|
10981
|
-
|
|
10907
|
+
type QuoteExecutorInstructionAccounts = {
|
|
10908
|
+
executorConfig: web3.PublicKey;
|
|
10909
|
+
priceFeedProgram: web3.PublicKey;
|
|
10910
|
+
priceFeedConfig: web3.PublicKey;
|
|
10982
10911
|
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
10983
10912
|
};
|
|
10984
|
-
declare const
|
|
10913
|
+
declare const quoteExecutorInstructionDiscriminator: number[];
|
|
10985
10914
|
/**
|
|
10986
|
-
* Creates a
|
|
10915
|
+
* Creates a _QuoteExecutor_ instruction.
|
|
10987
10916
|
*
|
|
10988
10917
|
* @param accounts that will be accessed while the instruction is processed
|
|
10989
10918
|
* @param args to provide as instruction data to the program
|
|
10990
10919
|
*
|
|
10991
10920
|
* @category Instructions
|
|
10992
|
-
* @category
|
|
10921
|
+
* @category QuoteExecutor
|
|
10993
10922
|
* @category generated
|
|
10994
10923
|
*/
|
|
10995
|
-
declare function
|
|
10924
|
+
declare function createQuoteExecutorInstruction(accounts: QuoteExecutorInstructionAccounts, args: QuoteExecutorInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
10996
10925
|
/**
|
|
10997
|
-
* Creates a
|
|
10926
|
+
* Creates a _QuoteExecutor_ instructionAccounts.
|
|
10998
10927
|
*
|
|
10999
10928
|
* @param accounts that will be accessed while the instruction is processed
|
|
11000
10929
|
* @category Instructions
|
|
11001
|
-
* @category
|
|
10930
|
+
* @category QuoteExecutor
|
|
11002
10931
|
* @category generated
|
|
11003
10932
|
*/
|
|
11004
|
-
declare function
|
|
10933
|
+
declare function createQuoteExecutorInstructionAccounts(accounts: QuoteExecutorInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
11005
10934
|
|
|
10935
|
+
type index$a_AdminSetConfigInstructionAccounts = AdminSetConfigInstructionAccounts;
|
|
10936
|
+
type index$a_AdminSetConfigInstructionArgs = AdminSetConfigInstructionArgs;
|
|
10937
|
+
type index$a_ComposeInstructionAccounts = ComposeInstructionAccounts;
|
|
10938
|
+
type index$a_ComposeInstructionArgs = ComposeInstructionArgs;
|
|
10939
|
+
type index$a_ExecutableInstructionAccounts = ExecutableInstructionAccounts;
|
|
10940
|
+
type index$a_ExecutableInstructionArgs = ExecutableInstructionArgs;
|
|
10941
|
+
type index$a_ExecuteInstructionAccounts = ExecuteInstructionAccounts;
|
|
10942
|
+
type index$a_ExecuteInstructionArgs = ExecuteInstructionArgs;
|
|
11006
10943
|
type index$a_InitExecutorInstructionAccounts = InitExecutorInstructionAccounts;
|
|
11007
10944
|
type index$a_InitExecutorInstructionArgs = InitExecutorInstructionArgs;
|
|
11008
10945
|
type index$a_NativeDropInstructionAccounts = NativeDropInstructionAccounts;
|
|
11009
10946
|
type index$a_NativeDropInstructionArgs = NativeDropInstructionArgs;
|
|
10947
|
+
type index$a_OwnerSetConfigInstructionAccounts = OwnerSetConfigInstructionAccounts;
|
|
10948
|
+
type index$a_OwnerSetConfigInstructionArgs = OwnerSetConfigInstructionArgs;
|
|
11010
10949
|
type index$a_QuoteExecutorInstructionAccounts = QuoteExecutorInstructionAccounts;
|
|
11011
10950
|
type index$a_QuoteExecutorInstructionArgs = QuoteExecutorInstructionArgs;
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
|
|
11024
|
-
type index$a_SetOwnerInstructionAccounts = SetOwnerInstructionAccounts;
|
|
11025
|
-
type index$a_SetOwnerInstructionArgs = SetOwnerInstructionArgs;
|
|
11026
|
-
type index$a_SetPausedInstructionAccounts = SetPausedInstructionAccounts;
|
|
11027
|
-
type index$a_SetPausedInstructionArgs = SetPausedInstructionArgs;
|
|
11028
|
-
type index$a_SetSupportedOptionTypesInstructionAccounts = SetSupportedOptionTypesInstructionAccounts;
|
|
11029
|
-
type index$a_SetSupportedOptionTypesInstructionArgs = SetSupportedOptionTypesInstructionArgs;
|
|
10951
|
+
declare const index$a_adminSetConfigInstructionDiscriminator: typeof adminSetConfigInstructionDiscriminator;
|
|
10952
|
+
declare const index$a_adminSetConfigStruct: typeof adminSetConfigStruct;
|
|
10953
|
+
declare const index$a_composeInstructionDiscriminator: typeof composeInstructionDiscriminator;
|
|
10954
|
+
declare const index$a_composeStruct: typeof composeStruct;
|
|
10955
|
+
declare const index$a_createAdminSetConfigInstruction: typeof createAdminSetConfigInstruction;
|
|
10956
|
+
declare const index$a_createAdminSetConfigInstructionAccounts: typeof createAdminSetConfigInstructionAccounts;
|
|
10957
|
+
declare const index$a_createComposeInstruction: typeof createComposeInstruction;
|
|
10958
|
+
declare const index$a_createComposeInstructionAccounts: typeof createComposeInstructionAccounts;
|
|
10959
|
+
declare const index$a_createExecutableInstruction: typeof createExecutableInstruction;
|
|
10960
|
+
declare const index$a_createExecutableInstructionAccounts: typeof createExecutableInstructionAccounts;
|
|
10961
|
+
declare const index$a_createExecuteInstruction: typeof createExecuteInstruction;
|
|
10962
|
+
declare const index$a_createExecuteInstructionAccounts: typeof createExecuteInstructionAccounts;
|
|
11030
10963
|
declare const index$a_createInitExecutorInstruction: typeof createInitExecutorInstruction;
|
|
11031
10964
|
declare const index$a_createInitExecutorInstructionAccounts: typeof createInitExecutorInstructionAccounts;
|
|
11032
10965
|
declare const index$a_createNativeDropInstruction: typeof createNativeDropInstruction;
|
|
11033
10966
|
declare const index$a_createNativeDropInstructionAccounts: typeof createNativeDropInstructionAccounts;
|
|
10967
|
+
declare const index$a_createOwnerSetConfigInstruction: typeof createOwnerSetConfigInstruction;
|
|
10968
|
+
declare const index$a_createOwnerSetConfigInstructionAccounts: typeof createOwnerSetConfigInstructionAccounts;
|
|
11034
10969
|
declare const index$a_createQuoteExecutorInstruction: typeof createQuoteExecutorInstruction;
|
|
11035
10970
|
declare const index$a_createQuoteExecutorInstructionAccounts: typeof createQuoteExecutorInstructionAccounts;
|
|
11036
|
-
declare const index$
|
|
11037
|
-
declare const index$
|
|
11038
|
-
declare const index$
|
|
11039
|
-
declare const index$
|
|
11040
|
-
declare const index$a_createSetDefaultMultiplierBpsInstruction: typeof createSetDefaultMultiplierBpsInstruction;
|
|
11041
|
-
declare const index$a_createSetDefaultMultiplierBpsInstructionAccounts: typeof createSetDefaultMultiplierBpsInstructionAccounts;
|
|
11042
|
-
declare const index$a_createSetDenylistInstruction: typeof createSetDenylistInstruction;
|
|
11043
|
-
declare const index$a_createSetDenylistInstructionAccounts: typeof createSetDenylistInstructionAccounts;
|
|
11044
|
-
declare const index$a_createSetDstConfigInstruction: typeof createSetDstConfigInstruction;
|
|
11045
|
-
declare const index$a_createSetDstConfigInstructionAccounts: typeof createSetDstConfigInstructionAccounts;
|
|
11046
|
-
declare const index$a_createSetMsglibsInstruction: typeof createSetMsglibsInstruction;
|
|
11047
|
-
declare const index$a_createSetMsglibsInstructionAccounts: typeof createSetMsglibsInstructionAccounts;
|
|
11048
|
-
declare const index$a_createSetOwnerInstruction: typeof createSetOwnerInstruction;
|
|
11049
|
-
declare const index$a_createSetOwnerInstructionAccounts: typeof createSetOwnerInstructionAccounts;
|
|
11050
|
-
declare const index$a_createSetPausedInstruction: typeof createSetPausedInstruction;
|
|
11051
|
-
declare const index$a_createSetPausedInstructionAccounts: typeof createSetPausedInstructionAccounts;
|
|
11052
|
-
declare const index$a_createSetSupportedOptionTypesInstruction: typeof createSetSupportedOptionTypesInstruction;
|
|
11053
|
-
declare const index$a_createSetSupportedOptionTypesInstructionAccounts: typeof createSetSupportedOptionTypesInstructionAccounts;
|
|
10971
|
+
declare const index$a_executableInstructionDiscriminator: typeof executableInstructionDiscriminator;
|
|
10972
|
+
declare const index$a_executableStruct: typeof executableStruct;
|
|
10973
|
+
declare const index$a_executeInstructionDiscriminator: typeof executeInstructionDiscriminator;
|
|
10974
|
+
declare const index$a_executeStruct: typeof executeStruct;
|
|
11054
10975
|
declare const index$a_initExecutorInstructionDiscriminator: typeof initExecutorInstructionDiscriminator;
|
|
11055
10976
|
declare const index$a_initExecutorStruct: typeof initExecutorStruct;
|
|
11056
10977
|
declare const index$a_nativeDropInstructionDiscriminator: typeof nativeDropInstructionDiscriminator;
|
|
11057
10978
|
declare const index$a_nativeDropStruct: typeof nativeDropStruct;
|
|
10979
|
+
declare const index$a_ownerSetConfigInstructionDiscriminator: typeof ownerSetConfigInstructionDiscriminator;
|
|
10980
|
+
declare const index$a_ownerSetConfigStruct: typeof ownerSetConfigStruct;
|
|
11058
10981
|
declare const index$a_quoteExecutorInstructionDiscriminator: typeof quoteExecutorInstructionDiscriminator;
|
|
11059
10982
|
declare const index$a_quoteExecutorStruct: typeof quoteExecutorStruct;
|
|
11060
|
-
declare const index$a_setAdminInstructionDiscriminator: typeof setAdminInstructionDiscriminator;
|
|
11061
|
-
declare const index$a_setAdminStruct: typeof setAdminStruct;
|
|
11062
|
-
declare const index$a_setAllowlistInstructionDiscriminator: typeof setAllowlistInstructionDiscriminator;
|
|
11063
|
-
declare const index$a_setAllowlistStruct: typeof setAllowlistStruct;
|
|
11064
|
-
declare const index$a_setDefaultMultiplierBpsInstructionDiscriminator: typeof setDefaultMultiplierBpsInstructionDiscriminator;
|
|
11065
|
-
declare const index$a_setDefaultMultiplierBpsStruct: typeof setDefaultMultiplierBpsStruct;
|
|
11066
|
-
declare const index$a_setDenylistInstructionDiscriminator: typeof setDenylistInstructionDiscriminator;
|
|
11067
|
-
declare const index$a_setDenylistStruct: typeof setDenylistStruct;
|
|
11068
|
-
declare const index$a_setDstConfigInstructionDiscriminator: typeof setDstConfigInstructionDiscriminator;
|
|
11069
|
-
declare const index$a_setDstConfigStruct: typeof setDstConfigStruct;
|
|
11070
|
-
declare const index$a_setMsglibsInstructionDiscriminator: typeof setMsglibsInstructionDiscriminator;
|
|
11071
|
-
declare const index$a_setMsglibsStruct: typeof setMsglibsStruct;
|
|
11072
|
-
declare const index$a_setOwnerInstructionDiscriminator: typeof setOwnerInstructionDiscriminator;
|
|
11073
|
-
declare const index$a_setOwnerStruct: typeof setOwnerStruct;
|
|
11074
|
-
declare const index$a_setPausedInstructionDiscriminator: typeof setPausedInstructionDiscriminator;
|
|
11075
|
-
declare const index$a_setPausedStruct: typeof setPausedStruct;
|
|
11076
|
-
declare const index$a_setSupportedOptionTypesInstructionDiscriminator: typeof setSupportedOptionTypesInstructionDiscriminator;
|
|
11077
|
-
declare const index$a_setSupportedOptionTypesStruct: typeof setSupportedOptionTypesStruct;
|
|
11078
10983
|
declare namespace index$a {
|
|
11079
|
-
export { type index$
|
|
11080
|
-
}
|
|
11081
|
-
|
|
11082
|
-
type index$9_InitExecutorParams = InitExecutorParams;
|
|
11083
|
-
type index$9_NativeDropParams = NativeDropParams;
|
|
11084
|
-
type index$9_NativeDropRequest = NativeDropRequest;
|
|
11085
|
-
type index$9_QuoteExecutorParams = QuoteExecutorParams;
|
|
11086
|
-
type index$9_SetAdminParams = SetAdminParams;
|
|
11087
|
-
type index$9_SetAllowlistParams = SetAllowlistParams;
|
|
11088
|
-
type index$9_SetDefaultMultiplierBpsParams = SetDefaultMultiplierBpsParams;
|
|
11089
|
-
type index$9_SetDenylistParams = SetDenylistParams;
|
|
11090
|
-
type index$9_SetDstConfigParams = SetDstConfigParams;
|
|
11091
|
-
type index$9_SetMsglibsParams = SetMsglibsParams;
|
|
11092
|
-
type index$9_SetOwnerParams = SetOwnerParams;
|
|
11093
|
-
type index$9_SetPausedParams = SetPausedParams;
|
|
11094
|
-
type index$9_SetSupportedOptionTypesParams = SetSupportedOptionTypesParams;
|
|
11095
|
-
declare const index$9_initExecutorParamsBeet: typeof initExecutorParamsBeet;
|
|
11096
|
-
declare const index$9_nativeDropParamsBeet: typeof nativeDropParamsBeet;
|
|
11097
|
-
declare const index$9_nativeDropRequestBeet: typeof nativeDropRequestBeet;
|
|
11098
|
-
declare const index$9_quoteExecutorParamsBeet: typeof quoteExecutorParamsBeet;
|
|
11099
|
-
declare const index$9_setAdminParamsBeet: typeof setAdminParamsBeet;
|
|
11100
|
-
declare const index$9_setAllowlistParamsBeet: typeof setAllowlistParamsBeet;
|
|
11101
|
-
declare const index$9_setDefaultMultiplierBpsParamsBeet: typeof setDefaultMultiplierBpsParamsBeet;
|
|
11102
|
-
declare const index$9_setDenylistParamsBeet: typeof setDenylistParamsBeet;
|
|
11103
|
-
declare const index$9_setDstConfigParamsBeet: typeof setDstConfigParamsBeet;
|
|
11104
|
-
declare const index$9_setMsglibsParamsBeet: typeof setMsglibsParamsBeet;
|
|
11105
|
-
declare const index$9_setOwnerParamsBeet: typeof setOwnerParamsBeet;
|
|
11106
|
-
declare const index$9_setPausedParamsBeet: typeof setPausedParamsBeet;
|
|
11107
|
-
declare const index$9_setSupportedOptionTypesParamsBeet: typeof setSupportedOptionTypesParamsBeet;
|
|
11108
|
-
declare namespace index$9 {
|
|
11109
|
-
export { type Acl$1 as Acl, type DstConfig$1 as DstConfig, type index$9_InitExecutorParams as InitExecutorParams, type LzOption$1 as LzOption, type index$9_NativeDropParams as NativeDropParams, type index$9_NativeDropRequest as NativeDropRequest, type index$9_QuoteExecutorParams as QuoteExecutorParams, type index$9_SetAdminParams as SetAdminParams, type index$9_SetAllowlistParams as SetAllowlistParams, type index$9_SetDefaultMultiplierBpsParams as SetDefaultMultiplierBpsParams, type index$9_SetDenylistParams as SetDenylistParams, type index$9_SetDstConfigParams as SetDstConfigParams, type index$9_SetMsglibsParams as SetMsglibsParams, type index$9_SetOwnerParams as SetOwnerParams, type index$9_SetPausedParams as SetPausedParams, type SetPriceFeedParams$1 as SetPriceFeedParams, type index$9_SetSupportedOptionTypesParams as SetSupportedOptionTypesParams, aclBeet$1 as aclBeet, dstConfigBeet$1 as dstConfigBeet, index$9_initExecutorParamsBeet as initExecutorParamsBeet, lzOptionBeet$1 as lzOptionBeet, index$9_nativeDropParamsBeet as nativeDropParamsBeet, index$9_nativeDropRequestBeet as nativeDropRequestBeet, index$9_quoteExecutorParamsBeet as quoteExecutorParamsBeet, index$9_setAdminParamsBeet as setAdminParamsBeet, index$9_setAllowlistParamsBeet as setAllowlistParamsBeet, index$9_setDefaultMultiplierBpsParamsBeet as setDefaultMultiplierBpsParamsBeet, index$9_setDenylistParamsBeet as setDenylistParamsBeet, index$9_setDstConfigParamsBeet as setDstConfigParamsBeet, index$9_setMsglibsParamsBeet as setMsglibsParamsBeet, index$9_setOwnerParamsBeet as setOwnerParamsBeet, index$9_setPausedParamsBeet as setPausedParamsBeet, setPriceFeedParamsBeet$1 as setPriceFeedParamsBeet, index$9_setSupportedOptionTypesParamsBeet as setSupportedOptionTypesParamsBeet };
|
|
10984
|
+
export { type index$a_AdminSetConfigInstructionAccounts as AdminSetConfigInstructionAccounts, type index$a_AdminSetConfigInstructionArgs as AdminSetConfigInstructionArgs, type index$a_ComposeInstructionAccounts as ComposeInstructionAccounts, type index$a_ComposeInstructionArgs as ComposeInstructionArgs, type index$a_ExecutableInstructionAccounts as ExecutableInstructionAccounts, type index$a_ExecutableInstructionArgs as ExecutableInstructionArgs, type index$a_ExecuteInstructionAccounts as ExecuteInstructionAccounts, type index$a_ExecuteInstructionArgs as ExecuteInstructionArgs, type index$a_InitExecutorInstructionAccounts as InitExecutorInstructionAccounts, type index$a_InitExecutorInstructionArgs as InitExecutorInstructionArgs, type index$a_NativeDropInstructionAccounts as NativeDropInstructionAccounts, type index$a_NativeDropInstructionArgs as NativeDropInstructionArgs, type index$a_OwnerSetConfigInstructionAccounts as OwnerSetConfigInstructionAccounts, type index$a_OwnerSetConfigInstructionArgs as OwnerSetConfigInstructionArgs, type index$a_QuoteExecutorInstructionAccounts as QuoteExecutorInstructionAccounts, type index$a_QuoteExecutorInstructionArgs as QuoteExecutorInstructionArgs, index$a_adminSetConfigInstructionDiscriminator as adminSetConfigInstructionDiscriminator, index$a_adminSetConfigStruct as adminSetConfigStruct, index$a_composeInstructionDiscriminator as composeInstructionDiscriminator, index$a_composeStruct as composeStruct, index$a_createAdminSetConfigInstruction as createAdminSetConfigInstruction, index$a_createAdminSetConfigInstructionAccounts as createAdminSetConfigInstructionAccounts, index$a_createComposeInstruction as createComposeInstruction, index$a_createComposeInstructionAccounts as createComposeInstructionAccounts, index$a_createExecutableInstruction as createExecutableInstruction, index$a_createExecutableInstructionAccounts as createExecutableInstructionAccounts, index$a_createExecuteInstruction as createExecuteInstruction, index$a_createExecuteInstructionAccounts as createExecuteInstructionAccounts, index$a_createInitExecutorInstruction as createInitExecutorInstruction, index$a_createInitExecutorInstructionAccounts as createInitExecutorInstructionAccounts, index$a_createNativeDropInstruction as createNativeDropInstruction, index$a_createNativeDropInstructionAccounts as createNativeDropInstructionAccounts, index$a_createOwnerSetConfigInstruction as createOwnerSetConfigInstruction, index$a_createOwnerSetConfigInstructionAccounts as createOwnerSetConfigInstructionAccounts, index$a_createQuoteExecutorInstruction as createQuoteExecutorInstruction, index$a_createQuoteExecutorInstructionAccounts as createQuoteExecutorInstructionAccounts, index$a_executableInstructionDiscriminator as executableInstructionDiscriminator, index$a_executableStruct as executableStruct, index$a_executeInstructionDiscriminator as executeInstructionDiscriminator, index$a_executeStruct as executeStruct, index$a_initExecutorInstructionDiscriminator as initExecutorInstructionDiscriminator, index$a_initExecutorStruct as initExecutorStruct, index$a_nativeDropInstructionDiscriminator as nativeDropInstructionDiscriminator, index$a_nativeDropStruct as nativeDropStruct, index$a_ownerSetConfigInstructionDiscriminator as ownerSetConfigInstructionDiscriminator, index$a_ownerSetConfigStruct as ownerSetConfigStruct, index$a_quoteExecutorInstructionDiscriminator as quoteExecutorInstructionDiscriminator, index$a_quoteExecutorStruct as quoteExecutorStruct };
|
|
11110
10985
|
}
|
|
11111
10986
|
|
|
11112
|
-
declare const AddressType: beet.ElementCollectionBeet & beet.BeetBase & beet.BeetReadWrite<number[], number[]>;
|
|
11113
|
-
declare const MSG_TYPE_OFFSET = 0;
|
|
11114
|
-
declare enum MessageType {
|
|
11115
|
-
VANILLA = 1,
|
|
11116
|
-
COMPOSED_TYPE = 2
|
|
11117
|
-
}
|
|
11118
|
-
interface LzReceiveParams {
|
|
11119
|
-
srcEid: number;
|
|
11120
|
-
sender: number[];
|
|
11121
|
-
nonce: bignum$1;
|
|
11122
|
-
guid: number[];
|
|
11123
|
-
message: Uint8Array;
|
|
11124
|
-
callerParams: Uint8Array;
|
|
11125
|
-
}
|
|
11126
|
-
declare const LzReceiveParamsBeet: FixableBeetArgsStruct<LzReceiveParams>;
|
|
11127
10987
|
/**
|
|
10988
|
+
* This code was GENERATED using the solita package.
|
|
10989
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
11128
10990
|
*
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11132
|
-
pub message: Vec<u8>,
|
|
11133
|
-
pub caller_params: Vec<u8>,
|
|
11134
|
-
**/
|
|
11135
|
-
interface LzComposeParams {
|
|
11136
|
-
from: PublicKey;
|
|
11137
|
-
guid: number[];
|
|
11138
|
-
index: number;
|
|
11139
|
-
message: Uint8Array;
|
|
11140
|
-
callerParams: Uint8Array;
|
|
11141
|
-
}
|
|
10991
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
10992
|
+
*/
|
|
10993
|
+
|
|
11142
10994
|
/**
|
|
11143
|
-
* @category
|
|
10995
|
+
* @category enums
|
|
11144
10996
|
* @category generated
|
|
11145
10997
|
*/
|
|
11146
|
-
declare
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
10998
|
+
declare enum ExecutionState {
|
|
10999
|
+
NotExecutable = 0,
|
|
11000
|
+
VerifiedButNotExecutable = 1,
|
|
11001
|
+
Executable = 2,
|
|
11002
|
+
Executed = 3
|
|
11151
11003
|
}
|
|
11152
11004
|
/**
|
|
11153
11005
|
* @category userTypes
|
|
11154
11006
|
* @category generated
|
|
11155
11007
|
*/
|
|
11156
|
-
declare const
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
|
|
11008
|
+
declare const executionStateBeet: beet.FixedSizeBeet<ExecutionState, ExecutionState>;
|
|
11009
|
+
|
|
11010
|
+
type index$9_AdminSetConfigParams = AdminSetConfigParams;
|
|
11011
|
+
type index$9_AdminSetConfigParamsRecord = AdminSetConfigParamsRecord;
|
|
11012
|
+
type index$9_ComposeParams = ComposeParams;
|
|
11013
|
+
type index$9_ExecutableParams = ExecutableParams;
|
|
11014
|
+
type index$9_ExecuteParams = ExecuteParams;
|
|
11015
|
+
type index$9_ExecutionState = ExecutionState;
|
|
11016
|
+
declare const index$9_ExecutionState: typeof ExecutionState;
|
|
11017
|
+
type index$9_InitExecutorParams = InitExecutorParams;
|
|
11018
|
+
type index$9_NativeDropParams = NativeDropParams;
|
|
11019
|
+
type index$9_NativeDropRequest = NativeDropRequest;
|
|
11020
|
+
type index$9_OwnerSetConfigParams = OwnerSetConfigParams;
|
|
11021
|
+
type index$9_OwnerSetConfigParamsRecord = OwnerSetConfigParamsRecord;
|
|
11022
|
+
type index$9_QuoteExecutorParams = QuoteExecutorParams;
|
|
11023
|
+
declare const index$9_adminSetConfigParamsBeet: typeof adminSetConfigParamsBeet;
|
|
11024
|
+
declare const index$9_composeParamsBeet: typeof composeParamsBeet;
|
|
11025
|
+
declare const index$9_executableParamsBeet: typeof executableParamsBeet;
|
|
11026
|
+
declare const index$9_executeParamsBeet: typeof executeParamsBeet;
|
|
11027
|
+
declare const index$9_executionStateBeet: typeof executionStateBeet;
|
|
11028
|
+
declare const index$9_initExecutorParamsBeet: typeof initExecutorParamsBeet;
|
|
11029
|
+
declare const index$9_isAdminSetConfigParamsDefaultMultiplierBps: typeof isAdminSetConfigParamsDefaultMultiplierBps;
|
|
11030
|
+
declare const index$9_isAdminSetConfigParamsDstConfigs: typeof isAdminSetConfigParamsDstConfigs;
|
|
11031
|
+
declare const index$9_isAdminSetConfigParamsPriceFeed: typeof isAdminSetConfigParamsPriceFeed;
|
|
11032
|
+
declare const index$9_isOwnerSetConfigParamsAdmins: typeof isOwnerSetConfigParamsAdmins;
|
|
11033
|
+
declare const index$9_isOwnerSetConfigParamsAllowlist: typeof isOwnerSetConfigParamsAllowlist;
|
|
11034
|
+
declare const index$9_isOwnerSetConfigParamsDenylist: typeof isOwnerSetConfigParamsDenylist;
|
|
11035
|
+
declare const index$9_isOwnerSetConfigParamsExecutors: typeof isOwnerSetConfigParamsExecutors;
|
|
11036
|
+
declare const index$9_isOwnerSetConfigParamsMsglibs: typeof isOwnerSetConfigParamsMsglibs;
|
|
11037
|
+
declare const index$9_isOwnerSetConfigParamsOwner: typeof isOwnerSetConfigParamsOwner;
|
|
11038
|
+
declare const index$9_isOwnerSetConfigParamsPaused: typeof isOwnerSetConfigParamsPaused;
|
|
11039
|
+
declare const index$9_lzComposeParamsBeet: typeof lzComposeParamsBeet;
|
|
11040
|
+
declare const index$9_lzReceiveParamsBeet: typeof lzReceiveParamsBeet;
|
|
11041
|
+
declare const index$9_nativeDropParamsBeet: typeof nativeDropParamsBeet;
|
|
11042
|
+
declare const index$9_nativeDropRequestBeet: typeof nativeDropRequestBeet;
|
|
11043
|
+
declare const index$9_ownerSetConfigParamsBeet: typeof ownerSetConfigParamsBeet;
|
|
11044
|
+
declare const index$9_quoteExecutorParamsBeet: typeof quoteExecutorParamsBeet;
|
|
11045
|
+
declare namespace index$9 {
|
|
11046
|
+
export { type Acl$1 as Acl, type index$9_AdminSetConfigParams as AdminSetConfigParams, type index$9_AdminSetConfigParamsRecord as AdminSetConfigParamsRecord, type index$9_ComposeParams as ComposeParams, type DstConfig$1 as DstConfig, type index$9_ExecutableParams as ExecutableParams, type index$9_ExecuteParams as ExecuteParams, index$9_ExecutionState as ExecutionState, type index$9_InitExecutorParams as InitExecutorParams, type LzComposeParams$1 as LzComposeParams, type LzOption$1 as LzOption, type LzReceiveParams$1 as LzReceiveParams, type index$9_NativeDropParams as NativeDropParams, type index$9_NativeDropRequest as NativeDropRequest, type index$9_OwnerSetConfigParams as OwnerSetConfigParams, type index$9_OwnerSetConfigParamsRecord as OwnerSetConfigParamsRecord, type index$9_QuoteExecutorParams as QuoteExecutorParams, aclBeet$1 as aclBeet, index$9_adminSetConfigParamsBeet as adminSetConfigParamsBeet, index$9_composeParamsBeet as composeParamsBeet, dstConfigBeet$1 as dstConfigBeet, index$9_executableParamsBeet as executableParamsBeet, index$9_executeParamsBeet as executeParamsBeet, index$9_executionStateBeet as executionStateBeet, index$9_initExecutorParamsBeet as initExecutorParamsBeet, index$9_isAdminSetConfigParamsDefaultMultiplierBps as isAdminSetConfigParamsDefaultMultiplierBps, index$9_isAdminSetConfigParamsDstConfigs as isAdminSetConfigParamsDstConfigs, index$9_isAdminSetConfigParamsPriceFeed as isAdminSetConfigParamsPriceFeed, index$9_isOwnerSetConfigParamsAdmins as isOwnerSetConfigParamsAdmins, index$9_isOwnerSetConfigParamsAllowlist as isOwnerSetConfigParamsAllowlist, index$9_isOwnerSetConfigParamsDenylist as isOwnerSetConfigParamsDenylist, index$9_isOwnerSetConfigParamsExecutors as isOwnerSetConfigParamsExecutors, index$9_isOwnerSetConfigParamsMsglibs as isOwnerSetConfigParamsMsglibs, index$9_isOwnerSetConfigParamsOwner as isOwnerSetConfigParamsOwner, index$9_isOwnerSetConfigParamsPaused as isOwnerSetConfigParamsPaused, index$9_lzComposeParamsBeet as lzComposeParamsBeet, lzOptionBeet$1 as lzOptionBeet, index$9_lzReceiveParamsBeet as lzReceiveParamsBeet, index$9_nativeDropParamsBeet as nativeDropParamsBeet, index$9_nativeDropRequestBeet as nativeDropRequestBeet, index$9_ownerSetConfigParamsBeet as ownerSetConfigParamsBeet, index$9_quoteExecutorParamsBeet as quoteExecutorParamsBeet };
|
|
11163
11047
|
}
|
|
11164
|
-
declare const MaxExecutorOptionTypeLength = 10;
|
|
11165
11048
|
|
|
11166
11049
|
/**
|
|
11167
11050
|
* This code was GENERATED using the solita package.
|
|
@@ -11250,6 +11133,17 @@ declare class NotAdminError$1 extends Error {
|
|
|
11250
11133
|
readonly name: string;
|
|
11251
11134
|
constructor();
|
|
11252
11135
|
}
|
|
11136
|
+
/**
|
|
11137
|
+
* NotExecutor: ''
|
|
11138
|
+
*
|
|
11139
|
+
* @category Errors
|
|
11140
|
+
* @category generated
|
|
11141
|
+
*/
|
|
11142
|
+
declare class NotExecutorError extends Error {
|
|
11143
|
+
readonly code: number;
|
|
11144
|
+
readonly name: string;
|
|
11145
|
+
constructor();
|
|
11146
|
+
}
|
|
11253
11147
|
/**
|
|
11254
11148
|
* MsgLibNotAllowed: ''
|
|
11255
11149
|
*
|
|
@@ -11272,6 +11166,28 @@ declare class TooManyAdminsError$1 extends Error {
|
|
|
11272
11166
|
readonly name: string;
|
|
11273
11167
|
constructor();
|
|
11274
11168
|
}
|
|
11169
|
+
/**
|
|
11170
|
+
* TooManyExecutors: ''
|
|
11171
|
+
*
|
|
11172
|
+
* @category Errors
|
|
11173
|
+
* @category generated
|
|
11174
|
+
*/
|
|
11175
|
+
declare class TooManyExecutorsError extends Error {
|
|
11176
|
+
readonly code: number;
|
|
11177
|
+
readonly name: string;
|
|
11178
|
+
constructor();
|
|
11179
|
+
}
|
|
11180
|
+
/**
|
|
11181
|
+
* TooManyOptionTypes: ''
|
|
11182
|
+
*
|
|
11183
|
+
* @category Errors
|
|
11184
|
+
* @category generated
|
|
11185
|
+
*/
|
|
11186
|
+
declare class TooManyOptionTypesError$1 extends Error {
|
|
11187
|
+
readonly code: number;
|
|
11188
|
+
readonly name: string;
|
|
11189
|
+
constructor();
|
|
11190
|
+
}
|
|
11275
11191
|
/**
|
|
11276
11192
|
* InvalidNativeDropRequestsLength: ''
|
|
11277
11193
|
*
|
|
@@ -11294,6 +11210,39 @@ declare class InvalidNativeDropReceiverError extends Error {
|
|
|
11294
11210
|
readonly name: string;
|
|
11295
11211
|
constructor();
|
|
11296
11212
|
}
|
|
11213
|
+
/**
|
|
11214
|
+
* InsufficientBalance: ''
|
|
11215
|
+
*
|
|
11216
|
+
* @category Errors
|
|
11217
|
+
* @category generated
|
|
11218
|
+
*/
|
|
11219
|
+
declare class InsufficientBalanceError extends Error {
|
|
11220
|
+
readonly code: number;
|
|
11221
|
+
readonly name: string;
|
|
11222
|
+
constructor();
|
|
11223
|
+
}
|
|
11224
|
+
/**
|
|
11225
|
+
* InvalidNonceAccount: ''
|
|
11226
|
+
*
|
|
11227
|
+
* @category Errors
|
|
11228
|
+
* @category generated
|
|
11229
|
+
*/
|
|
11230
|
+
declare class InvalidNonceAccountError$1 extends Error {
|
|
11231
|
+
readonly code: number;
|
|
11232
|
+
readonly name: string;
|
|
11233
|
+
constructor();
|
|
11234
|
+
}
|
|
11235
|
+
/**
|
|
11236
|
+
* InvalidPayloadHashAccount: ''
|
|
11237
|
+
*
|
|
11238
|
+
* @category Errors
|
|
11239
|
+
* @category generated
|
|
11240
|
+
*/
|
|
11241
|
+
declare class InvalidPayloadHashAccountError$1 extends Error {
|
|
11242
|
+
readonly code: number;
|
|
11243
|
+
readonly name: string;
|
|
11244
|
+
constructor();
|
|
11245
|
+
}
|
|
11297
11246
|
/**
|
|
11298
11247
|
* Attempts to resolve a custom program error from the provided error code.
|
|
11299
11248
|
* @category Errors
|
|
@@ -11326,7 +11275,7 @@ declare class Executor {
|
|
|
11326
11275
|
program: PublicKey;
|
|
11327
11276
|
deriver: ExecutorPDADeriver;
|
|
11328
11277
|
constructor(program: PublicKey);
|
|
11329
|
-
initExecutor(connection: Connection, payer: PublicKey, owner: PublicKey, admins: PublicKey[], commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction>;
|
|
11278
|
+
initExecutor(connection: Connection, payer: PublicKey, owner: PublicKey, admins: PublicKey[], executors: PublicKey[], msglibs: PublicKey[], priceFeed: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction>;
|
|
11330
11279
|
setOwner(owner: PublicKey, newOwner: PublicKey): TransactionInstruction;
|
|
11331
11280
|
setAdmins(owner: PublicKey, admins: PublicKey[]): TransactionInstruction;
|
|
11332
11281
|
setAllowList(owner: PublicKey, allowlist: PublicKey[]): TransactionInstruction;
|
|
@@ -11335,12 +11284,28 @@ declare class Executor {
|
|
|
11335
11284
|
setMsglibs(owner: PublicKey, msglibPrograms: PublicKey[]): TransactionInstruction;
|
|
11336
11285
|
setDefaultMultiplierBps(admin: PublicKey, defaultMultiplierBps: number): TransactionInstruction;
|
|
11337
11286
|
setDstConfig(admin: PublicKey, dstConfigs: DstConfig$1[]): TransactionInstruction;
|
|
11338
|
-
setSupportedOptionTypes(admin: PublicKey, supportedOptionTypes: ExecutorOptionType[]): TransactionInstruction;
|
|
11339
11287
|
setPriceFeed(admin: PublicKey, priceFeedProgram: PublicKey): TransactionInstruction;
|
|
11340
11288
|
getExecutorConfig(connection: Connection, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<ExecutorConfig | null>;
|
|
11341
11289
|
getQuoteIXAccountMetaForCPI(connection: Connection, payment: boolean, commitment?: Commitment): Promise<AccountMeta[]>;
|
|
11342
|
-
|
|
11343
|
-
|
|
11290
|
+
execute(connection: Connection, executor: PublicKey, endpointProgram: PublicKey, packet: Packet$2, extraData: Uint8Array, value?: BN, computeUnits?: number, commitmentOrConfig?: Commitment): Promise<TransactionInstruction>;
|
|
11291
|
+
compose(connection: Connection, executor: PublicKey, endpointProgram: PublicKey, event: ComposeSentEvent, extraData: Uint8Array, value?: BN, computeUnits?: number, commitmentOrConfig?: Commitment): Promise<TransactionInstruction>;
|
|
11292
|
+
}
|
|
11293
|
+
|
|
11294
|
+
type executor_AdminSetConfigInstructionAccounts = AdminSetConfigInstructionAccounts;
|
|
11295
|
+
type executor_AdminSetConfigInstructionArgs = AdminSetConfigInstructionArgs;
|
|
11296
|
+
type executor_AdminSetConfigParams = AdminSetConfigParams;
|
|
11297
|
+
type executor_AdminSetConfigParamsRecord = AdminSetConfigParamsRecord;
|
|
11298
|
+
type executor_ComposeInstructionAccounts = ComposeInstructionAccounts;
|
|
11299
|
+
type executor_ComposeInstructionArgs = ComposeInstructionArgs;
|
|
11300
|
+
type executor_ComposeParams = ComposeParams;
|
|
11301
|
+
type executor_ExecutableInstructionAccounts = ExecutableInstructionAccounts;
|
|
11302
|
+
type executor_ExecutableInstructionArgs = ExecutableInstructionArgs;
|
|
11303
|
+
type executor_ExecutableParams = ExecutableParams;
|
|
11304
|
+
type executor_ExecuteInstructionAccounts = ExecuteInstructionAccounts;
|
|
11305
|
+
type executor_ExecuteInstructionArgs = ExecuteInstructionArgs;
|
|
11306
|
+
type executor_ExecuteParams = ExecuteParams;
|
|
11307
|
+
type executor_ExecutionState = ExecutionState;
|
|
11308
|
+
declare const executor_ExecutionState: typeof ExecutionState;
|
|
11344
11309
|
type executor_Executor = Executor;
|
|
11345
11310
|
declare const executor_Executor: typeof Executor;
|
|
11346
11311
|
type executor_ExecutorConfig = ExecutorConfig;
|
|
@@ -11349,6 +11314,8 @@ type executor_ExecutorConfigArgs = ExecutorConfigArgs;
|
|
|
11349
11314
|
type executor_InitExecutorInstructionAccounts = InitExecutorInstructionAccounts;
|
|
11350
11315
|
type executor_InitExecutorInstructionArgs = InitExecutorInstructionArgs;
|
|
11351
11316
|
type executor_InitExecutorParams = InitExecutorParams;
|
|
11317
|
+
type executor_InsufficientBalanceError = InsufficientBalanceError;
|
|
11318
|
+
declare const executor_InsufficientBalanceError: typeof InsufficientBalanceError;
|
|
11352
11319
|
type executor_InvalidNativeDropReceiverError = InvalidNativeDropReceiverError;
|
|
11353
11320
|
declare const executor_InvalidNativeDropReceiverError: typeof InvalidNativeDropReceiverError;
|
|
11354
11321
|
type executor_InvalidNativeDropRequestsLengthError = InvalidNativeDropRequestsLengthError;
|
|
@@ -11361,107 +11328,86 @@ type executor_NativeDropInstructionAccounts = NativeDropInstructionAccounts;
|
|
|
11361
11328
|
type executor_NativeDropInstructionArgs = NativeDropInstructionArgs;
|
|
11362
11329
|
type executor_NativeDropParams = NativeDropParams;
|
|
11363
11330
|
type executor_NativeDropRequest = NativeDropRequest;
|
|
11331
|
+
type executor_Nonce = Nonce;
|
|
11332
|
+
declare const executor_Nonce: typeof Nonce;
|
|
11333
|
+
type executor_NonceArgs = NonceArgs;
|
|
11334
|
+
type executor_NotExecutorError = NotExecutorError;
|
|
11335
|
+
declare const executor_NotExecutorError: typeof NotExecutorError;
|
|
11336
|
+
type executor_OwnerSetConfigInstructionAccounts = OwnerSetConfigInstructionAccounts;
|
|
11337
|
+
type executor_OwnerSetConfigInstructionArgs = OwnerSetConfigInstructionArgs;
|
|
11338
|
+
type executor_OwnerSetConfigParams = OwnerSetConfigParams;
|
|
11339
|
+
type executor_OwnerSetConfigParamsRecord = OwnerSetConfigParamsRecord;
|
|
11364
11340
|
type executor_QuoteExecutorInstructionAccounts = QuoteExecutorInstructionAccounts;
|
|
11365
11341
|
type executor_QuoteExecutorInstructionArgs = QuoteExecutorInstructionArgs;
|
|
11366
11342
|
type executor_QuoteExecutorParams = QuoteExecutorParams;
|
|
11367
|
-
type
|
|
11368
|
-
|
|
11369
|
-
type executor_SetAdminParams = SetAdminParams;
|
|
11370
|
-
type executor_SetAllowlistInstructionAccounts = SetAllowlistInstructionAccounts;
|
|
11371
|
-
type executor_SetAllowlistInstructionArgs = SetAllowlistInstructionArgs;
|
|
11372
|
-
type executor_SetAllowlistParams = SetAllowlistParams;
|
|
11373
|
-
type executor_SetDefaultMultiplierBpsInstructionAccounts = SetDefaultMultiplierBpsInstructionAccounts;
|
|
11374
|
-
type executor_SetDefaultMultiplierBpsInstructionArgs = SetDefaultMultiplierBpsInstructionArgs;
|
|
11375
|
-
type executor_SetDefaultMultiplierBpsParams = SetDefaultMultiplierBpsParams;
|
|
11376
|
-
type executor_SetDenylistInstructionAccounts = SetDenylistInstructionAccounts;
|
|
11377
|
-
type executor_SetDenylistInstructionArgs = SetDenylistInstructionArgs;
|
|
11378
|
-
type executor_SetDenylistParams = SetDenylistParams;
|
|
11379
|
-
type executor_SetDstConfigInstructionAccounts = SetDstConfigInstructionAccounts;
|
|
11380
|
-
type executor_SetDstConfigInstructionArgs = SetDstConfigInstructionArgs;
|
|
11381
|
-
type executor_SetDstConfigParams = SetDstConfigParams;
|
|
11382
|
-
type executor_SetMsglibsInstructionAccounts = SetMsglibsInstructionAccounts;
|
|
11383
|
-
type executor_SetMsglibsInstructionArgs = SetMsglibsInstructionArgs;
|
|
11384
|
-
type executor_SetMsglibsParams = SetMsglibsParams;
|
|
11385
|
-
type executor_SetOwnerInstructionAccounts = SetOwnerInstructionAccounts;
|
|
11386
|
-
type executor_SetOwnerInstructionArgs = SetOwnerInstructionArgs;
|
|
11387
|
-
type executor_SetOwnerParams = SetOwnerParams;
|
|
11388
|
-
type executor_SetPausedInstructionAccounts = SetPausedInstructionAccounts;
|
|
11389
|
-
type executor_SetPausedInstructionArgs = SetPausedInstructionArgs;
|
|
11390
|
-
type executor_SetPausedParams = SetPausedParams;
|
|
11391
|
-
type executor_SetSupportedOptionTypesInstructionAccounts = SetSupportedOptionTypesInstructionAccounts;
|
|
11392
|
-
type executor_SetSupportedOptionTypesInstructionArgs = SetSupportedOptionTypesInstructionArgs;
|
|
11393
|
-
type executor_SetSupportedOptionTypesParams = SetSupportedOptionTypesParams;
|
|
11343
|
+
type executor_TooManyExecutorsError = TooManyExecutorsError;
|
|
11344
|
+
declare const executor_TooManyExecutorsError: typeof TooManyExecutorsError;
|
|
11394
11345
|
type executor_UnsupportedOptionTypeError = UnsupportedOptionTypeError;
|
|
11395
11346
|
declare const executor_UnsupportedOptionTypeError: typeof UnsupportedOptionTypeError;
|
|
11396
11347
|
type executor_ZeroLzComposeGasProvidedError = ZeroLzComposeGasProvidedError;
|
|
11397
11348
|
declare const executor_ZeroLzComposeGasProvidedError: typeof ZeroLzComposeGasProvidedError;
|
|
11398
11349
|
type executor_ZeroLzReceiveGasProvidedError = ZeroLzReceiveGasProvidedError;
|
|
11399
11350
|
declare const executor_ZeroLzReceiveGasProvidedError: typeof ZeroLzReceiveGasProvidedError;
|
|
11351
|
+
declare const executor_adminSetConfigInstructionDiscriminator: typeof adminSetConfigInstructionDiscriminator;
|
|
11352
|
+
declare const executor_adminSetConfigParamsBeet: typeof adminSetConfigParamsBeet;
|
|
11353
|
+
declare const executor_adminSetConfigStruct: typeof adminSetConfigStruct;
|
|
11354
|
+
declare const executor_composeInstructionDiscriminator: typeof composeInstructionDiscriminator;
|
|
11355
|
+
declare const executor_composeParamsBeet: typeof composeParamsBeet;
|
|
11356
|
+
declare const executor_composeStruct: typeof composeStruct;
|
|
11357
|
+
declare const executor_createAdminSetConfigInstruction: typeof createAdminSetConfigInstruction;
|
|
11358
|
+
declare const executor_createAdminSetConfigInstructionAccounts: typeof createAdminSetConfigInstructionAccounts;
|
|
11359
|
+
declare const executor_createComposeInstruction: typeof createComposeInstruction;
|
|
11360
|
+
declare const executor_createComposeInstructionAccounts: typeof createComposeInstructionAccounts;
|
|
11361
|
+
declare const executor_createExecutableInstruction: typeof createExecutableInstruction;
|
|
11362
|
+
declare const executor_createExecutableInstructionAccounts: typeof createExecutableInstructionAccounts;
|
|
11363
|
+
declare const executor_createExecuteInstruction: typeof createExecuteInstruction;
|
|
11364
|
+
declare const executor_createExecuteInstructionAccounts: typeof createExecuteInstructionAccounts;
|
|
11400
11365
|
declare const executor_createInitExecutorInstruction: typeof createInitExecutorInstruction;
|
|
11401
11366
|
declare const executor_createInitExecutorInstructionAccounts: typeof createInitExecutorInstructionAccounts;
|
|
11402
11367
|
declare const executor_createNativeDropInstruction: typeof createNativeDropInstruction;
|
|
11403
11368
|
declare const executor_createNativeDropInstructionAccounts: typeof createNativeDropInstructionAccounts;
|
|
11369
|
+
declare const executor_createOwnerSetConfigInstruction: typeof createOwnerSetConfigInstruction;
|
|
11370
|
+
declare const executor_createOwnerSetConfigInstructionAccounts: typeof createOwnerSetConfigInstructionAccounts;
|
|
11404
11371
|
declare const executor_createQuoteExecutorInstruction: typeof createQuoteExecutorInstruction;
|
|
11405
11372
|
declare const executor_createQuoteExecutorInstructionAccounts: typeof createQuoteExecutorInstructionAccounts;
|
|
11406
|
-
declare const
|
|
11407
|
-
declare const
|
|
11408
|
-
declare const
|
|
11409
|
-
declare const
|
|
11410
|
-
declare const
|
|
11411
|
-
declare const
|
|
11412
|
-
declare const
|
|
11413
|
-
declare const executor_createSetDenylistInstructionAccounts: typeof createSetDenylistInstructionAccounts;
|
|
11414
|
-
declare const executor_createSetDstConfigInstruction: typeof createSetDstConfigInstruction;
|
|
11415
|
-
declare const executor_createSetDstConfigInstructionAccounts: typeof createSetDstConfigInstructionAccounts;
|
|
11416
|
-
declare const executor_createSetMsglibsInstruction: typeof createSetMsglibsInstruction;
|
|
11417
|
-
declare const executor_createSetMsglibsInstructionAccounts: typeof createSetMsglibsInstructionAccounts;
|
|
11418
|
-
declare const executor_createSetOwnerInstruction: typeof createSetOwnerInstruction;
|
|
11419
|
-
declare const executor_createSetOwnerInstructionAccounts: typeof createSetOwnerInstructionAccounts;
|
|
11420
|
-
declare const executor_createSetPausedInstruction: typeof createSetPausedInstruction;
|
|
11421
|
-
declare const executor_createSetPausedInstructionAccounts: typeof createSetPausedInstructionAccounts;
|
|
11422
|
-
declare const executor_createSetSupportedOptionTypesInstruction: typeof createSetSupportedOptionTypesInstruction;
|
|
11423
|
-
declare const executor_createSetSupportedOptionTypesInstructionAccounts: typeof createSetSupportedOptionTypesInstructionAccounts;
|
|
11373
|
+
declare const executor_executableInstructionDiscriminator: typeof executableInstructionDiscriminator;
|
|
11374
|
+
declare const executor_executableParamsBeet: typeof executableParamsBeet;
|
|
11375
|
+
declare const executor_executableStruct: typeof executableStruct;
|
|
11376
|
+
declare const executor_executeInstructionDiscriminator: typeof executeInstructionDiscriminator;
|
|
11377
|
+
declare const executor_executeParamsBeet: typeof executeParamsBeet;
|
|
11378
|
+
declare const executor_executeStruct: typeof executeStruct;
|
|
11379
|
+
declare const executor_executionStateBeet: typeof executionStateBeet;
|
|
11424
11380
|
declare const executor_executorConfigBeet: typeof executorConfigBeet;
|
|
11425
11381
|
declare const executor_executorConfigDiscriminator: typeof executorConfigDiscriminator;
|
|
11426
11382
|
declare const executor_initExecutorInstructionDiscriminator: typeof initExecutorInstructionDiscriminator;
|
|
11427
11383
|
declare const executor_initExecutorParamsBeet: typeof initExecutorParamsBeet;
|
|
11428
11384
|
declare const executor_initExecutorStruct: typeof initExecutorStruct;
|
|
11385
|
+
declare const executor_isAdminSetConfigParamsDefaultMultiplierBps: typeof isAdminSetConfigParamsDefaultMultiplierBps;
|
|
11386
|
+
declare const executor_isAdminSetConfigParamsDstConfigs: typeof isAdminSetConfigParamsDstConfigs;
|
|
11387
|
+
declare const executor_isAdminSetConfigParamsPriceFeed: typeof isAdminSetConfigParamsPriceFeed;
|
|
11388
|
+
declare const executor_isOwnerSetConfigParamsAdmins: typeof isOwnerSetConfigParamsAdmins;
|
|
11389
|
+
declare const executor_isOwnerSetConfigParamsAllowlist: typeof isOwnerSetConfigParamsAllowlist;
|
|
11390
|
+
declare const executor_isOwnerSetConfigParamsDenylist: typeof isOwnerSetConfigParamsDenylist;
|
|
11391
|
+
declare const executor_isOwnerSetConfigParamsExecutors: typeof isOwnerSetConfigParamsExecutors;
|
|
11392
|
+
declare const executor_isOwnerSetConfigParamsMsglibs: typeof isOwnerSetConfigParamsMsglibs;
|
|
11393
|
+
declare const executor_isOwnerSetConfigParamsOwner: typeof isOwnerSetConfigParamsOwner;
|
|
11394
|
+
declare const executor_isOwnerSetConfigParamsPaused: typeof isOwnerSetConfigParamsPaused;
|
|
11395
|
+
declare const executor_lzComposeParamsBeet: typeof lzComposeParamsBeet;
|
|
11396
|
+
declare const executor_lzReceiveParamsBeet: typeof lzReceiveParamsBeet;
|
|
11429
11397
|
declare const executor_nativeDropInstructionDiscriminator: typeof nativeDropInstructionDiscriminator;
|
|
11430
11398
|
declare const executor_nativeDropParamsBeet: typeof nativeDropParamsBeet;
|
|
11431
11399
|
declare const executor_nativeDropRequestBeet: typeof nativeDropRequestBeet;
|
|
11432
11400
|
declare const executor_nativeDropStruct: typeof nativeDropStruct;
|
|
11401
|
+
declare const executor_nonceBeet: typeof nonceBeet;
|
|
11402
|
+
declare const executor_nonceDiscriminator: typeof nonceDiscriminator;
|
|
11403
|
+
declare const executor_ownerSetConfigInstructionDiscriminator: typeof ownerSetConfigInstructionDiscriminator;
|
|
11404
|
+
declare const executor_ownerSetConfigParamsBeet: typeof ownerSetConfigParamsBeet;
|
|
11405
|
+
declare const executor_ownerSetConfigStruct: typeof ownerSetConfigStruct;
|
|
11433
11406
|
declare const executor_quoteExecutorInstructionDiscriminator: typeof quoteExecutorInstructionDiscriminator;
|
|
11434
11407
|
declare const executor_quoteExecutorParamsBeet: typeof quoteExecutorParamsBeet;
|
|
11435
11408
|
declare const executor_quoteExecutorStruct: typeof quoteExecutorStruct;
|
|
11436
|
-
declare const executor_setAdminInstructionDiscriminator: typeof setAdminInstructionDiscriminator;
|
|
11437
|
-
declare const executor_setAdminParamsBeet: typeof setAdminParamsBeet;
|
|
11438
|
-
declare const executor_setAdminStruct: typeof setAdminStruct;
|
|
11439
|
-
declare const executor_setAllowlistInstructionDiscriminator: typeof setAllowlistInstructionDiscriminator;
|
|
11440
|
-
declare const executor_setAllowlistParamsBeet: typeof setAllowlistParamsBeet;
|
|
11441
|
-
declare const executor_setAllowlistStruct: typeof setAllowlistStruct;
|
|
11442
|
-
declare const executor_setDefaultMultiplierBpsInstructionDiscriminator: typeof setDefaultMultiplierBpsInstructionDiscriminator;
|
|
11443
|
-
declare const executor_setDefaultMultiplierBpsParamsBeet: typeof setDefaultMultiplierBpsParamsBeet;
|
|
11444
|
-
declare const executor_setDefaultMultiplierBpsStruct: typeof setDefaultMultiplierBpsStruct;
|
|
11445
|
-
declare const executor_setDenylistInstructionDiscriminator: typeof setDenylistInstructionDiscriminator;
|
|
11446
|
-
declare const executor_setDenylistParamsBeet: typeof setDenylistParamsBeet;
|
|
11447
|
-
declare const executor_setDenylistStruct: typeof setDenylistStruct;
|
|
11448
|
-
declare const executor_setDstConfigInstructionDiscriminator: typeof setDstConfigInstructionDiscriminator;
|
|
11449
|
-
declare const executor_setDstConfigParamsBeet: typeof setDstConfigParamsBeet;
|
|
11450
|
-
declare const executor_setDstConfigStruct: typeof setDstConfigStruct;
|
|
11451
|
-
declare const executor_setMsglibsInstructionDiscriminator: typeof setMsglibsInstructionDiscriminator;
|
|
11452
|
-
declare const executor_setMsglibsParamsBeet: typeof setMsglibsParamsBeet;
|
|
11453
|
-
declare const executor_setMsglibsStruct: typeof setMsglibsStruct;
|
|
11454
|
-
declare const executor_setOwnerInstructionDiscriminator: typeof setOwnerInstructionDiscriminator;
|
|
11455
|
-
declare const executor_setOwnerParamsBeet: typeof setOwnerParamsBeet;
|
|
11456
|
-
declare const executor_setOwnerStruct: typeof setOwnerStruct;
|
|
11457
|
-
declare const executor_setPausedInstructionDiscriminator: typeof setPausedInstructionDiscriminator;
|
|
11458
|
-
declare const executor_setPausedParamsBeet: typeof setPausedParamsBeet;
|
|
11459
|
-
declare const executor_setPausedStruct: typeof setPausedStruct;
|
|
11460
|
-
declare const executor_setSupportedOptionTypesInstructionDiscriminator: typeof setSupportedOptionTypesInstructionDiscriminator;
|
|
11461
|
-
declare const executor_setSupportedOptionTypesParamsBeet: typeof setSupportedOptionTypesParamsBeet;
|
|
11462
|
-
declare const executor_setSupportedOptionTypesStruct: typeof setSupportedOptionTypesStruct;
|
|
11463
11409
|
declare namespace executor {
|
|
11464
|
-
export { type Acl$1 as Acl, type
|
|
11410
|
+
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, 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, InvalidNonceAccountError$1 as InvalidNonceAccountError, InvalidPayloadHashAccountError$1 as InvalidPayloadHashAccountError, executor_InvalidSizeError as InvalidSizeError, type LzComposeParams$1 as LzComposeParams, type LzOption$1 as LzOption, type LzReceiveParams$1 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$2 as PROGRAM_ADDRESS, PROGRAM_ID$3 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$2 as accountProviders, index$c 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$1 as errorFromCode, errorFromName$1 as errorFromName, index$b 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$a 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, executor_lzReceiveParamsBeet 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$9 as types };
|
|
11465
11411
|
}
|
|
11466
11412
|
|
|
11467
11413
|
/**
|
|
@@ -12405,7 +12351,108 @@ declare class DvnConfig implements DvnConfigArgs {
|
|
|
12405
12351
|
* @category Accounts
|
|
12406
12352
|
* @category generated
|
|
12407
12353
|
*/
|
|
12408
|
-
declare const dvnConfigBeet: beet.FixableBeetStruct<DvnConfig, DvnConfigArgs & {
|
|
12354
|
+
declare const dvnConfigBeet: beet.FixableBeetStruct<DvnConfig, DvnConfigArgs & {
|
|
12355
|
+
accountDiscriminator: number[];
|
|
12356
|
+
}>;
|
|
12357
|
+
|
|
12358
|
+
/**
|
|
12359
|
+
* This code was GENERATED using the solita package.
|
|
12360
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
12361
|
+
*
|
|
12362
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
12363
|
+
*/
|
|
12364
|
+
|
|
12365
|
+
/**
|
|
12366
|
+
* Arguments used to create {@link ExecuteHash}
|
|
12367
|
+
* @category Accounts
|
|
12368
|
+
* @category generated
|
|
12369
|
+
*/
|
|
12370
|
+
type ExecuteHashArgs = {
|
|
12371
|
+
expiration: beet.bignum;
|
|
12372
|
+
bump: number;
|
|
12373
|
+
};
|
|
12374
|
+
declare const executeHashDiscriminator: number[];
|
|
12375
|
+
/**
|
|
12376
|
+
* Holds the data for the {@link ExecuteHash} Account and provides de/serialization
|
|
12377
|
+
* functionality for that data
|
|
12378
|
+
*
|
|
12379
|
+
* @category Accounts
|
|
12380
|
+
* @category generated
|
|
12381
|
+
*/
|
|
12382
|
+
declare class ExecuteHash implements ExecuteHashArgs {
|
|
12383
|
+
readonly expiration: beet.bignum;
|
|
12384
|
+
readonly bump: number;
|
|
12385
|
+
private constructor();
|
|
12386
|
+
/**
|
|
12387
|
+
* Creates a {@link ExecuteHash} instance from the provided args.
|
|
12388
|
+
*/
|
|
12389
|
+
static fromArgs(args: ExecuteHashArgs): ExecuteHash;
|
|
12390
|
+
/**
|
|
12391
|
+
* Deserializes the {@link ExecuteHash} from the data of the provided {@link web3.AccountInfo}.
|
|
12392
|
+
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
12393
|
+
*/
|
|
12394
|
+
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [ExecuteHash, number];
|
|
12395
|
+
/**
|
|
12396
|
+
* Retrieves the account info from the provided address and deserializes
|
|
12397
|
+
* the {@link ExecuteHash} from its data.
|
|
12398
|
+
*
|
|
12399
|
+
* @throws Error if no account info is found at the address or if deserialization fails
|
|
12400
|
+
*/
|
|
12401
|
+
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<ExecuteHash>;
|
|
12402
|
+
/**
|
|
12403
|
+
* Provides a {@link web3.Connection.getProgramAccounts} config builder,
|
|
12404
|
+
* to fetch accounts matching filters that can be specified via that builder.
|
|
12405
|
+
*
|
|
12406
|
+
* @param programId - the program that owns the accounts we are filtering
|
|
12407
|
+
*/
|
|
12408
|
+
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<{
|
|
12409
|
+
bump: any;
|
|
12410
|
+
accountDiscriminator: any;
|
|
12411
|
+
expiration: any;
|
|
12412
|
+
}>;
|
|
12413
|
+
/**
|
|
12414
|
+
* Deserializes the {@link ExecuteHash} from the provided data Buffer.
|
|
12415
|
+
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
12416
|
+
*/
|
|
12417
|
+
static deserialize(buf: Buffer, offset?: number): [ExecuteHash, number];
|
|
12418
|
+
/**
|
|
12419
|
+
* Serializes the {@link ExecuteHash} into a Buffer.
|
|
12420
|
+
* @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.
|
|
12421
|
+
*/
|
|
12422
|
+
serialize(): [Buffer, number];
|
|
12423
|
+
/**
|
|
12424
|
+
* Returns the byteSize of a {@link Buffer} holding the serialized data of
|
|
12425
|
+
* {@link ExecuteHash}
|
|
12426
|
+
*/
|
|
12427
|
+
static get byteSize(): number;
|
|
12428
|
+
/**
|
|
12429
|
+
* Fetches the minimum balance needed to exempt an account holding
|
|
12430
|
+
* {@link ExecuteHash} data from rent
|
|
12431
|
+
*
|
|
12432
|
+
* @param connection used to retrieve the rent exemption information
|
|
12433
|
+
*/
|
|
12434
|
+
static getMinimumBalanceForRentExemption(connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
12435
|
+
/**
|
|
12436
|
+
* Determines if the provided {@link Buffer} has the correct byte size to
|
|
12437
|
+
* hold {@link ExecuteHash} data.
|
|
12438
|
+
*/
|
|
12439
|
+
static hasCorrectByteSize(buf: Buffer, offset?: number): boolean;
|
|
12440
|
+
/**
|
|
12441
|
+
* Returns a readable version of {@link ExecuteHash} properties
|
|
12442
|
+
* and can be used to convert to JSON and/or logging
|
|
12443
|
+
*/
|
|
12444
|
+
pretty(): {
|
|
12445
|
+
expiration: number | {
|
|
12446
|
+
toNumber: () => number;
|
|
12447
|
+
};
|
|
12448
|
+
bump: number;
|
|
12449
|
+
};
|
|
12450
|
+
}
|
|
12451
|
+
/**
|
|
12452
|
+
* @category Accounts
|
|
12453
|
+
* @category generated
|
|
12454
|
+
*/
|
|
12455
|
+
declare const executeHashBeet: beet.BeetStruct<ExecuteHash, ExecuteHashArgs & {
|
|
12409
12456
|
accountDiscriminator: number[];
|
|
12410
12457
|
}>;
|
|
12411
12458
|
|
|
@@ -12416,103 +12463,121 @@ declare const dvnConfigBeet: beet.FixableBeetStruct<DvnConfig, DvnConfigArgs & {
|
|
|
12416
12463
|
* See: https://github.com/metaplex-foundation/solita
|
|
12417
12464
|
*/
|
|
12418
12465
|
|
|
12466
|
+
type UlnConfig = {
|
|
12467
|
+
confirmations: beet.bignum;
|
|
12468
|
+
requiredDvnCount: number;
|
|
12469
|
+
optionalDvnCount: number;
|
|
12470
|
+
optionalDvnThreshold: number;
|
|
12471
|
+
requiredDvns: web3.PublicKey[];
|
|
12472
|
+
optionalDvns: web3.PublicKey[];
|
|
12473
|
+
};
|
|
12419
12474
|
/**
|
|
12420
|
-
*
|
|
12475
|
+
* @category userTypes
|
|
12476
|
+
* @category generated
|
|
12477
|
+
*/
|
|
12478
|
+
declare const ulnConfigBeet: beet.FixableBeetArgsStruct<UlnConfig>;
|
|
12479
|
+
|
|
12480
|
+
/**
|
|
12481
|
+
* This code was GENERATED using the solita package.
|
|
12482
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
12483
|
+
*
|
|
12484
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
12485
|
+
*/
|
|
12486
|
+
|
|
12487
|
+
/**
|
|
12488
|
+
* Arguments used to create {@link ReceiveConfig}
|
|
12421
12489
|
* @category Accounts
|
|
12422
12490
|
* @category generated
|
|
12423
12491
|
*/
|
|
12424
|
-
type
|
|
12425
|
-
expiration: beet.bignum;
|
|
12492
|
+
type ReceiveConfigArgs = {
|
|
12426
12493
|
bump: number;
|
|
12494
|
+
uln: UlnConfig;
|
|
12427
12495
|
};
|
|
12428
|
-
declare const
|
|
12496
|
+
declare const receiveConfigDiscriminator: number[];
|
|
12429
12497
|
/**
|
|
12430
|
-
* Holds the data for the {@link
|
|
12498
|
+
* Holds the data for the {@link ReceiveConfig} Account and provides de/serialization
|
|
12431
12499
|
* functionality for that data
|
|
12432
12500
|
*
|
|
12433
12501
|
* @category Accounts
|
|
12434
12502
|
* @category generated
|
|
12435
12503
|
*/
|
|
12436
|
-
declare class
|
|
12437
|
-
readonly expiration: beet.bignum;
|
|
12504
|
+
declare class ReceiveConfig implements ReceiveConfigArgs {
|
|
12438
12505
|
readonly bump: number;
|
|
12506
|
+
readonly uln: UlnConfig;
|
|
12439
12507
|
private constructor();
|
|
12440
12508
|
/**
|
|
12441
|
-
* Creates a {@link
|
|
12509
|
+
* Creates a {@link ReceiveConfig} instance from the provided args.
|
|
12442
12510
|
*/
|
|
12443
|
-
static fromArgs(args:
|
|
12511
|
+
static fromArgs(args: ReceiveConfigArgs): ReceiveConfig;
|
|
12444
12512
|
/**
|
|
12445
|
-
* Deserializes the {@link
|
|
12513
|
+
* Deserializes the {@link ReceiveConfig} from the data of the provided {@link web3.AccountInfo}.
|
|
12446
12514
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
12447
12515
|
*/
|
|
12448
|
-
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [
|
|
12516
|
+
static fromAccountInfo(accountInfo: web3.AccountInfo<Buffer>, offset?: number): [ReceiveConfig, number];
|
|
12449
12517
|
/**
|
|
12450
12518
|
* Retrieves the account info from the provided address and deserializes
|
|
12451
|
-
* the {@link
|
|
12519
|
+
* the {@link ReceiveConfig} from its data.
|
|
12452
12520
|
*
|
|
12453
12521
|
* @throws Error if no account info is found at the address or if deserialization fails
|
|
12454
12522
|
*/
|
|
12455
|
-
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<
|
|
12523
|
+
static fromAccountAddress(connection: web3.Connection, address: web3.PublicKey, commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig): Promise<ReceiveConfig>;
|
|
12456
12524
|
/**
|
|
12457
12525
|
* Provides a {@link web3.Connection.getProgramAccounts} config builder,
|
|
12458
12526
|
* to fetch accounts matching filters that can be specified via that builder.
|
|
12459
12527
|
*
|
|
12460
12528
|
* @param programId - the program that owns the accounts we are filtering
|
|
12461
12529
|
*/
|
|
12462
|
-
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<{
|
|
12463
|
-
|
|
12464
|
-
accountDiscriminator: any;
|
|
12465
|
-
expiration: any;
|
|
12530
|
+
static gpaBuilder(programId?: web3.PublicKey): beetSolana.GpaBuilder<ReceiveConfigArgs & {
|
|
12531
|
+
accountDiscriminator: number[];
|
|
12466
12532
|
}>;
|
|
12467
12533
|
/**
|
|
12468
|
-
* Deserializes the {@link
|
|
12534
|
+
* Deserializes the {@link ReceiveConfig} from the provided data Buffer.
|
|
12469
12535
|
* @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.
|
|
12470
12536
|
*/
|
|
12471
|
-
static deserialize(buf: Buffer, offset?: number): [
|
|
12537
|
+
static deserialize(buf: Buffer, offset?: number): [ReceiveConfig, number];
|
|
12472
12538
|
/**
|
|
12473
|
-
* Serializes the {@link
|
|
12539
|
+
* Serializes the {@link ReceiveConfig} into a Buffer.
|
|
12474
12540
|
* @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.
|
|
12475
12541
|
*/
|
|
12476
12542
|
serialize(): [Buffer, number];
|
|
12477
12543
|
/**
|
|
12478
12544
|
* Returns the byteSize of a {@link Buffer} holding the serialized data of
|
|
12479
|
-
* {@link
|
|
12545
|
+
* {@link ReceiveConfig} for the provided args.
|
|
12546
|
+
*
|
|
12547
|
+
* @param args need to be provided since the byte size for this account
|
|
12548
|
+
* depends on them
|
|
12480
12549
|
*/
|
|
12481
|
-
static
|
|
12550
|
+
static byteSize(args: ReceiveConfigArgs): number;
|
|
12482
12551
|
/**
|
|
12483
12552
|
* Fetches the minimum balance needed to exempt an account holding
|
|
12484
|
-
* {@link
|
|
12553
|
+
* {@link ReceiveConfig} data from rent
|
|
12485
12554
|
*
|
|
12555
|
+
* @param args need to be provided since the byte size for this account
|
|
12556
|
+
* depends on them
|
|
12486
12557
|
* @param connection used to retrieve the rent exemption information
|
|
12487
12558
|
*/
|
|
12488
|
-
static getMinimumBalanceForRentExemption(connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
12489
|
-
/**
|
|
12490
|
-
* Determines if the provided {@link Buffer} has the correct byte size to
|
|
12491
|
-
* hold {@link ExecuteHash} data.
|
|
12492
|
-
*/
|
|
12493
|
-
static hasCorrectByteSize(buf: Buffer, offset?: number): boolean;
|
|
12559
|
+
static getMinimumBalanceForRentExemption(args: ReceiveConfigArgs, connection: web3.Connection, commitment?: web3.Commitment): Promise<number>;
|
|
12494
12560
|
/**
|
|
12495
|
-
* Returns a readable version of {@link
|
|
12561
|
+
* Returns a readable version of {@link ReceiveConfig} properties
|
|
12496
12562
|
* and can be used to convert to JSON and/or logging
|
|
12497
12563
|
*/
|
|
12498
12564
|
pretty(): {
|
|
12499
|
-
expiration: number | {
|
|
12500
|
-
toNumber: () => number;
|
|
12501
|
-
};
|
|
12502
12565
|
bump: number;
|
|
12566
|
+
uln: UlnConfig;
|
|
12503
12567
|
};
|
|
12504
12568
|
}
|
|
12505
12569
|
/**
|
|
12506
12570
|
* @category Accounts
|
|
12507
12571
|
* @category generated
|
|
12508
12572
|
*/
|
|
12509
|
-
declare const
|
|
12573
|
+
declare const receiveConfigBeet: beet.FixableBeetStruct<ReceiveConfig, ReceiveConfigArgs & {
|
|
12510
12574
|
accountDiscriminator: number[];
|
|
12511
12575
|
}>;
|
|
12512
12576
|
|
|
12513
12577
|
declare const accountProviders: {
|
|
12514
12578
|
DvnConfig: typeof DvnConfig;
|
|
12515
12579
|
ExecuteHash: typeof ExecuteHash;
|
|
12580
|
+
ReceiveConfig: typeof ReceiveConfig;
|
|
12516
12581
|
};
|
|
12517
12582
|
|
|
12518
12583
|
type index$5_DvnConfig = DvnConfig;
|
|
@@ -12521,13 +12586,18 @@ type index$5_DvnConfigArgs = DvnConfigArgs;
|
|
|
12521
12586
|
type index$5_ExecuteHash = ExecuteHash;
|
|
12522
12587
|
declare const index$5_ExecuteHash: typeof ExecuteHash;
|
|
12523
12588
|
type index$5_ExecuteHashArgs = ExecuteHashArgs;
|
|
12589
|
+
type index$5_ReceiveConfig = ReceiveConfig;
|
|
12590
|
+
declare const index$5_ReceiveConfig: typeof ReceiveConfig;
|
|
12591
|
+
type index$5_ReceiveConfigArgs = ReceiveConfigArgs;
|
|
12524
12592
|
declare const index$5_accountProviders: typeof accountProviders;
|
|
12525
12593
|
declare const index$5_dvnConfigBeet: typeof dvnConfigBeet;
|
|
12526
12594
|
declare const index$5_dvnConfigDiscriminator: typeof dvnConfigDiscriminator;
|
|
12527
12595
|
declare const index$5_executeHashBeet: typeof executeHashBeet;
|
|
12528
12596
|
declare const index$5_executeHashDiscriminator: typeof executeHashDiscriminator;
|
|
12597
|
+
declare const index$5_receiveConfigBeet: typeof receiveConfigBeet;
|
|
12598
|
+
declare const index$5_receiveConfigDiscriminator: typeof receiveConfigDiscriminator;
|
|
12529
12599
|
declare namespace index$5 {
|
|
12530
|
-
export { index$5_DvnConfig as DvnConfig, type index$5_DvnConfigArgs as DvnConfigArgs, index$5_ExecuteHash as ExecuteHash, type index$5_ExecuteHashArgs as ExecuteHashArgs, index$5_accountProviders as accountProviders, index$5_dvnConfigBeet as dvnConfigBeet, index$5_dvnConfigDiscriminator as dvnConfigDiscriminator, index$5_executeHashBeet as executeHashBeet, index$5_executeHashDiscriminator as executeHashDiscriminator };
|
|
12600
|
+
export { index$5_DvnConfig as DvnConfig, type index$5_DvnConfigArgs as DvnConfigArgs, index$5_ExecuteHash as ExecuteHash, type index$5_ExecuteHashArgs as ExecuteHashArgs, index$5_ReceiveConfig as ReceiveConfig, type index$5_ReceiveConfigArgs as ReceiveConfigArgs, index$5_accountProviders as accountProviders, index$5_dvnConfigBeet as dvnConfigBeet, index$5_dvnConfigDiscriminator as dvnConfigDiscriminator, index$5_executeHashBeet as executeHashBeet, index$5_executeHashDiscriminator as executeHashDiscriminator, index$5_receiveConfigBeet as receiveConfigBeet, index$5_receiveConfigDiscriminator as receiveConfigDiscriminator };
|
|
12531
12601
|
}
|
|
12532
12602
|
|
|
12533
12603
|
/**
|
|
@@ -12727,6 +12797,50 @@ declare class EidNotSupportedError extends Error {
|
|
|
12727
12797
|
readonly name: string;
|
|
12728
12798
|
constructor();
|
|
12729
12799
|
}
|
|
12800
|
+
/**
|
|
12801
|
+
* InvalidNonceAccount: ''
|
|
12802
|
+
*
|
|
12803
|
+
* @category Errors
|
|
12804
|
+
* @category generated
|
|
12805
|
+
*/
|
|
12806
|
+
declare class InvalidNonceAccountError extends Error {
|
|
12807
|
+
readonly code: number;
|
|
12808
|
+
readonly name: string;
|
|
12809
|
+
constructor();
|
|
12810
|
+
}
|
|
12811
|
+
/**
|
|
12812
|
+
* InvalidPayloadHashAccount: ''
|
|
12813
|
+
*
|
|
12814
|
+
* @category Errors
|
|
12815
|
+
* @category generated
|
|
12816
|
+
*/
|
|
12817
|
+
declare class InvalidPayloadHashAccountError extends Error {
|
|
12818
|
+
readonly code: number;
|
|
12819
|
+
readonly name: string;
|
|
12820
|
+
constructor();
|
|
12821
|
+
}
|
|
12822
|
+
/**
|
|
12823
|
+
* InvalidReceiveConfigAccount: ''
|
|
12824
|
+
*
|
|
12825
|
+
* @category Errors
|
|
12826
|
+
* @category generated
|
|
12827
|
+
*/
|
|
12828
|
+
declare class InvalidReceiveConfigAccountError extends Error {
|
|
12829
|
+
readonly code: number;
|
|
12830
|
+
readonly name: string;
|
|
12831
|
+
constructor();
|
|
12832
|
+
}
|
|
12833
|
+
/**
|
|
12834
|
+
* InvalidDefaultReceiveConfigAccount: ''
|
|
12835
|
+
*
|
|
12836
|
+
* @category Errors
|
|
12837
|
+
* @category generated
|
|
12838
|
+
*/
|
|
12839
|
+
declare class InvalidDefaultReceiveConfigAccountError extends Error {
|
|
12840
|
+
readonly code: number;
|
|
12841
|
+
readonly name: string;
|
|
12842
|
+
constructor();
|
|
12843
|
+
}
|
|
12730
12844
|
/**
|
|
12731
12845
|
* Attempts to resolve a custom program error from the provided error code.
|
|
12732
12846
|
* @category Errors
|
|
@@ -12748,8 +12862,16 @@ type index$4_ExpiredError = ExpiredError;
|
|
|
12748
12862
|
declare const index$4_ExpiredError: typeof ExpiredError;
|
|
12749
12863
|
type index$4_InvalidAmountError = InvalidAmountError;
|
|
12750
12864
|
declare const index$4_InvalidAmountError: typeof InvalidAmountError;
|
|
12865
|
+
type index$4_InvalidDefaultReceiveConfigAccountError = InvalidDefaultReceiveConfigAccountError;
|
|
12866
|
+
declare const index$4_InvalidDefaultReceiveConfigAccountError: typeof InvalidDefaultReceiveConfigAccountError;
|
|
12867
|
+
type index$4_InvalidNonceAccountError = InvalidNonceAccountError;
|
|
12868
|
+
declare const index$4_InvalidNonceAccountError: typeof InvalidNonceAccountError;
|
|
12869
|
+
type index$4_InvalidPayloadHashAccountError = InvalidPayloadHashAccountError;
|
|
12870
|
+
declare const index$4_InvalidPayloadHashAccountError: typeof InvalidPayloadHashAccountError;
|
|
12751
12871
|
type index$4_InvalidQuorumError = InvalidQuorumError;
|
|
12752
12872
|
declare const index$4_InvalidQuorumError: typeof InvalidQuorumError;
|
|
12873
|
+
type index$4_InvalidReceiveConfigAccountError = InvalidReceiveConfigAccountError;
|
|
12874
|
+
declare const index$4_InvalidReceiveConfigAccountError: typeof InvalidReceiveConfigAccountError;
|
|
12753
12875
|
type index$4_InvalidSignatureLenError = InvalidSignatureLenError;
|
|
12754
12876
|
declare const index$4_InvalidSignatureLenError: typeof InvalidSignatureLenError;
|
|
12755
12877
|
type index$4_InvalidSignersLenError = InvalidSignersLenError;
|
|
@@ -12777,7 +12899,7 @@ declare const index$4_UniqueOwnersError: typeof UniqueOwnersError;
|
|
|
12777
12899
|
declare const index$4_errorFromCode: typeof errorFromCode;
|
|
12778
12900
|
declare const index$4_errorFromName: typeof errorFromName;
|
|
12779
12901
|
declare namespace index$4 {
|
|
12780
|
-
export { index$4_DuplicateSignatureError as DuplicateSignatureError, index$4_EidNotSupportedError as EidNotSupportedError, index$4_ExpiredError as ExpiredError, index$4_InvalidAmountError as InvalidAmountError, index$4_InvalidQuorumError as InvalidQuorumError, index$4_InvalidSignatureLenError as InvalidSignatureLenError, index$4_InvalidSignersLenError as InvalidSignersLenError, index$4_InvalidVidError as InvalidVidError, index$4_MsgLibNotAllowedError as MsgLibNotAllowedError, index$4_NotAdminError as NotAdminError, index$4_PausedError as PausedError, index$4_SignatureErrorError as SignatureErrorError, index$4_SignerNotInCommitteeError as SignerNotInCommitteeError, index$4_TooManyAdminsError as TooManyAdminsError, index$4_TooManyOptionTypesError as TooManyOptionTypesError, index$4_UnexpiredExecuteHashError as UnexpiredExecuteHashError, index$4_UniqueOwnersError as UniqueOwnersError, index$4_errorFromCode as errorFromCode, index$4_errorFromName as errorFromName };
|
|
12902
|
+
export { index$4_DuplicateSignatureError as DuplicateSignatureError, index$4_EidNotSupportedError as EidNotSupportedError, index$4_ExpiredError as ExpiredError, index$4_InvalidAmountError as InvalidAmountError, index$4_InvalidDefaultReceiveConfigAccountError as InvalidDefaultReceiveConfigAccountError, index$4_InvalidNonceAccountError as InvalidNonceAccountError, index$4_InvalidPayloadHashAccountError as InvalidPayloadHashAccountError, index$4_InvalidQuorumError as InvalidQuorumError, index$4_InvalidReceiveConfigAccountError as InvalidReceiveConfigAccountError, index$4_InvalidSignatureLenError as InvalidSignatureLenError, index$4_InvalidSignersLenError as InvalidSignersLenError, index$4_InvalidVidError as InvalidVidError, index$4_MsgLibNotAllowedError as MsgLibNotAllowedError, index$4_NotAdminError as NotAdminError, index$4_PausedError as PausedError, index$4_SignatureErrorError as SignatureErrorError, index$4_SignerNotInCommitteeError as SignerNotInCommitteeError, index$4_TooManyAdminsError as TooManyAdminsError, index$4_TooManyOptionTypesError as TooManyOptionTypesError, index$4_UnexpiredExecuteHashError as UnexpiredExecuteHashError, index$4_UniqueOwnersError as UniqueOwnersError, index$4_errorFromCode as errorFromCode, index$4_errorFromName as errorFromName };
|
|
12781
12903
|
}
|
|
12782
12904
|
|
|
12783
12905
|
/**
|
|
@@ -13314,6 +13436,86 @@ declare function createSetConfigInstruction(accounts: SetConfigInstructionAccoun
|
|
|
13314
13436
|
*/
|
|
13315
13437
|
declare function createSetConfigInstructionAccounts(accounts: SetConfigInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
13316
13438
|
|
|
13439
|
+
/**
|
|
13440
|
+
* This code was GENERATED using the solita package.
|
|
13441
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
13442
|
+
*
|
|
13443
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
13444
|
+
*/
|
|
13445
|
+
|
|
13446
|
+
type VerifiableParams = {
|
|
13447
|
+
packetHeader: number[];
|
|
13448
|
+
payloadHash: number[];
|
|
13449
|
+
};
|
|
13450
|
+
/**
|
|
13451
|
+
* @category userTypes
|
|
13452
|
+
* @category generated
|
|
13453
|
+
*/
|
|
13454
|
+
declare const verifiableParamsBeet: beet.BeetArgsStruct<VerifiableParams>;
|
|
13455
|
+
|
|
13456
|
+
/**
|
|
13457
|
+
* This code was GENERATED using the solita package.
|
|
13458
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
13459
|
+
*
|
|
13460
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
13461
|
+
*/
|
|
13462
|
+
|
|
13463
|
+
/**
|
|
13464
|
+
* @category Instructions
|
|
13465
|
+
* @category Verifiable
|
|
13466
|
+
* @category generated
|
|
13467
|
+
*/
|
|
13468
|
+
type VerifiableInstructionArgs = {
|
|
13469
|
+
params: VerifiableParams;
|
|
13470
|
+
};
|
|
13471
|
+
/**
|
|
13472
|
+
* @category Instructions
|
|
13473
|
+
* @category Verifiable
|
|
13474
|
+
* @category generated
|
|
13475
|
+
*/
|
|
13476
|
+
declare const verifiableStruct: beet.BeetArgsStruct<VerifiableInstructionArgs & {
|
|
13477
|
+
instructionDiscriminator: number[];
|
|
13478
|
+
}>;
|
|
13479
|
+
/**
|
|
13480
|
+
* Accounts required by the _verifiable_ instruction
|
|
13481
|
+
*
|
|
13482
|
+
* @property [] nonce
|
|
13483
|
+
* @property [] payloadHash
|
|
13484
|
+
* @property [] receiveConfig
|
|
13485
|
+
* @property [] defaultReceiveConfig
|
|
13486
|
+
* @category Instructions
|
|
13487
|
+
* @category Verifiable
|
|
13488
|
+
* @category generated
|
|
13489
|
+
*/
|
|
13490
|
+
type VerifiableInstructionAccounts = {
|
|
13491
|
+
nonce: web3.PublicKey;
|
|
13492
|
+
payloadHash: web3.PublicKey;
|
|
13493
|
+
receiveConfig: web3.PublicKey;
|
|
13494
|
+
defaultReceiveConfig: web3.PublicKey;
|
|
13495
|
+
anchorRemainingAccounts?: web3.AccountMeta[];
|
|
13496
|
+
};
|
|
13497
|
+
declare const verifiableInstructionDiscriminator: number[];
|
|
13498
|
+
/**
|
|
13499
|
+
* Creates a _Verifiable_ instruction.
|
|
13500
|
+
*
|
|
13501
|
+
* @param accounts that will be accessed while the instruction is processed
|
|
13502
|
+
* @param args to provide as instruction data to the program
|
|
13503
|
+
*
|
|
13504
|
+
* @category Instructions
|
|
13505
|
+
* @category Verifiable
|
|
13506
|
+
* @category generated
|
|
13507
|
+
*/
|
|
13508
|
+
declare function createVerifiableInstruction(accounts: VerifiableInstructionAccounts, args: VerifiableInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;
|
|
13509
|
+
/**
|
|
13510
|
+
* Creates a _Verifiable_ instructionAccounts.
|
|
13511
|
+
*
|
|
13512
|
+
* @param accounts that will be accessed while the instruction is processed
|
|
13513
|
+
* @category Instructions
|
|
13514
|
+
* @category Verifiable
|
|
13515
|
+
* @category generated
|
|
13516
|
+
*/
|
|
13517
|
+
declare function createVerifiableInstructionAccounts(accounts: VerifiableInstructionAccounts, programId?: web3.PublicKey): web3.AccountMeta[];
|
|
13518
|
+
|
|
13317
13519
|
/**
|
|
13318
13520
|
* This code was GENERATED using the solita package.
|
|
13319
13521
|
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
@@ -13405,6 +13607,8 @@ type index$3_QuoteDvnInstructionAccounts = QuoteDvnInstructionAccounts;
|
|
|
13405
13607
|
type index$3_QuoteDvnInstructionArgs = QuoteDvnInstructionArgs;
|
|
13406
13608
|
type index$3_SetConfigInstructionAccounts = SetConfigInstructionAccounts;
|
|
13407
13609
|
type index$3_SetConfigInstructionArgs = SetConfigInstructionArgs;
|
|
13610
|
+
type index$3_VerifiableInstructionAccounts = VerifiableInstructionAccounts;
|
|
13611
|
+
type index$3_VerifiableInstructionArgs = VerifiableInstructionArgs;
|
|
13408
13612
|
type index$3_WithdrawFeeInstructionAccounts = WithdrawFeeInstructionAccounts;
|
|
13409
13613
|
type index$3_WithdrawFeeInstructionArgs = WithdrawFeeInstructionArgs;
|
|
13410
13614
|
declare const index$3_closeExecuteInstructionDiscriminator: typeof closeExecuteInstructionDiscriminator;
|
|
@@ -13419,6 +13623,8 @@ declare const index$3_createQuoteDvnInstruction: typeof createQuoteDvnInstructio
|
|
|
13419
13623
|
declare const index$3_createQuoteDvnInstructionAccounts: typeof createQuoteDvnInstructionAccounts;
|
|
13420
13624
|
declare const index$3_createSetConfigInstruction: typeof createSetConfigInstruction;
|
|
13421
13625
|
declare const index$3_createSetConfigInstructionAccounts: typeof createSetConfigInstructionAccounts;
|
|
13626
|
+
declare const index$3_createVerifiableInstruction: typeof createVerifiableInstruction;
|
|
13627
|
+
declare const index$3_createVerifiableInstructionAccounts: typeof createVerifiableInstructionAccounts;
|
|
13422
13628
|
declare const index$3_createWithdrawFeeInstruction: typeof createWithdrawFeeInstruction;
|
|
13423
13629
|
declare const index$3_createWithdrawFeeInstructionAccounts: typeof createWithdrawFeeInstructionAccounts;
|
|
13424
13630
|
declare const index$3_initDvnInstructionDiscriminator: typeof initDvnInstructionDiscriminator;
|
|
@@ -13429,10 +13635,12 @@ declare const index$3_quoteDvnInstructionDiscriminator: typeof quoteDvnInstructi
|
|
|
13429
13635
|
declare const index$3_quoteDvnStruct: typeof quoteDvnStruct;
|
|
13430
13636
|
declare const index$3_setConfigInstructionDiscriminator: typeof setConfigInstructionDiscriminator;
|
|
13431
13637
|
declare const index$3_setConfigStruct: typeof setConfigStruct;
|
|
13638
|
+
declare const index$3_verifiableInstructionDiscriminator: typeof verifiableInstructionDiscriminator;
|
|
13639
|
+
declare const index$3_verifiableStruct: typeof verifiableStruct;
|
|
13432
13640
|
declare const index$3_withdrawFeeInstructionDiscriminator: typeof withdrawFeeInstructionDiscriminator;
|
|
13433
13641
|
declare const index$3_withdrawFeeStruct: typeof withdrawFeeStruct;
|
|
13434
13642
|
declare namespace index$3 {
|
|
13435
|
-
export { type index$3_CloseExecuteInstructionAccounts as CloseExecuteInstructionAccounts, type index$3_CloseExecuteInstructionArgs as CloseExecuteInstructionArgs, type index$3_InitDvnInstructionAccounts as InitDvnInstructionAccounts, type index$3_InitDvnInstructionArgs as InitDvnInstructionArgs, type index$3_InvokeInstructionAccounts as InvokeInstructionAccounts, type index$3_InvokeInstructionArgs as InvokeInstructionArgs, type index$3_QuoteDvnInstructionAccounts as QuoteDvnInstructionAccounts, type index$3_QuoteDvnInstructionArgs as QuoteDvnInstructionArgs, type index$3_SetConfigInstructionAccounts as SetConfigInstructionAccounts, type index$3_SetConfigInstructionArgs as SetConfigInstructionArgs, type index$3_WithdrawFeeInstructionAccounts as WithdrawFeeInstructionAccounts, type index$3_WithdrawFeeInstructionArgs as WithdrawFeeInstructionArgs, index$3_closeExecuteInstructionDiscriminator as closeExecuteInstructionDiscriminator, index$3_closeExecuteStruct as closeExecuteStruct, index$3_createCloseExecuteInstruction as createCloseExecuteInstruction, index$3_createCloseExecuteInstructionAccounts as createCloseExecuteInstructionAccounts, index$3_createInitDvnInstruction as createInitDvnInstruction, index$3_createInitDvnInstructionAccounts as createInitDvnInstructionAccounts, index$3_createInvokeInstruction as createInvokeInstruction, index$3_createInvokeInstructionAccounts as createInvokeInstructionAccounts, index$3_createQuoteDvnInstruction as createQuoteDvnInstruction, index$3_createQuoteDvnInstructionAccounts as createQuoteDvnInstructionAccounts, index$3_createSetConfigInstruction as createSetConfigInstruction, index$3_createSetConfigInstructionAccounts as createSetConfigInstructionAccounts, index$3_createWithdrawFeeInstruction as createWithdrawFeeInstruction, index$3_createWithdrawFeeInstructionAccounts as createWithdrawFeeInstructionAccounts, index$3_initDvnInstructionDiscriminator as initDvnInstructionDiscriminator, index$3_initDvnStruct as initDvnStruct, index$3_invokeInstructionDiscriminator as invokeInstructionDiscriminator, index$3_invokeStruct as invokeStruct, index$3_quoteDvnInstructionDiscriminator as quoteDvnInstructionDiscriminator, index$3_quoteDvnStruct as quoteDvnStruct, index$3_setConfigInstructionDiscriminator as setConfigInstructionDiscriminator, index$3_setConfigStruct as setConfigStruct, index$3_withdrawFeeInstructionDiscriminator as withdrawFeeInstructionDiscriminator, index$3_withdrawFeeStruct as withdrawFeeStruct };
|
|
13643
|
+
export { type index$3_CloseExecuteInstructionAccounts as CloseExecuteInstructionAccounts, type index$3_CloseExecuteInstructionArgs as CloseExecuteInstructionArgs, type index$3_InitDvnInstructionAccounts as InitDvnInstructionAccounts, type index$3_InitDvnInstructionArgs as InitDvnInstructionArgs, type index$3_InvokeInstructionAccounts as InvokeInstructionAccounts, type index$3_InvokeInstructionArgs as InvokeInstructionArgs, type index$3_QuoteDvnInstructionAccounts as QuoteDvnInstructionAccounts, type index$3_QuoteDvnInstructionArgs as QuoteDvnInstructionArgs, type index$3_SetConfigInstructionAccounts as SetConfigInstructionAccounts, type index$3_SetConfigInstructionArgs as SetConfigInstructionArgs, type index$3_VerifiableInstructionAccounts as VerifiableInstructionAccounts, type index$3_VerifiableInstructionArgs as VerifiableInstructionArgs, type index$3_WithdrawFeeInstructionAccounts as WithdrawFeeInstructionAccounts, type index$3_WithdrawFeeInstructionArgs as WithdrawFeeInstructionArgs, index$3_closeExecuteInstructionDiscriminator as closeExecuteInstructionDiscriminator, index$3_closeExecuteStruct as closeExecuteStruct, index$3_createCloseExecuteInstruction as createCloseExecuteInstruction, index$3_createCloseExecuteInstructionAccounts as createCloseExecuteInstructionAccounts, index$3_createInitDvnInstruction as createInitDvnInstruction, index$3_createInitDvnInstructionAccounts as createInitDvnInstructionAccounts, index$3_createInvokeInstruction as createInvokeInstruction, index$3_createInvokeInstructionAccounts as createInvokeInstructionAccounts, index$3_createQuoteDvnInstruction as createQuoteDvnInstruction, index$3_createQuoteDvnInstructionAccounts as createQuoteDvnInstructionAccounts, index$3_createSetConfigInstruction as createSetConfigInstruction, index$3_createSetConfigInstructionAccounts as createSetConfigInstructionAccounts, index$3_createVerifiableInstruction as createVerifiableInstruction, index$3_createVerifiableInstructionAccounts as createVerifiableInstructionAccounts, index$3_createWithdrawFeeInstruction as createWithdrawFeeInstruction, index$3_createWithdrawFeeInstructionAccounts as createWithdrawFeeInstructionAccounts, index$3_initDvnInstructionDiscriminator as initDvnInstructionDiscriminator, index$3_initDvnStruct as initDvnStruct, index$3_invokeInstructionDiscriminator as invokeInstructionDiscriminator, index$3_invokeStruct as invokeStruct, index$3_quoteDvnInstructionDiscriminator as quoteDvnInstructionDiscriminator, index$3_quoteDvnStruct as quoteDvnStruct, index$3_setConfigInstructionDiscriminator as setConfigInstructionDiscriminator, index$3_setConfigStruct as setConfigStruct, index$3_verifiableInstructionDiscriminator as verifiableInstructionDiscriminator, index$3_verifiableStruct as verifiableStruct, index$3_withdrawFeeInstructionDiscriminator as withdrawFeeInstructionDiscriminator, index$3_withdrawFeeStruct as withdrawFeeStruct };
|
|
13436
13644
|
}
|
|
13437
13645
|
|
|
13438
13646
|
/**
|
|
@@ -13541,6 +13749,30 @@ declare const isMultisigConfigSigners: (x: MultisigConfig) => x is {
|
|
|
13541
13749
|
*/
|
|
13542
13750
|
declare const multisigConfigBeet: beet.FixableBeet<MultisigConfig, MultisigConfig>;
|
|
13543
13751
|
|
|
13752
|
+
/**
|
|
13753
|
+
* This code was GENERATED using the solita package.
|
|
13754
|
+
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
|
|
13755
|
+
*
|
|
13756
|
+
* See: https://github.com/metaplex-foundation/solita
|
|
13757
|
+
*/
|
|
13758
|
+
|
|
13759
|
+
/**
|
|
13760
|
+
* @category enums
|
|
13761
|
+
* @category generated
|
|
13762
|
+
*/
|
|
13763
|
+
declare enum VerificationState {
|
|
13764
|
+
Verifying = 0,
|
|
13765
|
+
Verifiable = 1,
|
|
13766
|
+
Verified = 2,
|
|
13767
|
+
NotInitializable = 3,
|
|
13768
|
+
VerifiableButCapExceeded = 4
|
|
13769
|
+
}
|
|
13770
|
+
/**
|
|
13771
|
+
* @category userTypes
|
|
13772
|
+
* @category generated
|
|
13773
|
+
*/
|
|
13774
|
+
declare const verificationStateBeet: beet.FixedSizeBeet<VerificationState, VerificationState>;
|
|
13775
|
+
|
|
13544
13776
|
type index$2_Acl = Acl;
|
|
13545
13777
|
type index$2_AdminConfig = AdminConfig;
|
|
13546
13778
|
type index$2_AdminConfigRecord = AdminConfigRecord;
|
|
@@ -13556,6 +13788,10 @@ type index$2_MultisigConfigRecord = MultisigConfigRecord;
|
|
|
13556
13788
|
type index$2_QuoteDvnParams = QuoteDvnParams;
|
|
13557
13789
|
type index$2_SetConfigParams = SetConfigParams;
|
|
13558
13790
|
type index$2_TransactionAccount = TransactionAccount;
|
|
13791
|
+
type index$2_UlnConfig = UlnConfig;
|
|
13792
|
+
type index$2_VerifiableParams = VerifiableParams;
|
|
13793
|
+
type index$2_VerificationState = VerificationState;
|
|
13794
|
+
declare const index$2_VerificationState: typeof VerificationState;
|
|
13559
13795
|
type index$2_WithdrawFeeParams = WithdrawFeeParams;
|
|
13560
13796
|
declare const index$2_aclBeet: typeof aclBeet;
|
|
13561
13797
|
declare const index$2_adminConfigBeet: typeof adminConfigBeet;
|
|
@@ -13581,9 +13817,12 @@ declare const index$2_multisigConfigBeet: typeof multisigConfigBeet;
|
|
|
13581
13817
|
declare const index$2_quoteDvnParamsBeet: typeof quoteDvnParamsBeet;
|
|
13582
13818
|
declare const index$2_setConfigParamsBeet: typeof setConfigParamsBeet;
|
|
13583
13819
|
declare const index$2_transactionAccountBeet: typeof transactionAccountBeet;
|
|
13820
|
+
declare const index$2_ulnConfigBeet: typeof ulnConfigBeet;
|
|
13821
|
+
declare const index$2_verifiableParamsBeet: typeof verifiableParamsBeet;
|
|
13822
|
+
declare const index$2_verificationStateBeet: typeof verificationStateBeet;
|
|
13584
13823
|
declare const index$2_withdrawFeeParamsBeet: typeof withdrawFeeParamsBeet;
|
|
13585
13824
|
declare namespace index$2 {
|
|
13586
|
-
export { type index$2_Acl as Acl, type index$2_AdminConfig as AdminConfig, type index$2_AdminConfigRecord as AdminConfigRecord, type index$2_CloseExecuteParams as CloseExecuteParams, type index$2_DstConfig as DstConfig, type index$2_ExecuteTransactionDigest as ExecuteTransactionDigest, type index$2_InitDvnParams as InitDvnParams, type index$2_InvokeParams as InvokeParams, type index$2_LzOption as LzOption, type index$2_Multisig as Multisig, type index$2_MultisigConfig as MultisigConfig, type index$2_MultisigConfigRecord as MultisigConfigRecord, type index$2_QuoteDvnParams as QuoteDvnParams, type index$2_SetConfigParams as SetConfigParams, type index$2_TransactionAccount as TransactionAccount, type index$2_WithdrawFeeParams as WithdrawFeeParams, index$2_aclBeet as aclBeet, index$2_adminConfigBeet as adminConfigBeet, index$2_closeExecuteParamsBeet as closeExecuteParamsBeet, index$2_dstConfigBeet as dstConfigBeet, index$2_executeTransactionDigestBeet as executeTransactionDigestBeet, index$2_initDvnParamsBeet as initDvnParamsBeet, index$2_invokeParamsBeet as invokeParamsBeet, index$2_isAdminConfigAdmins as isAdminConfigAdmins, index$2_isAdminConfigDefaultMultiplierBps as isAdminConfigDefaultMultiplierBps, index$2_isAdminConfigDstConfigs as isAdminConfigDstConfigs, index$2_isAdminConfigPriceFeed as isAdminConfigPriceFeed, index$2_isMultisigConfigAdmins as isMultisigConfigAdmins, index$2_isMultisigConfigAllowlist as isMultisigConfigAllowlist, index$2_isMultisigConfigDenylist as isMultisigConfigDenylist, index$2_isMultisigConfigMsglibs as isMultisigConfigMsglibs, index$2_isMultisigConfigPaused as isMultisigConfigPaused, index$2_isMultisigConfigQuorum as isMultisigConfigQuorum, index$2_isMultisigConfigSigners as isMultisigConfigSigners, index$2_lzOptionBeet as lzOptionBeet, index$2_multisigBeet as multisigBeet, index$2_multisigConfigBeet as multisigConfigBeet, index$2_quoteDvnParamsBeet as quoteDvnParamsBeet, index$2_setConfigParamsBeet as setConfigParamsBeet, index$2_transactionAccountBeet as transactionAccountBeet, index$2_withdrawFeeParamsBeet as withdrawFeeParamsBeet };
|
|
13825
|
+
export { type index$2_Acl as Acl, type index$2_AdminConfig as AdminConfig, type index$2_AdminConfigRecord as AdminConfigRecord, type index$2_CloseExecuteParams as CloseExecuteParams, type index$2_DstConfig as DstConfig, type index$2_ExecuteTransactionDigest as ExecuteTransactionDigest, type index$2_InitDvnParams as InitDvnParams, type index$2_InvokeParams as InvokeParams, type index$2_LzOption as LzOption, type index$2_Multisig as Multisig, type index$2_MultisigConfig as MultisigConfig, type index$2_MultisigConfigRecord as MultisigConfigRecord, type index$2_QuoteDvnParams as QuoteDvnParams, type index$2_SetConfigParams as SetConfigParams, type index$2_TransactionAccount as TransactionAccount, type index$2_UlnConfig as UlnConfig, type index$2_VerifiableParams as VerifiableParams, index$2_VerificationState as VerificationState, type index$2_WithdrawFeeParams as WithdrawFeeParams, index$2_aclBeet as aclBeet, index$2_adminConfigBeet as adminConfigBeet, index$2_closeExecuteParamsBeet as closeExecuteParamsBeet, index$2_dstConfigBeet as dstConfigBeet, index$2_executeTransactionDigestBeet as executeTransactionDigestBeet, index$2_initDvnParamsBeet as initDvnParamsBeet, index$2_invokeParamsBeet as invokeParamsBeet, index$2_isAdminConfigAdmins as isAdminConfigAdmins, index$2_isAdminConfigDefaultMultiplierBps as isAdminConfigDefaultMultiplierBps, index$2_isAdminConfigDstConfigs as isAdminConfigDstConfigs, index$2_isAdminConfigPriceFeed as isAdminConfigPriceFeed, index$2_isMultisigConfigAdmins as isMultisigConfigAdmins, index$2_isMultisigConfigAllowlist as isMultisigConfigAllowlist, index$2_isMultisigConfigDenylist as isMultisigConfigDenylist, index$2_isMultisigConfigMsglibs as isMultisigConfigMsglibs, index$2_isMultisigConfigPaused as isMultisigConfigPaused, index$2_isMultisigConfigQuorum as isMultisigConfigQuorum, index$2_isMultisigConfigSigners as isMultisigConfigSigners, index$2_lzOptionBeet as lzOptionBeet, index$2_multisigBeet as multisigBeet, index$2_multisigConfigBeet as multisigConfigBeet, index$2_quoteDvnParamsBeet as quoteDvnParamsBeet, index$2_setConfigParamsBeet as setConfigParamsBeet, index$2_transactionAccountBeet as transactionAccountBeet, index$2_ulnConfigBeet as ulnConfigBeet, index$2_verifiableParamsBeet as verifiableParamsBeet, index$2_verificationStateBeet as verificationStateBeet, index$2_withdrawFeeParamsBeet as withdrawFeeParamsBeet };
|
|
13587
13826
|
}
|
|
13588
13827
|
|
|
13589
13828
|
/**
|
|
@@ -13626,8 +13865,16 @@ type index$1_InitDvnInstructionArgs = InitDvnInstructionArgs;
|
|
|
13626
13865
|
type index$1_InitDvnParams = InitDvnParams;
|
|
13627
13866
|
type index$1_InvalidAmountError = InvalidAmountError;
|
|
13628
13867
|
declare const index$1_InvalidAmountError: typeof InvalidAmountError;
|
|
13868
|
+
type index$1_InvalidDefaultReceiveConfigAccountError = InvalidDefaultReceiveConfigAccountError;
|
|
13869
|
+
declare const index$1_InvalidDefaultReceiveConfigAccountError: typeof InvalidDefaultReceiveConfigAccountError;
|
|
13870
|
+
type index$1_InvalidNonceAccountError = InvalidNonceAccountError;
|
|
13871
|
+
declare const index$1_InvalidNonceAccountError: typeof InvalidNonceAccountError;
|
|
13872
|
+
type index$1_InvalidPayloadHashAccountError = InvalidPayloadHashAccountError;
|
|
13873
|
+
declare const index$1_InvalidPayloadHashAccountError: typeof InvalidPayloadHashAccountError;
|
|
13629
13874
|
type index$1_InvalidQuorumError = InvalidQuorumError;
|
|
13630
13875
|
declare const index$1_InvalidQuorumError: typeof InvalidQuorumError;
|
|
13876
|
+
type index$1_InvalidReceiveConfigAccountError = InvalidReceiveConfigAccountError;
|
|
13877
|
+
declare const index$1_InvalidReceiveConfigAccountError: typeof InvalidReceiveConfigAccountError;
|
|
13631
13878
|
type index$1_InvalidSignatureLenError = InvalidSignatureLenError;
|
|
13632
13879
|
declare const index$1_InvalidSignatureLenError: typeof InvalidSignatureLenError;
|
|
13633
13880
|
type index$1_InvalidSignersLenError = InvalidSignersLenError;
|
|
@@ -13650,6 +13897,9 @@ declare const index$1_PausedError: typeof PausedError;
|
|
|
13650
13897
|
type index$1_QuoteDvnInstructionAccounts = QuoteDvnInstructionAccounts;
|
|
13651
13898
|
type index$1_QuoteDvnInstructionArgs = QuoteDvnInstructionArgs;
|
|
13652
13899
|
type index$1_QuoteDvnParams = QuoteDvnParams;
|
|
13900
|
+
type index$1_ReceiveConfig = ReceiveConfig;
|
|
13901
|
+
declare const index$1_ReceiveConfig: typeof ReceiveConfig;
|
|
13902
|
+
type index$1_ReceiveConfigArgs = ReceiveConfigArgs;
|
|
13653
13903
|
type index$1_SetConfigInstructionAccounts = SetConfigInstructionAccounts;
|
|
13654
13904
|
type index$1_SetConfigInstructionArgs = SetConfigInstructionArgs;
|
|
13655
13905
|
type index$1_SetConfigParams = SetConfigParams;
|
|
@@ -13662,10 +13912,16 @@ declare const index$1_TooManyAdminsError: typeof TooManyAdminsError;
|
|
|
13662
13912
|
type index$1_TooManyOptionTypesError = TooManyOptionTypesError;
|
|
13663
13913
|
declare const index$1_TooManyOptionTypesError: typeof TooManyOptionTypesError;
|
|
13664
13914
|
type index$1_TransactionAccount = TransactionAccount;
|
|
13915
|
+
type index$1_UlnConfig = UlnConfig;
|
|
13665
13916
|
type index$1_UnexpiredExecuteHashError = UnexpiredExecuteHashError;
|
|
13666
13917
|
declare const index$1_UnexpiredExecuteHashError: typeof UnexpiredExecuteHashError;
|
|
13667
13918
|
type index$1_UniqueOwnersError = UniqueOwnersError;
|
|
13668
13919
|
declare const index$1_UniqueOwnersError: typeof UniqueOwnersError;
|
|
13920
|
+
type index$1_VerifiableInstructionAccounts = VerifiableInstructionAccounts;
|
|
13921
|
+
type index$1_VerifiableInstructionArgs = VerifiableInstructionArgs;
|
|
13922
|
+
type index$1_VerifiableParams = VerifiableParams;
|
|
13923
|
+
type index$1_VerificationState = VerificationState;
|
|
13924
|
+
declare const index$1_VerificationState: typeof VerificationState;
|
|
13669
13925
|
type index$1_WithdrawFeeInstructionAccounts = WithdrawFeeInstructionAccounts;
|
|
13670
13926
|
type index$1_WithdrawFeeInstructionArgs = WithdrawFeeInstructionArgs;
|
|
13671
13927
|
type index$1_WithdrawFeeParams = WithdrawFeeParams;
|
|
@@ -13685,6 +13941,8 @@ declare const index$1_createQuoteDvnInstruction: typeof createQuoteDvnInstructio
|
|
|
13685
13941
|
declare const index$1_createQuoteDvnInstructionAccounts: typeof createQuoteDvnInstructionAccounts;
|
|
13686
13942
|
declare const index$1_createSetConfigInstruction: typeof createSetConfigInstruction;
|
|
13687
13943
|
declare const index$1_createSetConfigInstructionAccounts: typeof createSetConfigInstructionAccounts;
|
|
13944
|
+
declare const index$1_createVerifiableInstruction: typeof createVerifiableInstruction;
|
|
13945
|
+
declare const index$1_createVerifiableInstructionAccounts: typeof createVerifiableInstructionAccounts;
|
|
13688
13946
|
declare const index$1_createWithdrawFeeInstruction: typeof createWithdrawFeeInstruction;
|
|
13689
13947
|
declare const index$1_createWithdrawFeeInstructionAccounts: typeof createWithdrawFeeInstructionAccounts;
|
|
13690
13948
|
declare const index$1_dstConfigBeet: typeof dstConfigBeet;
|
|
@@ -13718,15 +13976,22 @@ declare const index$1_multisigConfigBeet: typeof multisigConfigBeet;
|
|
|
13718
13976
|
declare const index$1_quoteDvnInstructionDiscriminator: typeof quoteDvnInstructionDiscriminator;
|
|
13719
13977
|
declare const index$1_quoteDvnParamsBeet: typeof quoteDvnParamsBeet;
|
|
13720
13978
|
declare const index$1_quoteDvnStruct: typeof quoteDvnStruct;
|
|
13979
|
+
declare const index$1_receiveConfigBeet: typeof receiveConfigBeet;
|
|
13980
|
+
declare const index$1_receiveConfigDiscriminator: typeof receiveConfigDiscriminator;
|
|
13721
13981
|
declare const index$1_setConfigInstructionDiscriminator: typeof setConfigInstructionDiscriminator;
|
|
13722
13982
|
declare const index$1_setConfigParamsBeet: typeof setConfigParamsBeet;
|
|
13723
13983
|
declare const index$1_setConfigStruct: typeof setConfigStruct;
|
|
13724
13984
|
declare const index$1_transactionAccountBeet: typeof transactionAccountBeet;
|
|
13985
|
+
declare const index$1_ulnConfigBeet: typeof ulnConfigBeet;
|
|
13986
|
+
declare const index$1_verifiableInstructionDiscriminator: typeof verifiableInstructionDiscriminator;
|
|
13987
|
+
declare const index$1_verifiableParamsBeet: typeof verifiableParamsBeet;
|
|
13988
|
+
declare const index$1_verifiableStruct: typeof verifiableStruct;
|
|
13989
|
+
declare const index$1_verificationStateBeet: typeof verificationStateBeet;
|
|
13725
13990
|
declare const index$1_withdrawFeeInstructionDiscriminator: typeof withdrawFeeInstructionDiscriminator;
|
|
13726
13991
|
declare const index$1_withdrawFeeParamsBeet: typeof withdrawFeeParamsBeet;
|
|
13727
13992
|
declare const index$1_withdrawFeeStruct: typeof withdrawFeeStruct;
|
|
13728
13993
|
declare namespace index$1 {
|
|
13729
|
-
export { type index$1_Acl as Acl, type index$1_AdminConfig as AdminConfig, type index$1_AdminConfigRecord as AdminConfigRecord, type index$1_CloseExecuteInstructionAccounts as CloseExecuteInstructionAccounts, type index$1_CloseExecuteInstructionArgs as CloseExecuteInstructionArgs, type index$1_CloseExecuteParams as CloseExecuteParams, type index$1_DstConfig as DstConfig, index$1_DuplicateSignatureError as DuplicateSignatureError, index$1_DvnConfig as DvnConfig, type index$1_DvnConfigArgs as DvnConfigArgs, index$1_EidNotSupportedError as EidNotSupportedError, index$1_ExecuteHash as ExecuteHash, type index$1_ExecuteHashArgs as ExecuteHashArgs, type index$1_ExecuteTransactionDigest as ExecuteTransactionDigest, index$1_ExpiredError as ExpiredError, type index$1_InitDvnInstructionAccounts as InitDvnInstructionAccounts, type index$1_InitDvnInstructionArgs as InitDvnInstructionArgs, type index$1_InitDvnParams as InitDvnParams, index$1_InvalidAmountError as InvalidAmountError, index$1_InvalidQuorumError as InvalidQuorumError, index$1_InvalidSignatureLenError as InvalidSignatureLenError, index$1_InvalidSignersLenError as InvalidSignersLenError, index$1_InvalidVidError as InvalidVidError, type index$1_InvokeInstructionAccounts as InvokeInstructionAccounts, type index$1_InvokeInstructionArgs as InvokeInstructionArgs, type index$1_InvokeParams as InvokeParams, type index$1_LzOption as LzOption, index$1_MsgLibNotAllowedError as MsgLibNotAllowedError, type index$1_Multisig as Multisig, type index$1_MultisigConfig as MultisigConfig, type index$1_MultisigConfigRecord as MultisigConfigRecord, index$1_NotAdminError as NotAdminError, PROGRAM_ADDRESS$1 as PROGRAM_ADDRESS, PROGRAM_ID$1 as PROGRAM_ID, index$1_PausedError as PausedError, type index$1_QuoteDvnInstructionAccounts as QuoteDvnInstructionAccounts, type index$1_QuoteDvnInstructionArgs as QuoteDvnInstructionArgs, type index$1_QuoteDvnParams as QuoteDvnParams, type index$1_SetConfigInstructionAccounts as SetConfigInstructionAccounts, type index$1_SetConfigInstructionArgs as SetConfigInstructionArgs, type index$1_SetConfigParams as SetConfigParams, index$1_SignatureErrorError as SignatureErrorError, index$1_SignerNotInCommitteeError as SignerNotInCommitteeError, index$1_TooManyAdminsError as TooManyAdminsError, index$1_TooManyOptionTypesError as TooManyOptionTypesError, type index$1_TransactionAccount as TransactionAccount, index$1_UnexpiredExecuteHashError as UnexpiredExecuteHashError, index$1_UniqueOwnersError as UniqueOwnersError, type index$1_WithdrawFeeInstructionAccounts as WithdrawFeeInstructionAccounts, type index$1_WithdrawFeeInstructionArgs as WithdrawFeeInstructionArgs, type index$1_WithdrawFeeParams as WithdrawFeeParams, index$1_accountProviders as accountProviders, index$1_aclBeet as aclBeet, index$1_adminConfigBeet as adminConfigBeet, index$1_closeExecuteInstructionDiscriminator as closeExecuteInstructionDiscriminator, index$1_closeExecuteParamsBeet as closeExecuteParamsBeet, index$1_closeExecuteStruct as closeExecuteStruct, index$1_createCloseExecuteInstruction as createCloseExecuteInstruction, index$1_createCloseExecuteInstructionAccounts as createCloseExecuteInstructionAccounts, index$1_createInitDvnInstruction as createInitDvnInstruction, index$1_createInitDvnInstructionAccounts as createInitDvnInstructionAccounts, index$1_createInvokeInstruction as createInvokeInstruction, index$1_createInvokeInstructionAccounts as createInvokeInstructionAccounts, index$1_createQuoteDvnInstruction as createQuoteDvnInstruction, index$1_createQuoteDvnInstructionAccounts as createQuoteDvnInstructionAccounts, index$1_createSetConfigInstruction as createSetConfigInstruction, index$1_createSetConfigInstructionAccounts as createSetConfigInstructionAccounts, index$1_createWithdrawFeeInstruction as createWithdrawFeeInstruction, index$1_createWithdrawFeeInstructionAccounts as createWithdrawFeeInstructionAccounts, index$1_dstConfigBeet as dstConfigBeet, index$1_dvnConfigBeet as dvnConfigBeet, index$1_dvnConfigDiscriminator as dvnConfigDiscriminator, index$1_errorFromCode as errorFromCode, index$1_errorFromName as errorFromName, index$1_executeHashBeet as executeHashBeet, index$1_executeHashDiscriminator as executeHashDiscriminator, index$1_executeTransactionDigestBeet as executeTransactionDigestBeet, index$1_initDvnInstructionDiscriminator as initDvnInstructionDiscriminator, index$1_initDvnParamsBeet as initDvnParamsBeet, index$1_initDvnStruct as initDvnStruct, index$1_invokeInstructionDiscriminator as invokeInstructionDiscriminator, index$1_invokeParamsBeet as invokeParamsBeet, index$1_invokeStruct as invokeStruct, index$1_isAdminConfigAdmins as isAdminConfigAdmins, index$1_isAdminConfigDefaultMultiplierBps as isAdminConfigDefaultMultiplierBps, index$1_isAdminConfigDstConfigs as isAdminConfigDstConfigs, index$1_isAdminConfigPriceFeed as isAdminConfigPriceFeed, index$1_isMultisigConfigAdmins as isMultisigConfigAdmins, index$1_isMultisigConfigAllowlist as isMultisigConfigAllowlist, index$1_isMultisigConfigDenylist as isMultisigConfigDenylist, index$1_isMultisigConfigMsglibs as isMultisigConfigMsglibs, index$1_isMultisigConfigPaused as isMultisigConfigPaused, index$1_isMultisigConfigQuorum as isMultisigConfigQuorum, index$1_isMultisigConfigSigners as isMultisigConfigSigners, index$1_lzOptionBeet as lzOptionBeet, index$1_multisigBeet as multisigBeet, index$1_multisigConfigBeet as multisigConfigBeet, index$1_quoteDvnInstructionDiscriminator as quoteDvnInstructionDiscriminator, index$1_quoteDvnParamsBeet as quoteDvnParamsBeet, index$1_quoteDvnStruct as quoteDvnStruct, index$1_setConfigInstructionDiscriminator as setConfigInstructionDiscriminator, index$1_setConfigParamsBeet as setConfigParamsBeet, index$1_setConfigStruct as setConfigStruct, index$1_transactionAccountBeet as transactionAccountBeet, index$1_withdrawFeeInstructionDiscriminator as withdrawFeeInstructionDiscriminator, index$1_withdrawFeeParamsBeet as withdrawFeeParamsBeet, index$1_withdrawFeeStruct as withdrawFeeStruct };
|
|
13994
|
+
export { type index$1_Acl as Acl, type index$1_AdminConfig as AdminConfig, type index$1_AdminConfigRecord as AdminConfigRecord, type index$1_CloseExecuteInstructionAccounts as CloseExecuteInstructionAccounts, type index$1_CloseExecuteInstructionArgs as CloseExecuteInstructionArgs, type index$1_CloseExecuteParams as CloseExecuteParams, type index$1_DstConfig as DstConfig, index$1_DuplicateSignatureError as DuplicateSignatureError, index$1_DvnConfig as DvnConfig, type index$1_DvnConfigArgs as DvnConfigArgs, index$1_EidNotSupportedError as EidNotSupportedError, index$1_ExecuteHash as ExecuteHash, type index$1_ExecuteHashArgs as ExecuteHashArgs, type index$1_ExecuteTransactionDigest as ExecuteTransactionDigest, index$1_ExpiredError as ExpiredError, type index$1_InitDvnInstructionAccounts as InitDvnInstructionAccounts, type index$1_InitDvnInstructionArgs as InitDvnInstructionArgs, type index$1_InitDvnParams as InitDvnParams, index$1_InvalidAmountError as InvalidAmountError, index$1_InvalidDefaultReceiveConfigAccountError as InvalidDefaultReceiveConfigAccountError, index$1_InvalidNonceAccountError as InvalidNonceAccountError, index$1_InvalidPayloadHashAccountError as InvalidPayloadHashAccountError, index$1_InvalidQuorumError as InvalidQuorumError, index$1_InvalidReceiveConfigAccountError as InvalidReceiveConfigAccountError, index$1_InvalidSignatureLenError as InvalidSignatureLenError, index$1_InvalidSignersLenError as InvalidSignersLenError, index$1_InvalidVidError as InvalidVidError, type index$1_InvokeInstructionAccounts as InvokeInstructionAccounts, type index$1_InvokeInstructionArgs as InvokeInstructionArgs, type index$1_InvokeParams as InvokeParams, type index$1_LzOption as LzOption, index$1_MsgLibNotAllowedError as MsgLibNotAllowedError, type index$1_Multisig as Multisig, type index$1_MultisigConfig as MultisigConfig, type index$1_MultisigConfigRecord as MultisigConfigRecord, index$1_NotAdminError as NotAdminError, PROGRAM_ADDRESS$1 as PROGRAM_ADDRESS, PROGRAM_ID$1 as PROGRAM_ID, index$1_PausedError as PausedError, type index$1_QuoteDvnInstructionAccounts as QuoteDvnInstructionAccounts, type index$1_QuoteDvnInstructionArgs as QuoteDvnInstructionArgs, type index$1_QuoteDvnParams as QuoteDvnParams, index$1_ReceiveConfig as ReceiveConfig, type index$1_ReceiveConfigArgs as ReceiveConfigArgs, type index$1_SetConfigInstructionAccounts as SetConfigInstructionAccounts, type index$1_SetConfigInstructionArgs as SetConfigInstructionArgs, type index$1_SetConfigParams as SetConfigParams, index$1_SignatureErrorError as SignatureErrorError, index$1_SignerNotInCommitteeError as SignerNotInCommitteeError, index$1_TooManyAdminsError as TooManyAdminsError, index$1_TooManyOptionTypesError as TooManyOptionTypesError, type index$1_TransactionAccount as TransactionAccount, type index$1_UlnConfig as UlnConfig, index$1_UnexpiredExecuteHashError as UnexpiredExecuteHashError, index$1_UniqueOwnersError as UniqueOwnersError, type index$1_VerifiableInstructionAccounts as VerifiableInstructionAccounts, type index$1_VerifiableInstructionArgs as VerifiableInstructionArgs, type index$1_VerifiableParams as VerifiableParams, index$1_VerificationState as VerificationState, type index$1_WithdrawFeeInstructionAccounts as WithdrawFeeInstructionAccounts, type index$1_WithdrawFeeInstructionArgs as WithdrawFeeInstructionArgs, type index$1_WithdrawFeeParams as WithdrawFeeParams, index$1_accountProviders as accountProviders, index$1_aclBeet as aclBeet, index$1_adminConfigBeet as adminConfigBeet, index$1_closeExecuteInstructionDiscriminator as closeExecuteInstructionDiscriminator, index$1_closeExecuteParamsBeet as closeExecuteParamsBeet, index$1_closeExecuteStruct as closeExecuteStruct, index$1_createCloseExecuteInstruction as createCloseExecuteInstruction, index$1_createCloseExecuteInstructionAccounts as createCloseExecuteInstructionAccounts, index$1_createInitDvnInstruction as createInitDvnInstruction, index$1_createInitDvnInstructionAccounts as createInitDvnInstructionAccounts, index$1_createInvokeInstruction as createInvokeInstruction, index$1_createInvokeInstructionAccounts as createInvokeInstructionAccounts, index$1_createQuoteDvnInstruction as createQuoteDvnInstruction, index$1_createQuoteDvnInstructionAccounts as createQuoteDvnInstructionAccounts, index$1_createSetConfigInstruction as createSetConfigInstruction, index$1_createSetConfigInstructionAccounts as createSetConfigInstructionAccounts, index$1_createVerifiableInstruction as createVerifiableInstruction, index$1_createVerifiableInstructionAccounts as createVerifiableInstructionAccounts, index$1_createWithdrawFeeInstruction as createWithdrawFeeInstruction, index$1_createWithdrawFeeInstructionAccounts as createWithdrawFeeInstructionAccounts, index$1_dstConfigBeet as dstConfigBeet, index$1_dvnConfigBeet as dvnConfigBeet, index$1_dvnConfigDiscriminator as dvnConfigDiscriminator, index$1_errorFromCode as errorFromCode, index$1_errorFromName as errorFromName, index$1_executeHashBeet as executeHashBeet, index$1_executeHashDiscriminator as executeHashDiscriminator, index$1_executeTransactionDigestBeet as executeTransactionDigestBeet, index$1_initDvnInstructionDiscriminator as initDvnInstructionDiscriminator, index$1_initDvnParamsBeet as initDvnParamsBeet, index$1_initDvnStruct as initDvnStruct, index$1_invokeInstructionDiscriminator as invokeInstructionDiscriminator, index$1_invokeParamsBeet as invokeParamsBeet, index$1_invokeStruct as invokeStruct, index$1_isAdminConfigAdmins as isAdminConfigAdmins, index$1_isAdminConfigDefaultMultiplierBps as isAdminConfigDefaultMultiplierBps, index$1_isAdminConfigDstConfigs as isAdminConfigDstConfigs, index$1_isAdminConfigPriceFeed as isAdminConfigPriceFeed, index$1_isMultisigConfigAdmins as isMultisigConfigAdmins, index$1_isMultisigConfigAllowlist as isMultisigConfigAllowlist, index$1_isMultisigConfigDenylist as isMultisigConfigDenylist, index$1_isMultisigConfigMsglibs as isMultisigConfigMsglibs, index$1_isMultisigConfigPaused as isMultisigConfigPaused, index$1_isMultisigConfigQuorum as isMultisigConfigQuorum, index$1_isMultisigConfigSigners as isMultisigConfigSigners, index$1_lzOptionBeet as lzOptionBeet, index$1_multisigBeet as multisigBeet, index$1_multisigConfigBeet as multisigConfigBeet, index$1_quoteDvnInstructionDiscriminator as quoteDvnInstructionDiscriminator, index$1_quoteDvnParamsBeet as quoteDvnParamsBeet, index$1_quoteDvnStruct as quoteDvnStruct, index$1_receiveConfigBeet as receiveConfigBeet, index$1_receiveConfigDiscriminator as receiveConfigDiscriminator, index$1_setConfigInstructionDiscriminator as setConfigInstructionDiscriminator, index$1_setConfigParamsBeet as setConfigParamsBeet, index$1_setConfigStruct as setConfigStruct, index$1_transactionAccountBeet as transactionAccountBeet, index$1_ulnConfigBeet as ulnConfigBeet, index$1_verifiableInstructionDiscriminator as verifiableInstructionDiscriminator, index$1_verifiableParamsBeet as verifiableParamsBeet, index$1_verifiableStruct as verifiableStruct, index$1_verificationStateBeet as verificationStateBeet, index$1_withdrawFeeInstructionDiscriminator as withdrawFeeInstructionDiscriminator, index$1_withdrawFeeParamsBeet as withdrawFeeParamsBeet, index$1_withdrawFeeStruct as withdrawFeeStruct };
|
|
13730
13995
|
}
|
|
13731
13996
|
|
|
13732
13997
|
interface SignFunc {
|
|
@@ -13844,11 +14109,69 @@ declare function getProgramPath(program: SupportedPrograms, targetDir?: string):
|
|
|
13844
14109
|
declare function buildProgram(program: SupportedPrograms, program_id: Keypair, ops: ProcessEnvOptions, programDir?: string, targetDir?: string): Promise<string>;
|
|
13845
14110
|
declare function deploy(network: Network, program: SupportedPrograms, programDir: string, programIdDir: string, keypair: string, rpc: string): Buffer;
|
|
13846
14111
|
|
|
14112
|
+
declare const AddressType: beet.ElementCollectionBeet & beet.BeetBase & beet.BeetReadWrite<number[], number[]>;
|
|
14113
|
+
declare const MSG_TYPE_OFFSET = 0;
|
|
14114
|
+
declare enum MessageType {
|
|
14115
|
+
VANILLA = 1,
|
|
14116
|
+
COMPOSED_TYPE = 2
|
|
14117
|
+
}
|
|
14118
|
+
interface LzReceiveParams {
|
|
14119
|
+
srcEid: number;
|
|
14120
|
+
sender: number[];
|
|
14121
|
+
nonce: bignum$1;
|
|
14122
|
+
guid: number[];
|
|
14123
|
+
message: Uint8Array;
|
|
14124
|
+
callerParams: Uint8Array;
|
|
14125
|
+
}
|
|
14126
|
+
declare const LzReceiveParamsBeet: FixableBeetArgsStruct<LzReceiveParams>;
|
|
14127
|
+
/**
|
|
14128
|
+
*
|
|
14129
|
+
pub from: Pubkey,
|
|
14130
|
+
pub to: Pubkey,
|
|
14131
|
+
pub guid: [u8; 32],
|
|
14132
|
+
pub index: u16,
|
|
14133
|
+
pub message: Vec<u8>,
|
|
14134
|
+
pub extra_data: Vec<u8>,
|
|
14135
|
+
**/
|
|
14136
|
+
interface LzComposeParams {
|
|
14137
|
+
from: PublicKey;
|
|
14138
|
+
to: PublicKey;
|
|
14139
|
+
guid: number[];
|
|
14140
|
+
index: number;
|
|
14141
|
+
message: Uint8Array;
|
|
14142
|
+
extraData: Uint8Array;
|
|
14143
|
+
}
|
|
14144
|
+
/**
|
|
14145
|
+
* @category userTypes
|
|
14146
|
+
* @category generated
|
|
14147
|
+
*/
|
|
14148
|
+
declare const LzComposeParamsBeet: FixableBeetArgsStruct<LzComposeParams>;
|
|
14149
|
+
interface LzReceiveAccount {
|
|
14150
|
+
pubkey: PublicKey;
|
|
14151
|
+
isSigner: boolean;
|
|
14152
|
+
isWritable: boolean;
|
|
14153
|
+
}
|
|
14154
|
+
/**
|
|
14155
|
+
* @category userTypes
|
|
14156
|
+
* @category generated
|
|
14157
|
+
*/
|
|
14158
|
+
declare const LzReceiveAccountBeet: BeetArgsStruct<LzReceiveAccount>;
|
|
14159
|
+
declare enum ExecutorOptionType {
|
|
14160
|
+
PlaceHolder = 0,
|
|
14161
|
+
LzReceive = 1,
|
|
14162
|
+
NativeDrop = 2,
|
|
14163
|
+
LzCompose = 3,
|
|
14164
|
+
OrderExecution = 4
|
|
14165
|
+
}
|
|
14166
|
+
declare const MaxExecutorOptionTypeLength = 10;
|
|
14167
|
+
|
|
13847
14168
|
/**
|
|
13848
14169
|
* @param payer. If the msgType is COMPOSED_TYPE, then the payer is required to pay for initializing the account.
|
|
13849
14170
|
*/
|
|
13850
14171
|
declare function lzReceive(connection: Connection, payer: PublicKey, packet: Packet$2, callerParams?: Uint8Array, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction>;
|
|
13851
|
-
declare function lzCompose(connection: Connection, payer: PublicKey, event: ComposeSentEvent,
|
|
14172
|
+
declare function lzCompose(connection: Connection, payer: PublicKey, event: ComposeSentEvent, extraData?: Uint8Array, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<TransactionInstruction>;
|
|
14173
|
+
declare function getLzReceiveAccounts(connection: Connection, payer: PublicKey, receiver: PublicKey, receiverProgram: PublicKey, params: LzReceiveParams, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountMeta[]>;
|
|
14174
|
+
declare function getLzComposeAccountMeta(connection: Connection, payer: PublicKey, to: PublicKey, composerProgram: PublicKey, params: LzComposeParams, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountMeta[]>;
|
|
13852
14175
|
|
|
13853
14176
|
/**
|
|
13854
14177
|
* This code was GENERATED using the solita package.
|
|
@@ -14023,4 +14346,4 @@ interface MessageLibInterface {
|
|
|
14023
14346
|
getSetConfigIXAccountMetaForCPI(endpointProgram: PublicKey, oappID: PublicKey, eid: number): Promise<AccountMeta[]>;
|
|
14024
14347
|
}
|
|
14025
14348
|
|
|
14026
|
-
export { AddressType, BaseOApp, index as BlockedMessageLibProgram, COMPOSED_MESSAGE_HASH_SEED, CONFIRMATIONS_SEED, COUNT_SEED, DVNDeriver, dvn as DVNProgram, DVN_CONFIG_SEED, index$1 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, OPTIONS_SEED, OftPDADeriver, 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, type bignum, buildMessageV0, buildProgram, buildVersionedTransaction, closeLookupTable, createNonceAccountTX, deactivateLookupTable, deploy, deriveLzComposeTypesAccountsPDA, deriveLzReceiveTypesAccountsPDA, extractComposeDeliveredEventByTxHash, extractComposeSentEventByTxHash, extractEventFromTransactionSignature, extractReceivedPacketEventByTxHash, extractSentPacketEventByTxHash, extractVerifiedPacketEventByTxHash, extractWorkerFeePaidEventByTxHash, generateAddressLookupTable, getBlockedMessageLibProgramId, getDVNProgramId, getEndpointProgramId, getExecutorProgramId, getPricefeedProgramId, getProgramKeypair, getProgramPath, getSimpleMessageLibProgramId, getULNProgramId, idlTypes, instructionDiscriminator, isAccountInitialized, loadAnchorKeypair, loadKeypair, lzCompose, lzReceive, messageLibs, oappIDPDA, programKeypairPath, saveKeypair, simulateTransaction, txWithAddressLookupTable, txWithNonce };
|
|
14349
|
+
export { AddressType, BaseOApp, index as BlockedMessageLibProgram, COMPOSED_MESSAGE_HASH_SEED, CONFIRMATIONS_SEED, COUNT_SEED, DVNDeriver, dvn as DVNProgram, DVN_CONFIG_SEED, index$1 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, OPTIONS_SEED, OftPDADeriver, 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, type bignum, buildMessageV0, buildProgram, buildVersionedTransaction, closeLookupTable, createNonceAccountTX, deactivateLookupTable, deploy, deriveLzComposeTypesAccountsPDA, deriveLzReceiveTypesAccountsPDA, extractComposeDeliveredEventByTxHash, extractComposeSentEventByTxHash, extractEventFromTransactionSignature, extractReceivedPacketEventByTxHash, extractSentPacketEventByTxHash, extractVerifiedPacketEventByTxHash, extractWorkerFeePaidEventByTxHash, generateAddressLookupTable, getBlockedMessageLibProgramId, getDVNProgramId, getEndpointProgramId, getExecutorProgramId, getLzComposeAccountMeta, getLzReceiveAccounts, getPricefeedProgramId, getProgramKeypair, getProgramPath, getSimpleMessageLibProgramId, getULNProgramId, idlTypes, instructionDiscriminator, isAccountInitialized, loadAnchorKeypair, loadKeypair, lzCompose, lzReceive, messageLibs, oappIDPDA, programKeypairPath, saveKeypair, simulateTransaction, txWithAddressLookupTable, txWithNonce };
|