{"version":3,"sources":["../src/solita/pda-deriver.ts","../src/solita/endpoint.ts","../src/generated/solita/endpoint/accounts/index.ts","../src/generated/solita/endpoint/accounts/ComposeMessageState.ts","../src/generated/solita/endpoint/accounts/EndpointSettings.ts","../src/generated/solita/endpoint/types/MessageLibType.ts","../src/generated/solita/endpoint/accounts/MessageLibInfo.ts","../src/generated/solita/endpoint/accounts/Nonce.ts","../src/generated/solita/endpoint/accounts/OAppRegistry.ts","../src/generated/solita/endpoint/accounts/PayloadHash.ts","../src/generated/solita/endpoint/accounts/PendingInboundNonce.ts","../src/generated/solita/endpoint/types/ReceiveLibraryTimeout.ts","../src/generated/solita/endpoint/accounts/ReceiveLibraryConfig.ts","../src/generated/solita/endpoint/accounts/SendLibraryConfig.ts","../src/generated/solita/endpoint/errors/index.ts","../src/generated/solita/endpoint/instructions/index.ts","../src/generated/solita/endpoint/types/BurnParams.ts","../src/generated/solita/endpoint/instructions/burn.ts","../src/generated/solita/endpoint/types/ClearParams.ts","../src/generated/solita/endpoint/instructions/clear.ts","../src/generated/solita/endpoint/types/ClearComposeParams.ts","../src/generated/solita/endpoint/instructions/clearCompose.ts","../src/generated/solita/endpoint/types/InitConfigParams.ts","../src/generated/solita/endpoint/instructions/initConfig.ts","../src/generated/solita/endpoint/types/InitDefaultReceiveLibraryParams.ts","../src/generated/solita/endpoint/instructions/initDefaultReceiveLibrary.ts","../src/generated/solita/endpoint/types/InitDefaultSendLibraryParams.ts","../src/generated/solita/endpoint/instructions/initDefaultSendLibrary.ts","../src/generated/solita/endpoint/types/InitEndpointParams.ts","../src/generated/solita/endpoint/instructions/initEndpoint.ts","../src/generated/solita/endpoint/types/InitNonceParams.ts","../src/generated/solita/endpoint/instructions/initNonce.ts","../src/generated/solita/endpoint/types/InitReceiveLibraryParams.ts","../src/generated/solita/endpoint/instructions/initReceiveLibrary.ts","../src/generated/solita/endpoint/types/InitSendLibraryParams.ts","../src/generated/solita/endpoint/instructions/initSendLibrary.ts","../src/generated/solita/endpoint/types/InitVerifyParams.ts","../src/generated/solita/endpoint/instructions/initVerify.ts","../src/generated/solita/endpoint/types/LzComposeAlertParams.ts","../src/generated/solita/endpoint/instructions/lzComposeAlert.ts","../src/generated/solita/endpoint/types/LzReceiveAlertParams.ts","../src/generated/solita/endpoint/instructions/lzReceiveAlert.ts","../src/generated/solita/endpoint/types/NilifyParams.ts","../src/generated/solita/endpoint/instructions/nilify.ts","../src/generated/solita/endpoint/types/QuoteParams.ts","../src/generated/solita/endpoint/instructions/quote.ts","../src/generated/solita/endpoint/types/RegisterLibraryParams.ts","../src/generated/solita/endpoint/instructions/registerLibrary.ts","../src/generated/solita/endpoint/types/RegisterOAppParams.ts","../src/generated/solita/endpoint/instructions/registerOapp.ts","../src/generated/solita/endpoint/types/SendParams.ts","../src/generated/solita/endpoint/instructions/send.ts","../src/generated/solita/endpoint/types/SendComposeParams.ts","../src/generated/solita/endpoint/instructions/sendCompose.ts","../src/generated/solita/endpoint/types/SetConfigParams.ts","../src/generated/solita/endpoint/instructions/setConfig.ts","../src/generated/solita/endpoint/types/SetDefaultReceiveLibraryParams.ts","../src/generated/solita/endpoint/instructions/setDefaultReceiveLibrary.ts","../src/generated/solita/endpoint/types/SetDefaultReceiveLibraryTimeoutParams.ts","../src/generated/solita/endpoint/instructions/setDefaultReceiveLibraryTimeout.ts","../src/generated/solita/endpoint/types/SetDefaultSendLibraryParams.ts","../src/generated/solita/endpoint/instructions/setDefaultSendLibrary.ts","../src/generated/solita/endpoint/types/SetDelegateParams.ts","../src/generated/solita/endpoint/instructions/setDelegate.ts","../src/generated/solita/endpoint/types/SetLzTokenParams.ts","../src/generated/solita/endpoint/instructions/setLzToken.ts","../src/generated/solita/endpoint/types/SetReceiveLibraryParams.ts","../src/generated/solita/endpoint/instructions/setReceiveLibrary.ts","../src/generated/solita/endpoint/types/SetReceiveLibraryTimeoutParams.ts","../src/generated/solita/endpoint/instructions/setReceiveLibraryTimeout.ts","../src/generated/solita/endpoint/types/SetSendLibraryParams.ts","../src/generated/solita/endpoint/instructions/setSendLibrary.ts","../src/generated/solita/endpoint/types/SkipParams.ts","../src/generated/solita/endpoint/instructions/skip.ts","../src/generated/solita/endpoint/types/TransferAdminParams.ts","../src/generated/solita/endpoint/instructions/transferAdmin.ts","../src/generated/solita/endpoint/types/VerifyParams.ts","../src/generated/solita/endpoint/instructions/verify.ts","../src/generated/solita/endpoint/types/WithdrawRentParams.ts","../src/generated/solita/endpoint/instructions/withdrawRent.ts","../src/generated/solita/endpoint/types/index.ts","../src/generated/solita/endpoint/types/MessagingFee.ts","../src/generated/solita/endpoint/types/MessagingReceipt.ts","../src/generated/solita/endpoint/index.ts","../src/generated/solita/endpoint/events/index.ts","../src/generated/solita/endpoint/events/AdminTransferredEvent.ts","../src/generated/solita/endpoint/events/ComposeDeliveredEvent.ts","../src/generated/solita/endpoint/events/ComposeSentEvent.ts","../src/generated/solita/endpoint/events/DefaultReceiveLibrarySetEvent.ts","../src/generated/solita/endpoint/events/DefaultReceiveLibraryTimeoutSetEvent.ts","../src/generated/solita/endpoint/events/DefaultSendLibrarySetEvent.ts","../src/generated/solita/endpoint/events/DelegateSetEvent.ts","../src/generated/solita/endpoint/events/InboundNonceSkippedEvent.ts","../src/generated/solita/endpoint/events/LibraryRegisteredEvent.ts","../src/generated/solita/endpoint/events/LzComposeAlertEvent.ts","../src/generated/solita/endpoint/events/LzReceiveAlertEvent.ts","../src/generated/solita/endpoint/events/LzTokenSetEvent.ts","../src/generated/solita/endpoint/events/OAppRegisteredEvent.ts","../src/generated/solita/endpoint/events/PacketBurntEvent.ts","../src/generated/solita/endpoint/events/PacketDeliveredEvent.ts","../src/generated/solita/endpoint/events/PacketNilifiedEvent.ts","../src/generated/solita/endpoint/events/PacketSentEvent.ts","../src/generated/solita/endpoint/events/PacketVerifiedEvent.ts","../src/generated/solita/endpoint/events/ReceiveLibrarySetEvent.ts","../src/generated/solita/endpoint/events/ReceiveLibraryTimeoutSetEvent.ts","../src/generated/solita/endpoint/events/RentWithdrawnEvent.ts","../src/generated/solita/endpoint/events/SendLibrarySetEvent.ts","../src/solita/simple-message-lib.ts","../src/generated/solita/simple_messagelib/accounts/index.ts","../src/generated/solita/simple_messagelib/accounts/MessageLib.ts","../src/generated/solita/simple_messagelib/accounts/ReceiveConfigStore.ts","../src/generated/solita/simple_messagelib/accounts/SendConfigStore.ts","../src/generated/solita/simple_messagelib/errors/index.ts","../src/generated/solita/simple_messagelib/instructions/index.ts","../src/generated/solita/simple_messagelib/types/InitConfigParams.ts","../src/generated/solita/simple_messagelib/instructions/initConfig.ts","../src/generated/solita/simple_messagelib/types/InitDefaultConfigParams.ts","../src/generated/solita/simple_messagelib/instructions/initDefaultConfig.ts","../src/generated/solita/simple_messagelib/types/InitMessageLibParams.ts","../src/generated/solita/simple_messagelib/instructions/initMessageLib.ts","../src/generated/solita/simple_messagelib/types/Packet.ts","../src/generated/solita/simple_messagelib/types/QuoteParams.ts","../src/generated/solita/simple_messagelib/instructions/quote.ts","../src/generated/solita/simple_messagelib/instructions/revertCall.ts","../src/generated/solita/simple_messagelib/types/SendParams.ts","../src/generated/solita/simple_messagelib/instructions/send.ts","../src/generated/solita/simple_messagelib/types/SendWithLzTokenParams.ts","../src/generated/solita/simple_messagelib/instructions/sendWithLzToken.ts","../src/generated/solita/simple_messagelib/types/SetConfigParams.ts","../src/generated/solita/simple_messagelib/instructions/setConfig.ts","../src/generated/solita/simple_messagelib/types/SetDefaultConfigParams.ts","../src/generated/solita/simple_messagelib/instructions/setDefaultConfig.ts","../src/generated/solita/simple_messagelib/types/SetFeeParams.ts","../src/generated/solita/simple_messagelib/instructions/setFee.ts","../src/generated/solita/simple_messagelib/types/SetWlCallerParams.ts","../src/generated/solita/simple_messagelib/instructions/setWlCaller.ts","../src/generated/solita/simple_messagelib/types/TransferAdminParams.ts","../src/generated/solita/simple_messagelib/instructions/transferAdmin.ts","../src/generated/solita/simple_messagelib/types/ValidatePacketParams.ts","../src/generated/solita/simple_messagelib/instructions/validatePacket.ts","../src/generated/solita/simple_messagelib/instructions/version.ts","../src/generated/solita/simple_messagelib/types/WithdrawFeesParams.ts","../src/generated/solita/simple_messagelib/instructions/withdrawFees.ts","../src/generated/solita/simple_messagelib/types/index.ts","../src/generated/solita/simple_messagelib/types/MessagingFee.ts","../src/generated/solita/simple_messagelib/types/Version.ts","../src/generated/solita/simple_messagelib/index.ts","../src/solita/uln.ts","../src/solita/dvn.ts","../src/generated/solita/dvn/index.ts","../src/generated/solita/dvn/accounts/index.ts","../src/generated/solita/dvn/types/Multisig.ts","../src/generated/solita/dvn/types/Acl.ts","../src/generated/solita/dvn/types/DstConfig.ts","../src/generated/solita/dvn/accounts/DvnConfig.ts","../src/generated/solita/dvn/accounts/ExecuteHash.ts","../src/generated/solita/dvn/types/UlnConfig.ts","../src/generated/solita/dvn/accounts/ReceiveConfig.ts","../src/generated/solita/dvn/errors/index.ts","../src/generated/solita/dvn/instructions/index.ts","../src/generated/solita/dvn/types/CloseExecuteParams.ts","../src/generated/solita/dvn/instructions/closeExecute.ts","../src/generated/solita/dvn/types/InitDvnParams.ts","../src/generated/solita/dvn/instructions/initDvn.ts","../src/generated/solita/dvn/types/TransactionAccount.ts","../src/generated/solita/dvn/types/ExecuteTransactionDigest.ts","../src/generated/solita/dvn/types/InvokeParams.ts","../src/generated/solita/dvn/instructions/invoke.ts","../src/generated/solita/dvn/types/LzOption.ts","../src/generated/solita/dvn/types/QuoteDvnParams.ts","../src/generated/solita/dvn/instructions/quoteDvn.ts","../src/generated/solita/dvn/types/AdminConfig.ts","../src/generated/solita/dvn/types/SetConfigParams.ts","../src/generated/solita/dvn/instructions/setConfig.ts","../src/generated/solita/dvn/types/VerifiableParams.ts","../src/generated/solita/dvn/instructions/verifiable.ts","../src/generated/solita/dvn/types/WithdrawFeeParams.ts","../src/generated/solita/dvn/instructions/withdrawFee.ts","../src/generated/solita/dvn/types/index.ts","../src/generated/solita/dvn/types/MultisigConfig.ts","../src/generated/solita/dvn/types/VerificationState.ts","../src/generated/solita/dvn/events/index.ts","../src/generated/solita/dvn/events/AdminConfigSetEvent.ts","../src/generated/solita/dvn/events/FeeWithdrawnEvent.ts","../src/generated/solita/dvn/events/MultisigConfigSetEvent.ts","../src/solita/executor.ts","../src/solita/types.ts","../src/generated/solita/uln/events/index.ts","../src/generated/solita/uln/events/AdminTransferredEvent.ts","../src/generated/solita/uln/types/UlnConfig.ts","../src/generated/solita/uln/types/ExecutorConfig.ts","../src/generated/solita/uln/types/Config.ts","../src/generated/solita/uln/events/ConfigSetEvent.ts","../src/generated/solita/uln/events/DefaultConfigSetEvent.ts","../src/generated/solita/uln/types/WorkerFee.ts","../src/generated/solita/uln/types/TreasuryFee.ts","../src/generated/solita/uln/events/FeesPaidEvent.ts","../src/generated/solita/uln/events/PayloadVerifiedEvent.ts","../src/generated/solita/uln/events/RentWithdrawnEvent.ts","../src/generated/solita/uln/types/LzTokenTreasury.ts","../src/generated/solita/uln/types/Treasury.ts","../src/generated/solita/uln/events/TreasurySetEvent.ts","../src/solita/utility.ts","../src/solita/recevie.ts","../src/generated/solita/executor/accounts/index.ts","../src/generated/solita/executor/types/Acl.ts","../src/generated/solita/executor/types/DstConfig.ts","../src/generated/solita/executor/accounts/ExecutorConfig.ts","../src/generated/solita/executor/accounts/Nonce.ts","../src/generated/solita/executor/events/index.ts","../src/generated/solita/executor/types/NativeDropRequest.ts","../src/generated/solita/executor/events/NativeDropAppliedEvent.ts","../src/generated/solita/executor/instructions/index.ts","../src/generated/solita/executor/types/AdminSetConfigParams.ts","../src/generated/solita/executor/instructions/adminSetConfig.ts","../src/generated/solita/executor/types/LzComposeParams.ts","../src/generated/solita/executor/types/ComposeParams.ts","../src/generated/solita/executor/instructions/compose.ts","../src/generated/solita/executor/types/ExecutableParams.ts","../src/generated/solita/executor/instructions/executable.ts","../src/generated/solita/executor/types/LzReceiveParams.ts","../src/generated/solita/executor/types/ExecuteParams.ts","../src/generated/solita/executor/instructions/execute.ts","../src/generated/solita/executor/types/InitExecutorParams.ts","../src/generated/solita/executor/instructions/initExecutor.ts","../src/generated/solita/executor/types/NativeDropParams.ts","../src/generated/solita/executor/instructions/nativeDrop.ts","../src/generated/solita/executor/types/OwnerSetConfigParams.ts","../src/generated/solita/executor/instructions/ownerSetConfig.ts","../src/generated/solita/executor/types/LzOption.ts","../src/generated/solita/executor/types/QuoteExecutorParams.ts","../src/generated/solita/executor/instructions/quoteExecutor.ts","../src/generated/solita/executor/types/index.ts","../src/generated/solita/executor/types/ExecutionState.ts","../src/generated/solita/executor/errors/index.ts","../src/generated/solita/executor/index.ts","../src/generated/solita/uln/accounts/index.ts","../src/generated/solita/uln/accounts/Confirmations.ts","../src/generated/solita/uln/accounts/ReceiveConfig.ts","../src/generated/solita/uln/accounts/SendConfig.ts","../src/generated/solita/uln/accounts/UlnSettings.ts","../src/generated/solita/uln/errors/index.ts","../src/generated/solita/uln/instructions/index.ts","../src/generated/solita/uln/types/CloseVerifyParams.ts","../src/generated/solita/uln/instructions/closeVerify.ts","../src/generated/solita/uln/types/CommitVerificationParams.ts","../src/generated/solita/uln/instructions/commitVerification.ts","../src/generated/solita/uln/types/InitConfigParams.ts","../src/generated/solita/uln/instructions/initConfig.ts","../src/generated/solita/uln/types/InitDefaultConfigParams.ts","../src/generated/solita/uln/instructions/initDefaultConfig.ts","../src/generated/solita/uln/types/InitUlnParams.ts","../src/generated/solita/uln/instructions/initUln.ts","../src/generated/solita/uln/types/InitVerifyParams.ts","../src/generated/solita/uln/instructions/initVerify.ts","../src/generated/solita/uln/types/Packet.ts","../src/generated/solita/uln/types/QuoteParams.ts","../src/generated/solita/uln/instructions/quote.ts","../src/generated/solita/uln/types/SendParams.ts","../src/generated/solita/uln/instructions/send.ts","../src/generated/solita/uln/types/SendWithLzTokenParams.ts","../src/generated/solita/uln/instructions/sendWithLzToken.ts","../src/generated/solita/uln/types/SetConfigParams.ts","../src/generated/solita/uln/instructions/setConfig.ts","../src/generated/solita/uln/types/SetDefaultConfigParams.ts","../src/generated/solita/uln/instructions/setDefaultConfig.ts","../src/generated/solita/uln/types/SetTreasuryParams.ts","../src/generated/solita/uln/instructions/setTreasury.ts","../src/generated/solita/uln/types/TransferAdminParams.ts","../src/generated/solita/uln/instructions/transferAdmin.ts","../src/generated/solita/uln/types/VerifyParams.ts","../src/generated/solita/uln/instructions/verify.ts","../src/generated/solita/uln/instructions/version.ts","../src/generated/solita/uln/types/WithdrawRentParams.ts","../src/generated/solita/uln/instructions/withdrawRent.ts","../src/generated/solita/uln/types/index.ts","../src/generated/solita/uln/types/MessagingFee.ts","../src/generated/solita/uln/types/Version.ts","../src/generated/solita/uln/index.ts","../src/solita/pricefeed.ts","../src/generated/solita/pricefeed/accounts/index.ts","../src/generated/solita/pricefeed/types/ModelType.ts","../src/generated/solita/pricefeed/types/Price.ts","../src/generated/solita/pricefeed/accounts/PriceFeed.ts","../src/generated/solita/pricefeed/instructions/index.ts","../src/generated/solita/pricefeed/types/GetFeeParams.ts","../src/generated/solita/pricefeed/instructions/getFee.ts","../src/generated/solita/pricefeed/types/InitPriceFeedParams.ts","../src/generated/solita/pricefeed/instructions/initPriceFeed.ts","../src/generated/solita/pricefeed/types/PriceParams.ts","../src/generated/solita/pricefeed/types/SetPriceParams.ts","../src/generated/solita/pricefeed/instructions/setPrice.ts","../src/generated/solita/pricefeed/types/SetPriceFeedParams.ts","../src/generated/solita/pricefeed/instructions/setPriceFeed.ts","../src/generated/solita/pricefeed/types/SetSolPriceParams.ts","../src/generated/solita/pricefeed/instructions/setSolPrice.ts","../src/generated/solita/pricefeed/types/TransferAdminParams.ts","../src/generated/solita/pricefeed/instructions/transferAdmin.ts","../src/generated/solita/pricefeed/types/index.ts","../src/generated/solita/pricefeed/errors/index.ts","../src/generated/solita/pricefeed/index.ts","../src/solita/base-oapp.ts","../src/solita/config.ts","../src/solita/deployment.ts","../src/generated/solita/blocked_messagelib/index.ts","../src/generated/solita/blocked_messagelib/instructions/version.ts","../src/solita/send-helper.ts","../src/index.ts","../src/pda.ts","../src/endpoint.ts","../src/generated/kinobi/endpoint/accounts/index.ts","../src/generated/kinobi/endpoint/accounts/composeMessageState.ts","../src/generated/kinobi/endpoint/accounts/endpointSettings.ts","../src/generated/kinobi/endpoint/types/index.ts","../src/generated/kinobi/endpoint/types/messageLibType.ts","../src/generated/kinobi/endpoint/types/messagingFee.ts","../src/generated/kinobi/endpoint/types/messagingReceipt.ts","../src/generated/kinobi/endpoint/types/receiveLibraryTimeout.ts","../src/generated/kinobi/endpoint/accounts/messageLibInfo.ts","../src/generated/kinobi/endpoint/accounts/nonce.ts","../src/generated/kinobi/endpoint/accounts/oAppRegistry.ts","../src/generated/kinobi/endpoint/accounts/payloadHash.ts","../src/generated/kinobi/endpoint/accounts/pendingInboundNonce.ts","../src/generated/kinobi/endpoint/accounts/receiveLibraryConfig.ts","../src/generated/kinobi/endpoint/accounts/sendLibraryConfig.ts","../src/generated/kinobi/endpoint/errors/index.ts","../src/generated/kinobi/endpoint/errors/endpoint.ts","../src/generated/kinobi/endpoint/instructions/index.ts","../src/generated/kinobi/endpoint/shared/index.ts","../src/generated/kinobi/endpoint/instructions/burn.ts","../src/generated/kinobi/endpoint/instructions/clear.ts","../src/generated/kinobi/endpoint/instructions/clearCompose.ts","../src/generated/kinobi/endpoint/instructions/initConfig.ts","../src/generated/kinobi/endpoint/instructions/initDefaultReceiveLibrary.ts","../src/generated/kinobi/endpoint/instructions/initDefaultSendLibrary.ts","../src/generated/kinobi/endpoint/instructions/initEndpoint.ts","../src/generated/kinobi/endpoint/instructions/initNonce.ts","../src/generated/kinobi/endpoint/instructions/initReceiveLibrary.ts","../src/generated/kinobi/endpoint/instructions/initSendLibrary.ts","../src/generated/kinobi/endpoint/instructions/initVerify.ts","../src/generated/kinobi/endpoint/instructions/lzComposeAlert.ts","../src/generated/kinobi/endpoint/instructions/lzReceiveAlert.ts","../src/generated/kinobi/endpoint/instructions/nilify.ts","../src/generated/kinobi/endpoint/instructions/quote.ts","../src/generated/kinobi/endpoint/instructions/registerLibrary.ts","../src/generated/kinobi/endpoint/instructions/registerOapp.ts","../src/generated/kinobi/endpoint/instructions/send.ts","../src/generated/kinobi/endpoint/instructions/sendCompose.ts","../src/generated/kinobi/endpoint/instructions/setConfig.ts","../src/generated/kinobi/endpoint/instructions/setDefaultReceiveLibrary.ts","../src/generated/kinobi/endpoint/instructions/setDefaultReceiveLibraryTimeout.ts","../src/generated/kinobi/endpoint/instructions/setDefaultSendLibrary.ts","../src/generated/kinobi/endpoint/instructions/setDelegate.ts","../src/generated/kinobi/endpoint/instructions/setLzToken.ts","../src/generated/kinobi/endpoint/instructions/setReceiveLibrary.ts","../src/generated/kinobi/endpoint/instructions/setReceiveLibraryTimeout.ts","../src/generated/kinobi/endpoint/instructions/setSendLibrary.ts","../src/generated/kinobi/endpoint/instructions/skip.ts","../src/generated/kinobi/endpoint/instructions/transferAdmin.ts","../src/generated/kinobi/endpoint/instructions/verify.ts","../src/generated/kinobi/endpoint/instructions/withdrawRent.ts","../src/generated/kinobi/endpoint/programs/endpoint.ts","../src/generated/kinobi/endpoint/events/index.ts","../src/generated/kinobi/endpoint/events/adminTransferredEvent.ts","../src/generated/kinobi/endpoint/events/composeDeliveredEvent.ts","../src/generated/kinobi/endpoint/events/composeSentEvent.ts","../src/generated/kinobi/endpoint/events/defaultReceiveLibrarySetEvent.ts","../src/generated/kinobi/endpoint/events/defaultReceiveLibraryTimeoutSetEvent.ts","../src/generated/kinobi/endpoint/events/defaultSendLibrarySetEvent.ts","../src/generated/kinobi/endpoint/events/delegateSetEvent.ts","../src/generated/kinobi/endpoint/events/inboundNonceSkippedEvent.ts","../src/generated/kinobi/endpoint/events/libraryRegisteredEvent.ts","../src/generated/kinobi/endpoint/events/lzComposeAlertEvent.ts","../src/generated/kinobi/endpoint/events/lzReceiveAlertEvent.ts","../src/generated/kinobi/endpoint/events/lzTokenSetEvent.ts","../src/generated/kinobi/endpoint/events/oAppRegisteredEvent.ts","../src/generated/kinobi/endpoint/events/packetBurntEvent.ts","../src/generated/kinobi/endpoint/events/packetDeliveredEvent.ts","../src/generated/kinobi/endpoint/events/packetNilifiedEvent.ts","../src/generated/kinobi/endpoint/events/packetSentEvent.ts","../src/generated/kinobi/endpoint/events/packetVerifiedEvent.ts","../src/generated/kinobi/endpoint/events/receiveLibrarySetEvent.ts","../src/generated/kinobi/endpoint/events/receiveLibraryTimeoutSetEvent.ts","../src/generated/kinobi/endpoint/events/rentWithdrawnEvent.ts","../src/generated/kinobi/endpoint/events/sendLibrarySetEvent.ts","../src/generated/kinobi/simple_messagelib/accounts/index.ts","../src/generated/kinobi/simple_messagelib/accounts/messageLib.ts","../src/generated/kinobi/simple_messagelib/accounts/receiveConfigStore.ts","../src/generated/kinobi/simple_messagelib/accounts/sendConfigStore.ts","../src/generated/kinobi/simple_messagelib/errors/index.ts","../src/generated/kinobi/simple_messagelib/errors/simpleMessagelib.ts","../src/generated/kinobi/simple_messagelib/instructions/index.ts","../src/generated/kinobi/simple_messagelib/shared/index.ts","../src/generated/kinobi/simple_messagelib/instructions/initConfig.ts","../src/generated/kinobi/simple_messagelib/instructions/initDefaultConfig.ts","../src/generated/kinobi/simple_messagelib/instructions/initMessageLib.ts","../src/generated/kinobi/simple_messagelib/types/index.ts","../src/generated/kinobi/simple_messagelib/types/messagingFee.ts","../src/generated/kinobi/simple_messagelib/types/packet.ts","../src/generated/kinobi/simple_messagelib/types/version.ts","../src/generated/kinobi/simple_messagelib/instructions/quote.ts","../src/generated/kinobi/simple_messagelib/instructions/revertCall.ts","../src/generated/kinobi/simple_messagelib/instructions/send.ts","../src/generated/kinobi/simple_messagelib/instructions/sendWithLzToken.ts","../src/generated/kinobi/simple_messagelib/instructions/setConfig.ts","../src/generated/kinobi/simple_messagelib/instructions/setDefaultConfig.ts","../src/generated/kinobi/simple_messagelib/instructions/setFee.ts","../src/generated/kinobi/simple_messagelib/instructions/setWlCaller.ts","../src/generated/kinobi/simple_messagelib/instructions/transferAdmin.ts","../src/generated/kinobi/simple_messagelib/instructions/validatePacket.ts","../src/generated/kinobi/simple_messagelib/instructions/version.ts","../src/generated/kinobi/simple_messagelib/instructions/withdrawFees.ts","../src/generated/kinobi/simple_messagelib/programs/simpleMessagelib.ts","../src/simple-message-lib.ts","../src/uln.ts","../src/dvn.ts","../src/generated/kinobi/dvn/accounts/index.ts","../src/generated/kinobi/dvn/types/index.ts","../src/generated/kinobi/dvn/types/acl.ts","../src/generated/kinobi/dvn/types/adminConfig.ts","../src/generated/kinobi/dvn/types/dstConfig.ts","../src/generated/kinobi/dvn/types/executeTransactionDigest.ts","../src/generated/kinobi/dvn/types/lzOption.ts","../src/generated/kinobi/dvn/types/multisig.ts","../src/generated/kinobi/dvn/types/multisigConfig.ts","../src/generated/kinobi/dvn/types/transactionAccount.ts","../src/generated/kinobi/dvn/types/ulnConfig.ts","../src/generated/kinobi/dvn/types/verificationState.ts","../src/generated/kinobi/dvn/accounts/dvnConfig.ts","../src/generated/kinobi/dvn/accounts/executeHash.ts","../src/generated/kinobi/dvn/accounts/receiveConfig.ts","../src/generated/kinobi/dvn/errors/index.ts","../src/generated/kinobi/dvn/errors/dvn.ts","../src/generated/kinobi/dvn/events/index.ts","../src/generated/kinobi/dvn/events/adminConfigSetEvent.ts","../src/generated/kinobi/dvn/events/feeWithdrawnEvent.ts","../src/generated/kinobi/dvn/events/multisigConfigSetEvent.ts","../src/generated/kinobi/dvn/instructions/index.ts","../src/generated/kinobi/dvn/shared/index.ts","../src/generated/kinobi/dvn/instructions/closeExecute.ts","../src/generated/kinobi/dvn/instructions/extendDvnConfig.ts","../src/generated/kinobi/dvn/instructions/initDvn.ts","../src/generated/kinobi/dvn/instructions/invoke.ts","../src/generated/kinobi/dvn/instructions/quoteDvn.ts","../src/generated/kinobi/dvn/instructions/setConfig.ts","../src/generated/kinobi/dvn/instructions/verifiable.ts","../src/generated/kinobi/dvn/instructions/withdrawFee.ts","../src/generated/kinobi/dvn/index.ts","../src/generated/kinobi/dvn/programs/dvn.ts","../src/executor.ts","../src/generated/kinobi/executor/accounts/index.ts","../src/generated/kinobi/executor/accounts/executionContextV1.ts","../src/generated/kinobi/executor/types/index.ts","../src/generated/kinobi/executor/types/acl.ts","../src/generated/kinobi/executor/types/adminSetConfigParams.ts","../src/generated/kinobi/executor/types/dstConfig.ts","../src/generated/kinobi/executor/types/executionState.ts","../src/generated/kinobi/executor/types/lzComposeParams.ts","../src/generated/kinobi/executor/types/lzOption.ts","../src/generated/kinobi/executor/types/lzReceiveParams.ts","../src/generated/kinobi/executor/types/nativeDropRequest.ts","../src/generated/kinobi/executor/types/ownerSetConfigParams.ts","../src/generated/kinobi/executor/types/version.ts","../src/generated/kinobi/executor/accounts/executorConfig.ts","../src/generated/kinobi/executor/accounts/nonce.ts","../src/generated/kinobi/executor/errors/index.ts","../src/generated/kinobi/executor/errors/executor.ts","../src/generated/kinobi/executor/events/index.ts","../src/generated/kinobi/executor/events/nativeDropAppliedEvent.ts","../src/generated/kinobi/executor/instructions/index.ts","../src/generated/kinobi/executor/shared/index.ts","../src/generated/kinobi/executor/instructions/adminSetConfig.ts","../src/generated/kinobi/executor/instructions/compose.ts","../src/generated/kinobi/executor/instructions/executable.ts","../src/generated/kinobi/executor/instructions/execute.ts","../src/generated/kinobi/executor/instructions/extendExecutorConfig.ts","../src/generated/kinobi/executor/instructions/initExecutor.ts","../src/generated/kinobi/executor/instructions/nativeDrop.ts","../src/generated/kinobi/executor/instructions/ownerSetConfig.ts","../src/generated/kinobi/executor/instructions/postExecute.ts","../src/generated/kinobi/executor/instructions/preExecute.ts","../src/generated/kinobi/executor/instructions/quoteExecutor.ts","../src/generated/kinobi/executor/instructions/version.ts","../src/generated/kinobi/executor/programs/executor.ts","../src/types.ts","../src/generated/kinobi/uln/events/index.ts","../src/generated/kinobi/uln/events/adminTransferredEvent.ts","../src/generated/kinobi/uln/types/index.ts","../src/generated/kinobi/uln/types/config.ts","../src/generated/kinobi/uln/types/executorConfig.ts","../src/generated/kinobi/uln/types/lzTokenTreasury.ts","../src/generated/kinobi/uln/types/messagingFee.ts","../src/generated/kinobi/uln/types/packet.ts","../src/generated/kinobi/uln/types/treasury.ts","../src/generated/kinobi/uln/types/treasuryFee.ts","../src/generated/kinobi/uln/types/ulnConfig.ts","../src/generated/kinobi/uln/types/version.ts","../src/generated/kinobi/uln/types/workerFee.ts","../src/generated/kinobi/uln/events/configSetEvent.ts","../src/generated/kinobi/uln/events/defaultConfigSetEvent.ts","../src/generated/kinobi/uln/events/feesPaidEvent.ts","../src/generated/kinobi/uln/events/payloadVerifiedEvent.ts","../src/generated/kinobi/uln/events/rentWithdrawnEvent.ts","../src/generated/kinobi/uln/events/treasurySetEvent.ts","../src/utility.ts","../src/compose-types-v1.ts","../src/compose-types-v2.ts","../src/receive-types-v1.ts","../src/receive-types-v2.ts","../src/receive.ts","../src/generated/kinobi/uln/accounts/index.ts","../src/generated/kinobi/uln/accounts/confirmations.ts","../src/generated/kinobi/uln/accounts/receiveConfig.ts","../src/generated/kinobi/uln/accounts/sendConfig.ts","../src/generated/kinobi/uln/accounts/ulnSettings.ts","../src/generated/kinobi/uln/errors/index.ts","../src/generated/kinobi/uln/errors/uln.ts","../src/generated/kinobi/uln/instructions/index.ts","../src/generated/kinobi/uln/shared/index.ts","../src/generated/kinobi/uln/instructions/closeVerify.ts","../src/generated/kinobi/uln/instructions/commitVerification.ts","../src/generated/kinobi/uln/instructions/initConfig.ts","../src/generated/kinobi/uln/instructions/initDefaultConfig.ts","../src/generated/kinobi/uln/instructions/initUln.ts","../src/generated/kinobi/uln/instructions/initVerify.ts","../src/generated/kinobi/uln/instructions/quote.ts","../src/generated/kinobi/uln/instructions/send.ts","../src/generated/kinobi/uln/instructions/sendWithLzToken.ts","../src/generated/kinobi/uln/instructions/setConfig.ts","../src/generated/kinobi/uln/instructions/setDefaultConfig.ts","../src/generated/kinobi/uln/instructions/setTreasury.ts","../src/generated/kinobi/uln/instructions/transferAdmin.ts","../src/generated/kinobi/uln/instructions/verify.ts","../src/generated/kinobi/uln/instructions/version.ts","../src/generated/kinobi/uln/instructions/withdrawRent.ts","../src/generated/kinobi/uln/programs/uln.ts","../src/pricefeed.ts","../src/generated/kinobi/pricefeed/accounts/index.ts","../src/generated/kinobi/pricefeed/types/index.ts","../src/generated/kinobi/pricefeed/types/modelType.ts","../src/generated/kinobi/pricefeed/types/price.ts","../src/generated/kinobi/pricefeed/types/priceParams.ts","../src/generated/kinobi/pricefeed/accounts/priceFeed.ts","../src/generated/kinobi/pricefeed/errors/index.ts","../src/generated/kinobi/pricefeed/errors/pricefeed.ts","../src/generated/kinobi/pricefeed/instructions/index.ts","../src/generated/kinobi/pricefeed/shared/index.ts","../src/generated/kinobi/pricefeed/instructions/extendPriceFeed.ts","../src/generated/kinobi/pricefeed/instructions/getFee.ts","../src/generated/kinobi/pricefeed/instructions/initPriceFeed.ts","../src/generated/kinobi/pricefeed/instructions/setPrice.ts","../src/generated/kinobi/pricefeed/instructions/setPriceFeed.ts","../src/generated/kinobi/pricefeed/instructions/setSolPrice.ts","../src/generated/kinobi/pricefeed/instructions/transferAdmin.ts","../src/generated/kinobi/pricefeed/programs/pricefeed.ts","../src/config.ts","../src/deployment.ts","../src/next_nonce.ts","../src/generated/kinobi/blocked_messagelib/index.ts","../src/generated/kinobi/blocked_messagelib/errors/blockedMessagelib.ts","../src/generated/kinobi/blocked_messagelib/shared/index.ts","../src/generated/kinobi/blocked_messagelib/instructions/version.ts","../src/generated/kinobi/blocked_messagelib/programs/blockedMessagelib.ts","../src/send-helper.ts","../src/solita/index.ts"],"names":["web3","beetSolana","beet","web32","beetSolana2","beet2","MessageLibType","beet3","web33","beetSolana3","beet4","web34","beetSolana4","beet5","web35","beetSolana5","beet6","web36","beetSolana6","beet7","web37","beetSolana7","beet8","beet9","beetSolana8","web38","beetSolana9","beet10","web39","beetSolana10","beet11","beet12","beetSolana11","beet13","web310","beet14","beetSolana12","beet15","web311","beet16","beetSolana13","beet17","web312","beet18","beetSolana14","beet19","web313","beet20","beetSolana15","beet21","web314","beet22","beetSolana16","beet23","web315","beet24","beetSolana17","beet25","web316","beet26","beetSolana18","beet27","web317","beet28","beetSolana19","beet29","web318","beet30","beetSolana20","beet31","web319","beet32","beetSolana21","beet33","web320","beet34","beetSolana22","beet35","web321","beet36","beetSolana23","beet37","web322","beet38","beetSolana24","beet39","web323","beet40","beetSolana25","beet41","web324","beet42","beetSolana26","beet43","web325","beet44","beetSolana27","beet45","web326","beet46","beet47","web327","beet48","beetSolana28","beet49","web328","beet50","beetSolana29","beet51","web329","beet52","beetSolana30","beet53","web330","beet54","beetSolana31","beet55","web331","beet56","beetSolana32","beet57","web332","beet58","beetSolana33","beet59","web333","beet60","beetSolana34","beet61","web334","beet62","beetSolana35","beet63","web335","beet64","beetSolana36","beet65","web336","beet66","beetSolana37","beet67","web337","beet68","beetSolana38","beet69","web338","beet70","beetSolana39","beet71","web339","beet72","beetSolana40","beet73","web340","beet74","beet75","web341","beet76","beet77","PublicKey","beet78","beetSolana41","beet79","beetSolana42","beet80","beetSolana43","beet81","beetSolana44","beet82","beet83","beetSolana45","beet84","beetSolana46","beet85","beetSolana47","beet86","beetSolana48","beet87","beetSolana49","beet88","beetSolana50","beet89","beetSolana51","beet90","beetSolana52","beet91","beetSolana53","beet92","beetSolana54","beet93","beetSolana55","beet94","beetSolana56","beet95","beetSolana57","beet96","beetSolana58","beet97","beetSolana59","beet98","beetSolana60","beet99","beetSolana61","oappIDPDA","BN","config","invariant","version","PROGRAM_ID","accounts_exports","errors_exports","instructions_exports","types_exports","accountProviders","web342","beetSolana62","beet100","web343","beetSolana63","beet101","web344","beetSolana64","beet102","InvalidAmountError","LzTokenUnavailableError","errorFromCode","errorFromName","createErrorFromCodeLookup","createErrorFromNameLookup","createInitConfigInstruction","createInitConfigInstructionAccounts","createQuoteInstruction","createQuoteInstructionAccounts","createSendInstruction","createSendInstructionAccounts","createSetConfigInstruction","createSetConfigInstructionAccounts","createTransferAdminInstruction","createTransferAdminInstructionAccounts","initConfigInstructionDiscriminator","initConfigStruct","quoteInstructionDiscriminator","quoteStruct","sendInstructionDiscriminator","sendStruct","setConfigInstructionDiscriminator","setConfigStruct","transferAdminInstructionDiscriminator","transferAdminStruct","initConfigParamsBeet","beet103","beetSolana65","beet104","web345","beet105","beet106","web346","beet107","beetSolana66","beet108","web347","beet109","beetSolana67","quoteParamsBeet","beet110","beet111","web348","beet112","web349","sendParamsBeet","beet113","beet114","web350","beet115","beetSolana68","beet116","web351","setConfigParamsBeet","beet117","beetSolana69","beet118","web352","beet119","beet120","web353","beet121","beet122","web354","beet123","beetSolana70","beet124","web355","transferAdminParamsBeet","beet125","beetSolana71","beet126","web356","beet127","beet128","web357","beet129","web358","beet130","beet131","web359","messagingFeeBeet","beet132","beet133","PROGRAM_ADDRESS","PacketV1Codec","InsufficientFeeError","InvalidConfigTypeError","InvalidLzTokenMintError","ReceiveConfig","UnauthorizedError","createInitDefaultConfigInstruction","createInitDefaultConfigInstructionAccounts","createInitVerifyInstruction","createInitVerifyInstructionAccounts","createSendWithLzTokenInstruction","createSendWithLzTokenInstructionAccounts","createSetDefaultConfigInstruction","createSetDefaultConfigInstructionAccounts","createVerifyInstruction","createVerifyInstructionAccounts","createVersionInstruction","createVersionInstructionAccounts","createWithdrawRentInstruction","createWithdrawRentInstructionAccounts","events_exports","initDefaultConfigInstructionDiscriminator","initDefaultConfigParamsBeet","initDefaultConfigStruct","initVerifyInstructionDiscriminator","initVerifyParamsBeet","initVerifyStruct","packetBeet","receiveConfigBeet","receiveConfigDiscriminator","sendWithLzTokenInstructionDiscriminator","sendWithLzTokenParamsBeet","sendWithLzTokenStruct","setDefaultConfigInstructionDiscriminator","setDefaultConfigParamsBeet","setDefaultConfigStruct","ulnConfigBeet","verifyInstructionDiscriminator","verifyParamsBeet","verifyStruct","versionBeet","versionInstructionDiscriminator","versionStruct","withdrawRentInstructionDiscriminator","withdrawRentParamsBeet","withdrawRentStruct","dvn_exports","beet134","beet135","beetSolana72","beet136","web360","beetSolana73","beet137","web361","beetSolana74","beet138","beet139","beetSolana75","web362","beetSolana76","beet140","beet141","beet142","web363","beet143","beetSolana77","beet144","web364","beet145","beetSolana78","beet146","beetSolana79","beet147","beet148","web365","beet149","beet150","beetSolana80","beet151","web366","beet152","beetSolana81","beet153","beet154","web367","beet155","beet156","web368","beet157","beet158","web369","beetSolana82","VerificationState","beet160","beet161","beet162","beetSolana83","beet163","keccak_256","TransactionInstruction","EidNotSupportedError","ExecutorConfig","MsgLibNotAllowedError","Nonce","NotAdminError","PausedError","TooManyAdminsError","TooManyOptionTypesError","aclBeet","dstConfigBeet","executorConfigBeet","lzOptionBeet","nonceBeet","nonceDiscriminator","uniformFixedSizeArray","u8","MessageType","FixableBeetArgsStruct","u32","u64","bytes","beetSolana84","u16","BeetArgsStruct","bool","ExecutorOptionType","adminTransferredEventBeet","rentWithdrawnEventBeet","beet164","beetSolana85","beet165","beetSolana86","beet166","beetSolana87","beet167","beet168","beetSolana88","beet169","beet170","beetSolana89","beet171","beetSolana90","beet172","beet173","beetSolana91","beet174","beetSolana92","beet175","beetSolana93","beet176","beetSolana94","beet177","beet178","SystemProgram","addressToBytes32","arrayify","array","beet179","beetSolana95","beet180","web370","beet181","web371","beetSolana97","beet182","beet183","beetSolana98","beet184","beetSolana99","beet185","beetSolana100","beet186","web372","beet187","beetSolana101","beet188","beet189","web373","beet190","beetSolana102","beet191","web374","beet192","beet193","beetSolana103","beet194","web375","beet195","beetSolana104","beet196","web376","beet197","beetSolana105","beet198","web377","beet199","beetSolana106","beet200","web378","beet201","beet202","beetSolana107","beet203","web379","ExecutionState","beet204","web380","beetSolana108","beet205","web381","beetSolana109","beet206","web382","beetSolana110","beet207","web383","beetSolana111","beet208","beet209","beet210","web384","beet211","beet212","web385","beet213","beetSolana112","beet214","web386","beet215","beet216","web387","beet217","beetSolana113","beet218","web388","beet219","beetSolana114","beet220","web389","beet221","beetSolana115","beet222","beet223","web390","beet224","beet225","web391","beet226","beetSolana116","beet227","web392","splToken2","beet228","beetSolana117","beet229","web393","beet230","beet231","web394","beet232","beet233","web395","beet234","beetSolana118","beet235","web396","beet236","beet237","web397","beet238","web398","beet239","beet240","web399","beet241","beet242","PriceFeed","beet243","beet244","web3100","beetSolana119","beet245","beet246","beet247","web3101","beet248","beetSolana120","beet249","web3102","beet250","beet251","beet252","web3103","beet253","beetSolana121","beet254","web3104","beet255","beet256","web3105","beet257","beetSolana122","beet258","web3106","InvalidSizeError","modelType","beet259","web3107","executor","blocked_messagelib_exports","ENFORCED_OPTIONS_SEED","endpoint_exports","executor_exports","FAUCET_URL","MINT_SEED","MSG_TYPE_OFFSET","MaxExecutorOptionTypeLength","PEER_SEED","pricefeed_exports","SendHelper","SetConfigType","simple_message_lib_exports","uln_exports","buildMessageV0","buildVersionedTransaction","closeLookupTable","createNonceAccountTX","deactivateLookupTable","extractComposeDeliveredEventByTxHash","extractComposeSentEventByTxHash","extractEventFromTransactionSignature","extractReceivedPacketEventByTxHash","extractVerifiedPacketEventByTxHash","extractWorkerFeePaidEventByTxHash","generateAddressLookupTable","getBlockedMessageLibProgramId","getDVNProgramId","getEndpointProgramId","getExecutorProgramId","getLzComposeParamsSerializer","getLzReceiveParamsSerializer","getPricefeedProgramId","getProgramKeypair","getSimpleMessageLibProgramId","getULNProgramId","idlTypes","instructionDiscriminator","isAccountInitialized","lzCompose","lzReceive","messageLibs","txWithAddressLookupTable","txWithNonce","DefaultMessageLib","Endpoint","EventEmitDiscriminator","publicKey","toPublicKey","mapSerializer","struct","publicKeySerializer","deserializeAccount","assertAccountExists","gpaBuilder","option","AccountNotFoundError","ComposeNotFoundError","InvalidExpiryError","InvalidMessageLibError","InvalidNonceError","InvalidPayloadHashError","InvalidReceiveLibraryError","InvalidSendLibraryError","OnlyNonDefaultLibError","OnlyReceiveLibError","OnlySendLibError","PayloadHashNotFoundError","ReadOnlyAccountError","SameValueError","WritableAccountNotAllowedError","transactionBuilder","OnlyRevertError","OnlyWhitelistedCallerError","SendReentrancyError","codeToErrorMap","nameToErrorMap","ProgramError","getInitConfigInstructionDataSerializer","getQuoteInstructionDataSerializer","getSendInstructionDataSerializer","getSetConfigInstructionDataSerializer","getTransferAdminInstructionDataSerializer","initConfig","quote","send","setConfig","transferAdmin","getAccountMetasAndSigners","isSigner","getMessagingFeeSerializer","defaultPublicKey","SimpleMessageLib","createNullRpc","createDefaultProgramRepository","createNoopSigner","TOKEN_PROGRAM_ID","toWeb3JsPublicKey","Uln","DVN","SolanaSignerExt","dataEnum","tuple","u128","i64","scalarEnum","DuplicateSignatureError","ExpiredError","InvalidQuorumError","InvalidSignatureLenError","InvalidSignersLenError","InvalidVidError","SignatureErrorError","SignerNotInCommitteeError","UnexpiredExecuteHashError","UniqueOwnersError","isPda","adminConfig","Executor","deserializeNonce","fetchAllNonce","fetchNonce","getNonceAccountDataSerializer","getNonceGpaBuilder","getNonceSize","safeFetchAllNonce","safeFetchNonce","getAclSerializer","getDstConfigSerializer","getLzOptionSerializer","getVersionSerializer","ExecutorIsAdminError","InsufficientBalanceError","InvalidNativeDropReceiverError","InvalidNativeDropRequestsLengthError","InvalidOwnerError","NativeAmountExceedsCapError","NotExecutorError","TooManyExecutorsError","UnsupportedOptionTypeError","ZeroLzComposeGasProvidedError","ZeroLzReceiveGasProvidedError","getVersionInstructionDataSerializer","getAdminTransferredEventSerializer","getRentWithdrawnEventSerializer","getPacketSerializer","getUlnConfigSerializer","getEventDiscriminator","sha2_256","base58","toWeb3JsInstruction","data","bytesSerializer","updateAccountFromSimulatedResp","fetchAllAddressLookupTable","accountMetaRefToAccountMeta","addressLocatorToPublicKey","generateSigner","deserializeReceiveConfig","fetchAllReceiveConfig","fetchReceiveConfig","getReceiveConfigAccountDataSerializer","getReceiveConfigGpaBuilder","safeFetchAllReceiveConfig","safeFetchReceiveConfig","AtLeastOneDVNError","ExceededMaxMessageSizeError","ExceededU128Error","InvalidAccountLengthError","InvalidBpsError","InvalidConfirmationError","InvalidConfirmationsError","InvalidDvnError","InvalidDvnProgramError","InvalidEidError","InvalidExecutorError","InvalidExecutorProgramError","InvalidOptionTypeError","InvalidOptionalDVNCountError","InvalidOptionalDVNThresholdError","InvalidPacketVersionError","InvalidPayerError","InvalidRequiredDVNCountError","InvalidTreasuryError","InvalidTreasuryFeeCapError","InvalidType1SizeError","InvalidType2SizeError","InvalidWorkerIdError","NonSignerError","UnsortedError","VerifyingError","ZeroMessageSizeError","getInitDefaultConfigInstructionDataSerializer","getInitVerifyInstructionDataSerializer","getSendWithLzTokenInstructionDataSerializer","getSetDefaultConfigInstructionDataSerializer","getVerifyInstructionDataSerializer","getWithdrawRentInstructionDataSerializer","initDefaultConfig","initVerify","sendWithLzToken","setDefaultConfig","verify","withdrawRent","isSome","fromWeb3JsPublicKey","InvalidUpdaterError","NotFoundError","TooManyUpdatersError","Environment","web3109","publicKeyBytes","Endian","expectPda","expectPublicKey","expectSome","web3110"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAM,aAAgB,GAAA;AAKtB,IAAM,gBAAmB,GAAA;AAKzB,IAAM,wBAA2B,GAAA;AAKjC,IAAM,2BAA8B,GAAA;AAKpC,IAAM,UAAa,GAAA;AAKnB,IAAM,kBAAqB,GAAA;AAK3B,IAAM,iBAAoB,GAAA;AAK1B,IAAM,0BAA6B,GAAA;AAKnC,IAAM,SAAY,GAAA;AAKlB,IAAM,UAAa,GAAA;AAKnB,IAAM,WAAc,GAAA;AAKpB,IAAM,qBAAwB,GAAA;AAK9B,IAAM,qBAAwB,GAAA;AAK9B,IAAM,QAAW,GAAA;AAKjB,IAAM,eAAkB,GAAA;AAKxB,IAAM,gBAAmB,GAAA;AAKzB,IAAM,mBAAsB,GAAA;AAK5B,IAAM,YAAe,GAAA;AAKrB,IAAM,kBAAqB,GAAA;AAK3B,IAAM,WAAc,GAAA;AAKpB,IAAM,eAAkB,GAAA;AAKxB,IAAM,UAAa,GAAA;AAKnB,IAAM,oBAAuB,GAAA;AAK7B,IAAM,eAAkB,GAAA;AAKxB,IAAM,SAAY,GAAA;AAKlB,IAAM,SAAY,GA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,CAAAA,cAAAA,CAAA,iBAAc,CAAd,CAAA,GAAA,aAAA;AAdQ,EAAAA,OAAAA,cAAAA;AAAA,CAAA,EAAA,cAAA,IAAA,EAAA","file":"index.mjs","sourcesContent":["import { PublicKey } from '@solana/web3.js'\nimport BN from 'bn.js'\n\n/**\n * Seed for the endpoint.\n */\nexport const ENDPOINT_SEED = 'Endpoint'\n\n/**\n * Seed for the message library.\n */\nexport const MESSAGE_LIB_SEED = 'MessageLib'\n\n/**\n * Seed for the send library configuration.\n */\nexport const SEND_LIBRARY_CONFIG_SEED = 'SendLibraryConfig'\n\n/**\n * Seed for the receive library configuration.\n */\nexport const RECEIVE_LIBRARY_CONFIG_SEED = 'ReceiveLibraryConfig'\n\n/**\n * Seed for the nonce.\n */\nexport const NONCE_SEED = 'Nonce'\n\n/**\n * Seed for the pending nonce.\n */\nexport const PENDING_NONCE_SEED = 'PendingNonce'\n\n/**\n * Seed for the payload hash.\n */\nexport const PAYLOAD_HASH_SEED = 'PayloadHash'\n\n/**\n * Seed for the composed message hash.\n */\nexport const COMPOSED_MESSAGE_HASH_SEED = 'ComposedMessageHash'\n\n/**\n * Seed for the OApp.\n */\nexport const OAPP_SEED = 'OApp'\n\n/**\n * Seed for the count.\n */\nexport const COUNT_SEED = 'Count'\n\n/**\n * Seed for the remote.\n */\nexport const REMOTE_SEED = 'Remote'\n\n/**\n * Seed for the LzReceive types.\n */\nexport const LZ_RECEIVE_TYPES_SEED = 'LzReceiveTypes'\n\n/**\n * Seed for the LzCompose types.\n */\nexport const LZ_COMPOSE_TYPES_SEED = 'LzComposeTypes'\n\n/**\n * Seed for the ULN.\n */\nexport const ULN_SEED = MESSAGE_LIB_SEED\n\n/**\n * Seed for the ULN configuration.\n */\nexport const ULN_CONFIG_SEED = 'UlnConfig'\n\n/**\n * Seed for the send configuration.\n */\nexport const SEND_CONFIG_SEED = 'SendConfig'\n\n/**\n * Seed for the receive configuration.\n */\nexport const RECEIVE_CONFIG_SEED = 'ReceiveConfig'\n\n/**\n * Seed for the options.\n */\nexport const OPTIONS_SEED = 'Options'\n\n/**\n * Seed for the confirmations.\n */\nexport const CONFIRMATIONS_SEED = 'Confirmations'\n\n/**\n * Seed for the worker.\n */\nexport const WORKER_SEED = 'Worker'\n\n/**\n * Seed for the DVN configuration.\n */\nexport const DVN_CONFIG_SEED = 'DvnConfig'\n\n/**\n * Seed for the event authority.\n */\nexport const EVENT_SEED = '__event_authority'\n\n/**\n * Seed for the executor configuration.\n */\nexport const EXECUTOR_CONFIG_SEED = 'ExecutorConfig'\n\n/**\n * Seed for the price feed.\n */\nexport const PRICE_FEED_SEED = 'PriceFeed'\n\n/**\n * Seed for the peer.\n */\nexport const PEER_SEED = 'Peer'\n\n/**\n * Seed for the mint.\n */\nexport const MINT_SEED = 'Mint'\n\n/**\n * Seed for the enforced options.\n */\nexport const ENFORCED_OPTIONS_SEED = 'EnforcedOptions'\n\n/**\n * Class to derive addresses for the endpoint program.\n */\nexport class EndpointPDADeriver {\n    program: PublicKey\n\n    /**\n     * Creates an instance of the EndpointPDADeriver class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(program: PublicKey) {\n        this.program = program\n    }\n\n    /**\n     * Derives the setting address.\n     *\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    setting(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(ENDPOINT_SEED, 'utf8')], this.program)\n    }\n\n    /**\n     * Derives the default send library configuration address.\n     *\n     * @param {number} dstEndpointId - The destination endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    defaultSendLibraryConfig(dstEndpointId: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(SEND_LIBRARY_CONFIG_SEED, 'utf8'),\n                // U32 to Uint8Array([0,0,0,0])\n                new BN(dstEndpointId).toArrayLike(Buffer, 'be', 4),\n            ],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the send library configuration address.\n     *\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEndpointId - The destination endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    sendLibraryConfig(sender: PublicKey, dstEndpointId: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(SEND_LIBRARY_CONFIG_SEED, 'utf8'),\n                sender.toBytes(),\n                // U32 to Uint8Array([0,0,0,0])\n                new BN(dstEndpointId).toArrayLike(Buffer, 'be', 4),\n            ],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the message library information address.\n     *\n     * @param {PublicKey} messageLibrary - The message library public key, PDA(derive by message lib program)\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    messageLibraryInfo(messageLibrary: PublicKey): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(MESSAGE_LIB_SEED, 'utf8'), messageLibrary.toBytes()],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the default receive library configuration address.\n     *\n     * @param {number} srcEndpointId - The source endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    defaultReceiveLibraryConfig(srcEndpointId: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(RECEIVE_LIBRARY_CONFIG_SEED, 'utf8'),\n                // U32 to Uint8Array([0,0,0,0])\n                new BN(srcEndpointId).toArrayLike(Buffer, 'be', 4),\n            ],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the receive library configuration address.\n     *\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEndpointId - The source endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    receiveLibraryConfig(receiver: PublicKey, srcEndpointId: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(RECEIVE_LIBRARY_CONFIG_SEED, 'utf8'),\n                receiver.toBytes(),\n                // U32 to Uint8Array([0,0,0,0])\n                new BN(srcEndpointId).toArrayLike(Buffer, 'be', 4),\n            ],\n            this.program\n        )\n    }\n\n    receiveLibraryTimeout(_dstEndpointId: number): [PublicKey, number] {\n        // todo: @zzz find the address of receive library timeout config\n        // if it is default config, then get the address of default timeout config\n        // otherwise, get the address of the custom one\n        return [this.program, 0]\n    }\n\n    defaultMessageLib(): [PublicKey, number] {\n        return this.messageLibraryInfo(PublicKey.default)\n    }\n\n    blockMessageLib(blockMsgLib: PublicKey): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(MESSAGE_LIB_SEED, 'utf8'), blockMsgLib.toBytes()],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the nonce address.\n     *\n     * @param {PublicKey} localOapp - The local OApp public key.\n     * @param {number} remoteChainId - The remote chain ID.\n     * @param {Uint8Array} remoteOapp - The remote OApp address.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    nonce(localOapp: PublicKey, remoteChainId: number, remoteOapp: Uint8Array): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(NONCE_SEED, 'utf8'),\n                localOapp.toBytes(),\n                // U32 to Uint8Array([0,0,0,0])\n                new BN(remoteChainId).toArrayLike(Buffer, 'be', 4),\n                remoteOapp,\n            ],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the pending nonce address.\n     *\n     * @param {PublicKey} localOapp - The local OApp public key.\n     * @param {number} remoteChainId - The remote chain ID.\n     * @param {Uint8Array} remoteOapp - The remote OApp address.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    pendingNonce(localOapp: PublicKey, remoteChainId: number, remoteOapp: Uint8Array): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(PENDING_NONCE_SEED, 'utf8'),\n                localOapp.toBytes(),\n                new BN(remoteChainId).toArrayLike(Buffer, 'be', 4),\n                remoteOapp,\n            ],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the OApp registry address.\n     *\n     * @param {PublicKey} localOapp - The local OApp public key.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    oappRegistry(localOapp: PublicKey): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(OAPP_SEED, 'utf8'), localOapp.toBytes()], this.program)\n    }\n\n    /**\n     * Derives the payload hash address.\n     *\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Uint8Array} sender - The sender address.\n     * @param {number} nonce - The nonce.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    payloadHash(receiver: PublicKey, srcEid: number, sender: Uint8Array, nonce: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(PAYLOAD_HASH_SEED, 'utf8'),\n                receiver.toBytes(),\n                new BN(srcEid).toArrayLike(Buffer, 'be', 4),\n                sender,\n                new BN(nonce).toArrayLike(Buffer, 'be', 8),\n            ],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the composed message address.\n     *\n     * @param {PublicKey} from - The sender public key.\n     * @param {Uint8Array} guid - The GUID.\n     * @param {number} index - The index.\n     * @param {PublicKey} to - The receiver public key.\n     * @param {Uint8Array} messageHash - The message hash.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    composedMessage(\n        from: PublicKey,\n        guid: Uint8Array,\n        index: number,\n        to: PublicKey,\n        messageHash: Uint8Array\n    ): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [\n                Buffer.from(COMPOSED_MESSAGE_HASH_SEED, 'utf8'),\n                from.toBytes(),\n                to.toBytes(),\n                guid,\n                new BN(index).toArrayLike(Buffer, 'be', 2),\n                messageHash,\n            ],\n            this.program\n        )\n    }\n}\n\n/**\n * Class to derive addresses by message library program.\n */\nexport class MessageLibPDADeriver {\n    program: PublicKey\n\n    /**\n     * Creates an instance of the MessageLibPDADeriver class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(program: PublicKey) {\n        this.program = program\n    }\n\n    /**\n     * Derives the message library address.\n     *\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    messageLib(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(MESSAGE_LIB_SEED, 'utf8')], this.program)\n    }\n\n    /**\n     * Derives the send configuration address.\n     *\n     * @param {number} eid - The endpoint ID.\n     * @param {PublicKey} oapp - The OApp public key.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    sendConfig(eid: number, oapp: PublicKey): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(SEND_CONFIG_SEED, 'utf8'), new BN(eid).toArrayLike(Buffer, 'be', 4), oapp.toBuffer()],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the receive configuration address.\n     *\n     * @param {number} eid - The endpoint ID.\n     * @param {PublicKey} oapp - The OApp public key.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    receiveConfig(eid: number, oapp: PublicKey): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(RECEIVE_CONFIG_SEED, 'utf8'), new BN(eid).toArrayLike(Buffer, 'be', 4), oapp.toBuffer()],\n            this.program\n        )\n    }\n}\n\n/**\n * Class to derive addresses for the ULN program.\n * @see {@link MessageLibPDADeriver}\n */\nexport class UlnPDADeriver extends MessageLibPDADeriver {\n    /**\n     * Derives the setting address.\n     *\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    setting(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(ULN_SEED, 'utf8')], this.program)\n    }\n\n    /**\n     * Derives the configuration address.\n     *\n     * @param {number} eid - The endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    config(eid: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(ULN_CONFIG_SEED, 'utf8'), new BN(eid).toArrayLike(Buffer, 'be', 4)],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the default send configuration address.\n     *\n     * @param {number} eid - The endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    defaultSendConfig(eid: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(SEND_CONFIG_SEED, 'utf8'), new BN(eid).toArrayLike(Buffer, 'be', 4)],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the default receive configuration address.\n     *\n     * @param {number} eid - The endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    defaultReceiveConfig(eid: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(RECEIVE_CONFIG_SEED, 'utf8'), new BN(eid).toArrayLike(Buffer, 'be', 4)],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the options address.\n     *\n     * @param {number} eit - The endpoint ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    options(eit: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(OPTIONS_SEED, 'utf8'), new BN(eit).toArrayLike(Buffer, 'be', 4)],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the worker configuration address.\n     *\n     * @param {PublicKey} worker - The worker public key.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    workerConfig(worker: PublicKey): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(WORKER_SEED, 'utf8'), worker.toBuffer()], this.program)\n    }\n\n    /**\n     * Derives the confirmations address.\n     *\n     * @param {Uint8Array} headerHash - The header hash.\n     * @param {Uint8Array} payloadHash - The payload hash.\n     * @param {PublicKey} dvn - The DVN public key.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    confirmations(headerHash: Uint8Array, payloadHash: Uint8Array, dvn: PublicKey): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(CONFIRMATIONS_SEED, 'utf8'), headerHash, payloadHash, dvn.toBytes()],\n            this.program\n        )\n    }\n}\n\n/**\n * Class to derive addresses by base OApp program.\n */\nexport class OAppBasePDADeriver {\n    program: PublicKey\n\n    /**\n     * Creates an instance of the OAppBasePDADeriver class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(program: PublicKey) {\n        this.program = program\n    }\n\n    /**\n     * Derives the remote address.\n     *\n     * @param {number} dstChainId - The destination chain ID.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    remote(dstChainId: number): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(REMOTE_SEED), new BN(dstChainId).toArrayLike(Buffer, 'be', 4)],\n            this.program\n        )\n    }\n\n    /**\n     * Derives the LzReceive types accounts address.\n     *\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    lzReceiveTypesAccounts(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(LZ_RECEIVE_TYPES_SEED, 'utf8')], this.program)\n    }\n\n    /**\n     * Derives the LzCompose types accounts address.\n     *\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    lzComposeTypesAccounts(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(LZ_COMPOSE_TYPES_SEED, 'utf8')], this.program)\n    }\n}\n\n/**\n * Class to derive addresses for the DVN program.\n */\nexport class DVNDeriver {\n    constructor(public program: PublicKey) {}\n\n    /**\n     * Derives the authority address.\n     *\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    authority(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from('dvn', 'utf8')], this.program)\n    }\n\n    /**\n     * Derives the configuration address.\n     *\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    config(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(DVN_CONFIG_SEED, 'utf8')], this.program)\n    }\n\n    /**\n     * Derives the execute hash address.\n     *\n     * @param {Buffer} digestHash - The digest hash.\n     * @returns {[PublicKey, number]} The derived address and bump seed.\n     */\n    executeHash(digestHash: Buffer): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from('ExecuteHash', 'utf8'), digestHash], this.program)\n    }\n}\n\n/**\n * Class for deriving PDA (Program Derived Address) for events.\n */\nexport class EventPDADeriver {\n    /**\n     * Creates an instance of the EventPDADeriver class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {}\n\n    /**\n     * Derives the event authority PDA.\n     *\n     * @returns {[PublicKey, number]} The event authority PDA and bump seed.\n     */\n    eventAuthority(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(EVENT_SEED, 'utf8')], this.program)\n    }\n}\n\n/**\n * Class for deriving PDA (Program Derived Address) for executors.\n */\nexport class ExecutorPDADeriver {\n    /**\n     * Creates an instance of the ExecutorPDADeriver class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {}\n\n    /**\n     * Derives the executor configuration PDA.\n     *\n     * @returns {[PublicKey, number]} The executor configuration PDA and bump seed.\n     */\n    config(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(EXECUTOR_CONFIG_SEED, 'utf8')], this.program)\n    }\n}\n\n/**\n * Class for deriving PDA (Program Derived Address) for price feeds.\n */\nexport class PriceFeedPDADeriver {\n    /**\n     * Creates an instance of the PriceFeedPDADeriver class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {}\n\n    /**\n     * Derives the price feed PDA.\n     *\n     * @returns {[PublicKey, number]} The price feed PDA and bump seed.\n     */\n    priceFeed(): [PublicKey, number] {\n        return PublicKey.findProgramAddressSync([Buffer.from(PRICE_FEED_SEED, 'utf8')], this.program)\n    }\n}\n","import {\n    AccountMeta,\n    Commitment,\n    Connection,\n    GetAccountInfoConfig,\n    PublicKey,\n    TransactionInstruction,\n} from '@solana/web3.js'\nimport BN from 'bn.js'\nimport invariant from 'tiny-invariant'\n\nimport { keccak_256 } from '@layerzerolabs/lz-foundation'\nimport { arrayify } from '@layerzerolabs/lz-utilities'\nimport { PacketV1Codec, addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport {\n    BlockedMessageLibProgram,\n    MessageLibInterface,\n    SetConfigType,\n    SimpleMessageLibProgram,\n    SolanaPacketPath,\n    UlnProgram,\n    simulateTransaction,\n} from '.'\nimport * as pdaDeriver from './pda-deriver'\nimport { EventPDADeriver, MessageLibPDADeriver, OAPP_SEED } from './pda-deriver'\nimport { ComposeMessageState, EndpointSettings, MessageLibInfo, PayloadHash } from '../generated/solita/endpoint'\nimport * as accounts from '../generated/solita/endpoint/accounts'\nimport * as errors from '../generated/solita/endpoint/errors'\nimport * as events from '../generated/solita/endpoint/events'\nimport * as instructions from '../generated/solita/endpoint/instructions'\nimport * as types from '../generated/solita/endpoint/types'\nimport { Version } from '../generated/solita/simple_messagelib'\n\nexport { accounts, instructions, types, events, errors }\nexport { PROGRAM_ID } from '../generated/solita/endpoint'\n\n// https://github.com/coral-xyz/anchor/blob/c7ccbb8f620aed3ffecf8ab2f9c9007946f0f5cc/lang/src/event.rs#L2\nexport const EventEmitDiscriminator = 'e445a52e51cb9a1d' // Sha256(anchor:event)[..8] then evert\n\nexport const DefaultMessageLib = PublicKey.default // [0u8; 32]\n\n/**\n * Class representing an Endpoint.\n */\nexport class Endpoint {\n    deriver: pdaDeriver.EndpointPDADeriver\n    eventAuthorityPDA: PublicKey\n\n    /**\n     * Creates an instance of the Endpoint class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {\n        this.deriver = new pdaDeriver.EndpointPDADeriver(program)\n        const [eventAuthorityPDA] = new EventPDADeriver(program).eventAuthority()\n        this.eventAuthorityPDA = eventAuthorityPDA\n    }\n\n    /**\n     * Initializes the endpoint settings, including eid and admin, and registers the blocked message library.\n     *\n     * @param {number} endpointId - The endpoint ID.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} admin - The admin public key.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initEndpoint(endpointId: number, payer: PublicKey, admin: PublicKey): TransactionInstruction {\n        const [settingPDA] = this.deriver.setting()\n        return instructions.createInitEndpointInstruction(\n            {\n                payer,\n                endpoint: settingPDA,\n            } satisfies instructions.InitEndpointInstructionAccounts,\n            {\n                params: {\n                    eid: endpointId,\n                    admin,\n                } satisfies types.InitEndpointParams,\n            } satisfies instructions.InitEndpointInstructionArgs,\n            this.program\n        )\n    }\n\n    // async initOrUpdateConfig(connection:Connection,)\n    /**\n     * Registers a library.\n     * call this function after endpoint initialized. Only admin can call this function.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {types.MessageLibType} [libType=types.MessageLibType.SendAndReceive] - The library type.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    registerLibrary(\n        admin: PublicKey,\n        messageLibProgram: PublicKey,\n        libType: types.MessageLibType = types.MessageLibType.SendAndReceive\n    ): TransactionInstruction {\n        const [msgLibPda] = new pdaDeriver.MessageLibPDADeriver(messageLibProgram).messageLib()\n        const [msgLibInfoPda] = this.deriver.messageLibraryInfo(msgLibPda)\n\n        const [settingPDA] = this.deriver.setting()\n        return instructions.createRegisterLibraryInstruction(\n            {\n                admin,\n                endpoint: settingPDA,\n                messageLibInfo: msgLibInfoPda,\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n            },\n            {\n                params: {\n                    libProgram: messageLibProgram,\n                    libType,\n                },\n            },\n            this.program\n        )\n    }\n\n    /**\n     * Sets the default send library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    async setDefaultSendLibrary(\n        connection: Connection,\n        admin: PublicKey,\n        messageLibProgram: PublicKey,\n        dstEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<TransactionInstruction | null> {\n        const [msgLib] = new pdaDeriver.MessageLibPDADeriver(messageLibProgram).messageLib()\n        const [defaultSendLibConfig] = this.deriver.defaultSendLibraryConfig(dstEid)\n        const [settingPDA] = this.deriver.setting()\n        const [msgLibInfo] = this.deriver.messageLibraryInfo(msgLib)\n\n        const info = await connection.getAccountInfo(defaultSendLibConfig, commitmentOrConfig)\n        if (!info) {\n            return instructions.createInitDefaultSendLibraryInstruction(\n                {\n                    admin,\n                    endpoint: settingPDA,\n                    defaultSendLibraryConfig: defaultSendLibConfig,\n                    messageLibInfo: msgLibInfo,\n                    program: this.program,\n                    eventAuthority: this.eventAuthorityPDA,\n                } satisfies instructions.InitDefaultSendLibraryInstructionAccounts,\n                {\n                    params: {\n                        eid: dstEid,\n                        newLib: msgLib,\n                    } satisfies types.InitDefaultSendLibraryParams,\n                } satisfies instructions.InitDefaultSendLibraryInstructionArgs,\n                this.program\n            )\n        } else {\n            // get current default send library\n            const sendLibConfig = await accounts.SendLibraryConfig.fromAccountAddress(\n                connection,\n                defaultSendLibConfig,\n                commitmentOrConfig\n            )\n            if (sendLibConfig.messageLib.toBase58() === msgLib.toBase58()) {\n                return null\n            }\n\n            return instructions.createSetDefaultSendLibraryInstruction(\n                {\n                    admin,\n                    endpoint: settingPDA,\n                    defaultSendLibraryConfig: defaultSendLibConfig,\n                    messageLibInfo: msgLibInfo,\n                    program: this.program,\n                    eventAuthority: this.eventAuthorityPDA,\n                } satisfies instructions.SetDefaultSendLibraryInstructionAccounts,\n                {\n                    params: {\n                        eid: dstEid,\n                        newLib: msgLib,\n                    } satisfies types.SetDefaultSendLibraryParams,\n                } satisfies instructions.SetDefaultSendLibraryInstructionArgs,\n                this.program\n            )\n        }\n    }\n\n    /**\n     * Sets the default receive library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    async setDefaultReceiveLibrary(\n        connection: Connection,\n        admin: PublicKey,\n        messageLibProgram: PublicKey,\n        srcEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<TransactionInstruction | null> {\n        const [msgLib] = new pdaDeriver.MessageLibPDADeriver(messageLibProgram).messageLib()\n        const [defaultReceiveLibConfig] = this.deriver.defaultReceiveLibraryConfig(srcEid)\n        const [settingPDA] = this.deriver.setting()\n        const [defaultMsgLibInfo] = this.deriver.messageLibraryInfo(msgLib)\n        const info = await connection.getAccountInfo(defaultReceiveLibConfig, commitmentOrConfig)\n        if (!info) {\n            return instructions.createInitDefaultReceiveLibraryInstruction(\n                {\n                    admin,\n                    endpoint: settingPDA,\n                    defaultReceiveLibraryConfig: defaultReceiveLibConfig,\n                    messageLibInfo: defaultMsgLibInfo,\n                    program: this.program,\n                    eventAuthority: this.eventAuthorityPDA,\n                } satisfies instructions.InitDefaultReceiveLibraryInstructionAccounts,\n                {\n                    params: {\n                        eid: srcEid,\n                        newLib: msgLib,\n                    } satisfies types.InitDefaultReceiveLibraryParams,\n                } satisfies instructions.InitDefaultReceiveLibraryInstructionArgs,\n                this.program\n            )\n        } else {\n            // get current default receive library\n            const receiveLibConfig = await accounts.ReceiveLibraryConfig.fromAccountAddress(\n                connection,\n                defaultReceiveLibConfig,\n                commitmentOrConfig\n            )\n            if (receiveLibConfig.messageLib.toBase58() === msgLib.toBase58()) {\n                return null\n            }\n\n            return instructions.createSetDefaultReceiveLibraryInstruction(\n                {\n                    admin,\n                    endpoint: settingPDA,\n                    defaultReceiveLibraryConfig: defaultReceiveLibConfig,\n                    messageLibInfo: defaultMsgLibInfo,\n                    program: this.program,\n                    eventAuthority: this.eventAuthorityPDA,\n                } satisfies instructions.SetDefaultReceiveLibraryInstructionAccounts,\n                {\n                    params: {\n                        eid: srcEid,\n                        newLib: msgLib,\n                        gracePeriod: 0, // TODO: set grace period\n                    } satisfies types.SetDefaultReceiveLibraryParams,\n                } satisfies instructions.SetDefaultReceiveLibraryInstructionArgs,\n                this.program\n            )\n        }\n    }\n\n    /**\n     * Initializes the OApp configuration.\n     *\n     * @param {PublicKey} delegate - The delegate public key.\n     * @param {MessageLibInterface} msgLibSDK - The message library SDK.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oappID - The OApp ID public key.\n     * @param {number} eid - The endpoint ID.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initOAppConfig(\n        delegate: PublicKey,\n        msgLibSDK: MessageLibInterface,\n        payer: PublicKey,\n        oappID: PublicKey,\n        eid: number\n    ): TransactionInstruction {\n        const [msgLib] = new MessageLibPDADeriver(msgLibSDK.program).messageLib()\n        const [oappRegistry] = this.deriver.oappRegistry(oappID)\n\n        const [msgLibInfo] = this.deriver.messageLibraryInfo(msgLib)\n        // if (!(await uln.getOappConfig(connection, oappID, eid, commitmentOrConfig))) {\n        // init oapp config\n        return instructions.createInitConfigInstruction(\n            {\n                delegate,\n                oappRegistry,\n                messageLib: msgLib,\n                messageLibInfo: msgLibInfo,\n                messageLibProgram: msgLibSDK.program,\n                anchorRemainingAccounts: msgLibSDK.getInitConfigIXAccountMetaForCPI(payer, oappID, eid),\n            } satisfies instructions.InitConfigInstructionAccounts,\n            {\n                params: {\n                    eid: eid,\n                    oapp: oappID,\n                } satisfies types.InitConfigParams,\n            } satisfies instructions.InitConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Initializes the OApp nonce.\n     *\n     * @param {PublicKey} delegate - The delegate public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {Uint8Array} remoteOappAddr - The remote OApp address.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initOAppNonce(\n        delegate: PublicKey, // payer\n        dstEid: number,\n        oappIDPDA: PublicKey,\n        remoteOappAddr: Uint8Array\n    ): TransactionInstruction {\n        const [nonce] = this.deriver.nonce(oappIDPDA, dstEid, remoteOappAddr)\n        const [pendingNonce] = this.deriver.pendingNonce(oappIDPDA, dstEid, remoteOappAddr)\n        const [oappRegistry] = this.deriver.oappRegistry(oappIDPDA)\n\n        return instructions.createInitNonceInstruction(\n            {\n                nonce,\n                pendingInboundNonce: pendingNonce,\n                oappRegistry,\n                delegate,\n            } satisfies instructions.InitNonceInstructionAccounts,\n            {\n                params: {\n                    localOapp: oappIDPDA,\n                    remoteOapp: Array.from(remoteOappAddr),\n                    remoteEid: dstEid,\n                } satisfies types.InitNonceParams,\n            } satisfies instructions.InitNonceInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Initializes the send library.\n     *\n     * @param {PublicKey} delegate - The delegate public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initSendLibrary(delegate: PublicKey, sender: PublicKey, dstEid: number): TransactionInstruction {\n        const [oappRegistry] = this.deriver.oappRegistry(sender)\n        const [sendLibraryConfig] = this.deriver.sendLibraryConfig(sender, dstEid)\n\n        return instructions.createInitSendLibraryInstruction(\n            {\n                delegate,\n                oappRegistry,\n                sendLibraryConfig: sendLibraryConfig,\n            } satisfies instructions.InitSendLibraryInstructionAccounts,\n            {\n                params: {\n                    sender,\n                    eid: dstEid,\n                } satisfies types.InitSendLibraryParams,\n            } satisfies instructions.InitSendLibraryInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the send library.\n     *\n     * @param {PublicKey} oappAdmin - The OApp admin public key.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {PublicKey} newSendLibProgram - The new send library program public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setSendLibrary(\n        oappAdmin: PublicKey,\n        oappIDPDA: PublicKey,\n        newSendLibProgram: PublicKey,\n        dstEid: number\n    ): TransactionInstruction {\n        const [newSendLib] = new MessageLibPDADeriver(newSendLibProgram).messageLib()\n        const [sendLibraryConfig] = this.deriver.sendLibraryConfig(oappIDPDA, dstEid)\n        const [sendLibraryInfo] = this.deriver.messageLibraryInfo(newSendLib)\n        const [oappRegistry] = this.deriver.oappRegistry(oappIDPDA)\n\n        const ix = instructions.createSetSendLibraryInstruction(\n            {\n                signer: oappAdmin,\n                sendLibraryConfig: sendLibraryConfig,\n                messageLibInfo: sendLibraryInfo,\n                oappRegistry,\n                program: this.program,\n                eventAuthority: this.eventAuthorityPDA,\n            } satisfies instructions.SetSendLibraryInstructionAccounts,\n            {\n                params: {\n                    sender: oappIDPDA,\n                    eid: dstEid,\n                    newLib: newSendLib,\n                } satisfies types.SetSendLibraryParams,\n            } satisfies instructions.SetSendLibraryInstructionArgs,\n            this.program\n        )\n        return ix\n    }\n\n    /**\n     * Initializes the receive library.\n     *\n     * @param {PublicKey} delegate - The delegate public key.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initReceiveLibrary(delegate: PublicKey, receiver: PublicKey, srcEid: number): TransactionInstruction {\n        const [oappRegistry] = this.deriver.oappRegistry(receiver)\n        const [receiveLibraryConfig] = this.deriver.receiveLibraryConfig(receiver, srcEid)\n\n        return instructions.createInitReceiveLibraryInstruction(\n            {\n                delegate,\n                oappRegistry,\n                receiveLibraryConfig: receiveLibraryConfig,\n            } satisfies instructions.InitReceiveLibraryInstructionAccounts,\n            {\n                params: {\n                    receiver,\n                    eid: srcEid,\n                } satisfies types.InitReceiveLibraryParams,\n            } satisfies instructions.InitReceiveLibraryInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the receive library.\n     *\n     * @param {PublicKey} oappAdmin - The OApp admin public key.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {PublicKey} newReceiveLibProgram - The new receive library program public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {bigint | number} [gracePeriod] - The grace period.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setReceiveLibrary(\n        oappAdmin: PublicKey,\n        oappIDPDA: PublicKey,\n        newReceiveLibProgram: PublicKey,\n        srcEid: number,\n        gracePeriod?: bigint | number\n    ): TransactionInstruction {\n        const [newReceiveLib] = new MessageLibPDADeriver(newReceiveLibProgram).messageLib()\n        const [receiveLibraryConfig] = this.deriver.receiveLibraryConfig(oappIDPDA, srcEid)\n        const [receiveLibraryInfo] = this.deriver.messageLibraryInfo(newReceiveLib)\n        const [oappRegistry] = this.deriver.oappRegistry(oappIDPDA)\n\n        const ix = instructions.createSetReceiveLibraryInstruction(\n            {\n                signer: oappAdmin,\n                receiveLibraryConfig: receiveLibraryConfig,\n                messageLibInfo: receiveLibraryInfo,\n                oappRegistry,\n                program: this.program,\n                eventAuthority: this.eventAuthorityPDA,\n            } satisfies instructions.SetReceiveLibraryInstructionAccounts,\n            {\n                params: {\n                    receiver: oappIDPDA,\n                    eid: srcEid,\n                    newLib: newReceiveLib,\n                    gracePeriod: gracePeriod === undefined ? 0 : new BN(gracePeriod.toString()),\n                } satisfies types.SetReceiveLibraryParams,\n            } satisfies instructions.SetReceiveLibraryInstructionArgs,\n            this.program\n        )\n        return ix\n    }\n\n    /**\n     * Sets the OApp configuration.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappDelegate - The OApp delegate public key.\n     * @param {PublicKey} oappID - The OApp ID public key.\n     * @param {PublicKey} msgLibProgram - The message library program public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {object} config - The configuration object.\n     * @param {SetConfigType} config.configType - The configuration type.\n     * @param {UlnProgram.types.ExecutorConfig | UlnProgram.types.UlnConfig} config.value - The configuration value.\n     * @param {Commitment} [commitment='confirmed'] - The commitment level.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     * @throws {Error} If the message library version is unsupported.\n     */\n    async setOappConfig(\n        connection: Connection,\n        oappDelegate: PublicKey,\n        oappID: PublicKey,\n        msgLibProgram: PublicKey,\n        eid: number,\n        config: {\n            configType: SetConfigType\n            value: UlnProgram.types.ExecutorConfig | UlnProgram.types.UlnConfig\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<TransactionInstruction> {\n        const [msgLib] = new MessageLibPDADeriver(msgLibProgram).messageLib()\n        const [msgLibInfo] = this.deriver.messageLibraryInfo(msgLib)\n\n        const msgLibVersion = await this.getMessageLibVersion(connection, oappDelegate, msgLibProgram, commitment)\n        let msgLibClient: MessageLibInterface\n        if (msgLibVersion?.major.toString() === '0' && msgLibVersion.minor == 0 && msgLibVersion.endpointVersion == 2) {\n            msgLibClient = new SimpleMessageLibProgram.SimpleMessageLib(msgLibProgram)\n        } else if (\n            msgLibVersion?.major.toString() === '3' &&\n            msgLibVersion.minor == 0 &&\n            msgLibVersion.endpointVersion == 2\n        ) {\n            msgLibClient = new UlnProgram.Uln(msgLibProgram)\n        } else {\n            throw new Error(\n                `unsupported message lib version ${msgLibVersion?.major.toString()}.${msgLibVersion?.minor.toString()}`\n            )\n        }\n\n        const [oappRegistry] = this.deriver.oappRegistry(oappID)\n        const ix = instructions.createSetConfigInstruction(\n            {\n                signer: oappDelegate,\n                messageLibInfo: msgLibInfo,\n                messageLib: msgLib,\n                messageLibProgram: msgLibProgram,\n                oappRegistry,\n                anchorRemainingAccounts: await msgLibClient.getSetConfigIXAccountMetaForCPI(this.program, oappID, eid),\n            },\n            {\n                params: {\n                    eid,\n                    configType: config.configType,\n                    config:\n                        msgLibProgram.toBase58() === SimpleMessageLibProgram.PROGRAM_ID.toBase58()\n                            ? new Uint8Array(10)\n                            : UlnProgram.Uln.constructSetConfigData(config.configType, config.value),\n                    oapp: oappID,\n                } satisfies types.SetConfigParams,\n            } satisfies instructions.SetConfigInstructionArgs,\n            this.program\n        )\n        return ix\n    }\n\n    /// send a simulated transaction to the endpoint to get the fee for sending a message\n    /**\n     *\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the quote instruction.\n     *\n     * caculate the fee for sending a message with ULN:\n     *  1. executorFee: feeForGas + feeForOptionType\n     *      * feeForGas: ((gas + gasForCalldata) * gasPriceInUnit * priceRatio / priceRatioDenominator) * multiplier_bps / 10000\n     *      * feeForOptionType: nativeDrop/lzReceive/lzCompose\n     *  2. oracleFee: feeForGas\n     *      * feeForGas: same above\n     *\n     *  The priceRatioDenominator is 10^20\n     *  totalFee = executorFee + oracleFee * numOracles(requiredOracles + optionalOracles)\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {MessageLibInterface} msgLibProgram - The message library program.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     * @throws {Error} If the default send library is not initialized or the message library is blocked.\n     */\n    async getQuoteIXAccountMetaForCPI(\n        connection: Connection,\n        payer: PublicKey,\n        path: SolanaPacketPath,\n        msgLibProgram: MessageLibInterface\n    ): Promise<AccountMeta[]> {\n        const { sender: sender_, dstEid, receiver: receiver_ } = path\n        const sender = new PublicKey(arrayify(sender_))\n        const receiver = addressToBytes32(receiver_)\n        const sendLibInfo = await this.getSendLibrary(connection, sender, dstEid)\n        const { msgLib, programId: owner } = sendLibInfo\n        const [sendLibraryInfo] = this.deriver.messageLibraryInfo(msgLib)\n        const remainingAccounts = await msgLibProgram.getQuoteIXAccountMetaForCPI(connection, payer, path)\n\n        const [setting] = this.deriver.setting()\n        const [defaultSendLibraryConfig] = this.deriver.defaultSendLibraryConfig(dstEid)\n        const [sendLibraryConfig] = this.deriver.sendLibraryConfig(sender, dstEid)\n        const [nonce] = this.deriver.nonce(sender, dstEid, receiver)\n\n        const accounts = instructions.createQuoteInstructionAccounts(\n            {\n                sendLibraryConfig: sendLibraryConfig,\n                sendLibraryProgram: owner,\n                defaultSendLibraryConfig: defaultSendLibraryConfig,\n                endpoint: setting,\n                nonce,\n                sendLibraryInfo,\n                anchorRemainingAccounts: remainingAccounts,\n            } satisfies instructions.QuoteInstructionAccounts,\n            this.program\n        )\n        return Promise.resolve(\n            [\n                {\n                    pubkey: this.program,\n                    isSigner: false,\n                    isWritable: false,\n                },\n            ].concat(accounts)\n        )\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the send instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {MessageLibInterface} msgLibProgram - The message library program.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     * @throws {Error} If the default send library is not initialized or the message library is blocked.\n     */\n    async getSendIXAccountMetaForCPI(\n        connection: Connection,\n        payer: PublicKey,\n        path: SolanaPacketPath,\n        msgLibProgram: MessageLibInterface,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<AccountMeta[]> {\n        const { sender: sender_, dstEid, receiver: receiver_ } = path\n        const sender = new PublicKey(arrayify(sender_))\n        const receiver = addressToBytes32(receiver_)\n        const info = await this.getSendLibrary(connection, sender, dstEid, commitmentOrConfig)\n        const sendLibrary = info.msgLib\n\n        const [sendLibraryInfo] = this.deriver.messageLibraryInfo(sendLibrary)\n        const remainingAccounts = await msgLibProgram.getSendIXAccountMetaForCPI(connection, payer, path)\n\n        const [defaultSendLibraryConfig] = this.deriver.defaultSendLibraryConfig(dstEid)\n        const [sendLibraryConfig] = this.deriver.sendLibraryConfig(sender, dstEid)\n        const [nonce] = this.deriver.nonce(sender, dstEid, receiver)\n\n        const accounts = instructions.createSendInstructionAccounts(\n            {\n                sender, //signer\n                /// this account should be derived from message lib\n                sendLibraryProgram: info.programId,\n                sendLibraryConfig,\n                defaultSendLibraryConfig: defaultSendLibraryConfig,\n                sendLibraryInfo,\n                endpoint: this.deriver.setting()[0],\n                program: this.program,\n                nonce: nonce,\n                eventAuthority: this.eventAuthorityPDA,\n                anchorRemainingAccounts: remainingAccounts,\n            } satisfies instructions.SendInstructionAccounts,\n            this.program\n        )\n\n        accounts.forEach((item: AccountMeta) => {\n            item.isSigner = false\n        })\n        return [\n            {\n                pubkey: this.program,\n                isSigner: false,\n                isWritable: false,\n            },\n        ].concat(accounts)\n    }\n\n    /**\n     * Skips a message.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {string} nonce - The nonce.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    async skip(\n        payer: PublicKey,\n        sender: PublicKey,\n        receiver: PublicKey,\n        srcEid: number,\n        nonce: string\n    ): Promise<TransactionInstruction | null> {\n        const [nonceAccount] = this.deriver.nonce(receiver, srcEid, addressToBytes32(sender.toBase58()))\n        const [payloadHash] = this.deriver.payloadHash(receiver, srcEid, sender.toBytes(), parseInt(nonce))\n        const [pendingInboundNonce] = this.deriver.pendingNonce(receiver, srcEid, sender.toBytes())\n        // get the delegate from endpoint\n        const [oAppRegistry] = PublicKey.findProgramAddressSync(\n            [Buffer.from(OAPP_SEED, 'utf-8'), receiver.toBuffer()],\n            this.program\n        )\n        const ix = instructions.createSkipInstruction(\n            {\n                signer: payer,\n                oappRegistry: oAppRegistry,\n                nonce: nonceAccount,\n                pendingInboundNonce: pendingInboundNonce,\n                payloadHash: payloadHash,\n                endpoint: this.deriver.setting()[0],\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n            } satisfies instructions.SkipInstructionAccounts,\n            {\n                params: {\n                    receiver: receiver,\n                    srcEid: srcEid,\n                    sender: Array.from(sender.toBytes()),\n                    nonce: new BN(nonce),\n                } satisfies types.SkipParams,\n            } satisfies instructions.SkipInstructionArgs,\n            this.program\n        )\n        return Promise.resolve(ix)\n    }\n\n    /**\n     * Initializes the verification process.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {string} nonce - The nonce.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    async initVerify(\n        connection: Connection,\n        payer: PublicKey,\n        sender: PublicKey,\n        receiver: PublicKey,\n        srcEid: number,\n        nonce: string,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<TransactionInstruction | null> {\n        const [nonceAccount] = this.deriver.nonce(receiver, srcEid, addressToBytes32(sender.toBase58()))\n        const [payloadHash] = this.deriver.payloadHash(receiver, srcEid, sender.toBytes(), parseInt(nonce))\n        const payloadHashInfo = await connection.getAccountInfo(payloadHash, commitmentOrConfig)\n        if (payloadHashInfo) {\n            // throw new Error('init verify already executed')\n            return null\n        }\n        return instructions.createInitVerifyInstruction(\n            {\n                payer,\n                nonce: nonceAccount,\n                payloadHash,\n            } satisfies instructions.InitVerifyInstructionAccounts,\n            {\n                params: {\n                    srcEid,\n                    sender: Array.from(sender.toBytes()),\n                    receiver,\n                    nonce: new BN(nonce),\n                } satisfies types.InitVerifyParams,\n            } satisfies instructions.InitVerifyInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the verify instruction.\n     *\n     * @param {PacketV1Codec} packet - The packet.\n     * @param {PublicKey} receiveLibrary - The receive library public key.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getVerifyIXAccountMetaForCPI(packet: PacketV1Codec, receiveLibrary: PublicKey): AccountMeta[] {\n        const receiver = new PublicKey(Buffer.from(packet.receiver().slice(2), 'hex'))\n        const srcEid = packet.srcEid()\n        const sender = addressToBytes32(packet.sender())\n\n        const [payloadHash] = this.deriver.payloadHash(receiver, srcEid, sender, parseInt(packet.nonce()))\n        const [defaultReceiveLibraryConfig] = this.deriver.defaultReceiveLibraryConfig(srcEid)\n        const [receiveLibraryConfig] = this.deriver.receiveLibraryConfig(receiver, srcEid)\n\n        const [nonce] = this.deriver.nonce(receiver, srcEid, sender)\n        const [pendingNonce] = this.deriver.pendingNonce(receiver, srcEid, sender)\n        // const [receiveLibraryPDA] = this.endpointDeriver.receiveLibrary(receiver, srcEid)\n        const accounts = instructions.createVerifyInstructionAccounts(\n            {\n                receiveLibrary: receiveLibrary,\n                receiveLibraryConfig: receiveLibraryConfig,\n                defaultReceiveLibraryConfig: defaultReceiveLibraryConfig,\n                nonce: nonce,\n                pendingInboundNonce: pendingNonce,\n                payloadHash: payloadHash,\n                program: this.program,\n                eventAuthority: this.eventAuthorityPDA,\n            } satisfies instructions.VerifyInstructionAccounts,\n            this.program\n        )\n        accounts.forEach((key) => {\n            key.isSigner = false\n        })\n        const program: AccountMeta = {\n            pubkey: this.program,\n            isSigner: false,\n            isWritable: false,\n        }\n        return [program, ...accounts]\n    }\n\n    /***\n     * resetConfig is only supported by ULN\n     */\n    // async getResetConfigIXAccountMetaForCPI(\n    //     connection: Connection,\n    //     msgLibProgram: PublicKey,\n    //     oappID: PublicKey,\n    //     eid: number,\n    //     commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n    // ): Promise<AccountMeta[]> {\n    //     const uln = new UlnProgram.Uln(msgLibProgram)\n    //     const [msgLib] = uln.ulnDeriver.messageLib()\n    //     const [msgLibInfo] = this.endpointDeriver.messageLibraryAuthority(msgLib)\n\n    //     const ix = instructions.createResetConfigInstruction(\n    //         {\n    //             oapp: oappID,\n    //             messageLibAuthority: msgLibInfo,\n    //             messageLib: msgLib,\n    //             anchorRemainingAccounts: await uln.getResetConfigIXAccountMetaForCPI(\n    //                 connection,\n    //                 this.program,\n    //                 oappID,\n    //                 eid,\n    //                 commitmentOrConfig\n    //             ),\n    //         } as instructions.ResetConfigInstructionAccounts,\n    //         // Fake params. Just to get the ix.keys\n    //         {\n    //             params: {\n    //                 eid: eid,\n    //                 messageLib: msgLib,\n    //             } as types.ResetConfigParams,\n    //         } as instructions.ResetConfigInstructionArgs\n    //     )\n    //     ix.keys.forEach((key) => {\n    //         key.isSigner = false\n    //     })\n    //     return [\n    //         {\n    //             pubkey: this.program,\n    //             isWritable: false,\n    //             isSigner: false,\n    //         } as AccountMeta,\n    //     ].concat(ix.keys)\n    // }\n\n    /**\n     * snapshotConfig is only supported by ULN\n     */\n    // async getSnapshotConfigIXAccountMetaForCPI(\n    //     connection: Connection,\n    //     msgLibProgram: PublicKey,\n    //     oappID: PublicKey,\n    //     eid: number,\n    //     commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n    // ): Promise<AccountMeta[]> {\n    //     const uln = new UlnProgram.Uln(msgLibProgram)\n    //     const [msgLib] = uln.ulnDeriver.messageLib()\n    //     const [msgLibInfo] = this.endpointDeriver.messageLibraryAuthority(msgLib)\n\n    //     const ix = instructions.createSnapshotConfigInstruction(\n    //         {\n    //             oapp: oappID,\n    //             messageLibAuthority: msgLibInfo,\n    //             messageLib: msgLib,\n    //             anchorRemainingAccounts: await uln.getSnapshotConfigIXAccountMetaForCPI(\n    //                 connection,\n    //                 this.program,\n    //                 oappID,\n    //                 eid,\n    //                 commitmentOrConfig\n    //             ),\n    //         } satisfies instructions.SnapshotConfigInstructionAccounts,\n    //         // Fake params. Just to get the ix.keys\n    //         {\n    //             params: {\n    //                 eid: eid,\n    //                 messageLib: msgLib,\n    //             } as types.SnapshotConfigParams,\n    //         } as instructions.SnapshotConfigInstructionArgs\n    //     )\n    //     ix.keys.forEach((key) => {\n    //         key.isSigner = false\n    //     })\n    //     return [\n    //         {\n    //             pubkey: this.program,\n    //             isWritable: false,\n    //             isSigner: false,\n    //         },\n    //     ].concat(ix.keys)\n    // }\n\n    /**\n     * @param composer. The composer is usually the PDA of the app's ID. It depends on the oapp's implementation.\n     */\n    // getDeliverComposedMessageIXAccountMetaForCPI(\n    //     payer: PublicKey,\n    //     composer: PublicKey,\n    //     packet: PacketV1Codec\n    // ): AccountMeta[] {\n    //     const receiver = new PublicKey(Buffer.from(packet.receiver().slice(2), 'hex'))\n    //     const guid = Uint8Array.from(Buffer.from(packet.guid().slice(2), 'hex'))\n    //     const message = ethers.utils.arrayify(ethers.utils.keccak256(packet.message()))\n    //     const ix = instructions.createDeliverComposedMessageInstruction(\n    //         {\n    //             payer,\n    //             receiver,\n    //             composedMessage: this.endpointDeriver.composedMessage(receiver, guid, composer, message)[0],\n    //             endpoint: this.endpointDeriver.setting()[0],\n    //             endpointProgram: this.program,\n    //         } satisfies instructions.DeliverComposedMessageInstructionAccounts,\n    //         // Fake params. Just to get the ix.keys\n    //         {\n    //             params: {\n    //                 composer: payer,\n    //                 guid: Array.from(guid),\n    //                 message: Uint8Array.from([]),\n    //             } as types.DeliverComposedMessageParams,\n    //         } as instructions.DeliverComposedMessageInstructionArgs\n    //     )\n    //     ix.keys.forEach((key) => {\n    //         key.isSigner = false\n    //     })\n    //     return [\n    //         {\n    //             pubkey: this.program,\n    //             isWritable: false,\n    //             isSigner: false,\n    //         },\n    //     ].concat(ix.keys)\n    // }\n\n    /**\n     * @param composer. The composer is usually the PDA of the app's ID. It depends on the oapp's implementation.\n     */\n    // getClearComposedMessageIXAccountMetaForCPI(composer: PublicKey, packet: PacketV1Codec): AccountMeta[] {\n    //     const receiver = new PublicKey(Buffer.from(packet.receiver().slice(2), 'hex'))\n    //     const guid = Uint8Array.from(Buffer.from(packet.guid().slice(2), 'hex'))\n    //     const message = ethers.utils.arrayify(ethers.utils.keccak256(packet.message()))\n    //     const ix = instructions.createClearComposedMessageInstruction(\n    //         {\n    //             composer,\n    //             composedMessage: this.endpointDeriver.composedMessage(receiver, guid, composer, message)[0],\n    //             endpoint: this.endpointDeriver.setting()[0],\n    //             endpointProgram: this.program,\n    //         } satisfies instructions.ClearComposedMessageInstructionAccounts,\n    //         // Fake params. Just to get the ix.keys\n    //         {\n    //             params: {\n    //                 receiver: composer,\n    //                 guid: Array.from(guid),\n    //                 message: Uint8Array.from([]),\n    //             } as types.ClearComposedMessageParams,\n    //         } as instructions.ClearComposedMessageInstructionArgs\n    //     )\n    //     ix.keys.forEach((key) => {\n    //         key.isSigner = false\n    //     })\n    //     return [\n    //         {\n    //             pubkey: this.program,\n    //             isWritable: false,\n    //             isSigner: false,\n    //         } as AccountMeta,\n    //     ].concat(ix.keys)\n    // }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the register OApp instruction.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oapp - The OApp public key.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getRegisterOappIxAccountMetaForCPI(payer: PublicKey, oapp: PublicKey): AccountMeta[] {\n        const [oappRegistry] = this.deriver.oappRegistry(oapp)\n        const eventAuthority = this.eventAuthorityPDA\n        const keys = instructions.createRegisterOappInstructionAccounts(\n            {\n                payer,\n                oapp,\n                oappRegistry,\n                eventAuthority,\n                program: this.program,\n            } satisfies instructions.RegisterOappInstructionAccounts,\n            this.program\n        )\n        keys.forEach((key) => {\n            key.isSigner = false\n        })\n        return [\n            {\n                pubkey: this.program,\n                isSigner: false,\n                isWritable: false,\n            },\n        ].concat(keys)\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the skip instruction.\n     *\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {Uint8Array} sender - The sender address.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {number} nonce - The nonce.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getSkipIxAccountMetaForCPI(receiver: PublicKey, sender: Uint8Array, srcEid: number, nonce: number): AccountMeta[] {\n        const [noncePDA] = this.deriver.nonce(receiver, srcEid, sender)\n        const [pendingNonce] = this.deriver.pendingNonce(receiver, srcEid, sender)\n        const [payloadHash] = this.deriver.payloadHash(receiver, srcEid, sender, nonce)\n        const [oappRegistry] = this.deriver.oappRegistry(receiver)\n        const keys = instructions.createSkipInstructionAccounts(\n            {\n                signer: receiver,\n                oappRegistry,\n                nonce: noncePDA,\n                pendingInboundNonce: pendingNonce,\n                payloadHash,\n                endpoint: this.deriver.setting()[0],\n                program: this.program,\n                eventAuthority: this.eventAuthorityPDA,\n            } satisfies instructions.SkipInstructionAccounts,\n            this.program\n        )\n        keys.forEach((key) => {\n            key.isSigner = false\n        })\n        return [\n            {\n                pubkey: this.program,\n                isSigner: false,\n                isWritable: false,\n            },\n        ].concat(keys)\n    }\n\n    /**\n     * Checks if the given message library program is the default send library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<boolean>} A promise that resolves to true if the message library program is the default send library, false otherwise.\n     */\n    async isDefaultSendLibrary(\n        connection: Connection,\n        messageLibProgram: PublicKey,\n        dstEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<boolean> {\n        const [msgLib] = new pdaDeriver.MessageLibPDADeriver(messageLibProgram).messageLib()\n        const info = await this.getDefaultSendLibrary(connection, dstEid, commitmentOrConfig)\n        if (info) {\n            // const [defaultSendLib] = new MessageLibPDADeriver(messageLibProgram).messageLib()\n            return info.msgLib.equals(msgLib)\n        }\n        return false\n    }\n\n    /**\n     * Checks if the given message library program is the default receive library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<boolean>} A promise that resolves to true if the message library program is the default receive library, false otherwise.\n     */\n    async isDefaultReceiveLibrary(\n        connection: Connection,\n        messageLibProgram: PublicKey,\n        srcEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<boolean> {\n        const [msgLib] = new pdaDeriver.MessageLibPDADeriver(messageLibProgram).messageLib()\n        const info = await this.getDefaultReceiveLibrary(connection, srcEid, commitmentOrConfig)\n        if (info) {\n            return info.msgLib.equals(msgLib)\n        }\n        return false\n    }\n\n    // all of below functions are retrieving accounts state\n    /**\n     * Gets the endpoint settings.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<EndpointSettings | null>} A promise that resolves to the endpoint settings or null if not found.\n     */\n    async getSetting(\n        connection: Connection,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<EndpointSettings | null> {\n        const [setting] = this.deriver.setting()\n        try {\n            return await accounts.EndpointSettings.fromAccountAddress(connection, setting, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the message library information.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} messageLibProgram - The message library program public key, It is a PDA of the message library program\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<MessageLibInfo | null>} A promise that resolves to the message library information or null if not found.\n     */\n    async getMessageLibInfo(\n        connection: Connection,\n        messageLibProgram: PublicKey,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<MessageLibInfo | null> {\n        const [msgLib] = new pdaDeriver.MessageLibPDADeriver(messageLibProgram).messageLib()\n        const [messageLibInfo] = this.deriver.messageLibraryInfo(msgLib)\n        try {\n            return await accounts.MessageLibInfo.fromAccountAddress(connection, messageLibInfo, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the default receive library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; owner: PublicKey } | null>} A promise that resolves to the default receive library or null if not found.\n     */\n    async getDefaultReceiveLibrary(\n        connection: Connection,\n        srcEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<{ msgLib: PublicKey; owner: PublicKey } | null> {\n        const [defaultReceiveLibConfig] = this.deriver.defaultReceiveLibraryConfig(srcEid)\n        try {\n            const defaultInfo = await accounts.ReceiveLibraryConfig.fromAccountAddress(\n                connection,\n                defaultReceiveLibConfig,\n                commitmentOrConfig\n            )\n            let msgLibProgram: PublicKey | undefined\n\n            if (Endpoint.checkIfBlockedMessageLib(defaultInfo.messageLib)) {\n                msgLibProgram = BlockedMessageLibProgram.PROGRAM_ID\n            } else {\n                const messageLibInfo = await connection.getAccountInfo(defaultInfo.messageLib, commitmentOrConfig)\n                invariant(messageLibInfo, 'messageLibInfo should not be null')\n                msgLibProgram = messageLibInfo.owner\n            }\n            return {\n                owner: msgLibProgram,\n                msgLib: defaultInfo.messageLib,\n            }\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the default send library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; owner: PublicKey } | null>} A promise that resolves to the default send library or null if not found.\n     */\n    async getDefaultSendLibrary(\n        connection: Connection,\n        dstEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<{ msgLib: PublicKey; owner: PublicKey } | null> {\n        const [defaultSendLibConfig] = this.deriver.defaultSendLibraryConfig(dstEid)\n        try {\n            const defaultInfo = await accounts.SendLibraryConfig.fromAccountAddress(\n                connection,\n                defaultSendLibConfig,\n                commitmentOrConfig\n            )\n            let msgLibProgram: PublicKey | undefined\n            if (Endpoint.checkIfBlockedMessageLib(defaultInfo.messageLib)) {\n                msgLibProgram = BlockedMessageLibProgram.PROGRAM_ID\n            } else {\n                const messageLibInfo = await connection.getAccountInfo(defaultInfo.messageLib, commitmentOrConfig)\n                invariant(messageLibInfo, 'messageLibInfo should not be null')\n                msgLibProgram = messageLibInfo.owner\n            }\n            return {\n                owner: msgLibProgram,\n                msgLib: defaultInfo.messageLib,\n            }\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the configured send library for the app.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappPda - The OApp PDA.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; programId: PublicKey; isDefault: boolean } | null>} A promise that resolves to the configured send library or null if not found.\n     */\n    async getSendLibrary(\n        connection: Connection,\n        oappPda: PublicKey,\n        dstEid: number,\n        commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<{ msgLib: PublicKey; programId: PublicKey; isDefault: boolean }> {\n        const [sendLibConfig] = this.deriver.sendLibraryConfig(oappPda, dstEid)\n        const [defaultSendLibConfig] = this.deriver.defaultSendLibraryConfig(dstEid)\n        const [defaultSendLibConfigBuf, sendLibConfigBuf] = await connection.getMultipleAccountsInfo(\n            [defaultSendLibConfig, sendLibConfig],\n            commitmentOrConfig\n        )\n        if (!defaultSendLibConfigBuf || !sendLibConfigBuf) {\n            throw new Error(\n                `Unable to find defaultSendLibraryConfig/sendLibraryConfig account at ${defaultSendLibConfig.toString()}/${sendLibConfig.toString()}`\n            )\n        }\n        const [sendLibConfigInfo] = accounts.SendLibraryConfig.fromAccountInfo(sendLibConfigBuf, 0)\n        const [defaultSendLibConfigInfo] = accounts.SendLibraryConfig.fromAccountInfo(defaultSendLibConfigBuf, 0)\n        const msgLib =\n            sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultSendLibConfigInfo.messageLib\n                : sendLibConfigInfo.messageLib\n        const isDefault = sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n        let msgLibProgram: PublicKey | undefined\n        if (Endpoint.checkIfBlockedMessageLib(msgLib)) {\n            msgLibProgram = BlockedMessageLibProgram.PROGRAM_ID\n        } else {\n            const msgLibAccountInfo = await connection.getAccountInfo(msgLib, commitmentOrConfig)\n            invariant(msgLibAccountInfo, 'msgLibAccountInfo should not be null')\n            msgLibProgram = msgLibAccountInfo.owner\n        }\n        return {\n            programId: msgLibProgram,\n            msgLib,\n            isDefault,\n        }\n    }\n\n    /**\n     * Gets the configured receive library for the app.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappPda - The OApp PDA.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; programId?: PublicKey; isDefault: boolean; timeout: { msgLib: PublicKey; expiry: bigint } | null } | null>} A promise that resolves to the configured receive library or null if not found.\n     */\n    async getReceiveLibrary(\n        connection: Connection,\n        oappPda: PublicKey,\n        srcEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<{\n        msgLib: PublicKey // message library pda, it might be null if the message lib is blocked\n        programId: PublicKey\n        isDefault: boolean\n        timeout?: { msgLib: PublicKey; expiry: bigint }\n    }> {\n        const [receiveLibConfig] = this.deriver.receiveLibraryConfig(oappPda, srcEid)\n        const [defaultReceiveLibConfig] = this.deriver.defaultReceiveLibraryConfig(srcEid)\n        // const accountInfo = await connection.getAccountInfo(receiveLibConfig, commitmentOrConfig)\n        const [defaultReceiveLibConfigBuf, receiveLibConfigBuf] = await connection.getMultipleAccountsInfo(\n            [defaultReceiveLibConfig, receiveLibConfig],\n            commitmentOrConfig\n        )\n        if (!defaultReceiveLibConfigBuf || !receiveLibConfigBuf) {\n            throw new Error(\n                `Unable to find defaultReceiveLibraryConfig/receiveLibraryConfig account at ${defaultReceiveLibConfig.toString()}/${receiveLibConfig.toString()}`\n            )\n        }\n\n        const [receiveLibConfigInfo] = accounts.ReceiveLibraryConfig.fromAccountInfo(receiveLibConfigBuf, 0)\n        const [defaultReceiveLibConfigInfo] = accounts.ReceiveLibraryConfig.fromAccountInfo(\n            defaultReceiveLibConfigBuf,\n            0\n        )\n        const finalReceiveLibConfigInfo =\n            receiveLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultReceiveLibConfigInfo\n                : receiveLibConfigInfo\n\n        const { messageLib, timeout } = finalReceiveLibConfigInfo\n\n        let msgLibProgram: PublicKey | undefined\n        if (Endpoint.checkIfBlockedMessageLib(messageLib)) {\n            msgLibProgram = BlockedMessageLibProgram.PROGRAM_ID\n        } else {\n            const msgLibAccountInfo = await connection.getAccountInfo(messageLib, commitmentOrConfig)\n            invariant(msgLibAccountInfo, 'msgLibAccountInfo should not be null')\n            msgLibProgram = msgLibAccountInfo.owner\n        }\n        return {\n            programId: msgLibProgram,\n            msgLib: messageLib,\n            isDefault: receiveLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString(),\n            timeout:\n                timeout === null\n                    ? undefined\n                    : { msgLib: timeout.messageLib, expiry: BigInt(timeout.expiry.toString()) },\n        }\n    }\n\n    // rename to a more generic name\n    /**\n     * Gets the inbound payload hash.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Uint8Array} sender - The sender address.\n     * @param {number} nonce - The nonce.\n     * @param {Uint8Array} _payloadHash - The payload hash.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<PayloadHash | null>} A promise that resolves to the payload hash or null if not found.\n     */\n    async getInboundPayloadHash(\n        connection: Connection,\n        receiver: PublicKey,\n        srcEid: number,\n        sender: Uint8Array,\n        nonce: number,\n        _payloadHash: Uint8Array,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<PayloadHash | null> {\n        const [payloadHashPDA] = this.deriver.payloadHash(receiver, srcEid, sender, nonce)\n        const accountInfo = await connection.getAccountInfo(payloadHashPDA, commitmentOrConfig)\n        if (!accountInfo) {\n            return null\n        }\n        return PayloadHash.fromAccountInfo(accountInfo, 0)[0]\n    }\n\n    /**\n     * Gets the composed message state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} from - The sender public key.\n     * @param {types.SendComposeParams} params - The send compose parameters.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<ComposeMessageState | null>} A promise that resolves to the composed message state or null if not found.\n     */\n    async getComposedMessageState(\n        connection: Connection,\n        from: PublicKey,\n        params: types.SendComposeParams,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<ComposeMessageState | null> {\n        const message = keccak_256(params.message)\n        const [composedMessagePDA] = this.deriver.composedMessage(\n            from,\n            Uint8Array.from(params.guid),\n            params.index,\n            params.to,\n            message\n        )\n        const accountInfo = await connection.getAccountInfo(composedMessagePDA, commitmentOrConfig)\n        if (!accountInfo) {\n            return null\n        }\n        return ComposeMessageState.fromAccountInfo(accountInfo, 0)[0]\n    }\n\n    /**\n     * Gets the nonce.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {number} remoteEid - The remote endpoint ID.\n     * @param {Uint8Array} remoteOappAddr - The remote OApp address.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.Nonce | null>} A promise that resolves to the nonce or null if not found.\n     */\n    async getNonce(\n        connection: Connection,\n        oappIDPDA: PublicKey,\n        remoteEid: number,\n        remoteOappAddr: Uint8Array,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.Nonce | null> {\n        const [nonce] = this.deriver.nonce(oappIDPDA, remoteEid, remoteOappAddr)\n        try {\n            return await accounts.Nonce.fromAccountAddress(connection, nonce, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the pending inbound nonce.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {number} remoteEid - The remote endpoint ID.\n     * @param {Uint8Array} remoteOappAddr - The remote OApp address.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.PendingInboundNonce | null>} A promise that resolves to the pending inbound nonce or null if not found.\n     */\n    async getPendingInboundNonce(\n        connection: Connection,\n        oappIDPDA: PublicKey,\n        remoteEid: number,\n        remoteOappAddr: Uint8Array,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.PendingInboundNonce | null> {\n        const [nonce] = this.deriver.pendingNonce(oappIDPDA, remoteEid, remoteOappAddr)\n        try {\n            return await accounts.PendingInboundNonce.fromAccountAddress(connection, nonce, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the message library version.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {Commitment} [commitment='confirmed'] - The commitment level.\n     * @returns {Promise<Version | null>} A promise that resolves to the version or null if not found.\n     */\n    async getMessageLibVersion(\n        connection: Connection,\n        payer: PublicKey,\n        messageLibProgram: PublicKey,\n        commitment: Commitment = 'confirmed'\n    ): Promise<Version | null> {\n        const ix = SimpleMessageLibProgram.instructions.createVersionInstruction(messageLibProgram)\n\n        const simulateResp = await simulateTransaction(connection, [ix], messageLibProgram, payer, commitment)\n        const version = SimpleMessageLibProgram.types.versionBeet.read(simulateResp, 0)\n        return version\n    }\n\n    /**\n     * Transfers the admin role to a new admin.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The current admin public key.\n     * @param {PublicKey} newAdmin - The new admin public key.\n     * @param {Commitment} [commitment='confirmed'] - The commitment level.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    async transferAdmin(\n        connection: Connection,\n        admin: PublicKey,\n        newAdmin: PublicKey,\n        commitment: Commitment = 'confirmed'\n    ): Promise<TransactionInstruction | null> {\n        const [settingPDA] = this.deriver.setting()\n        const endpointSettings = await accounts.EndpointSettings.fromAccountAddress(connection, settingPDA, commitment)\n        if (endpointSettings.admin.toBase58() === newAdmin.toBase58()) {\n            console.warn('endpoint admin not need change')\n            return null\n        }\n        return instructions.createTransferAdminInstruction(\n            {\n                admin,\n                endpoint: settingPDA,\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n            },\n            {\n                params: {\n                    admin: newAdmin,\n                },\n            },\n            this.program\n        )\n    }\n\n    static checkIfBlockedMessageLib(msgLib: PublicKey): boolean {\n        const [blockedMessageLib] = new MessageLibPDADeriver(BlockedMessageLibProgram.PROGRAM_ID).messageLib()\n        return msgLib.toString() === blockedMessageLib.toString()\n    }\n}\n","export * from './ComposeMessageState'\nexport * from './EndpointSettings'\nexport * from './MessageLibInfo'\nexport * from './Nonce'\nexport * from './OAppRegistry'\nexport * from './PayloadHash'\nexport * from './PendingInboundNonce'\nexport * from './ReceiveLibraryConfig'\nexport * from './SendLibraryConfig'\n\nimport { ComposeMessageState } from './ComposeMessageState'\nimport { EndpointSettings } from './EndpointSettings'\nimport { OAppRegistry } from './OAppRegistry'\nimport { MessageLibInfo } from './MessageLibInfo'\nimport { ReceiveLibraryConfig } from './ReceiveLibraryConfig'\nimport { SendLibraryConfig } from './SendLibraryConfig'\nimport { Nonce } from './Nonce'\nimport { PayloadHash } from './PayloadHash'\nimport { PendingInboundNonce } from './PendingInboundNonce'\n\nexport const accountProviders = {\n  ComposeMessageState,\n  EndpointSettings,\n  OAppRegistry,\n  MessageLibInfo,\n  ReceiveLibraryConfig,\n  SendLibraryConfig,\n  Nonce,\n  PayloadHash,\n  PendingInboundNonce,\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link ComposeMessageState}\n * @category Accounts\n * @category generated\n */\nexport type ComposeMessageStateArgs = {\n  received: boolean\n  bump: number\n}\n\nexport const composeMessageStateDiscriminator = [\n  55, 107, 79, 254, 243, 22, 172, 240,\n]\n/**\n * Holds the data for the {@link ComposeMessageState} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class ComposeMessageState implements ComposeMessageStateArgs {\n  private constructor(readonly received: boolean, readonly bump: number) {}\n\n  /**\n   * Creates a {@link ComposeMessageState} instance from the provided args.\n   */\n  static fromArgs(args: ComposeMessageStateArgs) {\n    return new ComposeMessageState(args.received, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link ComposeMessageState} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [ComposeMessageState, number] {\n    return ComposeMessageState.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link ComposeMessageState} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<ComposeMessageState> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(\n        `Unable to find ComposeMessageState account at ${address}`\n      )\n    }\n    return ComposeMessageState.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, composeMessageStateBeet)\n  }\n\n  /**\n   * Deserializes the {@link ComposeMessageState} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [ComposeMessageState, number] {\n    return composeMessageStateBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link ComposeMessageState} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return composeMessageStateBeet.serialize({\n      accountDiscriminator: composeMessageStateDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link ComposeMessageState}\n   */\n  static get byteSize() {\n    return composeMessageStateBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link ComposeMessageState} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      ComposeMessageState.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link ComposeMessageState} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === ComposeMessageState.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link ComposeMessageState} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      received: this.received,\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const composeMessageStateBeet = new beet.BeetStruct<\n  ComposeMessageState,\n  ComposeMessageStateArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['received', beet.bool],\n    ['bump', beet.u8],\n  ],\n  ComposeMessageState.fromArgs,\n  'ComposeMessageState'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link EndpointSettings}\n * @category Accounts\n * @category generated\n */\nexport type EndpointSettingsArgs = {\n  eid: number\n  bump: number\n  admin: web3.PublicKey\n  lzTokenMint: beet.COption<web3.PublicKey>\n}\n\nexport const endpointSettingsDiscriminator = [221, 232, 73, 56, 10, 66, 72, 14]\n/**\n * Holds the data for the {@link EndpointSettings} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class EndpointSettings implements EndpointSettingsArgs {\n  private constructor(\n    readonly eid: number,\n    readonly bump: number,\n    readonly admin: web3.PublicKey,\n    readonly lzTokenMint: beet.COption<web3.PublicKey>\n  ) {}\n\n  /**\n   * Creates a {@link EndpointSettings} instance from the provided args.\n   */\n  static fromArgs(args: EndpointSettingsArgs) {\n    return new EndpointSettings(\n      args.eid,\n      args.bump,\n      args.admin,\n      args.lzTokenMint\n    )\n  }\n\n  /**\n   * Deserializes the {@link EndpointSettings} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [EndpointSettings, number] {\n    return EndpointSettings.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link EndpointSettings} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<EndpointSettings> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find EndpointSettings account at ${address}`)\n    }\n    return EndpointSettings.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, endpointSettingsBeet)\n  }\n\n  /**\n   * Deserializes the {@link EndpointSettings} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [EndpointSettings, number] {\n    return endpointSettingsBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link EndpointSettings} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return endpointSettingsBeet.serialize({\n      accountDiscriminator: endpointSettingsDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link EndpointSettings} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: EndpointSettingsArgs) {\n    const instance = EndpointSettings.fromArgs(args)\n    return endpointSettingsBeet.toFixedFromValue({\n      accountDiscriminator: endpointSettingsDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link EndpointSettings} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: EndpointSettingsArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      EndpointSettings.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link EndpointSettings} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      eid: this.eid,\n      bump: this.bump,\n      admin: this.admin.toBase58(),\n      lzTokenMint: this.lzTokenMint,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const endpointSettingsBeet = new beet.FixableBeetStruct<\n  EndpointSettings,\n  EndpointSettingsArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['eid', beet.u32],\n    ['bump', beet.u8],\n    ['admin', beetSolana.publicKey],\n    ['lzTokenMint', beet.coption(beetSolana.publicKey)],\n  ],\n  EndpointSettings.fromArgs,\n  'EndpointSettings'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\n/**\n * @category enums\n * @category generated\n */\nexport enum MessageLibType {\n  Send,\n  Receive,\n  SendAndReceive,\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const messageLibTypeBeet = beet.fixedScalarEnum(\n  MessageLibType\n) as beet.FixedSizeBeet<MessageLibType, MessageLibType>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { MessageLibType, messageLibTypeBeet } from '../types/MessageLibType'\n\n/**\n * Arguments used to create {@link MessageLibInfo}\n * @category Accounts\n * @category generated\n */\nexport type MessageLibInfoArgs = {\n  messageLibType: MessageLibType\n  bump: number\n  messageLibBump: number\n}\n\nexport const messageLibInfoDiscriminator = [103, 102, 218, 28, 204, 135, 71, 14]\n/**\n * Holds the data for the {@link MessageLibInfo} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class MessageLibInfo implements MessageLibInfoArgs {\n  private constructor(\n    readonly messageLibType: MessageLibType,\n    readonly bump: number,\n    readonly messageLibBump: number\n  ) {}\n\n  /**\n   * Creates a {@link MessageLibInfo} instance from the provided args.\n   */\n  static fromArgs(args: MessageLibInfoArgs) {\n    return new MessageLibInfo(\n      args.messageLibType,\n      args.bump,\n      args.messageLibBump\n    )\n  }\n\n  /**\n   * Deserializes the {@link MessageLibInfo} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [MessageLibInfo, number] {\n    return MessageLibInfo.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link MessageLibInfo} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<MessageLibInfo> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find MessageLibInfo account at ${address}`)\n    }\n    return MessageLibInfo.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, messageLibInfoBeet)\n  }\n\n  /**\n   * Deserializes the {@link MessageLibInfo} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [MessageLibInfo, number] {\n    return messageLibInfoBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link MessageLibInfo} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return messageLibInfoBeet.serialize({\n      accountDiscriminator: messageLibInfoDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link MessageLibInfo}\n   */\n  static get byteSize() {\n    return messageLibInfoBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link MessageLibInfo} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      MessageLibInfo.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link MessageLibInfo} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === MessageLibInfo.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link MessageLibInfo} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      messageLibType: 'MessageLibType.' + MessageLibType[this.messageLibType],\n      bump: this.bump,\n      messageLibBump: this.messageLibBump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const messageLibInfoBeet = new beet.BeetStruct<\n  MessageLibInfo,\n  MessageLibInfoArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['messageLibType', messageLibTypeBeet],\n    ['bump', beet.u8],\n    ['messageLibBump', beet.u8],\n  ],\n  MessageLibInfo.fromArgs,\n  'MessageLibInfo'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link Nonce}\n * @category Accounts\n * @category generated\n */\nexport type NonceArgs = {\n  bump: number\n  outboundNonce: beet.bignum\n  inboundNonce: beet.bignum\n}\n\nexport const nonceDiscriminator = [143, 197, 147, 95, 106, 165, 50, 43]\n/**\n * Holds the data for the {@link Nonce} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class Nonce implements NonceArgs {\n  private constructor(\n    readonly bump: number,\n    readonly outboundNonce: beet.bignum,\n    readonly inboundNonce: beet.bignum\n  ) {}\n\n  /**\n   * Creates a {@link Nonce} instance from the provided args.\n   */\n  static fromArgs(args: NonceArgs) {\n    return new Nonce(args.bump, args.outboundNonce, args.inboundNonce)\n  }\n\n  /**\n   * Deserializes the {@link Nonce} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [Nonce, number] {\n    return Nonce.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link Nonce} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<Nonce> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find Nonce account at ${address}`)\n    }\n    return Nonce.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, nonceBeet)\n  }\n\n  /**\n   * Deserializes the {@link Nonce} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [Nonce, number] {\n    return nonceBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link Nonce} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return nonceBeet.serialize({\n      accountDiscriminator: nonceDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link Nonce}\n   */\n  static get byteSize() {\n    return nonceBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link Nonce} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      Nonce.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link Nonce} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === Nonce.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link Nonce} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      outboundNonce: (() => {\n        const x = <{ toNumber: () => number }>this.outboundNonce\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n      inboundNonce: (() => {\n        const x = <{ toNumber: () => number }>this.inboundNonce\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const nonceBeet = new beet.BeetStruct<\n  Nonce,\n  NonceArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['outboundNonce', beet.u64],\n    ['inboundNonce', beet.u64],\n  ],\n  Nonce.fromArgs,\n  'Nonce'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\n\n/**\n * Arguments used to create {@link OAppRegistry}\n * @category Accounts\n * @category generated\n */\nexport type OAppRegistryArgs = {\n  delegate: web3.PublicKey\n  bump: number\n}\n\nexport const oAppRegistryDiscriminator = [6, 152, 199, 30, 217, 50, 69, 149]\n/**\n * Holds the data for the {@link OAppRegistry} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class OAppRegistry implements OAppRegistryArgs {\n  private constructor(\n    readonly delegate: web3.PublicKey,\n    readonly bump: number\n  ) {}\n\n  /**\n   * Creates a {@link OAppRegistry} instance from the provided args.\n   */\n  static fromArgs(args: OAppRegistryArgs) {\n    return new OAppRegistry(args.delegate, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link OAppRegistry} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [OAppRegistry, number] {\n    return OAppRegistry.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link OAppRegistry} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<OAppRegistry> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find OAppRegistry account at ${address}`)\n    }\n    return OAppRegistry.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, oAppRegistryBeet)\n  }\n\n  /**\n   * Deserializes the {@link OAppRegistry} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [OAppRegistry, number] {\n    return oAppRegistryBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link OAppRegistry} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return oAppRegistryBeet.serialize({\n      accountDiscriminator: oAppRegistryDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link OAppRegistry}\n   */\n  static get byteSize() {\n    return oAppRegistryBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link OAppRegistry} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      OAppRegistry.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link OAppRegistry} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === OAppRegistry.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link OAppRegistry} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      delegate: this.delegate.toBase58(),\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const oAppRegistryBeet = new beet.BeetStruct<\n  OAppRegistry,\n  OAppRegistryArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['delegate', beetSolana.publicKey],\n    ['bump', beet.u8],\n  ],\n  OAppRegistry.fromArgs,\n  'OAppRegistry'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link PayloadHash}\n * @category Accounts\n * @category generated\n */\nexport type PayloadHashArgs = {\n  hash: number[] /* size: 32 */\n  bump: number\n}\n\nexport const payloadHashDiscriminator = [96, 28, 106, 145, 103, 32, 186, 70]\n/**\n * Holds the data for the {@link PayloadHash} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class PayloadHash implements PayloadHashArgs {\n  private constructor(\n    readonly hash: number[] /* size: 32 */,\n    readonly bump: number\n  ) {}\n\n  /**\n   * Creates a {@link PayloadHash} instance from the provided args.\n   */\n  static fromArgs(args: PayloadHashArgs) {\n    return new PayloadHash(args.hash, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link PayloadHash} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [PayloadHash, number] {\n    return PayloadHash.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link PayloadHash} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<PayloadHash> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find PayloadHash account at ${address}`)\n    }\n    return PayloadHash.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, payloadHashBeet)\n  }\n\n  /**\n   * Deserializes the {@link PayloadHash} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [PayloadHash, number] {\n    return payloadHashBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link PayloadHash} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return payloadHashBeet.serialize({\n      accountDiscriminator: payloadHashDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link PayloadHash}\n   */\n  static get byteSize() {\n    return payloadHashBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link PayloadHash} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      PayloadHash.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link PayloadHash} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === PayloadHash.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link PayloadHash} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      hash: this.hash,\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const payloadHashBeet = new beet.BeetStruct<\n  PayloadHash,\n  PayloadHashArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['hash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['bump', beet.u8],\n  ],\n  PayloadHash.fromArgs,\n  'PayloadHash'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link PendingInboundNonce}\n * @category Accounts\n * @category generated\n */\nexport type PendingInboundNonceArgs = {\n  nonces: beet.bignum[]\n  bump: number\n}\n\nexport const pendingInboundNonceDiscriminator = [\n  170, 176, 95, 240, 120, 231, 241, 218,\n]\n/**\n * Holds the data for the {@link PendingInboundNonce} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class PendingInboundNonce implements PendingInboundNonceArgs {\n  private constructor(readonly nonces: beet.bignum[], readonly bump: number) {}\n\n  /**\n   * Creates a {@link PendingInboundNonce} instance from the provided args.\n   */\n  static fromArgs(args: PendingInboundNonceArgs) {\n    return new PendingInboundNonce(args.nonces, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link PendingInboundNonce} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [PendingInboundNonce, number] {\n    return PendingInboundNonce.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link PendingInboundNonce} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<PendingInboundNonce> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(\n        `Unable to find PendingInboundNonce account at ${address}`\n      )\n    }\n    return PendingInboundNonce.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, pendingInboundNonceBeet)\n  }\n\n  /**\n   * Deserializes the {@link PendingInboundNonce} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [PendingInboundNonce, number] {\n    return pendingInboundNonceBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link PendingInboundNonce} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return pendingInboundNonceBeet.serialize({\n      accountDiscriminator: pendingInboundNonceDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link PendingInboundNonce} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: PendingInboundNonceArgs) {\n    const instance = PendingInboundNonce.fromArgs(args)\n    return pendingInboundNonceBeet.toFixedFromValue({\n      accountDiscriminator: pendingInboundNonceDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link PendingInboundNonce} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: PendingInboundNonceArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      PendingInboundNonce.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link PendingInboundNonce} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      nonces: this.nonces,\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const pendingInboundNonceBeet = new beet.FixableBeetStruct<\n  PendingInboundNonce,\n  PendingInboundNonceArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['nonces', beet.array(beet.u64)],\n    ['bump', beet.u8],\n  ],\n  PendingInboundNonce.fromArgs,\n  'PendingInboundNonce'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type ReceiveLibraryTimeout = {\n  messageLib: web3.PublicKey\n  expiry: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const receiveLibraryTimeoutBeet =\n  new beet.BeetArgsStruct<ReceiveLibraryTimeout>(\n    [\n      ['messageLib', beetSolana.publicKey],\n      ['expiry', beet.u64],\n    ],\n    'ReceiveLibraryTimeout'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport {\n  ReceiveLibraryTimeout,\n  receiveLibraryTimeoutBeet,\n} from '../types/ReceiveLibraryTimeout'\n\n/**\n * Arguments used to create {@link ReceiveLibraryConfig}\n * @category Accounts\n * @category generated\n */\nexport type ReceiveLibraryConfigArgs = {\n  messageLib: web3.PublicKey\n  timeout: beet.COption<ReceiveLibraryTimeout>\n  bump: number\n}\n\nexport const receiveLibraryConfigDiscriminator = [\n  142, 226, 251, 138, 1, 206, 91, 193,\n]\n/**\n * Holds the data for the {@link ReceiveLibraryConfig} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class ReceiveLibraryConfig implements ReceiveLibraryConfigArgs {\n  private constructor(\n    readonly messageLib: web3.PublicKey,\n    readonly timeout: beet.COption<ReceiveLibraryTimeout>,\n    readonly bump: number\n  ) {}\n\n  /**\n   * Creates a {@link ReceiveLibraryConfig} instance from the provided args.\n   */\n  static fromArgs(args: ReceiveLibraryConfigArgs) {\n    return new ReceiveLibraryConfig(args.messageLib, args.timeout, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveLibraryConfig} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [ReceiveLibraryConfig, number] {\n    return ReceiveLibraryConfig.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link ReceiveLibraryConfig} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<ReceiveLibraryConfig> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(\n        `Unable to find ReceiveLibraryConfig account at ${address}`\n      )\n    }\n    return ReceiveLibraryConfig.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, receiveLibraryConfigBeet)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveLibraryConfig} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [ReceiveLibraryConfig, number] {\n    return receiveLibraryConfigBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link ReceiveLibraryConfig} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return receiveLibraryConfigBeet.serialize({\n      accountDiscriminator: receiveLibraryConfigDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link ReceiveLibraryConfig} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: ReceiveLibraryConfigArgs) {\n    const instance = ReceiveLibraryConfig.fromArgs(args)\n    return receiveLibraryConfigBeet.toFixedFromValue({\n      accountDiscriminator: receiveLibraryConfigDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link ReceiveLibraryConfig} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: ReceiveLibraryConfigArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      ReceiveLibraryConfig.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link ReceiveLibraryConfig} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      messageLib: this.messageLib.toBase58(),\n      timeout: this.timeout,\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const receiveLibraryConfigBeet = new beet.FixableBeetStruct<\n  ReceiveLibraryConfig,\n  ReceiveLibraryConfigArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['messageLib', beetSolana.publicKey],\n    ['timeout', beet.coption(receiveLibraryTimeoutBeet)],\n    ['bump', beet.u8],\n  ],\n  ReceiveLibraryConfig.fromArgs,\n  'ReceiveLibraryConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\n\n/**\n * Arguments used to create {@link SendLibraryConfig}\n * @category Accounts\n * @category generated\n */\nexport type SendLibraryConfigArgs = {\n  messageLib: web3.PublicKey\n  bump: number\n}\n\nexport const sendLibraryConfigDiscriminator = [\n  61, 238, 31, 72, 251, 117, 66, 176,\n]\n/**\n * Holds the data for the {@link SendLibraryConfig} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class SendLibraryConfig implements SendLibraryConfigArgs {\n  private constructor(\n    readonly messageLib: web3.PublicKey,\n    readonly bump: number\n  ) {}\n\n  /**\n   * Creates a {@link SendLibraryConfig} instance from the provided args.\n   */\n  static fromArgs(args: SendLibraryConfigArgs) {\n    return new SendLibraryConfig(args.messageLib, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link SendLibraryConfig} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [SendLibraryConfig, number] {\n    return SendLibraryConfig.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link SendLibraryConfig} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<SendLibraryConfig> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find SendLibraryConfig account at ${address}`)\n    }\n    return SendLibraryConfig.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, sendLibraryConfigBeet)\n  }\n\n  /**\n   * Deserializes the {@link SendLibraryConfig} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [SendLibraryConfig, number] {\n    return sendLibraryConfigBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link SendLibraryConfig} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return sendLibraryConfigBeet.serialize({\n      accountDiscriminator: sendLibraryConfigDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link SendLibraryConfig}\n   */\n  static get byteSize() {\n    return sendLibraryConfigBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link SendLibraryConfig} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      SendLibraryConfig.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link SendLibraryConfig} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === SendLibraryConfig.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link SendLibraryConfig} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      messageLib: this.messageLib.toBase58(),\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const sendLibraryConfigBeet = new beet.BeetStruct<\n  SendLibraryConfig,\n  SendLibraryConfigArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['messageLib', beetSolana.publicKey],\n    ['bump', beet.u8],\n  ],\n  SendLibraryConfig.fromArgs,\n  'SendLibraryConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\ntype ErrorWithCode = Error & { code: number }\ntype MaybeErrorWithCode = ErrorWithCode | null | undefined\n\nconst createErrorFromCodeLookup: Map<number, () => ErrorWithCode> = new Map()\nconst createErrorFromNameLookup: Map<string, () => ErrorWithCode> = new Map()\n\n/**\n * InvalidSendLibrary: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidSendLibraryError extends Error {\n  readonly code: number = 0x1770\n  readonly name: string = 'InvalidSendLibrary'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidSendLibraryError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1770, () => new InvalidSendLibraryError())\ncreateErrorFromNameLookup.set(\n  'InvalidSendLibrary',\n  () => new InvalidSendLibraryError()\n)\n\n/**\n * InvalidReceiveLibrary: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidReceiveLibraryError extends Error {\n  readonly code: number = 0x1771\n  readonly name: string = 'InvalidReceiveLibrary'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidReceiveLibraryError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1771, () => new InvalidReceiveLibraryError())\ncreateErrorFromNameLookup.set(\n  'InvalidReceiveLibrary',\n  () => new InvalidReceiveLibraryError()\n)\n\n/**\n * SameValue: ''\n *\n * @category Errors\n * @category generated\n */\nexport class SameValueError extends Error {\n  readonly code: number = 0x1772\n  readonly name: string = 'SameValue'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, SameValueError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1772, () => new SameValueError())\ncreateErrorFromNameLookup.set('SameValue', () => new SameValueError())\n\n/**\n * AccountNotFound: ''\n *\n * @category Errors\n * @category generated\n */\nexport class AccountNotFoundError extends Error {\n  readonly code: number = 0x1773\n  readonly name: string = 'AccountNotFound'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, AccountNotFoundError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1773, () => new AccountNotFoundError())\ncreateErrorFromNameLookup.set(\n  'AccountNotFound',\n  () => new AccountNotFoundError()\n)\n\n/**\n * OnlySendLib: ''\n *\n * @category Errors\n * @category generated\n */\nexport class OnlySendLibError extends Error {\n  readonly code: number = 0x1774\n  readonly name: string = 'OnlySendLib'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, OnlySendLibError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1774, () => new OnlySendLibError())\ncreateErrorFromNameLookup.set('OnlySendLib', () => new OnlySendLibError())\n\n/**\n * OnlyReceiveLib: ''\n *\n * @category Errors\n * @category generated\n */\nexport class OnlyReceiveLibError extends Error {\n  readonly code: number = 0x1775\n  readonly name: string = 'OnlyReceiveLib'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, OnlyReceiveLibError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1775, () => new OnlyReceiveLibError())\ncreateErrorFromNameLookup.set('OnlyReceiveLib', () => new OnlyReceiveLibError())\n\n/**\n * InvalidExpiry: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidExpiryError extends Error {\n  readonly code: number = 0x1776\n  readonly name: string = 'InvalidExpiry'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidExpiryError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1776, () => new InvalidExpiryError())\ncreateErrorFromNameLookup.set('InvalidExpiry', () => new InvalidExpiryError())\n\n/**\n * OnlyNonDefaultLib: ''\n *\n * @category Errors\n * @category generated\n */\nexport class OnlyNonDefaultLibError extends Error {\n  readonly code: number = 0x1777\n  readonly name: string = 'OnlyNonDefaultLib'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, OnlyNonDefaultLibError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1777, () => new OnlyNonDefaultLibError())\ncreateErrorFromNameLookup.set(\n  'OnlyNonDefaultLib',\n  () => new OnlyNonDefaultLibError()\n)\n\n/**\n * InvalidAmount: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidAmountError extends Error {\n  readonly code: number = 0x1778\n  readonly name: string = 'InvalidAmount'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidAmountError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1778, () => new InvalidAmountError())\ncreateErrorFromNameLookup.set('InvalidAmount', () => new InvalidAmountError())\n\n/**\n * InvalidNonce: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidNonceError extends Error {\n  readonly code: number = 0x1779\n  readonly name: string = 'InvalidNonce'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidNonceError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1779, () => new InvalidNonceError())\ncreateErrorFromNameLookup.set('InvalidNonce', () => new InvalidNonceError())\n\n/**\n * Unauthorized: ''\n *\n * @category Errors\n * @category generated\n */\nexport class UnauthorizedError extends Error {\n  readonly code: number = 0x177a\n  readonly name: string = 'Unauthorized'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, UnauthorizedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177a, () => new UnauthorizedError())\ncreateErrorFromNameLookup.set('Unauthorized', () => new UnauthorizedError())\n\n/**\n * PayloadHashNotFound: ''\n *\n * @category Errors\n * @category generated\n */\nexport class PayloadHashNotFoundError extends Error {\n  readonly code: number = 0x177b\n  readonly name: string = 'PayloadHashNotFound'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, PayloadHashNotFoundError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177b, () => new PayloadHashNotFoundError())\ncreateErrorFromNameLookup.set(\n  'PayloadHashNotFound',\n  () => new PayloadHashNotFoundError()\n)\n\n/**\n * ComposeNotFound: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ComposeNotFoundError extends Error {\n  readonly code: number = 0x177c\n  readonly name: string = 'ComposeNotFound'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ComposeNotFoundError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177c, () => new ComposeNotFoundError())\ncreateErrorFromNameLookup.set(\n  'ComposeNotFound',\n  () => new ComposeNotFoundError()\n)\n\n/**\n * InvalidPayloadHash: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidPayloadHashError extends Error {\n  readonly code: number = 0x177d\n  readonly name: string = 'InvalidPayloadHash'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidPayloadHashError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177d, () => new InvalidPayloadHashError())\ncreateErrorFromNameLookup.set(\n  'InvalidPayloadHash',\n  () => new InvalidPayloadHashError()\n)\n\n/**\n * LzTokenUnavailable: ''\n *\n * @category Errors\n * @category generated\n */\nexport class LzTokenUnavailableError extends Error {\n  readonly code: number = 0x177e\n  readonly name: string = 'LzTokenUnavailable'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, LzTokenUnavailableError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177e, () => new LzTokenUnavailableError())\ncreateErrorFromNameLookup.set(\n  'LzTokenUnavailable',\n  () => new LzTokenUnavailableError()\n)\n\n/**\n * ReadOnlyAccount: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ReadOnlyAccountError extends Error {\n  readonly code: number = 0x177f\n  readonly name: string = 'ReadOnlyAccount'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ReadOnlyAccountError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177f, () => new ReadOnlyAccountError())\ncreateErrorFromNameLookup.set(\n  'ReadOnlyAccount',\n  () => new ReadOnlyAccountError()\n)\n\n/**\n * InvalidMessageLib: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidMessageLibError extends Error {\n  readonly code: number = 0x1780\n  readonly name: string = 'InvalidMessageLib'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidMessageLibError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1780, () => new InvalidMessageLibError())\ncreateErrorFromNameLookup.set(\n  'InvalidMessageLib',\n  () => new InvalidMessageLibError()\n)\n\n/**\n * WritableAccountNotAllowed: ''\n *\n * @category Errors\n * @category generated\n */\nexport class WritableAccountNotAllowedError extends Error {\n  readonly code: number = 0x1781\n  readonly name: string = 'WritableAccountNotAllowed'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, WritableAccountNotAllowedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(\n  0x1781,\n  () => new WritableAccountNotAllowedError()\n)\ncreateErrorFromNameLookup.set(\n  'WritableAccountNotAllowed',\n  () => new WritableAccountNotAllowedError()\n)\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n * @category generated\n */\nexport function errorFromCode(code: number): MaybeErrorWithCode {\n  const createError = createErrorFromCodeLookup.get(code)\n  return createError != null ? createError() : null\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n * @category generated\n */\nexport function errorFromName(name: string): MaybeErrorWithCode {\n  const createError = createErrorFromNameLookup.get(name)\n  return createError != null ? createError() : null\n}\n","export * from './burn'\nexport * from './clear'\nexport * from './clearCompose'\nexport * from './initConfig'\nexport * from './initDefaultReceiveLibrary'\nexport * from './initDefaultSendLibrary'\nexport * from './initEndpoint'\nexport * from './initNonce'\nexport * from './initReceiveLibrary'\nexport * from './initSendLibrary'\nexport * from './initVerify'\nexport * from './lzComposeAlert'\nexport * from './lzReceiveAlert'\nexport * from './nilify'\nexport * from './quote'\nexport * from './registerLibrary'\nexport * from './registerOapp'\nexport * from './send'\nexport * from './sendCompose'\nexport * from './setConfig'\nexport * from './setDefaultReceiveLibrary'\nexport * from './setDefaultReceiveLibraryTimeout'\nexport * from './setDefaultSendLibrary'\nexport * from './setDelegate'\nexport * from './setLzToken'\nexport * from './setReceiveLibrary'\nexport * from './setReceiveLibraryTimeout'\nexport * from './setSendLibrary'\nexport * from './skip'\nexport * from './transferAdmin'\nexport * from './verify'\nexport * from './withdrawRent'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type BurnParams = {\n  receiver: web3.PublicKey\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const burnParamsBeet = new beet.BeetArgsStruct<BurnParams>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['nonce', beet.u64],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n  ],\n  'BurnParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { BurnParams, burnParamsBeet } from '../types/BurnParams'\n\n/**\n * @category Instructions\n * @category Burn\n * @category generated\n */\nexport type BurnInstructionArgs = {\n  params: BurnParams\n}\n/**\n * @category Instructions\n * @category Burn\n * @category generated\n */\nexport const burnStruct = new beet.BeetArgsStruct<\n  BurnInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', burnParamsBeet],\n  ],\n  'BurnInstructionArgs'\n)\n/**\n * Accounts required by the _burn_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [] nonce\n * @property [_writable_] payloadHash\n * @property [_writable_] endpoint\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Burn\n * @category generated\n */\nexport type BurnInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  nonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  endpoint: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const burnInstructionDiscriminator = [116, 110, 29, 56, 107, 219, 42, 93]\n\n/**\n * Creates a _Burn_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Burn\n * @category generated\n */\nexport function createBurnInstruction(\n  accounts: BurnInstructionAccounts,\n  args: BurnInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = burnStruct.serialize({\n    instructionDiscriminator: burnInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Burn_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Burn\n * @category generated\n */\nexport function createBurnInstructionAccounts(\n  accounts: BurnInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type ClearParams = {\n  receiver: web3.PublicKey\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  guid: number[] /* size: 32 */\n  message: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const clearParamsBeet = new beet.FixableBeetArgsStruct<ClearParams>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['nonce', beet.u64],\n    ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['message', beet.bytes],\n  ],\n  'ClearParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { ClearParams, clearParamsBeet } from '../types/ClearParams'\n\n/**\n * @category Instructions\n * @category Clear\n * @category generated\n */\nexport type ClearInstructionArgs = {\n  params: ClearParams\n}\n/**\n * @category Instructions\n * @category Clear\n * @category generated\n */\nexport const clearStruct = new beet.FixableBeetArgsStruct<\n  ClearInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', clearParamsBeet],\n  ],\n  'ClearInstructionArgs'\n)\n/**\n * Accounts required by the _clear_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [] nonce\n * @property [_writable_] payloadHash\n * @property [_writable_] endpoint\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Clear\n * @category generated\n */\nexport type ClearInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  nonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  endpoint: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const clearInstructionDiscriminator = [\n  250, 39, 28, 213, 123, 163, 133, 5,\n]\n\n/**\n * Creates a _Clear_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Clear\n * @category generated\n */\nexport function createClearInstruction(\n  accounts: ClearInstructionAccounts,\n  args: ClearInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = clearStruct.serialize({\n    instructionDiscriminator: clearInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Clear_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Clear\n * @category generated\n */\nexport function createClearInstructionAccounts(\n  accounts: ClearInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type ClearComposeParams = {\n  from: web3.PublicKey\n  guid: number[] /* size: 32 */\n  index: number\n  message: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const clearComposeParamsBeet =\n  new beet.FixableBeetArgsStruct<ClearComposeParams>(\n    [\n      ['from', beetSolana.publicKey],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['index', beet.u16],\n      ['message', beet.bytes],\n    ],\n    'ClearComposeParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  ClearComposeParams,\n  clearComposeParamsBeet,\n} from '../types/ClearComposeParams'\n\n/**\n * @category Instructions\n * @category ClearCompose\n * @category generated\n */\nexport type ClearComposeInstructionArgs = {\n  params: ClearComposeParams\n}\n/**\n * @category Instructions\n * @category ClearCompose\n * @category generated\n */\nexport const clearComposeStruct = new beet.FixableBeetArgsStruct<\n  ClearComposeInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', clearComposeParamsBeet],\n  ],\n  'ClearComposeInstructionArgs'\n)\n/**\n * Accounts required by the _clearCompose_ instruction\n *\n * @property [**signer**] to\n * @property [_writable_] composeMessage\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category ClearCompose\n * @category generated\n */\nexport type ClearComposeInstructionAccounts = {\n  to: web3.PublicKey\n  composeMessage: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const clearComposeInstructionDiscriminator = [\n  118, 1, 18, 142, 95, 175, 21, 125,\n]\n\n/**\n * Creates a _ClearCompose_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category ClearCompose\n * @category generated\n */\nexport function createClearComposeInstruction(\n  accounts: ClearComposeInstructionAccounts,\n  args: ClearComposeInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = clearComposeStruct.serialize({\n    instructionDiscriminator: clearComposeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.to,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.composeMessage,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _ClearCompose_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category ClearCompose\n * @category generated\n */\nexport function createClearComposeInstructionAccounts(\n  accounts: ClearComposeInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.to,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.composeMessage,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitConfigParams = {\n  oapp: web3.PublicKey\n  eid: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initConfigParamsBeet = new beet.BeetArgsStruct<InitConfigParams>(\n  [\n    ['oapp', beetSolana.publicKey],\n    ['eid', beet.u32],\n  ],\n  'InitConfigParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitConfigParams,\n  initConfigParamsBeet,\n} from '../types/InitConfigParams'\n\n/**\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport type InitConfigInstructionArgs = {\n  params: InitConfigParams\n}\n/**\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport const initConfigStruct = new beet.BeetArgsStruct<\n  InitConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initConfigParamsBeet],\n  ],\n  'InitConfigInstructionArgs'\n)\n/**\n * Accounts required by the _initConfig_ instruction\n *\n * @property [**signer**] delegate\n * @property [] oappRegistry\n * @property [] messageLibInfo\n * @property [] messageLib\n * @property [] messageLibProgram\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport type InitConfigInstructionAccounts = {\n  delegate: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  messageLib: web3.PublicKey\n  messageLibProgram: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initConfigInstructionDiscriminator = [\n  23, 235, 115, 232, 168, 96, 1, 231,\n]\n\n/**\n * Creates a _InitConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport function createInitConfigInstruction(\n  accounts: InitConfigInstructionAccounts,\n  args: InitConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initConfigStruct.serialize({\n    instructionDiscriminator: initConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport function createInitConfigInstructionAccounts(\n  accounts: InitConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitDefaultReceiveLibraryParams = {\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initDefaultReceiveLibraryParamsBeet =\n  new beet.BeetArgsStruct<InitDefaultReceiveLibraryParams>(\n    [\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'InitDefaultReceiveLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitDefaultReceiveLibraryParams,\n  initDefaultReceiveLibraryParamsBeet,\n} from '../types/InitDefaultReceiveLibraryParams'\n\n/**\n * @category Instructions\n * @category InitDefaultReceiveLibrary\n * @category generated\n */\nexport type InitDefaultReceiveLibraryInstructionArgs = {\n  params: InitDefaultReceiveLibraryParams\n}\n/**\n * @category Instructions\n * @category InitDefaultReceiveLibrary\n * @category generated\n */\nexport const initDefaultReceiveLibraryStruct = new beet.BeetArgsStruct<\n  InitDefaultReceiveLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initDefaultReceiveLibraryParamsBeet],\n  ],\n  'InitDefaultReceiveLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _initDefaultReceiveLibrary_ instruction\n *\n * @property [_writable_, **signer**] admin\n * @property [] endpoint\n * @property [_writable_] defaultReceiveLibraryConfig\n * @property [] messageLibInfo\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category InitDefaultReceiveLibrary\n * @category generated\n */\nexport type InitDefaultReceiveLibraryInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  defaultReceiveLibraryConfig: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initDefaultReceiveLibraryInstructionDiscriminator = [\n  32, 202, 76, 22, 42, 249, 227, 109,\n]\n\n/**\n * Creates a _InitDefaultReceiveLibrary_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitDefaultReceiveLibrary\n * @category generated\n */\nexport function createInitDefaultReceiveLibraryInstruction(\n  accounts: InitDefaultReceiveLibraryInstructionAccounts,\n  args: InitDefaultReceiveLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initDefaultReceiveLibraryStruct.serialize({\n    instructionDiscriminator: initDefaultReceiveLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitDefaultReceiveLibrary_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitDefaultReceiveLibrary\n * @category generated\n */\nexport function createInitDefaultReceiveLibraryInstructionAccounts(\n  accounts: InitDefaultReceiveLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitDefaultSendLibraryParams = {\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initDefaultSendLibraryParamsBeet =\n  new beet.BeetArgsStruct<InitDefaultSendLibraryParams>(\n    [\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'InitDefaultSendLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitDefaultSendLibraryParams,\n  initDefaultSendLibraryParamsBeet,\n} from '../types/InitDefaultSendLibraryParams'\n\n/**\n * @category Instructions\n * @category InitDefaultSendLibrary\n * @category generated\n */\nexport type InitDefaultSendLibraryInstructionArgs = {\n  params: InitDefaultSendLibraryParams\n}\n/**\n * @category Instructions\n * @category InitDefaultSendLibrary\n * @category generated\n */\nexport const initDefaultSendLibraryStruct = new beet.BeetArgsStruct<\n  InitDefaultSendLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initDefaultSendLibraryParamsBeet],\n  ],\n  'InitDefaultSendLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _initDefaultSendLibrary_ instruction\n *\n * @property [_writable_, **signer**] admin\n * @property [] endpoint\n * @property [_writable_] defaultSendLibraryConfig\n * @property [] messageLibInfo\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category InitDefaultSendLibrary\n * @category generated\n */\nexport type InitDefaultSendLibraryInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  defaultSendLibraryConfig: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initDefaultSendLibraryInstructionDiscriminator = [\n  120, 187, 15, 31, 174, 97, 138, 58,\n]\n\n/**\n * Creates a _InitDefaultSendLibrary_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitDefaultSendLibrary\n * @category generated\n */\nexport function createInitDefaultSendLibraryInstruction(\n  accounts: InitDefaultSendLibraryInstructionAccounts,\n  args: InitDefaultSendLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initDefaultSendLibraryStruct.serialize({\n    instructionDiscriminator: initDefaultSendLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitDefaultSendLibrary_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitDefaultSendLibrary\n * @category generated\n */\nexport function createInitDefaultSendLibraryInstructionAccounts(\n  accounts: InitDefaultSendLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitEndpointParams = {\n  eid: number\n  admin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initEndpointParamsBeet =\n  new beet.BeetArgsStruct<InitEndpointParams>(\n    [\n      ['eid', beet.u32],\n      ['admin', beetSolana.publicKey],\n    ],\n    'InitEndpointParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitEndpointParams,\n  initEndpointParamsBeet,\n} from '../types/InitEndpointParams'\n\n/**\n * @category Instructions\n * @category InitEndpoint\n * @category generated\n */\nexport type InitEndpointInstructionArgs = {\n  params: InitEndpointParams\n}\n/**\n * @category Instructions\n * @category InitEndpoint\n * @category generated\n */\nexport const initEndpointStruct = new beet.BeetArgsStruct<\n  InitEndpointInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initEndpointParamsBeet],\n  ],\n  'InitEndpointInstructionArgs'\n)\n/**\n * Accounts required by the _initEndpoint_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [_writable_] endpoint\n * @category Instructions\n * @category InitEndpoint\n * @category generated\n */\nexport type InitEndpointInstructionAccounts = {\n  payer: web3.PublicKey\n  endpoint: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initEndpointInstructionDiscriminator = [\n  178, 30, 29, 207, 120, 225, 246, 134,\n]\n\n/**\n * Creates a _InitEndpoint_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitEndpoint\n * @category generated\n */\nexport function createInitEndpointInstruction(\n  accounts: InitEndpointInstructionAccounts,\n  args: InitEndpointInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initEndpointStruct.serialize({\n    instructionDiscriminator: initEndpointInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitEndpoint_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitEndpoint\n * @category generated\n */\nexport function createInitEndpointInstructionAccounts(\n  accounts: InitEndpointInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitNonceParams = {\n  localOapp: web3.PublicKey\n  remoteEid: number\n  remoteOapp: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initNonceParamsBeet = new beet.BeetArgsStruct<InitNonceParams>(\n  [\n    ['localOapp', beetSolana.publicKey],\n    ['remoteEid', beet.u32],\n    ['remoteOapp', beet.uniformFixedSizeArray(beet.u8, 32)],\n  ],\n  'InitNonceParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { InitNonceParams, initNonceParamsBeet } from '../types/InitNonceParams'\n\n/**\n * @category Instructions\n * @category InitNonce\n * @category generated\n */\nexport type InitNonceInstructionArgs = {\n  params: InitNonceParams\n}\n/**\n * @category Instructions\n * @category InitNonce\n * @category generated\n */\nexport const initNonceStruct = new beet.BeetArgsStruct<\n  InitNonceInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initNonceParamsBeet],\n  ],\n  'InitNonceInstructionArgs'\n)\n/**\n * Accounts required by the _initNonce_ instruction\n *\n * @property [_writable_, **signer**] delegate\n * @property [] oappRegistry\n * @property [_writable_] nonce\n * @property [_writable_] pendingInboundNonce\n * @category Instructions\n * @category InitNonce\n * @category generated\n */\nexport type InitNonceInstructionAccounts = {\n  delegate: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  nonce: web3.PublicKey\n  pendingInboundNonce: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initNonceInstructionDiscriminator = [\n  204, 171, 16, 214, 182, 191, 27, 196,\n]\n\n/**\n * Creates a _InitNonce_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitNonce\n * @category generated\n */\nexport function createInitNonceInstruction(\n  accounts: InitNonceInstructionAccounts,\n  args: InitNonceInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initNonceStruct.serialize({\n    instructionDiscriminator: initNonceInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitNonce_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitNonce\n * @category generated\n */\nexport function createInitNonceInstructionAccounts(\n  accounts: InitNonceInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitReceiveLibraryParams = {\n  receiver: web3.PublicKey\n  eid: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initReceiveLibraryParamsBeet =\n  new beet.BeetArgsStruct<InitReceiveLibraryParams>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['eid', beet.u32],\n    ],\n    'InitReceiveLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitReceiveLibraryParams,\n  initReceiveLibraryParamsBeet,\n} from '../types/InitReceiveLibraryParams'\n\n/**\n * @category Instructions\n * @category InitReceiveLibrary\n * @category generated\n */\nexport type InitReceiveLibraryInstructionArgs = {\n  params: InitReceiveLibraryParams\n}\n/**\n * @category Instructions\n * @category InitReceiveLibrary\n * @category generated\n */\nexport const initReceiveLibraryStruct = new beet.BeetArgsStruct<\n  InitReceiveLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initReceiveLibraryParamsBeet],\n  ],\n  'InitReceiveLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _initReceiveLibrary_ instruction\n *\n * @property [_writable_, **signer**] delegate\n * @property [] oappRegistry\n * @property [_writable_] receiveLibraryConfig\n * @category Instructions\n * @category InitReceiveLibrary\n * @category generated\n */\nexport type InitReceiveLibraryInstructionAccounts = {\n  delegate: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  receiveLibraryConfig: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initReceiveLibraryInstructionDiscriminator = [\n  197, 114, 81, 100, 45, 233, 36, 230,\n]\n\n/**\n * Creates a _InitReceiveLibrary_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitReceiveLibrary\n * @category generated\n */\nexport function createInitReceiveLibraryInstruction(\n  accounts: InitReceiveLibraryInstructionAccounts,\n  args: InitReceiveLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initReceiveLibraryStruct.serialize({\n    instructionDiscriminator: initReceiveLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitReceiveLibrary_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitReceiveLibrary\n * @category generated\n */\nexport function createInitReceiveLibraryInstructionAccounts(\n  accounts: InitReceiveLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitSendLibraryParams = {\n  sender: web3.PublicKey\n  eid: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initSendLibraryParamsBeet =\n  new beet.BeetArgsStruct<InitSendLibraryParams>(\n    [\n      ['sender', beetSolana.publicKey],\n      ['eid', beet.u32],\n    ],\n    'InitSendLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitSendLibraryParams,\n  initSendLibraryParamsBeet,\n} from '../types/InitSendLibraryParams'\n\n/**\n * @category Instructions\n * @category InitSendLibrary\n * @category generated\n */\nexport type InitSendLibraryInstructionArgs = {\n  params: InitSendLibraryParams\n}\n/**\n * @category Instructions\n * @category InitSendLibrary\n * @category generated\n */\nexport const initSendLibraryStruct = new beet.BeetArgsStruct<\n  InitSendLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initSendLibraryParamsBeet],\n  ],\n  'InitSendLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _initSendLibrary_ instruction\n *\n * @property [_writable_, **signer**] delegate\n * @property [] oappRegistry\n * @property [_writable_] sendLibraryConfig\n * @category Instructions\n * @category InitSendLibrary\n * @category generated\n */\nexport type InitSendLibraryInstructionAccounts = {\n  delegate: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  sendLibraryConfig: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initSendLibraryInstructionDiscriminator = [\n  156, 24, 235, 120, 73, 193, 144, 19,\n]\n\n/**\n * Creates a _InitSendLibrary_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitSendLibrary\n * @category generated\n */\nexport function createInitSendLibraryInstruction(\n  accounts: InitSendLibraryInstructionAccounts,\n  args: InitSendLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initSendLibraryStruct.serialize({\n    instructionDiscriminator: initSendLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitSendLibrary_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitSendLibrary\n * @category generated\n */\nexport function createInitSendLibraryInstructionAccounts(\n  accounts: InitSendLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.delegate,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitVerifyParams = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  receiver: web3.PublicKey\n  nonce: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initVerifyParamsBeet = new beet.BeetArgsStruct<InitVerifyParams>(\n  [\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['receiver', beetSolana.publicKey],\n    ['nonce', beet.u64],\n  ],\n  'InitVerifyParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitVerifyParams,\n  initVerifyParamsBeet,\n} from '../types/InitVerifyParams'\n\n/**\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport type InitVerifyInstructionArgs = {\n  params: InitVerifyParams\n}\n/**\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport const initVerifyStruct = new beet.BeetArgsStruct<\n  InitVerifyInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initVerifyParamsBeet],\n  ],\n  'InitVerifyInstructionArgs'\n)\n/**\n * Accounts required by the _initVerify_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [] nonce\n * @property [_writable_] payloadHash\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport type InitVerifyInstructionAccounts = {\n  payer: web3.PublicKey\n  nonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initVerifyInstructionDiscriminator = [\n  76, 246, 244, 124, 115, 17, 235, 91,\n]\n\n/**\n * Creates a _InitVerify_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport function createInitVerifyInstruction(\n  accounts: InitVerifyInstructionAccounts,\n  args: InitVerifyInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initVerifyStruct.serialize({\n    instructionDiscriminator: initVerifyInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitVerify_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport function createInitVerifyInstructionAccounts(\n  accounts: InitVerifyInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type LzComposeAlertParams = {\n  from: web3.PublicKey\n  to: web3.PublicKey\n  guid: number[] /* size: 32 */\n  index: number\n  computeUnits: beet.bignum\n  value: beet.bignum\n  message: Uint8Array\n  extraData: Uint8Array\n  reason: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzComposeAlertParamsBeet =\n  new beet.FixableBeetArgsStruct<LzComposeAlertParams>(\n    [\n      ['from', beetSolana.publicKey],\n      ['to', beetSolana.publicKey],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['index', beet.u16],\n      ['computeUnits', beet.u64],\n      ['value', beet.u64],\n      ['message', beet.bytes],\n      ['extraData', beet.bytes],\n      ['reason', beet.bytes],\n    ],\n    'LzComposeAlertParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  LzComposeAlertParams,\n  lzComposeAlertParamsBeet,\n} from '../types/LzComposeAlertParams'\n\n/**\n * @category Instructions\n * @category LzComposeAlert\n * @category generated\n */\nexport type LzComposeAlertInstructionArgs = {\n  params: LzComposeAlertParams\n}\n/**\n * @category Instructions\n * @category LzComposeAlert\n * @category generated\n */\nexport const lzComposeAlertStruct = new beet.FixableBeetArgsStruct<\n  LzComposeAlertInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', lzComposeAlertParamsBeet],\n  ],\n  'LzComposeAlertInstructionArgs'\n)\n/**\n * Accounts required by the _lzComposeAlert_ instruction\n *\n * @property [**signer**] executor\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category LzComposeAlert\n * @category generated\n */\nexport type LzComposeAlertInstructionAccounts = {\n  executor: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const lzComposeAlertInstructionDiscriminator = [\n  27, 91, 198, 77, 66, 92, 122, 167,\n]\n\n/**\n * Creates a _LzComposeAlert_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category LzComposeAlert\n * @category generated\n */\nexport function createLzComposeAlertInstruction(\n  accounts: LzComposeAlertInstructionAccounts,\n  args: LzComposeAlertInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = lzComposeAlertStruct.serialize({\n    instructionDiscriminator: lzComposeAlertInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _LzComposeAlert_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category LzComposeAlert\n * @category generated\n */\nexport function createLzComposeAlertInstructionAccounts(\n  accounts: LzComposeAlertInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type LzReceiveAlertParams = {\n  receiver: web3.PublicKey\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  guid: number[] /* size: 32 */\n  computeUnits: beet.bignum\n  value: beet.bignum\n  message: Uint8Array\n  extraData: Uint8Array\n  reason: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzReceiveAlertParamsBeet =\n  new beet.FixableBeetArgsStruct<LzReceiveAlertParams>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['nonce', beet.u64],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['computeUnits', beet.u64],\n      ['value', beet.u64],\n      ['message', beet.bytes],\n      ['extraData', beet.bytes],\n      ['reason', beet.bytes],\n    ],\n    'LzReceiveAlertParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  LzReceiveAlertParams,\n  lzReceiveAlertParamsBeet,\n} from '../types/LzReceiveAlertParams'\n\n/**\n * @category Instructions\n * @category LzReceiveAlert\n * @category generated\n */\nexport type LzReceiveAlertInstructionArgs = {\n  params: LzReceiveAlertParams\n}\n/**\n * @category Instructions\n * @category LzReceiveAlert\n * @category generated\n */\nexport const lzReceiveAlertStruct = new beet.FixableBeetArgsStruct<\n  LzReceiveAlertInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', lzReceiveAlertParamsBeet],\n  ],\n  'LzReceiveAlertInstructionArgs'\n)\n/**\n * Accounts required by the _lzReceiveAlert_ instruction\n *\n * @property [**signer**] executor\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category LzReceiveAlert\n * @category generated\n */\nexport type LzReceiveAlertInstructionAccounts = {\n  executor: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const lzReceiveAlertInstructionDiscriminator = [\n  131, 141, 48, 222, 15, 235, 141, 160,\n]\n\n/**\n * Creates a _LzReceiveAlert_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category LzReceiveAlert\n * @category generated\n */\nexport function createLzReceiveAlertInstruction(\n  accounts: LzReceiveAlertInstructionAccounts,\n  args: LzReceiveAlertInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = lzReceiveAlertStruct.serialize({\n    instructionDiscriminator: lzReceiveAlertInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _LzReceiveAlert_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category LzReceiveAlert\n * @category generated\n */\nexport function createLzReceiveAlertInstructionAccounts(\n  accounts: LzReceiveAlertInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type NilifyParams = {\n  receiver: web3.PublicKey\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const nilifyParamsBeet = new beet.BeetArgsStruct<NilifyParams>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['nonce', beet.u64],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n  ],\n  'NilifyParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { NilifyParams, nilifyParamsBeet } from '../types/NilifyParams'\n\n/**\n * @category Instructions\n * @category Nilify\n * @category generated\n */\nexport type NilifyInstructionArgs = {\n  params: NilifyParams\n}\n/**\n * @category Instructions\n * @category Nilify\n * @category generated\n */\nexport const nilifyStruct = new beet.BeetArgsStruct<\n  NilifyInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', nilifyParamsBeet],\n  ],\n  'NilifyInstructionArgs'\n)\n/**\n * Accounts required by the _nilify_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [_writable_] nonce\n * @property [_writable_] pendingInboundNonce\n * @property [_writable_] payloadHash\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Nilify\n * @category generated\n */\nexport type NilifyInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  nonce: web3.PublicKey\n  pendingInboundNonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const nilifyInstructionDiscriminator = [\n  143, 136, 129, 199, 36, 35, 160, 85,\n]\n\n/**\n * Creates a _Nilify_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Nilify\n * @category generated\n */\nexport function createNilifyInstruction(\n  accounts: NilifyInstructionAccounts,\n  args: NilifyInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = nilifyStruct.serialize({\n    instructionDiscriminator: nilifyInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Nilify_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Nilify\n * @category generated\n */\nexport function createNilifyInstructionAccounts(\n  accounts: NilifyInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type QuoteParams = {\n  sender: web3.PublicKey\n  dstEid: number\n  receiver: number[] /* size: 32 */\n  message: Uint8Array\n  options: Uint8Array\n  payInLzToken: boolean\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const quoteParamsBeet = new beet.FixableBeetArgsStruct<QuoteParams>(\n  [\n    ['sender', beetSolana.publicKey],\n    ['dstEid', beet.u32],\n    ['receiver', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['message', beet.bytes],\n    ['options', beet.bytes],\n    ['payInLzToken', beet.bool],\n  ],\n  'QuoteParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { QuoteParams, quoteParamsBeet } from '../types/QuoteParams'\n\n/**\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport type QuoteInstructionArgs = {\n  params: QuoteParams\n}\n/**\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport const quoteStruct = new beet.FixableBeetArgsStruct<\n  QuoteInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', quoteParamsBeet],\n  ],\n  'QuoteInstructionArgs'\n)\n/**\n * Accounts required by the _quote_ instruction\n *\n * @property [] sendLibraryProgram\n * @property [] sendLibraryConfig\n * @property [] defaultSendLibraryConfig\n * @property [] sendLibraryInfo\n * @property [] endpoint\n * @property [] nonce\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport type QuoteInstructionAccounts = {\n  sendLibraryProgram: web3.PublicKey\n  sendLibraryConfig: web3.PublicKey\n  defaultSendLibraryConfig: web3.PublicKey\n  sendLibraryInfo: web3.PublicKey\n  endpoint: web3.PublicKey\n  nonce: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const quoteInstructionDiscriminator = [\n  149, 42, 109, 247, 134, 146, 213, 123,\n]\n\n/**\n * Creates a _Quote_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport function createQuoteInstruction(\n  accounts: QuoteInstructionAccounts,\n  args: QuoteInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = quoteStruct.serialize({\n    instructionDiscriminator: quoteInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.sendLibraryProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Quote_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport function createQuoteInstructionAccounts(\n  accounts: QuoteInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.sendLibraryProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nimport { MessageLibType, messageLibTypeBeet } from './MessageLibType'\nexport type RegisterLibraryParams = {\n  libProgram: web3.PublicKey\n  libType: MessageLibType\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const registerLibraryParamsBeet =\n  new beet.BeetArgsStruct<RegisterLibraryParams>(\n    [\n      ['libProgram', beetSolana.publicKey],\n      ['libType', messageLibTypeBeet],\n    ],\n    'RegisterLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  RegisterLibraryParams,\n  registerLibraryParamsBeet,\n} from '../types/RegisterLibraryParams'\n\n/**\n * @category Instructions\n * @category RegisterLibrary\n * @category generated\n */\nexport type RegisterLibraryInstructionArgs = {\n  params: RegisterLibraryParams\n}\n/**\n * @category Instructions\n * @category RegisterLibrary\n * @category generated\n */\nexport const registerLibraryStruct = new beet.BeetArgsStruct<\n  RegisterLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', registerLibraryParamsBeet],\n  ],\n  'RegisterLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _registerLibrary_ instruction\n *\n * @property [_writable_, **signer**] admin\n * @property [] endpoint\n * @property [_writable_] messageLibInfo\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category RegisterLibrary\n * @category generated\n */\nexport type RegisterLibraryInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const registerLibraryInstructionDiscriminator = [\n  23, 171, 28, 116, 111, 193, 238, 142,\n]\n\n/**\n * Creates a _RegisterLibrary_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category RegisterLibrary\n * @category generated\n */\nexport function createRegisterLibraryInstruction(\n  accounts: RegisterLibraryInstructionAccounts,\n  args: RegisterLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = registerLibraryStruct.serialize({\n    instructionDiscriminator: registerLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _RegisterLibrary_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category RegisterLibrary\n * @category generated\n */\nexport function createRegisterLibraryInstructionAccounts(\n  accounts: RegisterLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type RegisterOAppParams = {\n  delegate: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const registerOAppParamsBeet =\n  new beet.BeetArgsStruct<RegisterOAppParams>(\n    [['delegate', beetSolana.publicKey]],\n    'RegisterOAppParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  RegisterOAppParams,\n  registerOAppParamsBeet,\n} from '../types/RegisterOAppParams'\n\n/**\n * @category Instructions\n * @category RegisterOapp\n * @category generated\n */\nexport type RegisterOappInstructionArgs = {\n  params: RegisterOAppParams\n}\n/**\n * @category Instructions\n * @category RegisterOapp\n * @category generated\n */\nexport const registerOappStruct = new beet.BeetArgsStruct<\n  RegisterOappInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', registerOAppParamsBeet],\n  ],\n  'RegisterOappInstructionArgs'\n)\n/**\n * Accounts required by the _registerOapp_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [**signer**] oapp\n * @property [_writable_] oappRegistry\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category RegisterOapp\n * @category generated\n */\nexport type RegisterOappInstructionAccounts = {\n  payer: web3.PublicKey\n  oapp: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const registerOappInstructionDiscriminator = [\n  129, 89, 71, 68, 11, 82, 210, 125,\n]\n\n/**\n * Creates a _RegisterOapp_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category RegisterOapp\n * @category generated\n */\nexport function createRegisterOappInstruction(\n  accounts: RegisterOappInstructionAccounts,\n  args: RegisterOappInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = registerOappStruct.serialize({\n    instructionDiscriminator: registerOappInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oapp,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _RegisterOapp_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category RegisterOapp\n * @category generated\n */\nexport function createRegisterOappInstructionAccounts(\n  accounts: RegisterOappInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oapp,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type SendParams = {\n  dstEid: number\n  receiver: number[] /* size: 32 */\n  message: Uint8Array\n  options: Uint8Array\n  nativeFee: beet.bignum\n  lzTokenFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const sendParamsBeet = new beet.FixableBeetArgsStruct<SendParams>(\n  [\n    ['dstEid', beet.u32],\n    ['receiver', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['message', beet.bytes],\n    ['options', beet.bytes],\n    ['nativeFee', beet.u64],\n    ['lzTokenFee', beet.u64],\n  ],\n  'SendParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SendParams, sendParamsBeet } from '../types/SendParams'\n\n/**\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport type SendInstructionArgs = {\n  params: SendParams\n}\n/**\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport const sendStruct = new beet.FixableBeetArgsStruct<\n  SendInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', sendParamsBeet],\n  ],\n  'SendInstructionArgs'\n)\n/**\n * Accounts required by the _send_ instruction\n *\n * @property [**signer**] sender\n * @property [] sendLibraryProgram\n * @property [] sendLibraryConfig\n * @property [] defaultSendLibraryConfig\n * @property [] sendLibraryInfo\n * @property [] endpoint\n * @property [_writable_] nonce\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport type SendInstructionAccounts = {\n  sender: web3.PublicKey\n  sendLibraryProgram: web3.PublicKey\n  sendLibraryConfig: web3.PublicKey\n  defaultSendLibraryConfig: web3.PublicKey\n  sendLibraryInfo: web3.PublicKey\n  endpoint: web3.PublicKey\n  nonce: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const sendInstructionDiscriminator = [102, 251, 20, 187, 65, 75, 12, 69]\n\n/**\n * Creates a _Send_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport function createSendInstruction(\n  accounts: SendInstructionAccounts,\n  args: SendInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = sendStruct.serialize({\n    instructionDiscriminator: sendInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.sender,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.sendLibraryProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Send_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport function createSendInstructionAccounts(\n  accounts: SendInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.sender,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.sendLibraryProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SendComposeParams = {\n  to: web3.PublicKey\n  guid: number[] /* size: 32 */\n  index: number\n  message: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const sendComposeParamsBeet =\n  new beet.FixableBeetArgsStruct<SendComposeParams>(\n    [\n      ['to', beetSolana.publicKey],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['index', beet.u16],\n      ['message', beet.bytes],\n    ],\n    'SendComposeParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SendComposeParams,\n  sendComposeParamsBeet,\n} from '../types/SendComposeParams'\n\n/**\n * @category Instructions\n * @category SendCompose\n * @category generated\n */\nexport type SendComposeInstructionArgs = {\n  params: SendComposeParams\n}\n/**\n * @category Instructions\n * @category SendCompose\n * @category generated\n */\nexport const sendComposeStruct = new beet.FixableBeetArgsStruct<\n  SendComposeInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', sendComposeParamsBeet],\n  ],\n  'SendComposeInstructionArgs'\n)\n/**\n * Accounts required by the _sendCompose_ instruction\n *\n * @property [**signer**] from\n * @property [_writable_, **signer**] payer\n * @property [_writable_] composeMessage\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SendCompose\n * @category generated\n */\nexport type SendComposeInstructionAccounts = {\n  from: web3.PublicKey\n  payer: web3.PublicKey\n  composeMessage: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const sendComposeInstructionDiscriminator = [\n  75, 38, 228, 168, 43, 39, 238, 229,\n]\n\n/**\n * Creates a _SendCompose_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SendCompose\n * @category generated\n */\nexport function createSendComposeInstruction(\n  accounts: SendComposeInstructionAccounts,\n  args: SendComposeInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = sendComposeStruct.serialize({\n    instructionDiscriminator: sendComposeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.from,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.composeMessage,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SendCompose_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SendCompose\n * @category generated\n */\nexport function createSendComposeInstructionAccounts(\n  accounts: SendComposeInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.from,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.composeMessage,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetConfigParams = {\n  oapp: web3.PublicKey\n  eid: number\n  configType: number\n  config: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<SetConfigParams>(\n    [\n      ['oapp', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['configType', beet.u32],\n      ['config', beet.bytes],\n    ],\n    'SetConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SetConfigParams, setConfigParamsBeet } from '../types/SetConfigParams'\n\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionArgs = {\n  params: SetConfigParams\n}\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport const setConfigStruct = new beet.FixableBeetArgsStruct<\n  SetConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setConfigParamsBeet],\n  ],\n  'SetConfigInstructionArgs'\n)\n/**\n * Accounts required by the _setConfig_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [] messageLibInfo\n * @property [] messageLib\n * @property [] messageLibProgram\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  messageLib: web3.PublicKey\n  messageLibProgram: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setConfigInstructionDiscriminator = [\n  108, 158, 154, 175, 212, 98, 52, 66,\n]\n\n/**\n * Creates a _SetConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstruction(\n  accounts: SetConfigInstructionAccounts,\n  args: SetConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setConfigStruct.serialize({\n    instructionDiscriminator: setConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstructionAccounts(\n  accounts: SetConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SetDefaultReceiveLibraryParams = {\n  eid: number\n  newLib: web3.PublicKey\n  gracePeriod: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setDefaultReceiveLibraryParamsBeet =\n  new beet.BeetArgsStruct<SetDefaultReceiveLibraryParams>(\n    [\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n      ['gracePeriod', beet.u64],\n    ],\n    'SetDefaultReceiveLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetDefaultReceiveLibraryParams,\n  setDefaultReceiveLibraryParamsBeet,\n} from '../types/SetDefaultReceiveLibraryParams'\n\n/**\n * @category Instructions\n * @category SetDefaultReceiveLibrary\n * @category generated\n */\nexport type SetDefaultReceiveLibraryInstructionArgs = {\n  params: SetDefaultReceiveLibraryParams\n}\n/**\n * @category Instructions\n * @category SetDefaultReceiveLibrary\n * @category generated\n */\nexport const setDefaultReceiveLibraryStruct = new beet.BeetArgsStruct<\n  SetDefaultReceiveLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setDefaultReceiveLibraryParamsBeet],\n  ],\n  'SetDefaultReceiveLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _setDefaultReceiveLibrary_ instruction\n *\n * @property [**signer**] admin\n * @property [] endpoint\n * @property [_writable_] defaultReceiveLibraryConfig\n * @property [] messageLibInfo\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetDefaultReceiveLibrary\n * @category generated\n */\nexport type SetDefaultReceiveLibraryInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  defaultReceiveLibraryConfig: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setDefaultReceiveLibraryInstructionDiscriminator = [\n  14, 162, 167, 212, 13, 20, 151, 129,\n]\n\n/**\n * Creates a _SetDefaultReceiveLibrary_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetDefaultReceiveLibrary\n * @category generated\n */\nexport function createSetDefaultReceiveLibraryInstruction(\n  accounts: SetDefaultReceiveLibraryInstructionAccounts,\n  args: SetDefaultReceiveLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setDefaultReceiveLibraryStruct.serialize({\n    instructionDiscriminator: setDefaultReceiveLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetDefaultReceiveLibrary_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetDefaultReceiveLibrary\n * @category generated\n */\nexport function createSetDefaultReceiveLibraryInstructionAccounts(\n  accounts: SetDefaultReceiveLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SetDefaultReceiveLibraryTimeoutParams = {\n  eid: number\n  lib: web3.PublicKey\n  expiry: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setDefaultReceiveLibraryTimeoutParamsBeet =\n  new beet.BeetArgsStruct<SetDefaultReceiveLibraryTimeoutParams>(\n    [\n      ['eid', beet.u32],\n      ['lib', beetSolana.publicKey],\n      ['expiry', beet.u64],\n    ],\n    'SetDefaultReceiveLibraryTimeoutParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetDefaultReceiveLibraryTimeoutParams,\n  setDefaultReceiveLibraryTimeoutParamsBeet,\n} from '../types/SetDefaultReceiveLibraryTimeoutParams'\n\n/**\n * @category Instructions\n * @category SetDefaultReceiveLibraryTimeout\n * @category generated\n */\nexport type SetDefaultReceiveLibraryTimeoutInstructionArgs = {\n  params: SetDefaultReceiveLibraryTimeoutParams\n}\n/**\n * @category Instructions\n * @category SetDefaultReceiveLibraryTimeout\n * @category generated\n */\nexport const setDefaultReceiveLibraryTimeoutStruct = new beet.BeetArgsStruct<\n  SetDefaultReceiveLibraryTimeoutInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setDefaultReceiveLibraryTimeoutParamsBeet],\n  ],\n  'SetDefaultReceiveLibraryTimeoutInstructionArgs'\n)\n/**\n * Accounts required by the _setDefaultReceiveLibraryTimeout_ instruction\n *\n * @property [**signer**] admin\n * @property [] endpoint\n * @property [_writable_] defaultReceiveLibraryConfig\n * @property [] messageLibInfo\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetDefaultReceiveLibraryTimeout\n * @category generated\n */\nexport type SetDefaultReceiveLibraryTimeoutInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  defaultReceiveLibraryConfig: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setDefaultReceiveLibraryTimeoutInstructionDiscriminator = [\n  118, 32, 94, 51, 25, 247, 16, 232,\n]\n\n/**\n * Creates a _SetDefaultReceiveLibraryTimeout_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetDefaultReceiveLibraryTimeout\n * @category generated\n */\nexport function createSetDefaultReceiveLibraryTimeoutInstruction(\n  accounts: SetDefaultReceiveLibraryTimeoutInstructionAccounts,\n  args: SetDefaultReceiveLibraryTimeoutInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setDefaultReceiveLibraryTimeoutStruct.serialize({\n    instructionDiscriminator:\n      setDefaultReceiveLibraryTimeoutInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetDefaultReceiveLibraryTimeout_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetDefaultReceiveLibraryTimeout\n * @category generated\n */\nexport function createSetDefaultReceiveLibraryTimeoutInstructionAccounts(\n  accounts: SetDefaultReceiveLibraryTimeoutInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SetDefaultSendLibraryParams = {\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setDefaultSendLibraryParamsBeet =\n  new beet.BeetArgsStruct<SetDefaultSendLibraryParams>(\n    [\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'SetDefaultSendLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetDefaultSendLibraryParams,\n  setDefaultSendLibraryParamsBeet,\n} from '../types/SetDefaultSendLibraryParams'\n\n/**\n * @category Instructions\n * @category SetDefaultSendLibrary\n * @category generated\n */\nexport type SetDefaultSendLibraryInstructionArgs = {\n  params: SetDefaultSendLibraryParams\n}\n/**\n * @category Instructions\n * @category SetDefaultSendLibrary\n * @category generated\n */\nexport const setDefaultSendLibraryStruct = new beet.BeetArgsStruct<\n  SetDefaultSendLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setDefaultSendLibraryParamsBeet],\n  ],\n  'SetDefaultSendLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _setDefaultSendLibrary_ instruction\n *\n * @property [**signer**] admin\n * @property [] endpoint\n * @property [_writable_] defaultSendLibraryConfig\n * @property [] messageLibInfo\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetDefaultSendLibrary\n * @category generated\n */\nexport type SetDefaultSendLibraryInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  defaultSendLibraryConfig: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setDefaultSendLibraryInstructionDiscriminator = [\n  220, 215, 110, 127, 237, 178, 215, 170,\n]\n\n/**\n * Creates a _SetDefaultSendLibrary_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetDefaultSendLibrary\n * @category generated\n */\nexport function createSetDefaultSendLibraryInstruction(\n  accounts: SetDefaultSendLibraryInstructionAccounts,\n  args: SetDefaultSendLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setDefaultSendLibraryStruct.serialize({\n    instructionDiscriminator: setDefaultSendLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetDefaultSendLibrary_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetDefaultSendLibrary\n * @category generated\n */\nexport function createSetDefaultSendLibraryInstructionAccounts(\n  accounts: SetDefaultSendLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetDelegateParams = {\n  delegate: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setDelegateParamsBeet = new beet.BeetArgsStruct<SetDelegateParams>(\n  [['delegate', beetSolana.publicKey]],\n  'SetDelegateParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetDelegateParams,\n  setDelegateParamsBeet,\n} from '../types/SetDelegateParams'\n\n/**\n * @category Instructions\n * @category SetDelegate\n * @category generated\n */\nexport type SetDelegateInstructionArgs = {\n  params: SetDelegateParams\n}\n/**\n * @category Instructions\n * @category SetDelegate\n * @category generated\n */\nexport const setDelegateStruct = new beet.BeetArgsStruct<\n  SetDelegateInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setDelegateParamsBeet],\n  ],\n  'SetDelegateInstructionArgs'\n)\n/**\n * Accounts required by the _setDelegate_ instruction\n *\n * @property [**signer**] oapp\n * @property [_writable_] oappRegistry\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetDelegate\n * @category generated\n */\nexport type SetDelegateInstructionAccounts = {\n  oapp: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setDelegateInstructionDiscriminator = [\n  242, 30, 46, 76, 108, 235, 128, 181,\n]\n\n/**\n * Creates a _SetDelegate_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetDelegate\n * @category generated\n */\nexport function createSetDelegateInstruction(\n  accounts: SetDelegateInstructionAccounts,\n  args: SetDelegateInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setDelegateStruct.serialize({\n    instructionDiscriminator: setDelegateInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.oapp,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetDelegate_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetDelegate\n * @category generated\n */\nexport function createSetDelegateInstructionAccounts(\n  accounts: SetDelegateInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.oapp,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SetLzTokenParams = {\n  lzToken: beet.COption<web3.PublicKey>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setLzTokenParamsBeet =\n  new beet.FixableBeetArgsStruct<SetLzTokenParams>(\n    [['lzToken', beet.coption(beetSolana.publicKey)]],\n    'SetLzTokenParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetLzTokenParams,\n  setLzTokenParamsBeet,\n} from '../types/SetLzTokenParams'\n\n/**\n * @category Instructions\n * @category SetLzToken\n * @category generated\n */\nexport type SetLzTokenInstructionArgs = {\n  params: SetLzTokenParams\n}\n/**\n * @category Instructions\n * @category SetLzToken\n * @category generated\n */\nexport const setLzTokenStruct = new beet.FixableBeetArgsStruct<\n  SetLzTokenInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setLzTokenParamsBeet],\n  ],\n  'SetLzTokenInstructionArgs'\n)\n/**\n * Accounts required by the _setLzToken_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] endpoint\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetLzToken\n * @category generated\n */\nexport type SetLzTokenInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setLzTokenInstructionDiscriminator = [\n  22, 151, 112, 174, 213, 225, 223, 72,\n]\n\n/**\n * Creates a _SetLzToken_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetLzToken\n * @category generated\n */\nexport function createSetLzTokenInstruction(\n  accounts: SetLzTokenInstructionAccounts,\n  args: SetLzTokenInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setLzTokenStruct.serialize({\n    instructionDiscriminator: setLzTokenInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetLzToken_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetLzToken\n * @category generated\n */\nexport function createSetLzTokenInstructionAccounts(\n  accounts: SetLzTokenInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SetReceiveLibraryParams = {\n  receiver: web3.PublicKey\n  eid: number\n  newLib: web3.PublicKey\n  gracePeriod: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setReceiveLibraryParamsBeet =\n  new beet.BeetArgsStruct<SetReceiveLibraryParams>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n      ['gracePeriod', beet.u64],\n    ],\n    'SetReceiveLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetReceiveLibraryParams,\n  setReceiveLibraryParamsBeet,\n} from '../types/SetReceiveLibraryParams'\n\n/**\n * @category Instructions\n * @category SetReceiveLibrary\n * @category generated\n */\nexport type SetReceiveLibraryInstructionArgs = {\n  params: SetReceiveLibraryParams\n}\n/**\n * @category Instructions\n * @category SetReceiveLibrary\n * @category generated\n */\nexport const setReceiveLibraryStruct = new beet.BeetArgsStruct<\n  SetReceiveLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setReceiveLibraryParamsBeet],\n  ],\n  'SetReceiveLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _setReceiveLibrary_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [_writable_] receiveLibraryConfig\n * @property [] messageLibInfo (optional)\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetReceiveLibrary\n * @category generated\n */\nexport type SetReceiveLibraryInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  receiveLibraryConfig: web3.PublicKey\n  messageLibInfo?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setReceiveLibraryInstructionDiscriminator = [\n  223, 172, 180, 105, 165, 161, 147, 228,\n]\n\n/**\n * Creates a _SetReceiveLibrary_ instruction.\n *\n * Optional accounts that are not provided default to the program ID since\n * this was indicated in the IDL from which this instruction was generated.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetReceiveLibrary\n * @category generated\n */\nexport function createSetReceiveLibraryInstruction(\n  accounts: SetReceiveLibraryInstructionAccounts,\n  args: SetReceiveLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setReceiveLibraryStruct.serialize({\n    instructionDiscriminator: setReceiveLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo ?? programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetReceiveLibrary_ instructionAccounts.\n *\n * Optional accounts that are not provided default to the program ID since\n * this was indicated in the IDL from which this instruction was generated.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetReceiveLibrary\n * @category generated\n */\nexport function createSetReceiveLibraryInstructionAccounts(\n  accounts: SetReceiveLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo ?? programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SetReceiveLibraryTimeoutParams = {\n  receiver: web3.PublicKey\n  eid: number\n  lib: web3.PublicKey\n  expiry: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setReceiveLibraryTimeoutParamsBeet =\n  new beet.BeetArgsStruct<SetReceiveLibraryTimeoutParams>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['lib', beetSolana.publicKey],\n      ['expiry', beet.u64],\n    ],\n    'SetReceiveLibraryTimeoutParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetReceiveLibraryTimeoutParams,\n  setReceiveLibraryTimeoutParamsBeet,\n} from '../types/SetReceiveLibraryTimeoutParams'\n\n/**\n * @category Instructions\n * @category SetReceiveLibraryTimeout\n * @category generated\n */\nexport type SetReceiveLibraryTimeoutInstructionArgs = {\n  params: SetReceiveLibraryTimeoutParams\n}\n/**\n * @category Instructions\n * @category SetReceiveLibraryTimeout\n * @category generated\n */\nexport const setReceiveLibraryTimeoutStruct = new beet.BeetArgsStruct<\n  SetReceiveLibraryTimeoutInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setReceiveLibraryTimeoutParamsBeet],\n  ],\n  'SetReceiveLibraryTimeoutInstructionArgs'\n)\n/**\n * Accounts required by the _setReceiveLibraryTimeout_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [_writable_] receiveLibraryConfig\n * @property [] messageLibInfo\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetReceiveLibraryTimeout\n * @category generated\n */\nexport type SetReceiveLibraryTimeoutInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  receiveLibraryConfig: web3.PublicKey\n  messageLibInfo: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setReceiveLibraryTimeoutInstructionDiscriminator = [\n  33, 159, 29, 53, 218, 156, 41, 192,\n]\n\n/**\n * Creates a _SetReceiveLibraryTimeout_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetReceiveLibraryTimeout\n * @category generated\n */\nexport function createSetReceiveLibraryTimeoutInstruction(\n  accounts: SetReceiveLibraryTimeoutInstructionAccounts,\n  args: SetReceiveLibraryTimeoutInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setReceiveLibraryTimeoutStruct.serialize({\n    instructionDiscriminator: setReceiveLibraryTimeoutInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetReceiveLibraryTimeout_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetReceiveLibraryTimeout\n * @category generated\n */\nexport function createSetReceiveLibraryTimeoutInstructionAccounts(\n  accounts: SetReceiveLibraryTimeoutInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetSendLibraryParams = {\n  sender: web3.PublicKey\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setSendLibraryParamsBeet =\n  new beet.BeetArgsStruct<SetSendLibraryParams>(\n    [\n      ['sender', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'SetSendLibraryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetSendLibraryParams,\n  setSendLibraryParamsBeet,\n} from '../types/SetSendLibraryParams'\n\n/**\n * @category Instructions\n * @category SetSendLibrary\n * @category generated\n */\nexport type SetSendLibraryInstructionArgs = {\n  params: SetSendLibraryParams\n}\n/**\n * @category Instructions\n * @category SetSendLibrary\n * @category generated\n */\nexport const setSendLibraryStruct = new beet.BeetArgsStruct<\n  SetSendLibraryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setSendLibraryParamsBeet],\n  ],\n  'SetSendLibraryInstructionArgs'\n)\n/**\n * Accounts required by the _setSendLibrary_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [_writable_] sendLibraryConfig\n * @property [] messageLibInfo (optional)\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetSendLibrary\n * @category generated\n */\nexport type SetSendLibraryInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  sendLibraryConfig: web3.PublicKey\n  messageLibInfo?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setSendLibraryInstructionDiscriminator = [\n  251, 118, 78, 158, 134, 149, 129, 5,\n]\n\n/**\n * Creates a _SetSendLibrary_ instruction.\n *\n * Optional accounts that are not provided default to the program ID since\n * this was indicated in the IDL from which this instruction was generated.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetSendLibrary\n * @category generated\n */\nexport function createSetSendLibraryInstruction(\n  accounts: SetSendLibraryInstructionAccounts,\n  args: SetSendLibraryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setSendLibraryStruct.serialize({\n    instructionDiscriminator: setSendLibraryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo ?? programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetSendLibrary_ instructionAccounts.\n *\n * Optional accounts that are not provided default to the program ID since\n * this was indicated in the IDL from which this instruction was generated.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetSendLibrary\n * @category generated\n */\nexport function createSetSendLibraryInstructionAccounts(\n  accounts: SetSendLibraryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendLibraryConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibInfo ?? programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SkipParams = {\n  receiver: web3.PublicKey\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const skipParamsBeet = new beet.BeetArgsStruct<SkipParams>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['nonce', beet.u64],\n  ],\n  'SkipParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SkipParams, skipParamsBeet } from '../types/SkipParams'\n\n/**\n * @category Instructions\n * @category Skip\n * @category generated\n */\nexport type SkipInstructionArgs = {\n  params: SkipParams\n}\n/**\n * @category Instructions\n * @category Skip\n * @category generated\n */\nexport const skipStruct = new beet.BeetArgsStruct<\n  SkipInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', skipParamsBeet],\n  ],\n  'SkipInstructionArgs'\n)\n/**\n * Accounts required by the _skip_ instruction\n *\n * @property [**signer**] signer\n * @property [] oappRegistry\n * @property [_writable_] nonce\n * @property [_writable_] pendingInboundNonce\n * @property [_writable_] payloadHash\n * @property [_writable_] endpoint\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Skip\n * @category generated\n */\nexport type SkipInstructionAccounts = {\n  signer: web3.PublicKey\n  oappRegistry: web3.PublicKey\n  nonce: web3.PublicKey\n  pendingInboundNonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  endpoint: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const skipInstructionDiscriminator = [154, 63, 181, 53, 19, 26, 117, 45]\n\n/**\n * Creates a _Skip_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Skip\n * @category generated\n */\nexport function createSkipInstruction(\n  accounts: SkipInstructionAccounts,\n  args: SkipInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = skipStruct.serialize({\n    instructionDiscriminator: skipInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Skip_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Skip\n * @category generated\n */\nexport function createSkipInstructionAccounts(\n  accounts: SkipInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.oappRegistry,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type TransferAdminParams = {\n  admin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const transferAdminParamsBeet =\n  new beet.BeetArgsStruct<TransferAdminParams>(\n    [['admin', beetSolana.publicKey]],\n    'TransferAdminParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  TransferAdminParams,\n  transferAdminParamsBeet,\n} from '../types/TransferAdminParams'\n\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionArgs = {\n  params: TransferAdminParams\n}\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport const transferAdminStruct = new beet.BeetArgsStruct<\n  TransferAdminInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', transferAdminParamsBeet],\n  ],\n  'TransferAdminInstructionArgs'\n)\n/**\n * Accounts required by the _transferAdmin_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] endpoint\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const transferAdminInstructionDiscriminator = [\n  42, 242, 66, 106, 228, 10, 111, 156,\n]\n\n/**\n * Creates a _TransferAdmin_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstruction(\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = transferAdminStruct.serialize({\n    instructionDiscriminator: transferAdminInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _TransferAdmin_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstructionAccounts(\n  accounts: TransferAdminInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type VerifyParams = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  receiver: web3.PublicKey\n  nonce: beet.bignum\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const verifyParamsBeet = new beet.BeetArgsStruct<VerifyParams>(\n  [\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['receiver', beetSolana.publicKey],\n    ['nonce', beet.u64],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n  ],\n  'VerifyParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { VerifyParams, verifyParamsBeet } from '../types/VerifyParams'\n\n/**\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport type VerifyInstructionArgs = {\n  params: VerifyParams\n}\n/**\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport const verifyStruct = new beet.BeetArgsStruct<\n  VerifyInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', verifyParamsBeet],\n  ],\n  'VerifyInstructionArgs'\n)\n/**\n * Accounts required by the _verify_ instruction\n *\n * @property [**signer**] receiveLibrary\n * @property [] receiveLibraryConfig\n * @property [] defaultReceiveLibraryConfig\n * @property [_writable_] nonce\n * @property [_writable_] pendingInboundNonce\n * @property [_writable_] payloadHash\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport type VerifyInstructionAccounts = {\n  receiveLibrary: web3.PublicKey\n  receiveLibraryConfig: web3.PublicKey\n  defaultReceiveLibraryConfig: web3.PublicKey\n  nonce: web3.PublicKey\n  pendingInboundNonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const verifyInstructionDiscriminator = [\n  133, 161, 141, 48, 120, 198, 88, 150,\n]\n\n/**\n * Creates a _Verify_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport function createVerifyInstruction(\n  accounts: VerifyInstructionAccounts,\n  args: VerifyInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = verifyStruct.serialize({\n    instructionDiscriminator: verifyInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.receiveLibrary,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Verify_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport function createVerifyInstructionAccounts(\n  accounts: VerifyInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.receiveLibrary,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.receiveLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveLibraryConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.nonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.pendingInboundNonce,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type WithdrawRentParams = {\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const withdrawRentParamsBeet =\n  new beet.BeetArgsStruct<WithdrawRentParams>(\n    [['amount', beet.u64]],\n    'WithdrawRentParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  WithdrawRentParams,\n  withdrawRentParamsBeet,\n} from '../types/WithdrawRentParams'\n\n/**\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport type WithdrawRentInstructionArgs = {\n  params: WithdrawRentParams\n}\n/**\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport const withdrawRentStruct = new beet.BeetArgsStruct<\n  WithdrawRentInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', withdrawRentParamsBeet],\n  ],\n  'WithdrawRentInstructionArgs'\n)\n/**\n * Accounts required by the _withdrawRent_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] endpoint\n * @property [_writable_] receiver\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport type WithdrawRentInstructionAccounts = {\n  admin: web3.PublicKey\n  endpoint: web3.PublicKey\n  receiver: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const withdrawRentInstructionDiscriminator = [\n  226, 7, 41, 158, 173, 111, 192, 107,\n]\n\n/**\n * Creates a _WithdrawRent_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport function createWithdrawRentInstruction(\n  accounts: WithdrawRentInstructionAccounts,\n  args: WithdrawRentInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = withdrawRentStruct.serialize({\n    instructionDiscriminator: withdrawRentInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _WithdrawRent_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport function createWithdrawRentInstructionAccounts(\n  accounts: WithdrawRentInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.endpoint,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","export * from './BurnParams'\nexport * from './ClearComposeParams'\nexport * from './ClearParams'\nexport * from './InitConfigParams'\nexport * from './InitDefaultReceiveLibraryParams'\nexport * from './InitDefaultSendLibraryParams'\nexport * from './InitEndpointParams'\nexport * from './InitNonceParams'\nexport * from './InitReceiveLibraryParams'\nexport * from './InitSendLibraryParams'\nexport * from './InitVerifyParams'\nexport * from './LzComposeAlertParams'\nexport * from './LzReceiveAlertParams'\nexport * from './MessageLibType'\nexport * from './MessagingFee'\nexport * from './MessagingReceipt'\nexport * from './NilifyParams'\nexport * from './QuoteParams'\nexport * from './ReceiveLibraryTimeout'\nexport * from './RegisterLibraryParams'\nexport * from './RegisterOAppParams'\nexport * from './SendComposeParams'\nexport * from './SendParams'\nexport * from './SetConfigParams'\nexport * from './SetDefaultReceiveLibraryParams'\nexport * from './SetDefaultReceiveLibraryTimeoutParams'\nexport * from './SetDefaultSendLibraryParams'\nexport * from './SetDelegateParams'\nexport * from './SetLzTokenParams'\nexport * from './SetReceiveLibraryParams'\nexport * from './SetReceiveLibraryTimeoutParams'\nexport * from './SetSendLibraryParams'\nexport * from './SkipParams'\nexport * from './TransferAdminParams'\nexport * from './VerifyParams'\nexport * from './WithdrawRentParams'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type MessagingFee = {\n  nativeFee: beet.bignum\n  lzTokenFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const messagingFeeBeet = new beet.BeetArgsStruct<MessagingFee>(\n  [\n    ['nativeFee', beet.u64],\n    ['lzTokenFee', beet.u64],\n  ],\n  'MessagingFee'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { MessagingFee, messagingFeeBeet } from './MessagingFee'\nexport type MessagingReceipt = {\n  guid: number[] /* size: 32 */\n  nonce: beet.bignum\n  fee: MessagingFee\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const messagingReceiptBeet = new beet.BeetArgsStruct<MessagingReceipt>(\n  [\n    ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['nonce', beet.u64],\n    ['fee', messagingFeeBeet],\n  ],\n  'MessagingReceipt'\n)\n","import { PublicKey } from '@solana/web3.js'\nexport * from './accounts'\nexport * from './errors'\nexport * from './instructions'\nexport * from './types'\n\n/**\n * Program address\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ADDRESS = '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n\n/**\n * Program public key\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)\n","export * from './AdminTransferredEvent'\nexport * from './ComposeDeliveredEvent'\nexport * from './ComposeSentEvent'\nexport * from './DefaultReceiveLibrarySetEvent'\nexport * from './DefaultReceiveLibraryTimeoutSetEvent'\nexport * from './DefaultSendLibrarySetEvent'\nexport * from './DelegateSetEvent'\nexport * from './InboundNonceSkippedEvent'\nexport * from './LibraryRegisteredEvent'\nexport * from './LzComposeAlertEvent'\nexport * from './LzReceiveAlertEvent'\nexport * from './LzTokenSetEvent'\nexport * from './OAppRegisteredEvent'\nexport * from './PacketBurntEvent'\nexport * from './PacketDeliveredEvent'\nexport * from './PacketNilifiedEvent'\nexport * from './PacketSentEvent'\nexport * from './PacketVerifiedEvent'\nexport * from './ReceiveLibrarySetEvent'\nexport * from './ReceiveLibraryTimeoutSetEvent'\nexport * from './RentWithdrawnEvent'\nexport * from './SendLibrarySetEvent'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type AdminTransferredEvent = {\n  newAdmin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const adminTransferredEventBeet =\n  new beet.BeetArgsStruct<AdminTransferredEvent>(\n    [['newAdmin', beetSolana.publicKey]],\n    'AdminTransferredEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type ComposeDeliveredEvent = {\n  from: web3.PublicKey\n  to: web3.PublicKey\n  guid: number[] /* size: 32 */\n  index: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const composeDeliveredEventBeet =\n  new beet.BeetArgsStruct<ComposeDeliveredEvent>(\n    [\n      ['from', beetSolana.publicKey],\n      ['to', beetSolana.publicKey],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['index', beet.u16],\n    ],\n    'ComposeDeliveredEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type ComposeSentEvent = {\n  from: web3.PublicKey\n  to: web3.PublicKey\n  guid: number[] /* size: 32 */\n  index: number\n  message: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const composeSentEventBeet =\n  new beet.FixableBeetArgsStruct<ComposeSentEvent>(\n    [\n      ['from', beetSolana.publicKey],\n      ['to', beetSolana.publicKey],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['index', beet.u16],\n      ['message', beet.bytes],\n    ],\n    'ComposeSentEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type DefaultReceiveLibrarySetEvent = {\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const defaultReceiveLibrarySetEventBeet =\n  new beet.BeetArgsStruct<DefaultReceiveLibrarySetEvent>(\n    [\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'DefaultReceiveLibrarySetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport {\n  ReceiveLibraryTimeout,\n  receiveLibraryTimeoutBeet,\n} from '../types/ReceiveLibraryTimeout'\nexport type DefaultReceiveLibraryTimeoutSetEvent = {\n  eid: number\n  timeout: beet.COption<ReceiveLibraryTimeout>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const defaultReceiveLibraryTimeoutSetEventBeet =\n  new beet.FixableBeetArgsStruct<DefaultReceiveLibraryTimeoutSetEvent>(\n    [\n      ['eid', beet.u32],\n      ['timeout', beet.coption(receiveLibraryTimeoutBeet)],\n    ],\n    'DefaultReceiveLibraryTimeoutSetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type DefaultSendLibrarySetEvent = {\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const defaultSendLibrarySetEventBeet =\n  new beet.BeetArgsStruct<DefaultSendLibrarySetEvent>(\n    [\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'DefaultSendLibrarySetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type DelegateSetEvent = {\n  newDelegate: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const delegateSetEventBeet = new beet.BeetArgsStruct<DelegateSetEvent>(\n  [['newDelegate', beetSolana.publicKey]],\n  'DelegateSetEvent'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InboundNonceSkippedEvent = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  receiver: web3.PublicKey\n  nonce: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const inboundNonceSkippedEventBeet =\n  new beet.BeetArgsStruct<InboundNonceSkippedEvent>(\n    [\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['receiver', beetSolana.publicKey],\n      ['nonce', beet.u64],\n    ],\n    'InboundNonceSkippedEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type LibraryRegisteredEvent = {\n  newLib: web3.PublicKey\n  newLibProgram: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const libraryRegisteredEventBeet =\n  new beet.BeetArgsStruct<LibraryRegisteredEvent>(\n    [\n      ['newLib', beetSolana.publicKey],\n      ['newLibProgram', beetSolana.publicKey],\n    ],\n    'LibraryRegisteredEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type LzComposeAlertEvent = {\n  executor: web3.PublicKey\n  from: web3.PublicKey\n  to: web3.PublicKey\n  guid: number[] /* size: 32 */\n  index: number\n  computeUnits: beet.bignum\n  value: beet.bignum\n  message: Uint8Array\n  extraData: Uint8Array\n  reason: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzComposeAlertEventBeet =\n  new beet.FixableBeetArgsStruct<LzComposeAlertEvent>(\n    [\n      ['executor', beetSolana.publicKey],\n      ['from', beetSolana.publicKey],\n      ['to', beetSolana.publicKey],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['index', beet.u16],\n      ['computeUnits', beet.u64],\n      ['value', beet.u64],\n      ['message', beet.bytes],\n      ['extraData', beet.bytes],\n      ['reason', beet.bytes],\n    ],\n    'LzComposeAlertEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type LzReceiveAlertEvent = {\n  receiver: web3.PublicKey\n  executor: web3.PublicKey\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  guid: number[] /* size: 32 */\n  computeUnits: beet.bignum\n  value: beet.bignum\n  message: Uint8Array\n  extraData: Uint8Array\n  reason: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzReceiveAlertEventBeet =\n  new beet.FixableBeetArgsStruct<LzReceiveAlertEvent>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['executor', beetSolana.publicKey],\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['nonce', beet.u64],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['computeUnits', beet.u64],\n      ['value', beet.u64],\n      ['message', beet.bytes],\n      ['extraData', beet.bytes],\n      ['reason', beet.bytes],\n    ],\n    'LzReceiveAlertEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type LzTokenSetEvent = {\n  token: beet.COption<web3.PublicKey>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzTokenSetEventBeet =\n  new beet.FixableBeetArgsStruct<LzTokenSetEvent>(\n    [['token', beet.coption(beetSolana.publicKey)]],\n    'LzTokenSetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type OAppRegisteredEvent = {\n  oapp: web3.PublicKey\n  delegate: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const oAppRegisteredEventBeet =\n  new beet.BeetArgsStruct<OAppRegisteredEvent>(\n    [\n      ['oapp', beetSolana.publicKey],\n      ['delegate', beetSolana.publicKey],\n    ],\n    'OAppRegisteredEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type PacketBurntEvent = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  receiver: web3.PublicKey\n  nonce: beet.bignum\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const packetBurntEventBeet = new beet.BeetArgsStruct<PacketBurntEvent>(\n  [\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['receiver', beetSolana.publicKey],\n    ['nonce', beet.u64],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n  ],\n  'PacketBurntEvent'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type PacketDeliveredEvent = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  receiver: web3.PublicKey\n  nonce: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const packetDeliveredEventBeet =\n  new beet.BeetArgsStruct<PacketDeliveredEvent>(\n    [\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['receiver', beetSolana.publicKey],\n      ['nonce', beet.u64],\n    ],\n    'PacketDeliveredEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type PacketNilifiedEvent = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  receiver: web3.PublicKey\n  nonce: beet.bignum\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const packetNilifiedEventBeet =\n  new beet.BeetArgsStruct<PacketNilifiedEvent>(\n    [\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['receiver', beetSolana.publicKey],\n      ['nonce', beet.u64],\n      ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ],\n    'PacketNilifiedEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type PacketSentEvent = {\n  encodedPacket: Uint8Array\n  options: Uint8Array\n  sendLibrary: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const packetSentEventBeet =\n  new beet.FixableBeetArgsStruct<PacketSentEvent>(\n    [\n      ['encodedPacket', beet.bytes],\n      ['options', beet.bytes],\n      ['sendLibrary', beetSolana.publicKey],\n    ],\n    'PacketSentEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type PacketVerifiedEvent = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  receiver: web3.PublicKey\n  nonce: beet.bignum\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const packetVerifiedEventBeet =\n  new beet.BeetArgsStruct<PacketVerifiedEvent>(\n    [\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['receiver', beetSolana.publicKey],\n      ['nonce', beet.u64],\n      ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ],\n    'PacketVerifiedEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type ReceiveLibrarySetEvent = {\n  receiver: web3.PublicKey\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const receiveLibrarySetEventBeet =\n  new beet.BeetArgsStruct<ReceiveLibrarySetEvent>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'ReceiveLibrarySetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport {\n  ReceiveLibraryTimeout,\n  receiveLibraryTimeoutBeet,\n} from '../types/ReceiveLibraryTimeout'\nexport type ReceiveLibraryTimeoutSetEvent = {\n  receiver: web3.PublicKey\n  eid: number\n  timeout: beet.COption<ReceiveLibraryTimeout>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const receiveLibraryTimeoutSetEventBeet =\n  new beet.FixableBeetArgsStruct<ReceiveLibraryTimeoutSetEvent>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['timeout', beet.coption(receiveLibraryTimeoutBeet)],\n    ],\n    'ReceiveLibraryTimeoutSetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type RentWithdrawnEvent = {\n  receiver: web3.PublicKey\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const rentWithdrawnEventBeet =\n  new beet.BeetArgsStruct<RentWithdrawnEvent>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['amount', beet.u64],\n    ],\n    'RentWithdrawnEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SendLibrarySetEvent = {\n  sender: web3.PublicKey\n  eid: number\n  newLib: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const sendLibrarySetEventBeet =\n  new beet.BeetArgsStruct<SendLibrarySetEvent>(\n    [\n      ['sender', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['newLib', beetSolana.publicKey],\n    ],\n    'SendLibrarySetEvent'\n  )\n","import {\n    AccountMeta,\n    Commitment,\n    Connection,\n    GetAccountInfoConfig,\n    PublicKey,\n    TransactionInstruction,\n} from '@solana/web3.js'\n\nimport { PacketV1Codec } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EndpointProgram, MessageLibInterface, SolanaPacketPath } from '.'\nimport { EndpointPDADeriver, MessageLibPDADeriver } from './pda-deriver'\nimport * as accounts from '../generated/solita/simple_messagelib/accounts'\nimport * as errors from '../generated/solita/simple_messagelib/errors'\nimport * as instructions from '../generated/solita/simple_messagelib/instructions'\nimport * as types from '../generated/solita/simple_messagelib/types'\n\nexport { PROGRAM_ID } from '../generated/solita/simple_messagelib'\n\nexport { accounts, instructions, types, errors }\n\n/**\n * Class representing the SimpleMessageLib.\n * @see {@link MessageLibInterface}\n */\nexport class SimpleMessageLib implements MessageLibInterface {\n    /**\n     * The PDA deriver for the message library.\n     */\n    deriver: MessageLibPDADeriver\n\n    /**\n     * Creates an instance of the SimpleMessageLib class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {\n        this.deriver = new MessageLibPDADeriver(program)\n    }\n\n    /**\n     * Initializes the SimpleMessageLib.\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {number} nativeFee - The native fee.\n     * @param {number} [lzTokenFee=0] - The LayerZero token fee.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initSimpleMessageLib(\n        endpointProgram: PublicKey,\n        payer: PublicKey,\n        admin: PublicKey,\n        eid: number,\n        nativeFee: number,\n        lzTokenFee = 0\n    ): TransactionInstruction {\n        const [messageLibPda] = this.deriver.messageLib()\n        const [endpointAuth] = new EndpointPDADeriver(endpointProgram).messageLibraryInfo(messageLibPda)\n        return instructions.createInitMessageLibInstruction(\n            {\n                payer,\n                messageLib: messageLibPda,\n            } satisfies instructions.InitMessageLibInstructionAccounts,\n            {\n                params: {\n                    endpointProgram: endpointProgram,\n                    endpoint: endpointAuth,\n                    eid,\n                    admin,\n                    fee: nativeFee,\n                    lzTokenFee,\n                } satisfies types.InitMessageLibParams,\n            },\n            this.program\n        )\n    }\n\n    /**\n     * Sets the whitelist caller.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} newCaller - The new caller public key.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setWhitelistCaller(admin: PublicKey, newCaller: PublicKey): TransactionInstruction {\n        const [messageLibPDA] = this.deriver.messageLib()\n        return instructions.createSetWlCallerInstruction(\n            {\n                admin,\n                messageLib: messageLibPDA,\n            } satisfies instructions.SetWlCallerInstructionAccounts,\n            {\n                params: {\n                    newCaller,\n                } satisfies types.SetWlCallerParams,\n            } satisfies instructions.SetWlCallerInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Checks if a caller is whitelisted.\n     *\n     * @param {Connection} connection - The connection object.\n     * @param {PublicKey} caller - The caller public key.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment or config.\n     *\n     * @returns {Promise<boolean>} A promise that resolves to true if the caller is whitelisted, false otherwise.\n     */\n    async isWhiteListed(\n        connection: Connection,\n        caller: PublicKey,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<boolean> {\n        try {\n            const exceptedCaller = await this.getWhiteListCaller(connection, commitmentOrConfig)\n            return exceptedCaller.equals(caller)\n        } catch (e) {\n            return false\n        }\n    }\n\n    /**\n     * Gets the whitelisted caller.\n     *\n     * @param {Connection} connection - The connection object.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment or config.\n     *\n     * @returns {Promise<PublicKey>} A promise that resolves to the whitelisted caller public key.\n     */\n    async getWhiteListCaller(\n        connection: Connection,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<PublicKey> {\n        const [messageLibPDA] = this.deriver.messageLib()\n        const messageLibInfo = await accounts.MessageLib.fromAccountAddress(\n            connection,\n            messageLibPDA,\n            commitmentOrConfig\n        )\n        return messageLibInfo.wlCaller\n    }\n\n    /**\n     * Validates a packet.\n     *\n     * @param {Connection} _connection - The connection object.\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {Uint8Array} encodedPacket - The encoded packet.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    validatePacket(\n        _connection: Connection,\n        endpointProgram: PublicKey,\n        payer: PublicKey,\n        encodedPacket: Uint8Array\n    ): TransactionInstruction {\n        const packet = PacketV1Codec.fromBytes(encodedPacket)\n        const [receiveLibrary] = this.deriver.messageLib()\n        const endpoint = new EndpointProgram.Endpoint(endpointProgram)\n\n        return instructions.createValidatePacketInstruction(\n            {\n                payer: payer,\n                receiveLibrary,\n                anchorRemainingAccounts: endpoint.getVerifyIXAccountMetaForCPI(packet, receiveLibrary),\n            } satisfies instructions.ValidatePacketInstructionAccounts,\n            {\n                params: { packet: encodedPacket } satisfies types.ValidatePacketParams,\n            } satisfies instructions.ValidatePacketInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Gets the account meta of the send instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {Connection} _connection - The connection object.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} _path - The packet path.\n     *\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account meta.\n     */\n    async getSendIXAccountMetaForCPI(\n        _connection: Connection,\n        payer: PublicKey,\n        _path: SolanaPacketPath\n    ): Promise<AccountMeta[]> {\n        const [msgLib] = this.deriver.messageLib()\n        const cpiAccounts = instructions.createSendInstructionAccounts(\n            {\n                endpoint: PublicKey.default, // useless\n                messageLib: msgLib,\n                payer,\n            } satisfies instructions.SendInstructionAccounts,\n            this.program\n        )\n        cpiAccounts.forEach((key) => {\n            if (!payer.equals(key.pubkey)) {\n                key.isSigner = false\n            }\n        })\n\n        return Promise.resolve(cpiAccounts.slice(1))\n    }\n\n    /**\n     * Gets the account meta of the quote instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {Connection} _connection - The connection object.\n     * @param {PublicKey} _payer - The payer public key.\n     * @param {PacketPath} _path - The packet path.\n     * @param {Commitment} [commitment] - The commitment.\n     *\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account meta.\n     */\n    async getQuoteIXAccountMetaForCPI(\n        _connection: Connection,\n        _payer: PublicKey,\n        _path: SolanaPacketPath,\n        _commitment?: Commitment\n    ): Promise<AccountMeta[]> {\n        const [msgLib] = this.deriver.messageLib()\n        const keys = instructions.createQuoteInstructionAccounts(\n            {\n                endpoint: PublicKey.default, // useless\n                messageLib: msgLib,\n            } satisfies instructions.QuoteInstructionAccounts,\n            this.program\n        )\n        return Promise.resolve(keys.slice(1))\n    }\n\n    /**\n     * Gets the account meta of the init config instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oappID - The oapp ID public key.\n     * @param {number} eid - The endpoint ID.\n     *\n     * @returns {AccountMeta[]} An array of account meta.\n     */\n    getInitConfigIXAccountMetaForCPI(payer: PublicKey, oappID: PublicKey, eid: number): AccountMeta[] {\n        const [sendConfig] = this.deriver.sendConfig(eid, oappID)\n        const [receiveConfig] = this.deriver.receiveConfig(eid, oappID)\n        const [messageLib] = this.deriver.messageLib()\n\n        const keys = instructions.createInitConfigInstructionAccounts(\n            {\n                endpoint: PublicKey.default, // useless\n                payer,\n                messageLib,\n                sendConfig,\n                receiveConfig,\n            } satisfies instructions.InitConfigInstructionAccounts,\n            this.program\n        )\n        keys.forEach((key) => {\n            if (!payer.equals(key.pubkey)) {\n                key.isSigner = false\n            }\n        })\n        return keys.slice(1)\n    }\n\n    /**\n     * Gets the account meta of the set config instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} oappID - The oapp ID public key.\n     * @param {number} eid - The endpoint ID.\n     *\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account meta.\n     */\n    async getSetConfigIXAccountMetaForCPI(\n        endpointProgram: PublicKey,\n        oappID: PublicKey,\n        eid: number\n    ): Promise<AccountMeta[]> {\n        const [sendConfig] = this.deriver.sendConfig(eid, oappID)\n        const [receiveConfig] = this.deriver.receiveConfig(eid, oappID)\n        const [msgLib] = this.deriver.messageLib()\n        const accounts = instructions.createSetConfigInstructionAccounts(\n            {\n                endpoint: PublicKey.default, // useless\n                sendConfig,\n                receiveConfig,\n                messageLib: msgLib,\n            } satisfies instructions.SetConfigInstructionAccounts,\n            this.program\n        )\n        return Promise.resolve(accounts.slice(1))\n    }\n}\n","export * from './MessageLib'\nexport * from './ReceiveConfigStore'\nexport * from './SendConfigStore'\n\nimport { MessageLib } from './MessageLib'\nimport { ReceiveConfigStore } from './ReceiveConfigStore'\nimport { SendConfigStore } from './SendConfigStore'\n\nexport const accountProviders = {\n  MessageLib,\n  ReceiveConfigStore,\n  SendConfigStore,\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link MessageLib}\n * @category Accounts\n * @category generated\n */\nexport type MessageLibArgs = {\n  eid: number\n  endpoint: web3.PublicKey\n  endpointProgram: web3.PublicKey\n  bump: number\n  admin: web3.PublicKey\n  fee: beet.bignum\n  lzTokenFee: beet.bignum\n  wlCaller: web3.PublicKey\n}\n\nexport const messageLibDiscriminator = [141, 191, 244, 48, 52, 174, 199, 209]\n/**\n * Holds the data for the {@link MessageLib} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class MessageLib implements MessageLibArgs {\n  private constructor(\n    readonly eid: number,\n    readonly endpoint: web3.PublicKey,\n    readonly endpointProgram: web3.PublicKey,\n    readonly bump: number,\n    readonly admin: web3.PublicKey,\n    readonly fee: beet.bignum,\n    readonly lzTokenFee: beet.bignum,\n    readonly wlCaller: web3.PublicKey\n  ) {}\n\n  /**\n   * Creates a {@link MessageLib} instance from the provided args.\n   */\n  static fromArgs(args: MessageLibArgs) {\n    return new MessageLib(\n      args.eid,\n      args.endpoint,\n      args.endpointProgram,\n      args.bump,\n      args.admin,\n      args.fee,\n      args.lzTokenFee,\n      args.wlCaller\n    )\n  }\n\n  /**\n   * Deserializes the {@link MessageLib} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [MessageLib, number] {\n    return MessageLib.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link MessageLib} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<MessageLib> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find MessageLib account at ${address}`)\n    }\n    return MessageLib.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, messageLibBeet)\n  }\n\n  /**\n   * Deserializes the {@link MessageLib} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [MessageLib, number] {\n    return messageLibBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link MessageLib} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return messageLibBeet.serialize({\n      accountDiscriminator: messageLibDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link MessageLib}\n   */\n  static get byteSize() {\n    return messageLibBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link MessageLib} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      MessageLib.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link MessageLib} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === MessageLib.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link MessageLib} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      eid: this.eid,\n      endpoint: this.endpoint.toBase58(),\n      endpointProgram: this.endpointProgram.toBase58(),\n      bump: this.bump,\n      admin: this.admin.toBase58(),\n      fee: (() => {\n        const x = <{ toNumber: () => number }>this.fee\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n      lzTokenFee: (() => {\n        const x = <{ toNumber: () => number }>this.lzTokenFee\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n      wlCaller: this.wlCaller.toBase58(),\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const messageLibBeet = new beet.BeetStruct<\n  MessageLib,\n  MessageLibArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['eid', beet.u32],\n    ['endpoint', beetSolana.publicKey],\n    ['endpointProgram', beetSolana.publicKey],\n    ['bump', beet.u8],\n    ['admin', beetSolana.publicKey],\n    ['fee', beet.u64],\n    ['lzTokenFee', beet.u64],\n    ['wlCaller', beetSolana.publicKey],\n  ],\n  MessageLib.fromArgs,\n  'MessageLib'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link ReceiveConfigStore}\n * @category Accounts\n * @category generated\n */\nexport type ReceiveConfigStoreArgs = {\n  bump: number\n  data: Uint8Array\n}\n\nexport const receiveConfigStoreDiscriminator = [70, 73, 30, 1, 248, 48, 93, 125]\n/**\n * Holds the data for the {@link ReceiveConfigStore} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class ReceiveConfigStore implements ReceiveConfigStoreArgs {\n  private constructor(readonly bump: number, readonly data: Uint8Array) {}\n\n  /**\n   * Creates a {@link ReceiveConfigStore} instance from the provided args.\n   */\n  static fromArgs(args: ReceiveConfigStoreArgs) {\n    return new ReceiveConfigStore(args.bump, args.data)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveConfigStore} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [ReceiveConfigStore, number] {\n    return ReceiveConfigStore.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link ReceiveConfigStore} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<ReceiveConfigStore> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find ReceiveConfigStore account at ${address}`)\n    }\n    return ReceiveConfigStore.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, receiveConfigStoreBeet)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveConfigStore} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [ReceiveConfigStore, number] {\n    return receiveConfigStoreBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link ReceiveConfigStore} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return receiveConfigStoreBeet.serialize({\n      accountDiscriminator: receiveConfigStoreDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link ReceiveConfigStore} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: ReceiveConfigStoreArgs) {\n    const instance = ReceiveConfigStore.fromArgs(args)\n    return receiveConfigStoreBeet.toFixedFromValue({\n      accountDiscriminator: receiveConfigStoreDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link ReceiveConfigStore} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: ReceiveConfigStoreArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      ReceiveConfigStore.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link ReceiveConfigStore} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      data: this.data,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const receiveConfigStoreBeet = new beet.FixableBeetStruct<\n  ReceiveConfigStore,\n  ReceiveConfigStoreArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['data', beet.bytes],\n  ],\n  ReceiveConfigStore.fromArgs,\n  'ReceiveConfigStore'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link SendConfigStore}\n * @category Accounts\n * @category generated\n */\nexport type SendConfigStoreArgs = {\n  bump: number\n  data: Uint8Array\n}\n\nexport const sendConfigStoreDiscriminator = [\n  246, 55, 104, 200, 90, 164, 50, 196,\n]\n/**\n * Holds the data for the {@link SendConfigStore} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class SendConfigStore implements SendConfigStoreArgs {\n  private constructor(readonly bump: number, readonly data: Uint8Array) {}\n\n  /**\n   * Creates a {@link SendConfigStore} instance from the provided args.\n   */\n  static fromArgs(args: SendConfigStoreArgs) {\n    return new SendConfigStore(args.bump, args.data)\n  }\n\n  /**\n   * Deserializes the {@link SendConfigStore} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [SendConfigStore, number] {\n    return SendConfigStore.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link SendConfigStore} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<SendConfigStore> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find SendConfigStore account at ${address}`)\n    }\n    return SendConfigStore.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, sendConfigStoreBeet)\n  }\n\n  /**\n   * Deserializes the {@link SendConfigStore} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [SendConfigStore, number] {\n    return sendConfigStoreBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link SendConfigStore} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return sendConfigStoreBeet.serialize({\n      accountDiscriminator: sendConfigStoreDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link SendConfigStore} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: SendConfigStoreArgs) {\n    const instance = SendConfigStore.fromArgs(args)\n    return sendConfigStoreBeet.toFixedFromValue({\n      accountDiscriminator: sendConfigStoreDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link SendConfigStore} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: SendConfigStoreArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      SendConfigStore.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link SendConfigStore} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      data: this.data,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const sendConfigStoreBeet = new beet.FixableBeetStruct<\n  SendConfigStore,\n  SendConfigStoreArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['data', beet.bytes],\n  ],\n  SendConfigStore.fromArgs,\n  'SendConfigStore'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\ntype ErrorWithCode = Error & { code: number }\ntype MaybeErrorWithCode = ErrorWithCode | null | undefined\n\nconst createErrorFromCodeLookup: Map<number, () => ErrorWithCode> = new Map()\nconst createErrorFromNameLookup: Map<string, () => ErrorWithCode> = new Map()\n\n/**\n * OnlyWhitelistedCaller: ''\n *\n * @category Errors\n * @category generated\n */\nexport class OnlyWhitelistedCallerError extends Error {\n  readonly code: number = 0x1770\n  readonly name: string = 'OnlyWhitelistedCaller'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, OnlyWhitelistedCallerError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1770, () => new OnlyWhitelistedCallerError())\ncreateErrorFromNameLookup.set(\n  'OnlyWhitelistedCaller',\n  () => new OnlyWhitelistedCallerError()\n)\n\n/**\n * InsufficientFee: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InsufficientFeeError extends Error {\n  readonly code: number = 0x1771\n  readonly name: string = 'InsufficientFee'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InsufficientFeeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1771, () => new InsufficientFeeError())\ncreateErrorFromNameLookup.set(\n  'InsufficientFee',\n  () => new InsufficientFeeError()\n)\n\n/**\n * InvalidAmount: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidAmountError extends Error {\n  readonly code: number = 0x1772\n  readonly name: string = 'InvalidAmount'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidAmountError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1772, () => new InvalidAmountError())\ncreateErrorFromNameLookup.set('InvalidAmount', () => new InvalidAmountError())\n\n/**\n * InvalidConfigType: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidConfigTypeError extends Error {\n  readonly code: number = 0x1773\n  readonly name: string = 'InvalidConfigType'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidConfigTypeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1773, () => new InvalidConfigTypeError())\ncreateErrorFromNameLookup.set(\n  'InvalidConfigType',\n  () => new InvalidConfigTypeError()\n)\n\n/**\n * InvalidLzTokenMint: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidLzTokenMintError extends Error {\n  readonly code: number = 0x1774\n  readonly name: string = 'InvalidLzTokenMint'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidLzTokenMintError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1774, () => new InvalidLzTokenMintError())\ncreateErrorFromNameLookup.set(\n  'InvalidLzTokenMint',\n  () => new InvalidLzTokenMintError()\n)\n\n/**\n * LzTokenUnavailable: ''\n *\n * @category Errors\n * @category generated\n */\nexport class LzTokenUnavailableError extends Error {\n  readonly code: number = 0x1775\n  readonly name: string = 'LzTokenUnavailable'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, LzTokenUnavailableError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1775, () => new LzTokenUnavailableError())\ncreateErrorFromNameLookup.set(\n  'LzTokenUnavailable',\n  () => new LzTokenUnavailableError()\n)\n\n/**\n * SendReentrancy: ''\n *\n * @category Errors\n * @category generated\n */\nexport class SendReentrancyError extends Error {\n  readonly code: number = 0x1776\n  readonly name: string = 'SendReentrancy'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, SendReentrancyError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1776, () => new SendReentrancyError())\ncreateErrorFromNameLookup.set('SendReentrancy', () => new SendReentrancyError())\n\n/**\n * OnlyRevert: ''\n *\n * @category Errors\n * @category generated\n */\nexport class OnlyRevertError extends Error {\n  readonly code: number = 0x1777\n  readonly name: string = 'OnlyRevert'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, OnlyRevertError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1777, () => new OnlyRevertError())\ncreateErrorFromNameLookup.set('OnlyRevert', () => new OnlyRevertError())\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n * @category generated\n */\nexport function errorFromCode(code: number): MaybeErrorWithCode {\n  const createError = createErrorFromCodeLookup.get(code)\n  return createError != null ? createError() : null\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n * @category generated\n */\nexport function errorFromName(name: string): MaybeErrorWithCode {\n  const createError = createErrorFromNameLookup.get(name)\n  return createError != null ? createError() : null\n}\n","export * from './initConfig'\nexport * from './initDefaultConfig'\nexport * from './initMessageLib'\nexport * from './quote'\nexport * from './revertCall'\nexport * from './send'\nexport * from './sendWithLzToken'\nexport * from './setConfig'\nexport * from './setDefaultConfig'\nexport * from './setFee'\nexport * from './setWlCaller'\nexport * from './transferAdmin'\nexport * from './validatePacket'\nexport * from './version'\nexport * from './withdrawFees'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitConfigParams = {\n  oapp: web3.PublicKey\n  eid: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initConfigParamsBeet = new beet.BeetArgsStruct<InitConfigParams>(\n  [\n    ['oapp', beetSolana.publicKey],\n    ['eid', beet.u32],\n  ],\n  'InitConfigParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitConfigParams,\n  initConfigParamsBeet,\n} from '../types/InitConfigParams'\n\n/**\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport type InitConfigInstructionArgs = {\n  params: InitConfigParams\n}\n/**\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport const initConfigStruct = new beet.BeetArgsStruct<\n  InitConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initConfigParamsBeet],\n  ],\n  'InitConfigInstructionArgs'\n)\n/**\n * Accounts required by the _initConfig_ instruction\n *\n * @property [**signer**] endpoint\n * @property [_writable_, **signer**] payer\n * @property [] messageLib\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport type InitConfigInstructionAccounts = {\n  endpoint: web3.PublicKey\n  payer: web3.PublicKey\n  messageLib: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initConfigInstructionDiscriminator = [\n  23, 235, 115, 232, 168, 96, 1, 231,\n]\n\n/**\n * Creates a _InitConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport function createInitConfigInstruction(\n  accounts: InitConfigInstructionAccounts,\n  args: InitConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initConfigStruct.serialize({\n    instructionDiscriminator: initConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport function createInitConfigInstructionAccounts(\n  accounts: InitConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitDefaultConfigParams = {\n  eid: number\n  sendConfig: beet.COption<Uint8Array>\n  receiveConfig: beet.COption<Uint8Array>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initDefaultConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<InitDefaultConfigParams>(\n    [\n      ['eid', beet.u32],\n      ['sendConfig', beet.coption(beet.bytes)],\n      ['receiveConfig', beet.coption(beet.bytes)],\n    ],\n    'InitDefaultConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitDefaultConfigParams,\n  initDefaultConfigParamsBeet,\n} from '../types/InitDefaultConfigParams'\n\n/**\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport type InitDefaultConfigInstructionArgs = {\n  params: InitDefaultConfigParams\n}\n/**\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport const initDefaultConfigStruct = new beet.FixableBeetArgsStruct<\n  InitDefaultConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initDefaultConfigParamsBeet],\n  ],\n  'InitDefaultConfigInstructionArgs'\n)\n/**\n * Accounts required by the _initDefaultConfig_ instruction\n *\n * @property [_writable_, **signer**] admin\n * @property [] messageLib\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport type InitDefaultConfigInstructionAccounts = {\n  admin: web3.PublicKey\n  messageLib: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initDefaultConfigInstructionDiscriminator = [\n  98, 218, 197, 194, 173, 179, 112, 21,\n]\n\n/**\n * Creates a _InitDefaultConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport function createInitDefaultConfigInstruction(\n  accounts: InitDefaultConfigInstructionAccounts,\n  args: InitDefaultConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initDefaultConfigStruct.serialize({\n    instructionDiscriminator: initDefaultConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitDefaultConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport function createInitDefaultConfigInstructionAccounts(\n  accounts: InitDefaultConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitMessageLibParams = {\n  eid: number\n  endpoint: web3.PublicKey\n  endpointProgram: web3.PublicKey\n  admin: web3.PublicKey\n  fee: beet.bignum\n  lzTokenFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initMessageLibParamsBeet =\n  new beet.BeetArgsStruct<InitMessageLibParams>(\n    [\n      ['eid', beet.u32],\n      ['endpoint', beetSolana.publicKey],\n      ['endpointProgram', beetSolana.publicKey],\n      ['admin', beetSolana.publicKey],\n      ['fee', beet.u64],\n      ['lzTokenFee', beet.u64],\n    ],\n    'InitMessageLibParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitMessageLibParams,\n  initMessageLibParamsBeet,\n} from '../types/InitMessageLibParams'\n\n/**\n * @category Instructions\n * @category InitMessageLib\n * @category generated\n */\nexport type InitMessageLibInstructionArgs = {\n  params: InitMessageLibParams\n}\n/**\n * @category Instructions\n * @category InitMessageLib\n * @category generated\n */\nexport const initMessageLibStruct = new beet.BeetArgsStruct<\n  InitMessageLibInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initMessageLibParamsBeet],\n  ],\n  'InitMessageLibInstructionArgs'\n)\n/**\n * Accounts required by the _initMessageLib_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [_writable_] messageLib\n * @category Instructions\n * @category InitMessageLib\n * @category generated\n */\nexport type InitMessageLibInstructionAccounts = {\n  payer: web3.PublicKey\n  messageLib: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initMessageLibInstructionDiscriminator = [\n  184, 93, 59, 206, 98, 238, 225, 54,\n]\n\n/**\n * Creates a _InitMessageLib_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitMessageLib\n * @category generated\n */\nexport function createInitMessageLibInstruction(\n  accounts: InitMessageLibInstructionAccounts,\n  args: InitMessageLibInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initMessageLibStruct.serialize({\n    instructionDiscriminator: initMessageLibInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitMessageLib_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitMessageLib\n * @category generated\n */\nexport function createInitMessageLibInstructionAccounts(\n  accounts: InitMessageLibInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type Packet = {\n  nonce: beet.bignum\n  srcEid: number\n  sender: web3.PublicKey\n  dstEid: number\n  receiver: number[] /* size: 32 */\n  guid: number[] /* size: 32 */\n  message: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const packetBeet = new beet.FixableBeetArgsStruct<Packet>(\n  [\n    ['nonce', beet.u64],\n    ['srcEid', beet.u32],\n    ['sender', beetSolana.publicKey],\n    ['dstEid', beet.u32],\n    ['receiver', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['message', beet.bytes],\n  ],\n  'Packet'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { Packet, packetBeet } from './Packet'\nexport type QuoteParams = {\n  packet: Packet\n  options: Uint8Array\n  payInLzToken: boolean\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const quoteParamsBeet = new beet.FixableBeetArgsStruct<QuoteParams>(\n  [\n    ['packet', packetBeet],\n    ['options', beet.bytes],\n    ['payInLzToken', beet.bool],\n  ],\n  'QuoteParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { QuoteParams, quoteParamsBeet } from '../types/QuoteParams'\n\n/**\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport type QuoteInstructionArgs = {\n  params: QuoteParams\n}\n/**\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport const quoteStruct = new beet.FixableBeetArgsStruct<\n  QuoteInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', quoteParamsBeet],\n  ],\n  'QuoteInstructionArgs'\n)\n/**\n * Accounts required by the _quote_ instruction\n *\n * @property [**signer**] endpoint\n * @property [] messageLib\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport type QuoteInstructionAccounts = {\n  endpoint: web3.PublicKey\n  messageLib: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const quoteInstructionDiscriminator = [\n  149, 42, 109, 247, 134, 146, 213, 123,\n]\n\n/**\n * Creates a _Quote_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport function createQuoteInstruction(\n  accounts: QuoteInstructionAccounts,\n  args: QuoteInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = quoteStruct.serialize({\n    instructionDiscriminator: quoteInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Quote_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport function createQuoteInstructionAccounts(\n  accounts: QuoteInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\n\n/**\n * @category Instructions\n * @category RevertCall\n * @category generated\n */\nexport const revertCallStruct = new beet.BeetArgsStruct<{\n  instructionDiscriminator: number[] /* size: 8 */\n}>(\n  [['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)]],\n  'RevertCallInstructionArgs'\n)\n\nexport const revertCallInstructionDiscriminator = [\n  124, 243, 145, 116, 106, 203, 93, 114,\n]\n\n/**\n * Creates a _RevertCall_ instruction.\n *\n * @category Instructions\n * @category RevertCall\n * @category generated\n */\nexport function createRevertCallInstruction(programId: web3.PublicKey) {\n  const [data] = revertCallStruct.serialize({\n    instructionDiscriminator: revertCallInstructionDiscriminator,\n  })\n  const keys: web3.AccountMeta[] = []\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _RevertCall_ instructionAccounts.\n *\n * @category Instructions\n * @category RevertCall\n * @category generated\n */\nexport function createRevertCallInstructionAccounts(programId: web3.PublicKey) {\n  const keys: web3.AccountMeta[] = []\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { Packet, packetBeet } from './Packet'\nexport type SendParams = {\n  packet: Packet\n  options: Uint8Array\n  nativeFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const sendParamsBeet = new beet.FixableBeetArgsStruct<SendParams>(\n  [\n    ['packet', packetBeet],\n    ['options', beet.bytes],\n    ['nativeFee', beet.u64],\n  ],\n  'SendParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SendParams, sendParamsBeet } from '../types/SendParams'\n\n/**\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport type SendInstructionArgs = {\n  params: SendParams\n}\n/**\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport const sendStruct = new beet.FixableBeetArgsStruct<\n  SendInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', sendParamsBeet],\n  ],\n  'SendInstructionArgs'\n)\n/**\n * Accounts required by the _send_ instruction\n *\n * @property [**signer**] endpoint\n * @property [_writable_] messageLib\n * @property [_writable_, **signer**] payer\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport type SendInstructionAccounts = {\n  endpoint: web3.PublicKey\n  messageLib: web3.PublicKey\n  payer: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const sendInstructionDiscriminator = [102, 251, 20, 187, 65, 75, 12, 69]\n\n/**\n * Creates a _Send_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport function createSendInstruction(\n  accounts: SendInstructionAccounts,\n  args: SendInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = sendStruct.serialize({\n    instructionDiscriminator: sendInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Send_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport function createSendInstructionAccounts(\n  accounts: SendInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { Packet, packetBeet } from './Packet'\nexport type SendWithLzTokenParams = {\n  packet: Packet\n  options: Uint8Array\n  nativeFee: beet.bignum\n  lzTokenFee: beet.bignum\n  lzTokenMint: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const sendWithLzTokenParamsBeet =\n  new beet.FixableBeetArgsStruct<SendWithLzTokenParams>(\n    [\n      ['packet', packetBeet],\n      ['options', beet.bytes],\n      ['nativeFee', beet.u64],\n      ['lzTokenFee', beet.u64],\n      ['lzTokenMint', beetSolana.publicKey],\n    ],\n    'SendWithLzTokenParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as splToken from '@solana/spl-token'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SendWithLzTokenParams,\n  sendWithLzTokenParamsBeet,\n} from '../types/SendWithLzTokenParams'\n\n/**\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport type SendWithLzTokenInstructionArgs = {\n  params: SendWithLzTokenParams\n}\n/**\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport const sendWithLzTokenStruct = new beet.FixableBeetArgsStruct<\n  SendWithLzTokenInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', sendWithLzTokenParamsBeet],\n  ],\n  'SendWithLzTokenInstructionArgs'\n)\n/**\n * Accounts required by the _sendWithLzToken_ instruction\n *\n * @property [**signer**] endpoint\n * @property [_writable_] messageLib\n * @property [_writable_] messageLibLzToken\n * @property [_writable_, **signer**] payer\n * @property [_writable_] lzTokenSource\n * @property [] lzTokenMint\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport type SendWithLzTokenInstructionAccounts = {\n  endpoint: web3.PublicKey\n  messageLib: web3.PublicKey\n  messageLibLzToken: web3.PublicKey\n  payer: web3.PublicKey\n  lzTokenSource: web3.PublicKey\n  lzTokenMint: web3.PublicKey\n  tokenProgram?: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const sendWithLzTokenInstructionDiscriminator = [\n  165, 161, 84, 48, 129, 26, 193, 19,\n]\n\n/**\n * Creates a _SendWithLzToken_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport function createSendWithLzTokenInstruction(\n  accounts: SendWithLzTokenInstructionAccounts,\n  args: SendWithLzTokenInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = sendWithLzTokenStruct.serialize({\n    instructionDiscriminator: sendWithLzTokenInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibLzToken,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.lzTokenSource,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenMint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.tokenProgram ?? splToken.TOKEN_PROGRAM_ID,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SendWithLzToken_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport function createSendWithLzTokenInstructionAccounts(\n  accounts: SendWithLzTokenInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.messageLibLzToken,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.lzTokenSource,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenMint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.tokenProgram ?? splToken.TOKEN_PROGRAM_ID,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetConfigParams = {\n  oapp: web3.PublicKey\n  eid: number\n  configType: number\n  config: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<SetConfigParams>(\n    [\n      ['oapp', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['configType', beet.u32],\n      ['config', beet.bytes],\n    ],\n    'SetConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SetConfigParams, setConfigParamsBeet } from '../types/SetConfigParams'\n\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionArgs = {\n  params: SetConfigParams\n}\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport const setConfigStruct = new beet.FixableBeetArgsStruct<\n  SetConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setConfigParamsBeet],\n  ],\n  'SetConfigInstructionArgs'\n)\n/**\n * Accounts required by the _setConfig_ instruction\n *\n * @property [**signer**] endpoint\n * @property [] messageLib\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionAccounts = {\n  endpoint: web3.PublicKey\n  messageLib: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setConfigInstructionDiscriminator = [\n  108, 158, 154, 175, 212, 98, 52, 66,\n]\n\n/**\n * Creates a _SetConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstruction(\n  accounts: SetConfigInstructionAccounts,\n  args: SetConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setConfigStruct.serialize({\n    instructionDiscriminator: setConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstructionAccounts(\n  accounts: SetConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetDefaultConfigParams = {\n  eid: number\n  sendConfig: beet.COption<Uint8Array>\n  receiveConfig: beet.COption<Uint8Array>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setDefaultConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<SetDefaultConfigParams>(\n    [\n      ['eid', beet.u32],\n      ['sendConfig', beet.coption(beet.bytes)],\n      ['receiveConfig', beet.coption(beet.bytes)],\n    ],\n    'SetDefaultConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetDefaultConfigParams,\n  setDefaultConfigParamsBeet,\n} from '../types/SetDefaultConfigParams'\n\n/**\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport type SetDefaultConfigInstructionArgs = {\n  params: SetDefaultConfigParams\n}\n/**\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport const setDefaultConfigStruct = new beet.FixableBeetArgsStruct<\n  SetDefaultConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setDefaultConfigParamsBeet],\n  ],\n  'SetDefaultConfigInstructionArgs'\n)\n/**\n * Accounts required by the _setDefaultConfig_ instruction\n *\n * @property [**signer**] admin\n * @property [] messageLib\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport type SetDefaultConfigInstructionAccounts = {\n  admin: web3.PublicKey\n  messageLib: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setDefaultConfigInstructionDiscriminator = [\n  111, 228, 17, 75, 5, 76, 213, 169,\n]\n\n/**\n * Creates a _SetDefaultConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport function createSetDefaultConfigInstruction(\n  accounts: SetDefaultConfigInstructionAccounts,\n  args: SetDefaultConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setDefaultConfigStruct.serialize({\n    instructionDiscriminator: setDefaultConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetDefaultConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport function createSetDefaultConfigInstructionAccounts(\n  accounts: SetDefaultConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetFeeParams = {\n  fee: beet.bignum\n  lzTokenFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setFeeParamsBeet = new beet.BeetArgsStruct<SetFeeParams>(\n  [\n    ['fee', beet.u64],\n    ['lzTokenFee', beet.u64],\n  ],\n  'SetFeeParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SetFeeParams, setFeeParamsBeet } from '../types/SetFeeParams'\n\n/**\n * @category Instructions\n * @category SetFee\n * @category generated\n */\nexport type SetFeeInstructionArgs = {\n  params: SetFeeParams\n}\n/**\n * @category Instructions\n * @category SetFee\n * @category generated\n */\nexport const setFeeStruct = new beet.BeetArgsStruct<\n  SetFeeInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setFeeParamsBeet],\n  ],\n  'SetFeeInstructionArgs'\n)\n/**\n * Accounts required by the _setFee_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] messageLib\n * @category Instructions\n * @category SetFee\n * @category generated\n */\nexport type SetFeeInstructionAccounts = {\n  admin: web3.PublicKey\n  messageLib: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setFeeInstructionDiscriminator = [\n  18, 154, 24, 18, 237, 214, 19, 80,\n]\n\n/**\n * Creates a _SetFee_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetFee\n * @category generated\n */\nexport function createSetFeeInstruction(\n  accounts: SetFeeInstructionAccounts,\n  args: SetFeeInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setFeeStruct.serialize({\n    instructionDiscriminator: setFeeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetFee_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetFee\n * @category generated\n */\nexport function createSetFeeInstructionAccounts(\n  accounts: SetFeeInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetWlCallerParams = {\n  newCaller: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setWlCallerParamsBeet = new beet.BeetArgsStruct<SetWlCallerParams>(\n  [['newCaller', beetSolana.publicKey]],\n  'SetWlCallerParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetWlCallerParams,\n  setWlCallerParamsBeet,\n} from '../types/SetWlCallerParams'\n\n/**\n * @category Instructions\n * @category SetWlCaller\n * @category generated\n */\nexport type SetWlCallerInstructionArgs = {\n  params: SetWlCallerParams\n}\n/**\n * @category Instructions\n * @category SetWlCaller\n * @category generated\n */\nexport const setWlCallerStruct = new beet.BeetArgsStruct<\n  SetWlCallerInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setWlCallerParamsBeet],\n  ],\n  'SetWlCallerInstructionArgs'\n)\n/**\n * Accounts required by the _setWlCaller_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] messageLib\n * @category Instructions\n * @category SetWlCaller\n * @category generated\n */\nexport type SetWlCallerInstructionAccounts = {\n  admin: web3.PublicKey\n  messageLib: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setWlCallerInstructionDiscriminator = [\n  153, 41, 240, 37, 126, 107, 14, 253,\n]\n\n/**\n * Creates a _SetWlCaller_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetWlCaller\n * @category generated\n */\nexport function createSetWlCallerInstruction(\n  accounts: SetWlCallerInstructionAccounts,\n  args: SetWlCallerInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setWlCallerStruct.serialize({\n    instructionDiscriminator: setWlCallerInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetWlCaller_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetWlCaller\n * @category generated\n */\nexport function createSetWlCallerInstructionAccounts(\n  accounts: SetWlCallerInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type TransferAdminParams = {\n  admin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const transferAdminParamsBeet =\n  new beet.BeetArgsStruct<TransferAdminParams>(\n    [['admin', beetSolana.publicKey]],\n    'TransferAdminParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  TransferAdminParams,\n  transferAdminParamsBeet,\n} from '../types/TransferAdminParams'\n\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionArgs = {\n  params: TransferAdminParams\n}\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport const transferAdminStruct = new beet.BeetArgsStruct<\n  TransferAdminInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', transferAdminParamsBeet],\n  ],\n  'TransferAdminInstructionArgs'\n)\n/**\n * Accounts required by the _transferAdmin_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] messageLib\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionAccounts = {\n  admin: web3.PublicKey\n  messageLib: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const transferAdminInstructionDiscriminator = [\n  42, 242, 66, 106, 228, 10, 111, 156,\n]\n\n/**\n * Creates a _TransferAdmin_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstruction(\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = transferAdminStruct.serialize({\n    instructionDiscriminator: transferAdminInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _TransferAdmin_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstructionAccounts(\n  accounts: TransferAdminInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type ValidatePacketParams = {\n  packet: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const validatePacketParamsBeet =\n  new beet.FixableBeetArgsStruct<ValidatePacketParams>(\n    [['packet', beet.bytes]],\n    'ValidatePacketParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  ValidatePacketParams,\n  validatePacketParamsBeet,\n} from '../types/ValidatePacketParams'\n\n/**\n * @category Instructions\n * @category ValidatePacket\n * @category generated\n */\nexport type ValidatePacketInstructionArgs = {\n  params: ValidatePacketParams\n}\n/**\n * @category Instructions\n * @category ValidatePacket\n * @category generated\n */\nexport const validatePacketStruct = new beet.FixableBeetArgsStruct<\n  ValidatePacketInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', validatePacketParamsBeet],\n  ],\n  'ValidatePacketInstructionArgs'\n)\n/**\n * Accounts required by the _validatePacket_ instruction\n *\n * @property [**signer**] payer\n * @property [] receiveLibrary\n * @category Instructions\n * @category ValidatePacket\n * @category generated\n */\nexport type ValidatePacketInstructionAccounts = {\n  payer: web3.PublicKey\n  receiveLibrary: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const validatePacketInstructionDiscriminator = [\n  34, 146, 107, 76, 157, 98, 105, 211,\n]\n\n/**\n * Creates a _ValidatePacket_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category ValidatePacket\n * @category generated\n */\nexport function createValidatePacketInstruction(\n  accounts: ValidatePacketInstructionAccounts,\n  args: ValidatePacketInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = validatePacketStruct.serialize({\n    instructionDiscriminator: validatePacketInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.receiveLibrary,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _ValidatePacket_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category ValidatePacket\n * @category generated\n */\nexport function createValidatePacketInstructionAccounts(\n  accounts: ValidatePacketInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.receiveLibrary,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\n\n/**\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport const versionStruct = new beet.BeetArgsStruct<{\n  instructionDiscriminator: number[] /* size: 8 */\n}>(\n  [['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)]],\n  'VersionInstructionArgs'\n)\n\nexport const versionInstructionDiscriminator = [\n  118, 65, 195, 198, 129, 216, 252, 192,\n]\n\n/**\n * Creates a _Version_ instruction.\n *\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport function createVersionInstruction(programId: web3.PublicKey) {\n  const [data] = versionStruct.serialize({\n    instructionDiscriminator: versionInstructionDiscriminator,\n  })\n  const keys: web3.AccountMeta[] = []\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Version_ instructionAccounts.\n *\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport function createVersionInstructionAccounts(programId: web3.PublicKey) {\n  const keys: web3.AccountMeta[] = []\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type WithdrawFeesParams = {\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const withdrawFeesParamsBeet =\n  new beet.BeetArgsStruct<WithdrawFeesParams>(\n    [['amount', beet.u64]],\n    'WithdrawFeesParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  WithdrawFeesParams,\n  withdrawFeesParamsBeet,\n} from '../types/WithdrawFeesParams'\n\n/**\n * @category Instructions\n * @category WithdrawFees\n * @category generated\n */\nexport type WithdrawFeesInstructionArgs = {\n  params: WithdrawFeesParams\n}\n/**\n * @category Instructions\n * @category WithdrawFees\n * @category generated\n */\nexport const withdrawFeesStruct = new beet.BeetArgsStruct<\n  WithdrawFeesInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', withdrawFeesParamsBeet],\n  ],\n  'WithdrawFeesInstructionArgs'\n)\n/**\n * Accounts required by the _withdrawFees_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] messageLib\n * @property [_writable_] receiver\n * @category Instructions\n * @category WithdrawFees\n * @category generated\n */\nexport type WithdrawFeesInstructionAccounts = {\n  admin: web3.PublicKey\n  messageLib: web3.PublicKey\n  receiver: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const withdrawFeesInstructionDiscriminator = [\n  198, 212, 171, 109, 144, 215, 174, 89,\n]\n\n/**\n * Creates a _WithdrawFees_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category WithdrawFees\n * @category generated\n */\nexport function createWithdrawFeesInstruction(\n  accounts: WithdrawFeesInstructionAccounts,\n  args: WithdrawFeesInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = withdrawFeesStruct.serialize({\n    instructionDiscriminator: withdrawFeesInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _WithdrawFees_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category WithdrawFees\n * @category generated\n */\nexport function createWithdrawFeesInstructionAccounts(\n  accounts: WithdrawFeesInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.messageLib,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","export * from './InitConfigParams'\nexport * from './InitDefaultConfigParams'\nexport * from './InitMessageLibParams'\nexport * from './MessagingFee'\nexport * from './Packet'\nexport * from './QuoteParams'\nexport * from './SendParams'\nexport * from './SendWithLzTokenParams'\nexport * from './SetConfigParams'\nexport * from './SetDefaultConfigParams'\nexport * from './SetFeeParams'\nexport * from './SetWlCallerParams'\nexport * from './TransferAdminParams'\nexport * from './ValidatePacketParams'\nexport * from './Version'\nexport * from './WithdrawFeesParams'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type MessagingFee = {\n  nativeFee: beet.bignum\n  lzTokenFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const messagingFeeBeet = new beet.BeetArgsStruct<MessagingFee>(\n  [\n    ['nativeFee', beet.u64],\n    ['lzTokenFee', beet.u64],\n  ],\n  'MessagingFee'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type Version = {\n  major: beet.bignum\n  minor: number\n  endpointVersion: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const versionBeet = new beet.BeetArgsStruct<Version>(\n  [\n    ['major', beet.u64],\n    ['minor', beet.u8],\n    ['endpointVersion', beet.u8],\n  ],\n  'Version'\n)\n","import { PublicKey } from '@solana/web3.js'\nexport * from './accounts'\nexport * from './errors'\nexport * from './instructions'\nexport * from './types'\n\n/**\n * Program address\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ADDRESS = '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n\n/**\n * Program public key\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)\n","import {\n    AccountMeta,\n    Commitment,\n    Connection,\n    GetAccountInfoConfig,\n    PublicKey,\n    TransactionInstruction,\n} from '@solana/web3.js'\nimport BN from 'bn.js'\nimport invariant from 'tiny-invariant'\n\nimport { arrayify } from '@layerzerolabs/lz-utilities'\nimport { PacketV1Codec } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EndpointProgram, MessageLibInterface, SetConfigType, SolanaPacketPath } from '.'\nimport { DVN, accounts as DvnAccounts } from './dvn'\nimport { Executor, accounts as ExecutorAccounts } from './executor'\nimport { EndpointPDADeriver, EventPDADeriver, UlnPDADeriver } from './pda-deriver'\nimport * as accounts from '../generated/solita/uln/accounts'\nimport * as errors from '../generated/solita/uln/errors'\nimport * as events from '../generated/solita/uln/events'\nimport * as instructions from '../generated/solita/uln/instructions'\nimport * as types from '../generated/solita/uln/types'\n\nexport * from '../generated/solita/uln'\nexport { accounts, instructions, types, events, errors }\n\n/**\n * Interface representing the maximum message size.\n */\nexport interface MaxMessageSize {\n    /**\n     * The size of the message.\n     */\n    size: number\n\n    /**\n     * The kind of the message size.\n     */\n    __kind: 'MaxMessageSize'\n}\n\n/**\n * Interface representing the outbound confirmations.\n */\nexport interface OutboundConfirmations {\n    /**\n     * The number of confirmations.\n     */\n    confirmations: number\n\n    /**\n     * The kind of the outbound confirmations.\n     */\n    __kind: 'OutboundConfirmations'\n}\n\n/**\n * Interface representing the inbound confirmations.\n */\nexport interface InboundConfirmations {\n    /**\n     * The number of confirmations.\n     */\n    confirmations: number\n\n    /**\n     * The kind of the inbound confirmations.\n     */\n    __kind: 'InboundConfirmations'\n}\n\n/**\n * Interface representing the oracles.\n */\nexport interface Oracles {\n    /**\n     * Indicates if custom oracles are used.\n     */\n    useCustomOracles: boolean\n\n    /**\n     * The array of oracle public keys.\n     */\n    oracles: PublicKey[]\n\n    /**\n     * The kind of the oracles.\n     */\n    __kind: 'Oracles'\n}\n\n/**\n * Interface representing the optional oracles.\n */\nexport interface OptionalOracles {\n    /**\n     * Indicates if custom optional oracles are used.\n     */\n    useCustomOptionalOracles: boolean\n\n    /**\n     * The array of optional oracle public keys.\n     */\n    optionalOracles: PublicKey[]\n\n    /**\n     * The threshold for the optional oracles.\n     */\n    threshold: number\n\n    /**\n     * The kind of the optional oracles.\n     */\n    __kind: 'OptionalOracles'\n}\n\n/**\n * Class representing the ULN (Ultra Light Node).\n * @see {@link MessageLibInterface}\n */\nexport class Uln implements MessageLibInterface {\n    deriver: UlnPDADeriver\n    eventAuthorityPDA: PublicKey\n\n    /**\n     * Creates an instance of the Uln class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {\n        this.deriver = new UlnPDADeriver(program)\n        const [eventAuthorityPDA] = new EventPDADeriver(program).eventAuthority()\n        this.eventAuthorityPDA = eventAuthorityPDA\n    }\n\n    /**\n     * Initializes the ULN.\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number} eid - The endpoint ID.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initUln(endpointProgram: PublicKey, payer: PublicKey, admin: PublicKey, eid: number): TransactionInstruction {\n        const [setting] = this.deriver.setting()\n        const [msgLib] = this.deriver.messageLib()\n        const [endpointAuth] = new EndpointPDADeriver(endpointProgram).messageLibraryInfo(msgLib)\n        // const info = await connection.getAccountInfo(setting, commitmentOrConfig)\n        // if (info) {\n        //     throw new Error('uln already initialized')\n        // }\n\n        return instructions.createInitUlnInstruction(\n            {\n                payer,\n                uln: setting,\n            } satisfies instructions.InitUlnInstructionAccounts,\n            {\n                params: {\n                    eid,\n                    admin,\n                    endpoint: endpointAuth,\n                    endpointProgram: endpointProgram,\n                } satisfies types.InitUlnParams,\n            } satisfies instructions.InitUlnInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Initializes or updates the default configuration.\n     * before calling this function, you should call initUln to initialize the uln\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {types.UlnConfig} sendUlnConfig - The send ULN configuration.\n     * @param {types.UlnConfig} receiveUlnConfig - The receive ULN configuration.\n     * @param {types.ExecutorConfig} executorConfig - The executor configuration.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    async initOrUpdateDefaultConfig(\n        connection: Connection,\n        admin: PublicKey,\n        eid: number,\n        sendUlnConfig: types.UlnConfig,\n        receiveUlnConfig: types.UlnConfig,\n        executorConfig: types.ExecutorConfig,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<TransactionInstruction> {\n        const [setting] = this.deriver.setting()\n        const [sendConfigPDA] = this.deriver.defaultSendConfig(eid)\n        const [receiveConfigPDA] = this.deriver.defaultReceiveConfig(eid)\n        const configInfo = await connection.getAccountInfo(sendConfigPDA, commitmentOrConfig)\n        if (configInfo) {\n            // update default config\n            return instructions.createSetDefaultConfigInstruction(\n                {\n                    admin,\n                    uln: setting,\n                    sendConfig: sendConfigPDA,\n                    receiveConfig: receiveConfigPDA,\n                    eventAuthority: this.eventAuthorityPDA,\n                    program: this.program,\n                } satisfies instructions.SetDefaultConfigInstructionAccounts,\n                {\n                    params: {\n                        eid,\n                        sendUlnConfig,\n                        receiveUlnConfig,\n                        executorConfig,\n                    } satisfies types.SetDefaultConfigParams,\n                } satisfies instructions.SetDefaultConfigInstructionArgs,\n                this.program\n            )\n        } else {\n            // init default config\n            return instructions.createInitDefaultConfigInstruction(\n                {\n                    admin,\n                    uln: setting,\n                    sendConfig: sendConfigPDA,\n                    receiveConfig: receiveConfigPDA,\n                    eventAuthority: this.eventAuthorityPDA,\n                    program: this.program,\n                } satisfies instructions.InitDefaultConfigInstructionAccounts,\n                {\n                    params: {\n                        eid,\n                        sendUlnConfig,\n                        receiveUlnConfig,\n                        executorConfig,\n                    } satisfies types.InitDefaultConfigParams,\n                } satisfies instructions.InitDefaultConfigInstructionArgs,\n                this.program\n            )\n        }\n    }\n\n    // msg_lib -> msg_lib_program ->\n    /**\n     * Sets the treasury.\n     * before calling this function, you should call initUln to initialize the uln\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {object} treasury - The treasury object.\n     * @param {PublicKey} treasury.admin - The treasury admin public key.\n     * @param {PublicKey} treasury.nativeReceiver - The native receiver public key.\n     * @param {number} treasury.nativeFeeBps - The native fee basis points.\n     * @param {object} treasury.lzToken - The LZ token object.\n     * @param {PublicKey} treasury.lzToken.receiver - The LZ token receiver public key.\n     * @param {number} treasury.lzToken.fee - The LZ token fee.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    async setTreasury(\n        admin: PublicKey,\n        treasury: {\n            admin: PublicKey\n            nativeReceiver: PublicKey\n            nativeFeeBps: number\n            lzToken: { receiver: PublicKey; fee: number } | null\n        } | null\n    ): Promise<TransactionInstruction> {\n        const [setting] = this.deriver.setting()\n        const ix = instructions.createSetTreasuryInstruction(\n            {\n                signer: admin,\n                uln: setting,\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n            } satisfies instructions.SetTreasuryInstructionAccounts,\n            {\n                params: {\n                    treasury,\n                } satisfies types.SetTreasuryParams,\n            } satisfies instructions.SetTreasuryInstructionArgs,\n            this.program\n        )\n        return Promise.resolve(ix)\n    }\n\n    /**\n     * Transfers the admin role to a new admin.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The current admin public key.\n     * @param {PublicKey} newAdmin - The new admin public key.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     * @throws {Error} If the ULN is not initialized.\n     */\n    async transferAdmin(\n        connection: Connection,\n        admin: PublicKey,\n        newAdmin: PublicKey,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<TransactionInstruction> {\n        const [setting] = this.deriver.setting()\n        const info = await connection.getAccountInfo(setting, commitmentOrConfig)\n        if (!info) {\n            throw new Error('uln not initialized')\n        }\n        return instructions.createTransferAdminInstruction(\n            {\n                admin,\n                uln: setting,\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n            } satisfies instructions.TransferAdminInstructionAccounts,\n            {\n                params: {\n                    admin: newAdmin,\n                } satisfies types.TransferAdminParams,\n            } satisfies instructions.TransferAdminInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the quote instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} _payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {Commitment} [commitment] - The commitment level.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getQuoteIXAccountMetaForCPI(\n        connection: Connection,\n        _payer: PublicKey,\n        path: SolanaPacketPath,\n        commitment?: Commitment\n    ): Promise<AccountMeta[]> {\n        const { sender: sender_, dstEid } = path\n        const sender = new PublicKey(arrayify(sender_))\n        const [defaultSendConfig] = this.deriver.defaultSendConfig(dstEid)\n        const [sendConfig] = this.deriver.sendConfig(dstEid, sender)\n        const [setting] = this.deriver.setting()\n\n        const remainingAccounts = await this.getSendIxRemainingAccounts(connection, sender, dstEid, false, commitment)\n        const accounts = instructions.createQuoteInstructionAccounts(\n            {\n                endpoint: PublicKey.default, // useless\n                uln: setting,\n                sendConfig,\n                defaultSendConfig: defaultSendConfig,\n                anchorRemainingAccounts: remainingAccounts,\n            } satisfies instructions.QuoteInstructionAccounts,\n            this.program\n        )\n        return accounts.slice(1)\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the send instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {Commitment} [commitment='confirmed'] - The commitment level.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getSendIXAccountMetaForCPI(\n        connection: Connection,\n        payer: PublicKey,\n        path: SolanaPacketPath,\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { sender: sender_, dstEid } = path\n        const sender = new PublicKey(arrayify(sender_))\n        const [sendConfig] = this.deriver.sendConfig(dstEid, sender)\n        const [defaultSendConfig] = this.deriver.defaultSendConfig(dstEid)\n\n        const [setting] = this.deriver.setting()\n        const ulnState = await this.getSetting(connection, commitment)\n        const treasury = ulnState?.treasury?.nativeReceiver\n        const remainingAccounts = await this.getSendIxRemainingAccounts(connection, sender, dstEid, true, commitment)\n        const accounts = instructions.createSendInstructionAccounts(\n            {\n                endpoint: PublicKey.default, // useless\n                uln: setting,\n                sendConfig,\n                defaultSendConfig,\n                payer,\n                treasury,\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n                anchorRemainingAccounts: remainingAccounts,\n            } satisfies instructions.SendInstructionAccounts,\n            this.program\n        )\n        accounts.forEach((key) => {\n            if (!payer.equals(key.pubkey)) {\n                key.isSigner = false\n            }\n        })\n\n        if (treasury) {\n            const treasuryIndex = accounts.findIndex((k) => k.pubkey.toBase58() == treasury.toBase58())\n            accounts[treasuryIndex].isWritable = true // treasury account\n        }\n        return accounts.slice(1)\n    }\n\n    // 3 RPC requests\n    /**\n     * Gets the remaining accounts for the send instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {boolean} payment - Indicates if payment is required.\n     * @param {Commitment | GetAccountInfoConfig} [commitment='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getSendIxRemainingAccounts(\n        connection: Connection,\n        sender: PublicKey,\n        dstEid: number,\n        payment: boolean,\n        commitment: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { executor, dvns } = await this.getWorkers(connection, sender, dstEid, commitment)\n\n        const priceFeeds = new Array<PublicKey>()\n        ;[executor.config, ...dvns.map((dvn) => dvn.config)].forEach((config) => {\n            if (!priceFeeds.find((p) => p.equals(config.priceFeed))) {\n                priceFeeds.push(config.priceFeed)\n            }\n        })\n        const priceFeedInfos = await connection.getMultipleAccountsInfo(priceFeeds, commitment)\n        const priceFeedDict = priceFeedInfos.reduce((acc, info, i) => {\n            invariant(info, `priceFeed:${priceFeeds[i].toBase58()} not initialized`)\n            acc.set(priceFeeds[i].toBase58(), info.owner)\n            return acc\n        }, new Map<string, PublicKey>())\n        const executorAccounts = new Executor(executor.owner).getQuoteIXAccountMetaForCPI(\n            executor.config.priceFeed,\n            // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n            priceFeedDict.get(executor.config.priceFeed.toBase58())!,\n            payment\n        )\n        const dvnAccounts = dvns.map((p, i) => {\n            return new DVN(p.owner).getQuoteIXAccountMetaForCPI(\n                p.config.priceFeed,\n                // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n                priceFeedDict.get(p.config.priceFeed.toBase58())!,\n                payment\n            )\n        })\n        return executorAccounts.concat(dvnAccounts.flat())\n    }\n\n    /**\n     * Gets all workers (executor and DVN).\n     * 2 RPC requests\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitment='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<{ executor: { config: ExecutorAccounts.ExecutorConfig; owner: PublicKey }; dvns: { config: DvnAccounts.DvnConfig; owner: PublicKey }[] }>} A promise that resolves to an object containing the executor and DVN configurations.\n     */\n    async getWorkers(\n        connection: Connection,\n        sender: PublicKey,\n        eid: number,\n        commitment: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<{\n        executor: { config: ExecutorAccounts.ExecutorConfig; owner: PublicKey }\n        dvns: { config: DvnAccounts.DvnConfig; owner: PublicKey }[]\n    }> {\n        const [defaultSendConfig] = this.deriver.defaultSendConfig(eid)\n        const [sendConfig] = this.deriver.sendConfig(eid, sender)\n        const [defaultSendConfigBuf, sendConfigBuf] = await connection.getMultipleAccountsInfo(\n            [defaultSendConfig, sendConfig],\n            commitment\n        )\n        invariant(defaultSendConfigBuf, 'defaultSendConfig not initialized')\n\n        const [defaultSendConfigState] = accounts.SendConfig.fromAccountInfo(defaultSendConfigBuf)\n        const sendConfigState = sendConfigBuf ? accounts.SendConfig.fromAccountInfo(sendConfigBuf)[0] : null\n        const finalConfigState = this.getUlnConfigState(defaultSendConfigState, sendConfigState)\n        const finalExecutorConfigState = this.getExecutorConfigState(defaultSendConfigState, sendConfigState)\n\n        const { executor } = finalExecutorConfigState\n        const { requiredDvns, optionalDvns } = finalConfigState\n\n        const dvns = requiredDvns.concat(optionalDvns)\n        const [executorBuf, ...dvnBuf] = await connection.getMultipleAccountsInfo([executor, ...dvns], commitment)\n        invariant(executorBuf, `executor:${executor.toBase58()} not initialized`)\n\n        return {\n            executor: {\n                config: ExecutorAccounts.ExecutorConfig.fromAccountInfo(executorBuf)[0],\n                owner: executorBuf.owner,\n            },\n            dvns: dvnBuf.map((dvn, i) => {\n                invariant(dvn, `dvn:${dvns[i].toBase58()} not initialized`)\n                return {\n                    config: DvnAccounts.DvnConfig.fromAccountInfo(dvn)[0],\n                    owner: dvn.owner,\n                }\n            }),\n        }\n    }\n\n    /**\n     * Initializes the verification process.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} dvn - The DVN public key.\n     * @param {Uint8Array} packetBytes - The packet bytes.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    async initVerify(\n        connection: Connection,\n        payer: PublicKey,\n        dvn: PublicKey,\n        packetBytes: Uint8Array,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<TransactionInstruction | null> {\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        const [confirmationsPDA] = this.deriver.confirmations(headerHashBytes, payloadHashBytes, dvn)\n        const confirmationsInfo = await connection.getAccountInfo(confirmationsPDA, commitmentOrConfig)\n        if (confirmationsInfo) {\n            // throw new Error('init verify already executed')\n            return null\n        }\n        return instructions.createInitVerifyInstruction(\n            {\n                payer,\n                confirmations: confirmationsPDA,\n            } satisfies instructions.InitVerifyInstructionAccounts,\n            {\n                params: {\n                    packetHeader: Array.from(Uint8Array.from(Buffer.from(packet.header().slice(2), 'hex'))),\n                    payloadHash: Array.from(payloadHashBytes),\n                    dvn,\n                } satisfies types.InitVerifyParams,\n            } satisfies instructions.InitVerifyInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Verifies the packet.\n     *\n     * @param {PublicKey} dvn - The DVN public key.\n     * @param {Uint8Array} packetBytes - The packet bytes.\n     * @param {number | string} confirmations - The number of confirmations.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    verify(dvn: PublicKey, packetBytes: Uint8Array, confirmations: number | string): TransactionInstruction {\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        const [confirmationsPDA] = this.deriver.confirmations(headerHashBytes, payloadHashBytes, dvn)\n        return instructions.createVerifyInstruction(\n            {\n                dvn,\n                confirmations: confirmationsPDA,\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n            } satisfies instructions.VerifyInstructionAccounts,\n            {\n                params: {\n                    packetHeader: Array.from(Uint8Array.from(Buffer.from(packet.header().slice(2), 'hex'))),\n                    payloadHash: Array.from(payloadHashBytes),\n                    confirmations: typeof confirmations === 'string' ? new BN(confirmations) : confirmations,\n                } satisfies types.VerifyParams,\n            } satisfies instructions.VerifyInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Closes the verification process.\n     *\n     * @param {PublicKey} dvn - The DVN public key.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {Uint8Array} packetBytes - The packet bytes.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    closeVerify(dvn: PublicKey, receiver: PublicKey, packetBytes: Uint8Array): TransactionInstruction {\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        const [confirmationsPDA] = this.deriver.confirmations(headerHashBytes, payloadHashBytes, dvn)\n        return instructions.createCloseVerifyInstruction(\n            {\n                dvn,\n                receiver,\n                confirmations: confirmationsPDA,\n            } satisfies instructions.CloseVerifyInstructionAccounts,\n            {\n                params: {\n                    packetHeaderHash: Array.from(headerHashBytes),\n                    payloadHash: Array.from(payloadHashBytes),\n                } satisfies types.CloseVerifyParams,\n            } satisfies instructions.CloseVerifyInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Checks if the DVN is verified.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} dvn - The DVN public key.\n     * @param {Uint8Array} packetBytes - The packet bytes.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<boolean>} A promise that resolves to true if the DVN is verified, false otherwise.\n     */\n    async isDvnVerified(\n        connection: Connection,\n        endpointProgram: PublicKey,\n        dvn: PublicKey,\n        packetBytes: Uint8Array,\n        commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<boolean> {\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        const [confirmationsPDA] = this.deriver.confirmations(headerHashBytes, payloadHashBytes, dvn)\n        const endpoint = new EndpointProgram.Endpoint(endpointProgram)\n        const receiver = new PublicKey(arrayify(packet.receiver()))\n        const sender = arrayify(packet.sender())\n        const nonce = await endpoint.getNonce(connection, receiver, packet.srcEid(), sender, commitmentOrConfig)\n        const pendingNonce = await endpoint.getPendingInboundNonce(\n            connection,\n            receiver,\n            packet.srcEid(),\n            sender,\n            commitmentOrConfig\n        )\n        if (!nonce || !pendingNonce) {\n            return false\n        }\n\n        // after lzReceive, the inboundNonce is increased by 1\n        if (parseInt(nonce.inboundNonce.toString()) >= parseInt(packet.nonce())) {\n            return true\n        }\n        // after commitVerification, the nonce is added to pendingNonce\n        if (pendingNonce.nonces.find((n) => n.toString() === packet.nonce()) !== undefined) {\n            return true\n        }\n        try {\n            // before commitVerification, should call initVerify and verify\n            const confirmation = await accounts.Confirmations.fromAccountAddress(\n                connection,\n                confirmationsPDA,\n                commitmentOrConfig\n            )\n            if (confirmation.value === null) {\n                // initial value is null\n                // not verified\n                return false\n            } else {\n                // TODO check confirmation value\n                return true\n            }\n        } catch (e: unknown) {\n            // don't invoke initVerify\n            return false\n        }\n    }\n\n    /**\n     * Commits the verification process.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {Uint8Array} packetBytes - The packet bytes.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    async commitVerification(\n        connection: Connection,\n        endpointProgram: PublicKey,\n        packetBytes: Uint8Array\n    ): Promise<TransactionInstruction> {\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const payloadHash = packet.payloadHash()\n        const srcEid = packet.srcEid()\n        const receiver = new PublicKey(arrayify(packet.receiver()))\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        const [defaultReceiveConfig] = this.deriver.defaultReceiveConfig(srcEid)\n        const [receiveConfig] = this.deriver.receiveConfig(srcEid, receiver)\n        const [setting] = this.deriver.setting()\n        const [msgLib] = this.deriver.messageLib()\n        const receiveConfigState = await this.getFinalReceiveConfigState(connection, receiver, srcEid)\n\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n\n        const confirmations: AccountMeta[] = receiveConfigState.uln.requiredDvns\n            .concat(receiveConfigState.uln.optionalDvns)\n            .map((p) => {\n                const [confirmationsPDA] = this.deriver.confirmations(headerHashBytes, payloadHashBytes, p)\n                return {\n                    pubkey: confirmationsPDA,\n                    isSigner: false,\n                    isWritable: true,\n                }\n            })\n        const endpoint = new EndpointProgram.Endpoint(endpointProgram)\n        const verifyAccounts = endpoint.getVerifyIXAccountMetaForCPI(packet, msgLib)\n\n        return instructions.createCommitVerificationInstruction(\n            {\n                uln: setting,\n                defaultReceiveConfig,\n                receiveConfig,\n                anchorRemainingAccounts: confirmations.concat(verifyAccounts),\n            } satisfies instructions.CommitVerificationInstructionAccounts,\n            {\n                params: {\n                    packetHeader: Array.from(arrayify(packet.header())),\n                    payloadHash: Array.from(payloadHashBytes),\n                } satisfies types.CommitVerificationParams,\n            } satisfies instructions.CommitVerificationInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the init config instruction.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oappID - The OApp ID public key.\n     * @param {number} eid - The endpoint ID.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getInitConfigIXAccountMetaForCPI(payer: PublicKey, oappID: PublicKey, eid: number): AccountMeta[] {\n        const [sendConfig] = this.deriver.sendConfig(eid, oappID)\n        const [receiveConfig] = this.deriver.receiveConfig(eid, oappID)\n        const [setting] = this.deriver.setting()\n\n        const accounts = instructions.createInitConfigInstructionAccounts(\n            {\n                endpoint: PublicKey.default, // useless\n                payer,\n                uln: setting,\n                sendConfig,\n                receiveConfig,\n            } satisfies instructions.InitConfigInstructionAccounts,\n            this.program\n        )\n        accounts.forEach((key) => {\n            if (!payer.equals(key.pubkey)) {\n                key.isSigner = false\n            }\n        })\n        return accounts.slice(1)\n    }\n\n    /**\n     * Constructs the set config data.\n     *\n     * @param {SetConfigType} configType - The configuration type.\n     * @param {types.ExecutorConfig | types.UlnConfig} configData - The configuration data.\n     * @returns {Uint8Array} The constructed set config data.\n     * @throws {Error} If the configuration type is invalid.\n     */\n    static constructSetConfigData(\n        configType: SetConfigType,\n        configData: types.ExecutorConfig | types.UlnConfig\n    ): Uint8Array {\n        switch (configType) {\n            case SetConfigType.EXECUTOR: {\n                const [data] = types.executorConfigBeet.serialize(configData as types.ExecutorConfig)\n                return Uint8Array.from(data)\n            }\n            case SetConfigType.SEND_ULN:\n            case SetConfigType.RECEIVE_ULN: {\n                const [data] = types.ulnConfigBeet.serialize(configData as types.UlnConfig)\n                return Uint8Array.from(data)\n            }\n            default:\n                throw new Error(`invalid config type: ${configType as number}`)\n        }\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the set config instruction.\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} oappID - The OApp ID public key.\n     * @param {number} eid - The endpoint ID.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getSetConfigIXAccountMetaForCPI(\n        endpointProgram: PublicKey,\n        oappID: PublicKey,\n        eid: number\n    ): Promise<AccountMeta[]> {\n        const [sendConfig] = this.deriver.sendConfig(eid, oappID)\n        const [receiveConfig] = this.deriver.receiveConfig(eid, oappID)\n        const [defaultSendConfig] = this.deriver.defaultSendConfig(eid)\n        const [defaultReceiveConfig] = this.deriver.defaultReceiveConfig(eid)\n        const [setting] = this.deriver.setting()\n        const [msgLib] = this.deriver.messageLib()\n        const [msgLibInfo] = new EndpointPDADeriver(endpointProgram).messageLibraryInfo(msgLib)\n\n        const accounts = instructions.createSetConfigInstructionAccounts(\n            {\n                endpoint: msgLibInfo,\n                uln: setting,\n                sendConfig,\n                defaultSendConfig,\n                defaultReceiveConfig,\n                receiveConfig,\n                eventAuthority: this.eventAuthorityPDA,\n                program: this.program,\n            } satisfies instructions.SetConfigInstructionAccounts,\n            this.program\n        )\n        return Promise.resolve(accounts.slice(1))\n    }\n\n    //\n    // all of below functions are retrieving accounts state\n    /**\n     * Gets the ULN settings.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.UlnSettings | null>} A promise that resolves to the ULN settings or null if not found.\n     */\n    async getSetting(\n        connection: Connection,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.UlnSettings | null> {\n        const [setting] = this.deriver.setting()\n        try {\n            return await accounts.UlnSettings.fromAccountAddress(connection, setting, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the default send configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.SendConfig | null>} A promise that resolves to the default send configuration state or null if not found.\n     */\n    async getDefaultSendConfigState(\n        connection: Connection,\n        eid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.SendConfig | null> {\n        const [config] = this.deriver.defaultSendConfig(eid)\n        try {\n            return await accounts.SendConfig.fromAccountAddress(connection, config, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the send configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.SendConfig | null>} A promise that resolves to the send configuration state or null if not found.\n     */\n    async getSendConfigState(\n        connection: Connection,\n        sender: PublicKey,\n        eid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.SendConfig | null> {\n        const [config] = this.deriver.sendConfig(eid, sender)\n        try {\n            return await accounts.SendConfig.fromAccountAddress(connection, config, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the default receive configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.ReceiveConfig | null>} A promise that resolves to the default receive configuration state or null if not found.\n     */\n    async getDefaultReceiveConfigState(\n        connection: Connection,\n        eid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.ReceiveConfig | null> {\n        const [config] = this.deriver.defaultReceiveConfig(eid)\n        try {\n            return await accounts.ReceiveConfig.fromAccountAddress(connection, config, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the receive configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.ReceiveConfig | null>} A promise that resolves to the receive configuration state or null if not found.\n     */\n    async getReceiveConfigState(\n        connection: Connection,\n        receiver: PublicKey,\n        eid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.ReceiveConfig | null> {\n        const [config] = this.deriver.receiveConfig(eid, receiver)\n        try {\n            return await accounts.ReceiveConfig.fromAccountAddress(connection, config, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the final receive configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.ReceiveConfig>} A promise that resolves to the final receive configuration state.\n     * @throws {Error} If no DVN is found.\n     */\n    async getFinalReceiveConfigState(\n        connection: Connection,\n        receiver: PublicKey,\n        eid: number,\n        commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<accounts.ReceiveConfig> {\n        const [defaultConfig] = this.deriver.defaultReceiveConfig(eid)\n        const [customConfig] = this.deriver.receiveConfig(eid, receiver)\n\n        const [defaultConfigInfo, customConfigInfo] = await connection.getMultipleAccountsInfo(\n            [defaultConfig, customConfig],\n            commitmentOrConfig\n        )\n        if (defaultConfigInfo == null) {\n            throw new Error(`please init default receive config first. ${defaultConfig.toBase58()}`)\n        }\n        const defaultConfigState = accounts.ReceiveConfig.fromAccountInfo(defaultConfigInfo)[0]\n        const customConfigState = customConfigInfo ? accounts.ReceiveConfig.fromAccountInfo(customConfigInfo)[0] : null\n\n        const ulnConfigState = this.getUlnConfigState(defaultConfigState, customConfigState)\n        return accounts.ReceiveConfig.fromArgs({\n            bump: defaultConfigState.bump,\n            uln: ulnConfigState,\n        })\n    }\n\n    private getUlnConfigState(\n        defaultConfigState: accounts.ReceiveConfig | accounts.SendConfig,\n        customConfigState: accounts.ReceiveConfig | accounts.SendConfig | null\n    ): types.UlnConfig {\n        const NIL_CONFIRMATIONS = '18446744073709551615' // max uint64\n        const NIL_DVN_COUNT = '255'\n\n        const rtn_config: types.UlnConfig = {\n            confirmations: 0,\n            requiredDvnCount: 0,\n            optionalDvnCount: 0,\n            optionalDvnThreshold: 0,\n            requiredDvns: [],\n            optionalDvns: [],\n        }\n\n        if (customConfigState == null || customConfigState.uln.confirmations.toString() === '0') {\n            rtn_config.confirmations = defaultConfigState.uln.confirmations\n        } else if (customConfigState.uln.confirmations.toString() !== NIL_CONFIRMATIONS) {\n            rtn_config.confirmations = customConfigState.uln.confirmations\n        }\n\n        if (customConfigState == null || customConfigState.uln.requiredDvnCount == 0) {\n            if (defaultConfigState.uln.requiredDvnCount > 0) {\n                rtn_config.requiredDvns = defaultConfigState.uln.requiredDvns\n                rtn_config.requiredDvnCount = defaultConfigState.uln.requiredDvnCount\n            }\n        } else if (customConfigState.uln.requiredDvnCount.toString() !== NIL_DVN_COUNT) {\n            rtn_config.requiredDvns = customConfigState.uln.requiredDvns\n            rtn_config.requiredDvnCount = customConfigState.uln.requiredDvnCount\n        }\n\n        if (customConfigState == null || customConfigState.uln.optionalDvnCount == 0) {\n            if (defaultConfigState.uln.optionalDvnCount > 0) {\n                rtn_config.optionalDvns = defaultConfigState.uln.optionalDvns\n                rtn_config.optionalDvnCount = defaultConfigState.uln.optionalDvnCount\n                rtn_config.optionalDvnThreshold = defaultConfigState.uln.optionalDvnThreshold\n            }\n        } else if (customConfigState.uln.optionalDvnCount.toString() !== NIL_DVN_COUNT) {\n            rtn_config.optionalDvns = customConfigState.uln.optionalDvns\n            rtn_config.optionalDvnCount = customConfigState.uln.optionalDvnCount\n            rtn_config.optionalDvnThreshold = customConfigState.uln.optionalDvnThreshold\n        }\n\n        if (rtn_config.requiredDvnCount === 0 && rtn_config.optionalDvnCount === 0) {\n            throw new Error('no dvn')\n        }\n        return rtn_config\n    }\n\n    private getExecutorConfigState(\n        defaultConfigState: accounts.SendConfig,\n        customConfigState: accounts.SendConfig | null\n    ): types.ExecutorConfig {\n        const rtn_config: types.ExecutorConfig = {\n            maxMessageSize: 0,\n            executor: PublicKey.default,\n        }\n\n        if (customConfigState == null || customConfigState.executor.executor.equals(PublicKey.default)) {\n            rtn_config.executor = defaultConfigState.executor.executor\n        } else {\n            rtn_config.executor = customConfigState.executor.executor\n        }\n\n        if (customConfigState == null || customConfigState.executor.maxMessageSize === 0) {\n            rtn_config.maxMessageSize = defaultConfigState.executor.maxMessageSize\n        } else {\n            rtn_config.maxMessageSize = customConfigState.executor.maxMessageSize\n        }\n\n        return rtn_config\n    }\n}\n","import {\n    AccountMeta,\n    Commitment,\n    Connection,\n    GetAccountInfoConfig,\n    PublicKey,\n    TransactionInstruction,\n} from '@solana/web3.js'\n\nimport { EndpointId } from '@layerzerolabs/lz-definitions'\nimport { HashSigner, keccak_256 } from '@layerzerolabs/lz-foundation'\n\nimport { DVNDeriver, EventPDADeriver, PriceFeedPDADeriver } from './pda-deriver'\nimport { InitDvnParams, MultisigConfig, multisigConfigBeet } from '../generated/solita/dvn'\nimport * as accounts from '../generated/solita/dvn/accounts'\nimport * as errors from '../generated/solita/dvn/errors'\nimport * as events from '../generated/solita/dvn/events'\nimport * as instructions from '../generated/solita/dvn/instructions'\nimport * as types from '../generated/solita/dvn/types'\n\nexport { accounts, errors, instructions, types, events }\nexport { PROGRAM_ID } from '../generated/solita/dvn'\n\n/**\n * Interface representing a sign function.\n */\nexport interface SignFunc {\n    /**\n     * Signs a message.\n     *\n     * @param {Buffer} message - The message to sign.\n     * @returns {Promise<{ signature: Uint8Array; recoveryId: number }[]>} A promise that resolves to an array of signature objects.\n     */\n    sign(message: Buffer): Promise<\n        {\n            signature: Uint8Array\n            recoveryId: number\n        }[]\n    >\n}\n\n/**\n * Class representing a Solana signer extension.\n */\nexport class SolanaSignerExt implements SignFunc {\n    private readonly signers: HashSigner[]\n\n    private constructor(signers: HashSigner[]) {\n        this.signers = signers\n    }\n\n    /**\n     * Creates an instance of the SolanaSignerExt class.\n     *\n     * @param {HashSigner[]} signers - The signers.\n     * @returns {SolanaSignerExt} The SolanaSignerExt instance.\n     */\n    static from(signers: HashSigner[]): SolanaSignerExt {\n        return new SolanaSignerExt(signers)\n    }\n\n    /**\n     * Signs a message.\n     *\n     * @param {Buffer} message - The message to sign.\n     * @returns {Promise<{ signature: Uint8Array; recoveryId: number }[]>} A promise that resolves to an array of signature objects.\n     */\n    async sign(message: Buffer): Promise<{ signature: Uint8Array; recoveryId: number }[]> {\n        return Promise.all(\n            this.signers.map(async (s) => {\n                const rv = await s.signHash(message)\n                return { signature: rv.slice(0, 64), recoveryId: rv[64] }\n            })\n        )\n    }\n}\n\n/**\n * Class representing a DVN (Decentralized Validator Network).\n */\nexport class DVN {\n    dvnDeriver: DVNDeriver\n    vid: number\n    eventAuthority: PublicKey\n\n    /**\n     * Creates an instance of the DVN class.\n     *\n     * @param {PublicKey} programId - The program ID.\n     * @param {EndpointId} [endpointId=EndpointId.SOLANA_V2_SANDBOX] - The endpoint ID.\n     */\n    constructor(\n        readonly programId: PublicKey,\n        endpointId: EndpointId = EndpointId.SOLANA_V2_SANDBOX\n    ) {\n        this.dvnDeriver = new DVNDeriver(programId)\n        this.vid = endpointId % 30000\n        this.eventAuthority = new EventPDADeriver(programId).eventAuthority()[0]\n    }\n\n    /**\n     * Initializes the DVN.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {PublicKey} payer - The payer.\n     * @param {InitDvnParams} params - The initialization parameters.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     * @throws {Error} If the DVN is already initialized.\n     */\n    async initDVN(connection: Connection, payer: PublicKey, params: InitDvnParams): Promise<TransactionInstruction> {\n        const [config] = this.dvnDeriver.config()\n        const info = await connection.getAccountInfo(config)\n        if (info) {\n            throw new Error('DVN already initialized')\n        }\n        return instructions.createInitDvnInstruction(\n            {\n                payer,\n                config,\n            } satisfies instructions.InitDvnInstructionAccounts,\n            {\n                params,\n            } satisfies instructions.InitDvnInstructionArgs,\n            this.programId\n        )\n    }\n\n    /**\n     * Gets the digest for a transaction.\n     *\n     * @param {number} vid - The validator ID.\n     * @param {TransactionInstruction} instruction - The transaction instruction.\n     * @param {number} expiration - The expiration time.\n     * @returns {types.ExecuteTransactionDigest} The transaction digest.\n     */\n    getDigest(vid: number, instruction: TransactionInstruction, expiration: number): types.ExecuteTransactionDigest {\n        return {\n            vid,\n            programId: instruction.programId,\n            accounts: instruction.keys.map((key) => {\n                return {\n                    pubkey: key.pubkey,\n                    isSigner: key.isSigner,\n                    isWritable: key.isWritable,\n                }\n            }),\n            data: instruction.data,\n            expiration,\n        }\n    }\n\n    /**\n     * Gets the execute hash for a given hash bytes.\n     *\n     * @param {Buffer} hashBytes - The hash bytes.\n     * @returns {PublicKey} The execute hash.\n     */\n    getExecuteHash(hashBytes: Buffer): PublicKey {\n        const [executeHash] = this.dvnDeriver.executeHash(hashBytes)\n        return executeHash\n    }\n\n    /**\n     * Gets the hash bytes for a given digest.\n     *\n     * @param {types.ExecuteTransactionDigest} digest - The transaction digest.\n     * @returns {Buffer} The hash bytes.\n     */\n    getHashBytes(digest: types.ExecuteTransactionDigest): Buffer {\n        const [digestBytes] = types.executeTransactionDigestBeet.serialize(digest)\n\n        const hash = keccak_256(digestBytes)\n        return Buffer.from(hash)\n    }\n\n    /**\n     * Invokes a transaction.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {number} vid - The validator ID.\n     * @param {PublicKey} payer - The payer.\n     * @param {TransactionInstruction} instruction - The transaction instruction.\n     * @param {number} expiration - The expiration time.\n     * @param {SignFunc} sign - The sign function.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     * @throws {Error} If the DVN is not initialized.\n     */\n    async invoke(\n        connection: Connection,\n        vid: number,\n        payer: PublicKey,\n        instruction: TransactionInstruction,\n        expiration: number,\n        sign: SignFunc\n    ): Promise<TransactionInstruction> {\n        const configState = await this.getConfigState(connection, 'confirmed')\n        if (!configState) {\n            throw new Error('DVN not initialized')\n        }\n        const [config] = this.dvnDeriver.config()\n        const digest: types.ExecuteTransactionDigest = this.getDigest(vid, instruction, expiration)\n        const hashBytes = this.getHashBytes(digest)\n        const executeHash = this.getExecuteHash(hashBytes)\n        const signatures: number[][] = []\n        const signResult = await sign.sign(hashBytes)\n        signatures.push(...signResult.map((s) => Array.from(s.signature).concat([s.recoveryId])))\n        const param: types.InvokeParams = {\n            digest,\n            signatures,\n        }\n        const remainingAccounts = instruction.keys.map((key) => {\n            key.isSigner = false\n            return key\n        })\n        return instructions.createInvokeInstruction(\n            {\n                signer: payer,\n                config,\n                executeHash,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n                anchorRemainingAccounts: [\n                    {\n                        pubkey: instruction.programId,\n                        isSigner: false,\n                        isWritable: false,\n                    },\n                ].concat(remainingAccounts),\n            } satisfies instructions.InvokeInstructionAccounts,\n            {\n                params: param,\n            } satisfies instructions.InvokeInstructionArgs,\n            this.programId\n        )\n    }\n\n    /**\n     * Creates a transaction instruction to set the quorum.\n     *\n     * @param {number} quorum - The quorum.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetQuorumInstruction(quorum: number): TransactionInstruction {\n        const params: MultisigConfig = {\n            fields: [quorum],\n            __kind: 'Quorum',\n        }\n        const fixedBeet = multisigConfigBeet.toFixedFromValue(params)\n        const buffer = Buffer.alloc(fixedBeet.byteSize)\n        fixedBeet.write(buffer, 0, params)\n        return new TransactionInstruction({\n            programId: this.programId,\n            keys: [],\n            data: buffer,\n        })\n    }\n\n    /**\n     * Creates a transaction instruction to set the admins.\n     *\n     * @param {PublicKey[]} admins - The admin public keys.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetAdminsInstruction(admins: PublicKey[]): TransactionInstruction {\n        const params: MultisigConfig = {\n            fields: [admins] satisfies [PublicKey[]],\n            __kind: 'Admins',\n        }\n        const fixedBeet = multisigConfigBeet.toFixedFromValue(params)\n        const buffer = Buffer.alloc(fixedBeet.byteSize)\n        fixedBeet.write(buffer, 0, params)\n        return new TransactionInstruction({\n            programId: this.programId,\n            keys: [],\n            data: buffer,\n        })\n    }\n\n    /**\n     * Creates a transaction instruction to set the signers.\n     *\n     * @param {Uint8Array[]} signers - The signer public keys.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetSignersInstruction(signers: Uint8Array[]): TransactionInstruction {\n        const params: MultisigConfig = {\n            fields: [signers.map((s) => Array.from(s))],\n            __kind: 'Signers',\n        }\n        const fixedBeet = multisigConfigBeet.toFixedFromValue(params)\n        const buffer = Buffer.alloc(fixedBeet.byteSize)\n        fixedBeet.write(buffer, 0, params)\n        return new TransactionInstruction({\n            programId: this.programId,\n            keys: [],\n            data: buffer,\n        })\n    }\n\n    /**\n     * Creates a transaction instruction to set the allowlist.\n     *\n     * @param {PublicKey[]} allowlist - The allowlist public keys.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetAllowlistInstruction(allowlist: PublicKey[]): TransactionInstruction {\n        const params: MultisigConfig = {\n            fields: [allowlist],\n            __kind: 'Allowlist',\n        }\n        const fixedBeet = multisigConfigBeet.toFixedFromValue(params)\n        const buffer = Buffer.alloc(fixedBeet.byteSize)\n        fixedBeet.write(buffer, 0, params)\n        return new TransactionInstruction({\n            programId: this.programId,\n            keys: [],\n            data: buffer,\n        })\n    }\n\n    /**\n     * Creates a transaction instruction to set the denylist.\n     *\n     * @param {PublicKey[]} denylist - The denylist public keys.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetDenylistInstruction(denylist: PublicKey[]): TransactionInstruction {\n        const params: MultisigConfig = {\n            fields: [denylist],\n            __kind: 'Denylist',\n        }\n        const fixedBeet = multisigConfigBeet.toFixedFromValue(params)\n        const buffer = Buffer.alloc(fixedBeet.byteSize)\n        fixedBeet.write(buffer, 0, params)\n        return new TransactionInstruction({\n            programId: this.programId,\n            keys: [],\n            data: buffer,\n        })\n    }\n\n    /**\n     * Creates a transaction instruction to set the pause state.\n     *\n     * @param {boolean} pause - The pause state.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetPauseInstruction(pause: boolean): TransactionInstruction {\n        const params: MultisigConfig = {\n            fields: [pause],\n            __kind: 'Paused',\n        }\n        const fixedBeet = multisigConfigBeet.toFixedFromValue(params)\n        const buffer = Buffer.alloc(fixedBeet.byteSize)\n        fixedBeet.write(buffer, 0, params)\n        return new TransactionInstruction({\n            programId: this.programId,\n            keys: [],\n            data: buffer,\n        })\n    }\n\n    /**\n     * Creates a transaction instruction to set the default multiplier basis points.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number} defaultMultiplierBps - The default multiplier basis points.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetDefaultMultiplierBpsInstruction(admin: PublicKey, defaultMultiplierBps: number): TransactionInstruction {\n        const [configAccount] = this.dvnDeriver.config()\n        return instructions.createSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            } satisfies instructions.SetConfigInstructionAccounts,\n            {\n                params: {\n                    config: {\n                        fields: [defaultMultiplierBps],\n                        __kind: 'DefaultMultiplierBps',\n                    },\n                },\n            } satisfies instructions.SetConfigInstructionArgs,\n            this.programId\n        )\n    }\n\n    /**\n     * Creates a transaction instruction to change the admins.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey[]} admins - The new admin public keys.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createChangeAdminsInstruction(admin: PublicKey, admins: PublicKey[]): TransactionInstruction {\n        const [configAccount] = this.dvnDeriver.config()\n        return instructions.createSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            } satisfies instructions.SetConfigInstructionAccounts,\n            {\n                params: {\n                    config: {\n                        fields: [admins],\n                        __kind: 'Admins',\n                    },\n                },\n            } satisfies instructions.SetConfigInstructionArgs,\n            this.programId\n        )\n    }\n\n    /**\n     * Creates a transaction instruction to set the destination configurations.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {types.DstConfig[]} dstConfigs - The destination configurations.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetDstConfigInstruction(admin: PublicKey, dstConfigs: types.DstConfig[]): TransactionInstruction {\n        const [configAccount] = this.dvnDeriver.config()\n        return instructions.createSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            } satisfies instructions.SetConfigInstructionAccounts,\n            {\n                params: {\n                    config: {\n                        fields: [dstConfigs],\n                        __kind: 'DstConfigs',\n                    },\n                },\n            } satisfies instructions.SetConfigInstructionArgs,\n            this.programId\n        )\n    }\n\n    /**\n     * Creates a transaction instruction to remove the destination configurations.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number[]} removeEids - The endpoint IDs to remove.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createRemoveDstConfigInstruction(admin: PublicKey, removeEids: number[]): TransactionInstruction {\n        const [configAccount] = this.dvnDeriver.config()\n        return instructions.createSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            } satisfies instructions.SetConfigInstructionAccounts,\n            {\n                params: {\n                    config: {\n                        fields: [removeEids],\n                        __kind: 'RemoveDstConfigs',\n                    },\n                },\n            } satisfies instructions.SetConfigInstructionArgs,\n            this.programId\n        )\n    }\n\n    /**\n     * Creates a transaction instruction to set the message libraries.\n     *\n     * @param {PublicKey[]} msglibPrograms - The message library public keys.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetMsgLibsInstruction(msglibPrograms: PublicKey[]): TransactionInstruction {\n        const params: MultisigConfig = {\n            fields: [msglibPrograms],\n            __kind: 'Msglibs',\n        }\n        const fixedBeet = multisigConfigBeet.toFixedFromValue(params)\n        const buffer = Buffer.alloc(fixedBeet.byteSize)\n        fixedBeet.write(buffer, 0, params)\n        return new TransactionInstruction({\n            programId: this.programId,\n            keys: [],\n            data: buffer,\n        })\n    }\n\n    /**\n     * Gets the expiration time.\n     *\n     * @returns {number} The expiration time.\n     */\n    _getExpiration(): number {\n        return new Date().getTime() / 1000 + 120\n    }\n\n    /**\n     * Sets the message libraries.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {PublicKey} payer - The payer.\n     * @param {PublicKey[]} msgLibs - The message library public keys.\n     * @param {SignFunc} sign - The sign function.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    async setMsgLibs(\n        connection: Connection,\n        payer: PublicKey,\n        msgLibs: PublicKey[],\n        sign: SignFunc\n    ): Promise<TransactionInstruction> {\n        const expiration = this._getExpiration()\n        return this.invoke(connection, this.vid, payer, this.createSetMsgLibsInstruction(msgLibs), expiration, sign)\n    }\n\n    /**\n     * Creates a transaction instruction to set the price feed.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} priceFeedProgram - The price feed program public key.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    createSetPriceFeedInstruction(admin: PublicKey, priceFeedProgram: PublicKey): TransactionInstruction {\n        const [configAccount] = this.dvnDeriver.config()\n        const [priceFeedPda] = new PriceFeedPDADeriver(priceFeedProgram).priceFeed()\n        return instructions.createSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            } satisfies instructions.SetConfigInstructionAccounts,\n            {\n                params: {\n                    config: {\n                        fields: [priceFeedPda],\n                        __kind: 'PriceFeed',\n                    },\n                },\n            } satisfies instructions.SetConfigInstructionArgs,\n            this.programId\n        )\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the quote instruction.\n     *\n     * @param {PublicKey} priceFeedConfig - The price feed configuration public key.\n     * @param {PublicKey} priceFeedProgram - The price feed program public key.\n     * @param {boolean} payment - Indicates if payment is required.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getQuoteIXAccountMetaForCPI(\n        priceFeedConfig: PublicKey,\n        priceFeedProgram: PublicKey,\n        payment: boolean\n    ): AccountMeta[] {\n        const [config] = this.dvnDeriver.config()\n        const keys = instructions.createQuoteDvnInstructionAccounts(\n            {\n                dvnConfig: config,\n                priceFeedConfig,\n                priceFeedProgram: priceFeedProgram,\n            } satisfies instructions.QuoteDvnInstructionAccounts,\n            this.programId\n        )\n        if (payment) {\n            // if payment is required, the first account is required to be writable to receive the payment\n            keys[0].isWritable = true\n        }\n        return [\n            {\n                pubkey: this.programId,\n                isWritable: false,\n                isSigner: false,\n            },\n        ].concat(keys)\n    }\n\n    /**\n     * Gets the configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {Commitment | GetAccountInfoConfig} [commitment='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.DvnConfig | null>} A promise that resolves to the configuration state or null if not found.\n     */\n    async getConfigState(\n        connection: Connection,\n        commitment: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<accounts.DvnConfig | null> {\n        const [config] = this.dvnDeriver.config()\n        try {\n            return await accounts.DvnConfig.fromAccountAddress(connection, config, commitment)\n        } catch (e) {\n            return null\n        }\n    }\n}\n","import { PublicKey } from '@solana/web3.js'\nexport * from './accounts'\nexport * from './errors'\nexport * from './instructions'\nexport * from './types'\n\n/**\n * Program address\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ADDRESS = 'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n\n/**\n * Program public key\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)\n","export * from './DvnConfig'\nexport * from './ExecuteHash'\nexport * from './ReceiveConfig'\n\nimport { DvnConfig } from './DvnConfig'\nimport { ExecuteHash } from './ExecuteHash'\nimport { ReceiveConfig } from './ReceiveConfig'\n\nexport const accountProviders = { DvnConfig, ExecuteHash, ReceiveConfig }\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type Multisig = {\n  signers: number[] /* size: 64 */[]\n  quorum: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const multisigBeet = new beet.FixableBeetArgsStruct<Multisig>(\n  [\n    ['signers', beet.array(beet.uniformFixedSizeArray(beet.u8, 64))],\n    ['quorum', beet.u8],\n  ],\n  'Multisig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type Acl = {\n  allowList: web3.PublicKey[]\n  denyList: web3.PublicKey[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const aclBeet = new beet.FixableBeetArgsStruct<Acl>(\n  [\n    ['allowList', beet.array(beetSolana.publicKey)],\n    ['denyList', beet.array(beetSolana.publicKey)],\n  ],\n  'Acl'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type DstConfig = {\n  eid: number\n  dstGas: number\n  multiplierBps: beet.COption<number>\n  floorMarginUsd: beet.COption<beet.bignum>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const dstConfigBeet = new beet.FixableBeetArgsStruct<DstConfig>(\n  [\n    ['eid', beet.u32],\n    ['dstGas', beet.u32],\n    ['multiplierBps', beet.coption(beet.u16)],\n    ['floorMarginUsd', beet.coption(beet.u128)],\n  ],\n  'DstConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { Multisig, multisigBeet } from '../types/Multisig'\nimport { Acl, aclBeet } from '../types/Acl'\nimport { DstConfig, dstConfigBeet } from '../types/DstConfig'\n\n/**\n * Arguments used to create {@link DvnConfig}\n * @category Accounts\n * @category generated\n */\nexport type DvnConfigArgs = {\n  vid: number\n  bump: number\n  multisig: Multisig\n  acl: Acl\n  paused: boolean\n  msglibs: web3.PublicKey[]\n  admins: web3.PublicKey[]\n  priceFeed: web3.PublicKey\n  dstConfigs: DstConfig[]\n  defaultMultiplierBps: number\n}\n\nexport const dvnConfigDiscriminator = [49, 81, 33, 98, 234, 168, 93, 73]\n/**\n * Holds the data for the {@link DvnConfig} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class DvnConfig implements DvnConfigArgs {\n  private constructor(\n    readonly vid: number,\n    readonly bump: number,\n    readonly multisig: Multisig,\n    readonly acl: Acl,\n    readonly paused: boolean,\n    readonly msglibs: web3.PublicKey[],\n    readonly admins: web3.PublicKey[],\n    readonly priceFeed: web3.PublicKey,\n    readonly dstConfigs: DstConfig[],\n    readonly defaultMultiplierBps: number\n  ) {}\n\n  /**\n   * Creates a {@link DvnConfig} instance from the provided args.\n   */\n  static fromArgs(args: DvnConfigArgs) {\n    return new DvnConfig(\n      args.vid,\n      args.bump,\n      args.multisig,\n      args.acl,\n      args.paused,\n      args.msglibs,\n      args.admins,\n      args.priceFeed,\n      args.dstConfigs,\n      args.defaultMultiplierBps\n    )\n  }\n\n  /**\n   * Deserializes the {@link DvnConfig} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [DvnConfig, number] {\n    return DvnConfig.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link DvnConfig} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<DvnConfig> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find DvnConfig account at ${address}`)\n    }\n    return DvnConfig.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, dvnConfigBeet)\n  }\n\n  /**\n   * Deserializes the {@link DvnConfig} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [DvnConfig, number] {\n    return dvnConfigBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link DvnConfig} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return dvnConfigBeet.serialize({\n      accountDiscriminator: dvnConfigDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link DvnConfig} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: DvnConfigArgs) {\n    const instance = DvnConfig.fromArgs(args)\n    return dvnConfigBeet.toFixedFromValue({\n      accountDiscriminator: dvnConfigDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link DvnConfig} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: DvnConfigArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      DvnConfig.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link DvnConfig} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      vid: this.vid,\n      bump: this.bump,\n      multisig: this.multisig,\n      acl: this.acl,\n      paused: this.paused,\n      msglibs: this.msglibs,\n      admins: this.admins,\n      priceFeed: this.priceFeed.toBase58(),\n      dstConfigs: this.dstConfigs,\n      defaultMultiplierBps: this.defaultMultiplierBps,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const dvnConfigBeet = new beet.FixableBeetStruct<\n  DvnConfig,\n  DvnConfigArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['vid', beet.u32],\n    ['bump', beet.u8],\n    ['multisig', multisigBeet],\n    ['acl', aclBeet],\n    ['paused', beet.bool],\n    ['msglibs', beet.array(beetSolana.publicKey)],\n    ['admins', beet.array(beetSolana.publicKey)],\n    ['priceFeed', beetSolana.publicKey],\n    ['dstConfigs', beet.array(dstConfigBeet)],\n    ['defaultMultiplierBps', beet.u16],\n  ],\n  DvnConfig.fromArgs,\n  'DvnConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link ExecuteHash}\n * @category Accounts\n * @category generated\n */\nexport type ExecuteHashArgs = {\n  expiration: beet.bignum\n  bump: number\n}\n\nexport const executeHashDiscriminator = [34, 17, 137, 123, 62, 25, 205, 155]\n/**\n * Holds the data for the {@link ExecuteHash} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class ExecuteHash implements ExecuteHashArgs {\n  private constructor(\n    readonly expiration: beet.bignum,\n    readonly bump: number\n  ) {}\n\n  /**\n   * Creates a {@link ExecuteHash} instance from the provided args.\n   */\n  static fromArgs(args: ExecuteHashArgs) {\n    return new ExecuteHash(args.expiration, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link ExecuteHash} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [ExecuteHash, number] {\n    return ExecuteHash.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link ExecuteHash} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<ExecuteHash> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find ExecuteHash account at ${address}`)\n    }\n    return ExecuteHash.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, executeHashBeet)\n  }\n\n  /**\n   * Deserializes the {@link ExecuteHash} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [ExecuteHash, number] {\n    return executeHashBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link ExecuteHash} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return executeHashBeet.serialize({\n      accountDiscriminator: executeHashDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link ExecuteHash}\n   */\n  static get byteSize() {\n    return executeHashBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link ExecuteHash} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      ExecuteHash.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link ExecuteHash} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === ExecuteHash.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link ExecuteHash} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      expiration: (() => {\n        const x = <{ toNumber: () => number }>this.expiration\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const executeHashBeet = new beet.BeetStruct<\n  ExecuteHash,\n  ExecuteHashArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['expiration', beet.i64],\n    ['bump', beet.u8],\n  ],\n  ExecuteHash.fromArgs,\n  'ExecuteHash'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type UlnConfig = {\n  confirmations: beet.bignum\n  requiredDvnCount: number\n  optionalDvnCount: number\n  optionalDvnThreshold: number\n  requiredDvns: web3.PublicKey[]\n  optionalDvns: web3.PublicKey[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const ulnConfigBeet = new beet.FixableBeetArgsStruct<UlnConfig>(\n  [\n    ['confirmations', beet.u64],\n    ['requiredDvnCount', beet.u8],\n    ['optionalDvnCount', beet.u8],\n    ['optionalDvnThreshold', beet.u8],\n    ['requiredDvns', beet.array(beetSolana.publicKey)],\n    ['optionalDvns', beet.array(beetSolana.publicKey)],\n  ],\n  'UlnConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { UlnConfig, ulnConfigBeet } from '../types/UlnConfig'\n\n/**\n * Arguments used to create {@link ReceiveConfig}\n * @category Accounts\n * @category generated\n */\nexport type ReceiveConfigArgs = {\n  bump: number\n  uln: UlnConfig\n}\n\nexport const receiveConfigDiscriminator = [162, 159, 153, 188, 56, 65, 245, 58]\n/**\n * Holds the data for the {@link ReceiveConfig} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class ReceiveConfig implements ReceiveConfigArgs {\n  private constructor(readonly bump: number, readonly uln: UlnConfig) {}\n\n  /**\n   * Creates a {@link ReceiveConfig} instance from the provided args.\n   */\n  static fromArgs(args: ReceiveConfigArgs) {\n    return new ReceiveConfig(args.bump, args.uln)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveConfig} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [ReceiveConfig, number] {\n    return ReceiveConfig.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link ReceiveConfig} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<ReceiveConfig> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find ReceiveConfig account at ${address}`)\n    }\n    return ReceiveConfig.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, receiveConfigBeet)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveConfig} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [ReceiveConfig, number] {\n    return receiveConfigBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link ReceiveConfig} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return receiveConfigBeet.serialize({\n      accountDiscriminator: receiveConfigDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link ReceiveConfig} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: ReceiveConfigArgs) {\n    const instance = ReceiveConfig.fromArgs(args)\n    return receiveConfigBeet.toFixedFromValue({\n      accountDiscriminator: receiveConfigDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link ReceiveConfig} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: ReceiveConfigArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      ReceiveConfig.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link ReceiveConfig} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      uln: this.uln,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const receiveConfigBeet = new beet.FixableBeetStruct<\n  ReceiveConfig,\n  ReceiveConfigArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['uln', ulnConfigBeet],\n  ],\n  ReceiveConfig.fromArgs,\n  'ReceiveConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\ntype ErrorWithCode = Error & { code: number }\ntype MaybeErrorWithCode = ErrorWithCode | null | undefined\n\nconst createErrorFromCodeLookup: Map<number, () => ErrorWithCode> = new Map()\nconst createErrorFromNameLookup: Map<string, () => ErrorWithCode> = new Map()\n\n/**\n * InvalidSignatureLen: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidSignatureLenError extends Error {\n  readonly code: number = 0x1770\n  readonly name: string = 'InvalidSignatureLen'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidSignatureLenError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1770, () => new InvalidSignatureLenError())\ncreateErrorFromNameLookup.set(\n  'InvalidSignatureLen',\n  () => new InvalidSignatureLenError()\n)\n\n/**\n * NotAdmin: ''\n *\n * @category Errors\n * @category generated\n */\nexport class NotAdminError extends Error {\n  readonly code: number = 0x1771\n  readonly name: string = 'NotAdmin'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, NotAdminError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1771, () => new NotAdminError())\ncreateErrorFromNameLookup.set('NotAdmin', () => new NotAdminError())\n\n/**\n * MsgLibNotAllowed: ''\n *\n * @category Errors\n * @category generated\n */\nexport class MsgLibNotAllowedError extends Error {\n  readonly code: number = 0x1772\n  readonly name: string = 'MsgLibNotAllowed'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, MsgLibNotAllowedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1772, () => new MsgLibNotAllowedError())\ncreateErrorFromNameLookup.set(\n  'MsgLibNotAllowed',\n  () => new MsgLibNotAllowedError()\n)\n\n/**\n * InvalidQuorum: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidQuorumError extends Error {\n  readonly code: number = 0x1773\n  readonly name: string = 'InvalidQuorum'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidQuorumError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1773, () => new InvalidQuorumError())\ncreateErrorFromNameLookup.set('InvalidQuorum', () => new InvalidQuorumError())\n\n/**\n * InvalidSignersLen: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidSignersLenError extends Error {\n  readonly code: number = 0x1774\n  readonly name: string = 'InvalidSignersLen'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidSignersLenError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1774, () => new InvalidSignersLenError())\ncreateErrorFromNameLookup.set(\n  'InvalidSignersLen',\n  () => new InvalidSignersLenError()\n)\n\n/**\n * UniqueOwners: ''\n *\n * @category Errors\n * @category generated\n */\nexport class UniqueOwnersError extends Error {\n  readonly code: number = 0x1775\n  readonly name: string = 'UniqueOwners'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, UniqueOwnersError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1775, () => new UniqueOwnersError())\ncreateErrorFromNameLookup.set('UniqueOwners', () => new UniqueOwnersError())\n\n/**\n * SignatureError: ''\n *\n * @category Errors\n * @category generated\n */\nexport class SignatureErrorError extends Error {\n  readonly code: number = 0x1776\n  readonly name: string = 'SignatureError'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, SignatureErrorError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1776, () => new SignatureErrorError())\ncreateErrorFromNameLookup.set('SignatureError', () => new SignatureErrorError())\n\n/**\n * SignerNotInCommittee: ''\n *\n * @category Errors\n * @category generated\n */\nexport class SignerNotInCommitteeError extends Error {\n  readonly code: number = 0x1777\n  readonly name: string = 'SignerNotInCommittee'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, SignerNotInCommitteeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1777, () => new SignerNotInCommitteeError())\ncreateErrorFromNameLookup.set(\n  'SignerNotInCommittee',\n  () => new SignerNotInCommitteeError()\n)\n\n/**\n * TooManyAdmins: ''\n *\n * @category Errors\n * @category generated\n */\nexport class TooManyAdminsError extends Error {\n  readonly code: number = 0x1778\n  readonly name: string = 'TooManyAdmins'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, TooManyAdminsError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1778, () => new TooManyAdminsError())\ncreateErrorFromNameLookup.set('TooManyAdmins', () => new TooManyAdminsError())\n\n/**\n * TooManyOptionTypes: ''\n *\n * @category Errors\n * @category generated\n */\nexport class TooManyOptionTypesError extends Error {\n  readonly code: number = 0x1779\n  readonly name: string = 'TooManyOptionTypes'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, TooManyOptionTypesError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1779, () => new TooManyOptionTypesError())\ncreateErrorFromNameLookup.set(\n  'TooManyOptionTypes',\n  () => new TooManyOptionTypesError()\n)\n\n/**\n * DuplicateSignature: ''\n *\n * @category Errors\n * @category generated\n */\nexport class DuplicateSignatureError extends Error {\n  readonly code: number = 0x177a\n  readonly name: string = 'DuplicateSignature'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, DuplicateSignatureError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177a, () => new DuplicateSignatureError())\ncreateErrorFromNameLookup.set(\n  'DuplicateSignature',\n  () => new DuplicateSignatureError()\n)\n\n/**\n * Expired: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ExpiredError extends Error {\n  readonly code: number = 0x177b\n  readonly name: string = 'Expired'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ExpiredError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177b, () => new ExpiredError())\ncreateErrorFromNameLookup.set('Expired', () => new ExpiredError())\n\n/**\n * InvalidVid: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidVidError extends Error {\n  readonly code: number = 0x177c\n  readonly name: string = 'InvalidVid'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidVidError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177c, () => new InvalidVidError())\ncreateErrorFromNameLookup.set('InvalidVid', () => new InvalidVidError())\n\n/**\n * Paused: ''\n *\n * @category Errors\n * @category generated\n */\nexport class PausedError extends Error {\n  readonly code: number = 0x177d\n  readonly name: string = 'Paused'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, PausedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177d, () => new PausedError())\ncreateErrorFromNameLookup.set('Paused', () => new PausedError())\n\n/**\n * UnexpiredExecuteHash: ''\n *\n * @category Errors\n * @category generated\n */\nexport class UnexpiredExecuteHashError extends Error {\n  readonly code: number = 0x177e\n  readonly name: string = 'UnexpiredExecuteHash'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, UnexpiredExecuteHashError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177e, () => new UnexpiredExecuteHashError())\ncreateErrorFromNameLookup.set(\n  'UnexpiredExecuteHash',\n  () => new UnexpiredExecuteHashError()\n)\n\n/**\n * InvalidAmount: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidAmountError extends Error {\n  readonly code: number = 0x177f\n  readonly name: string = 'InvalidAmount'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidAmountError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177f, () => new InvalidAmountError())\ncreateErrorFromNameLookup.set('InvalidAmount', () => new InvalidAmountError())\n\n/**\n * EidNotSupported: ''\n *\n * @category Errors\n * @category generated\n */\nexport class EidNotSupportedError extends Error {\n  readonly code: number = 0x1780\n  readonly name: string = 'EidNotSupported'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, EidNotSupportedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1780, () => new EidNotSupportedError())\ncreateErrorFromNameLookup.set(\n  'EidNotSupported',\n  () => new EidNotSupportedError()\n)\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n * @category generated\n */\nexport function errorFromCode(code: number): MaybeErrorWithCode {\n  const createError = createErrorFromCodeLookup.get(code)\n  return createError != null ? createError() : null\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n * @category generated\n */\nexport function errorFromName(name: string): MaybeErrorWithCode {\n  const createError = createErrorFromNameLookup.get(name)\n  return createError != null ? createError() : null\n}\n","export * from './closeExecute'\nexport * from './initDvn'\nexport * from './invoke'\nexport * from './quoteDvn'\nexport * from './setConfig'\nexport * from './verifiable'\nexport * from './withdrawFee'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type CloseExecuteParams = {\n  digestHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const closeExecuteParamsBeet =\n  new beet.BeetArgsStruct<CloseExecuteParams>(\n    [['digestHash', beet.uniformFixedSizeArray(beet.u8, 32)]],\n    'CloseExecuteParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  CloseExecuteParams,\n  closeExecuteParamsBeet,\n} from '../types/CloseExecuteParams'\n\n/**\n * @category Instructions\n * @category CloseExecute\n * @category generated\n */\nexport type CloseExecuteInstructionArgs = {\n  params: CloseExecuteParams\n}\n/**\n * @category Instructions\n * @category CloseExecute\n * @category generated\n */\nexport const closeExecuteStruct = new beet.BeetArgsStruct<\n  CloseExecuteInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', closeExecuteParamsBeet],\n  ],\n  'CloseExecuteInstructionArgs'\n)\n/**\n * Accounts required by the _closeExecute_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] config\n * @property [_writable_] executeHash\n * @category Instructions\n * @category CloseExecute\n * @category generated\n */\nexport type CloseExecuteInstructionAccounts = {\n  admin: web3.PublicKey\n  config: web3.PublicKey\n  executeHash: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const closeExecuteInstructionDiscriminator = [\n  253, 220, 23, 127, 15, 171, 189, 226,\n]\n\n/**\n * Creates a _CloseExecute_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category CloseExecute\n * @category generated\n */\nexport function createCloseExecuteInstruction(\n  accounts: CloseExecuteInstructionAccounts,\n  args: CloseExecuteInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = closeExecuteStruct.serialize({\n    instructionDiscriminator: closeExecuteInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.executeHash,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _CloseExecute_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category CloseExecute\n * @category generated\n */\nexport function createCloseExecuteInstructionAccounts(\n  accounts: CloseExecuteInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.executeHash,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitDvnParams = {\n  vid: number\n  msglibs: web3.PublicKey[]\n  priceFeed: web3.PublicKey\n  signers: number[] /* size: 64 */[]\n  quorum: number\n  admins: web3.PublicKey[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initDvnParamsBeet = new beet.FixableBeetArgsStruct<InitDvnParams>(\n  [\n    ['vid', beet.u32],\n    ['msglibs', beet.array(beetSolana.publicKey)],\n    ['priceFeed', beetSolana.publicKey],\n    ['signers', beet.array(beet.uniformFixedSizeArray(beet.u8, 64))],\n    ['quorum', beet.u8],\n    ['admins', beet.array(beetSolana.publicKey)],\n  ],\n  'InitDvnParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { InitDvnParams, initDvnParamsBeet } from '../types/InitDvnParams'\n\n/**\n * @category Instructions\n * @category InitDvn\n * @category generated\n */\nexport type InitDvnInstructionArgs = {\n  params: InitDvnParams\n}\n/**\n * @category Instructions\n * @category InitDvn\n * @category generated\n */\nexport const initDvnStruct = new beet.FixableBeetArgsStruct<\n  InitDvnInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initDvnParamsBeet],\n  ],\n  'InitDvnInstructionArgs'\n)\n/**\n * Accounts required by the _initDvn_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [_writable_] config\n * @category Instructions\n * @category InitDvn\n * @category generated\n */\nexport type InitDvnInstructionAccounts = {\n  payer: web3.PublicKey\n  config: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initDvnInstructionDiscriminator = [\n  58, 108, 132, 12, 20, 10, 215, 210,\n]\n\n/**\n * Creates a _InitDvn_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitDvn\n * @category generated\n */\nexport function createInitDvnInstruction(\n  accounts: InitDvnInstructionAccounts,\n  args: InitDvnInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initDvnStruct.serialize({\n    instructionDiscriminator: initDvnInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitDvn_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitDvn\n * @category generated\n */\nexport function createInitDvnInstructionAccounts(\n  accounts: InitDvnInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type TransactionAccount = {\n  pubkey: web3.PublicKey\n  isSigner: boolean\n  isWritable: boolean\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const transactionAccountBeet =\n  new beet.BeetArgsStruct<TransactionAccount>(\n    [\n      ['pubkey', beetSolana.publicKey],\n      ['isSigner', beet.bool],\n      ['isWritable', beet.bool],\n    ],\n    'TransactionAccount'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport {\n  TransactionAccount,\n  transactionAccountBeet,\n} from './TransactionAccount'\nexport type ExecuteTransactionDigest = {\n  vid: number\n  programId: web3.PublicKey\n  accounts: TransactionAccount[]\n  data: Uint8Array\n  expiration: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const executeTransactionDigestBeet =\n  new beet.FixableBeetArgsStruct<ExecuteTransactionDigest>(\n    [\n      ['vid', beet.u32],\n      ['programId', beetSolana.publicKey],\n      ['accounts', beet.array(transactionAccountBeet)],\n      ['data', beet.bytes],\n      ['expiration', beet.i64],\n    ],\n    'ExecuteTransactionDigest'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport {\n  ExecuteTransactionDigest,\n  executeTransactionDigestBeet,\n} from './ExecuteTransactionDigest'\nexport type InvokeParams = {\n  digest: ExecuteTransactionDigest\n  signatures: number[] /* size: 65 */[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const invokeParamsBeet = new beet.FixableBeetArgsStruct<InvokeParams>(\n  [\n    ['digest', executeTransactionDigestBeet],\n    ['signatures', beet.array(beet.uniformFixedSizeArray(beet.u8, 65))],\n  ],\n  'InvokeParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { InvokeParams, invokeParamsBeet } from '../types/InvokeParams'\n\n/**\n * @category Instructions\n * @category Invoke\n * @category generated\n */\nexport type InvokeInstructionArgs = {\n  params: InvokeParams\n}\n/**\n * @category Instructions\n * @category Invoke\n * @category generated\n */\nexport const invokeStruct = new beet.FixableBeetArgsStruct<\n  InvokeInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', invokeParamsBeet],\n  ],\n  'InvokeInstructionArgs'\n)\n/**\n * Accounts required by the _invoke_ instruction\n *\n * @property [_writable_, **signer**] signer\n * @property [_writable_] config\n * @property [_writable_] executeHash\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Invoke\n * @category generated\n */\nexport type InvokeInstructionAccounts = {\n  signer: web3.PublicKey\n  config: web3.PublicKey\n  executeHash: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const invokeInstructionDiscriminator = [26, 16, 169, 7, 21, 202, 242, 25]\n\n/**\n * Creates a _Invoke_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Invoke\n * @category generated\n */\nexport function createInvokeInstruction(\n  accounts: InvokeInstructionAccounts,\n  args: InvokeInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = invokeStruct.serialize({\n    instructionDiscriminator: invokeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.executeHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Invoke_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Invoke\n * @category generated\n */\nexport function createInvokeInstructionAccounts(\n  accounts: InvokeInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.executeHash,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type LzOption = {\n  optionType: number\n  params: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzOptionBeet = new beet.FixableBeetArgsStruct<LzOption>(\n  [\n    ['optionType', beet.u8],\n    ['params', beet.bytes],\n  ],\n  'LzOption'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { LzOption, lzOptionBeet } from './LzOption'\nexport type QuoteDvnParams = {\n  msglib: web3.PublicKey\n  dstEid: number\n  sender: web3.PublicKey\n  packetHeader: Uint8Array\n  payloadHash: number[] /* size: 32 */\n  confirmations: beet.bignum\n  options: LzOption[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const quoteDvnParamsBeet =\n  new beet.FixableBeetArgsStruct<QuoteDvnParams>(\n    [\n      ['msglib', beetSolana.publicKey],\n      ['dstEid', beet.u32],\n      ['sender', beetSolana.publicKey],\n      ['packetHeader', beet.bytes],\n      ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['confirmations', beet.u64],\n      ['options', beet.array(lzOptionBeet)],\n    ],\n    'QuoteDvnParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { QuoteDvnParams, quoteDvnParamsBeet } from '../types/QuoteDvnParams'\n\n/**\n * @category Instructions\n * @category QuoteDvn\n * @category generated\n */\nexport type QuoteDvnInstructionArgs = {\n  params: QuoteDvnParams\n}\n/**\n * @category Instructions\n * @category QuoteDvn\n * @category generated\n */\nexport const quoteDvnStruct = new beet.FixableBeetArgsStruct<\n  QuoteDvnInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', quoteDvnParamsBeet],\n  ],\n  'QuoteDvnInstructionArgs'\n)\n/**\n * Accounts required by the _quoteDvn_ instruction\n *\n * @property [] dvnConfig\n * @property [] priceFeedProgram\n * @property [] priceFeedConfig\n * @category Instructions\n * @category QuoteDvn\n * @category generated\n */\nexport type QuoteDvnInstructionAccounts = {\n  dvnConfig: web3.PublicKey\n  priceFeedProgram: web3.PublicKey\n  priceFeedConfig: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const quoteDvnInstructionDiscriminator = [\n  223, 98, 51, 200, 123, 133, 132, 194,\n]\n\n/**\n * Creates a _QuoteDvn_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category QuoteDvn\n * @category generated\n */\nexport function createQuoteDvnInstruction(\n  accounts: QuoteDvnInstructionAccounts,\n  args: QuoteDvnInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = quoteDvnStruct.serialize({\n    instructionDiscriminator: quoteDvnInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.dvnConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _QuoteDvn_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category QuoteDvn\n * @category generated\n */\nexport function createQuoteDvnInstructionAccounts(\n  accounts: QuoteDvnInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.dvnConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { DstConfig, dstConfigBeet } from './DstConfig'\n/**\n * This type is used to derive the {@link AdminConfig} type as well as the de/serializer.\n * However don't refer to it in your code but use the {@link AdminConfig} type instead.\n *\n * @category userTypes\n * @category enums\n * @category generated\n * @private\n */\nexport type AdminConfigRecord = {\n  Admins: { fields: [web3.PublicKey[]] }\n  DefaultMultiplierBps: { fields: [number] }\n  DstConfigs: { fields: [DstConfig[]] }\n  PriceFeed: { fields: [web3.PublicKey] }\n  RemoveDstConfigs: { fields: [number[]] }\n}\n\n/**\n * Union type respresenting the AdminConfig data enum defined in Rust.\n *\n * NOTE: that it includes a `__kind` property which allows to narrow types in\n * switch/if statements.\n * Additionally `isAdminConfig*` type guards are exposed below to narrow to a specific variant.\n *\n * @category userTypes\n * @category enums\n * @category generated\n */\nexport type AdminConfig = beet.DataEnumKeyAsKind<AdminConfigRecord>\n\nexport const isAdminConfigAdmins = (\n  x: AdminConfig\n): x is AdminConfig & { __kind: 'Admins' } => x.__kind === 'Admins'\nexport const isAdminConfigDefaultMultiplierBps = (\n  x: AdminConfig\n): x is AdminConfig & { __kind: 'DefaultMultiplierBps' } =>\n  x.__kind === 'DefaultMultiplierBps'\nexport const isAdminConfigDstConfigs = (\n  x: AdminConfig\n): x is AdminConfig & { __kind: 'DstConfigs' } => x.__kind === 'DstConfigs'\nexport const isAdminConfigPriceFeed = (\n  x: AdminConfig\n): x is AdminConfig & { __kind: 'PriceFeed' } => x.__kind === 'PriceFeed'\nexport const isAdminConfigRemoveDstConfigs = (\n  x: AdminConfig\n): x is AdminConfig & { __kind: 'RemoveDstConfigs' } =>\n  x.__kind === 'RemoveDstConfigs'\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const adminConfigBeet = beet.dataEnum<AdminConfigRecord>([\n  [\n    'Admins',\n    new beet.FixableBeetArgsStruct<AdminConfigRecord['Admins']>(\n      [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n      'AdminConfigRecord[\"Admins\"]'\n    ),\n  ],\n  [\n    'DefaultMultiplierBps',\n    new beet.BeetArgsStruct<AdminConfigRecord['DefaultMultiplierBps']>(\n      [['fields', beet.fixedSizeTuple([beet.u16])]],\n      'AdminConfigRecord[\"DefaultMultiplierBps\"]'\n    ),\n  ],\n  [\n    'DstConfigs',\n    new beet.FixableBeetArgsStruct<AdminConfigRecord['DstConfigs']>(\n      [['fields', beet.tuple([beet.array(dstConfigBeet)])]],\n      'AdminConfigRecord[\"DstConfigs\"]'\n    ),\n  ],\n  [\n    'PriceFeed',\n    new beet.BeetArgsStruct<AdminConfigRecord['PriceFeed']>(\n      [['fields', beet.fixedSizeTuple([beetSolana.publicKey])]],\n      'AdminConfigRecord[\"PriceFeed\"]'\n    ),\n  ],\n  [\n    'RemoveDstConfigs',\n    new beet.FixableBeetArgsStruct<AdminConfigRecord['RemoveDstConfigs']>(\n      [['fields', beet.tuple([beet.array(beet.u32)])]],\n      'AdminConfigRecord[\"RemoveDstConfigs\"]'\n    ),\n  ],\n]) as beet.FixableBeet<AdminConfig, AdminConfig>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { AdminConfig, adminConfigBeet } from './AdminConfig'\nexport type SetConfigParams = {\n  config: AdminConfig\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<SetConfigParams>(\n    [['config', adminConfigBeet]],\n    'SetConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SetConfigParams, setConfigParamsBeet } from '../types/SetConfigParams'\n\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionArgs = {\n  params: SetConfigParams\n}\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport const setConfigStruct = new beet.FixableBeetArgsStruct<\n  SetConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setConfigParamsBeet],\n  ],\n  'SetConfigInstructionArgs'\n)\n/**\n * Accounts required by the _setConfig_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] config\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionAccounts = {\n  admin: web3.PublicKey\n  config: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setConfigInstructionDiscriminator = [\n  108, 158, 154, 175, 212, 98, 52, 66,\n]\n\n/**\n * Creates a _SetConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstruction(\n  accounts: SetConfigInstructionAccounts,\n  args: SetConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setConfigStruct.serialize({\n    instructionDiscriminator: setConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstructionAccounts(\n  accounts: SetConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type VerifiableParams = {\n  packetHeader: number[] /* size: 81 */\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const verifiableParamsBeet = new beet.BeetArgsStruct<VerifiableParams>(\n  [\n    ['packetHeader', beet.uniformFixedSizeArray(beet.u8, 81)],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n  ],\n  'VerifiableParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  VerifiableParams,\n  verifiableParamsBeet,\n} from '../types/VerifiableParams'\n\n/**\n * @category Instructions\n * @category Verifiable\n * @category generated\n */\nexport type VerifiableInstructionArgs = {\n  params: VerifiableParams\n}\n/**\n * @category Instructions\n * @category Verifiable\n * @category generated\n */\nexport const verifiableStruct = new beet.BeetArgsStruct<\n  VerifiableInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', verifiableParamsBeet],\n  ],\n  'VerifiableInstructionArgs'\n)\n/**\n * Accounts required by the _verifiable_ instruction\n *\n * @property [] nonce\n * @property [] payloadHash\n * @property [] receiveConfig\n * @property [] defaultReceiveConfig\n * @category Instructions\n * @category Verifiable\n * @category generated\n */\nexport type VerifiableInstructionAccounts = {\n  nonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  defaultReceiveConfig: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const verifiableInstructionDiscriminator = [\n  249, 50, 227, 157, 238, 249, 211, 90,\n]\n\n/**\n * Creates a _Verifiable_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Verifiable\n * @category generated\n */\nexport function createVerifiableInstruction(\n  accounts: VerifiableInstructionAccounts,\n  args: VerifiableInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = verifiableStruct.serialize({\n    instructionDiscriminator: verifiableInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Verifiable_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Verifiable\n * @category generated\n */\nexport function createVerifiableInstructionAccounts(\n  accounts: VerifiableInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type WithdrawFeeParams = {\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const withdrawFeeParamsBeet = new beet.BeetArgsStruct<WithdrawFeeParams>(\n  [['amount', beet.u64]],\n  'WithdrawFeeParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  WithdrawFeeParams,\n  withdrawFeeParamsBeet,\n} from '../types/WithdrawFeeParams'\n\n/**\n * @category Instructions\n * @category WithdrawFee\n * @category generated\n */\nexport type WithdrawFeeInstructionArgs = {\n  params: WithdrawFeeParams\n}\n/**\n * @category Instructions\n * @category WithdrawFee\n * @category generated\n */\nexport const withdrawFeeStruct = new beet.BeetArgsStruct<\n  WithdrawFeeInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', withdrawFeeParamsBeet],\n  ],\n  'WithdrawFeeInstructionArgs'\n)\n/**\n * Accounts required by the _withdrawFee_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] config\n * @property [_writable_] receiver\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category WithdrawFee\n * @category generated\n */\nexport type WithdrawFeeInstructionAccounts = {\n  admin: web3.PublicKey\n  config: web3.PublicKey\n  receiver: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const withdrawFeeInstructionDiscriminator = [\n  14, 122, 231, 218, 31, 238, 223, 150,\n]\n\n/**\n * Creates a _WithdrawFee_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category WithdrawFee\n * @category generated\n */\nexport function createWithdrawFeeInstruction(\n  accounts: WithdrawFeeInstructionAccounts,\n  args: WithdrawFeeInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = withdrawFeeStruct.serialize({\n    instructionDiscriminator: withdrawFeeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _WithdrawFee_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category WithdrawFee\n * @category generated\n */\nexport function createWithdrawFeeInstructionAccounts(\n  accounts: WithdrawFeeInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","export * from './Acl'\nexport * from './AdminConfig'\nexport * from './CloseExecuteParams'\nexport * from './DstConfig'\nexport * from './ExecuteTransactionDigest'\nexport * from './InitDvnParams'\nexport * from './InvokeParams'\nexport * from './LzOption'\nexport * from './Multisig'\nexport * from './MultisigConfig'\nexport * from './QuoteDvnParams'\nexport * from './SetConfigParams'\nexport * from './TransactionAccount'\nexport * from './UlnConfig'\nexport * from './VerifiableParams'\nexport * from './VerificationState'\nexport * from './WithdrawFeeParams'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n/**\n * This type is used to derive the {@link MultisigConfig} type as well as the de/serializer.\n * However don't refer to it in your code but use the {@link MultisigConfig} type instead.\n *\n * @category userTypes\n * @category enums\n * @category generated\n * @private\n */\nexport type MultisigConfigRecord = {\n  Admins: { fields: [web3.PublicKey[]] }\n  Allowlist: { fields: [web3.PublicKey[]] }\n  Denylist: { fields: [web3.PublicKey[]] }\n  Msglibs: { fields: [web3.PublicKey[]] }\n  Paused: { fields: [boolean] }\n  Quorum: { fields: [number] }\n  Signers: { fields: [number[] /* size: 64 */[]] }\n}\n\n/**\n * Union type respresenting the MultisigConfig data enum defined in Rust.\n *\n * NOTE: that it includes a `__kind` property which allows to narrow types in\n * switch/if statements.\n * Additionally `isMultisigConfig*` type guards are exposed below to narrow to a specific variant.\n *\n * @category userTypes\n * @category enums\n * @category generated\n */\nexport type MultisigConfig = beet.DataEnumKeyAsKind<MultisigConfigRecord>\n\nexport const isMultisigConfigAdmins = (\n  x: MultisigConfig\n): x is MultisigConfig & { __kind: 'Admins' } => x.__kind === 'Admins'\nexport const isMultisigConfigAllowlist = (\n  x: MultisigConfig\n): x is MultisigConfig & { __kind: 'Allowlist' } => x.__kind === 'Allowlist'\nexport const isMultisigConfigDenylist = (\n  x: MultisigConfig\n): x is MultisigConfig & { __kind: 'Denylist' } => x.__kind === 'Denylist'\nexport const isMultisigConfigMsglibs = (\n  x: MultisigConfig\n): x is MultisigConfig & { __kind: 'Msglibs' } => x.__kind === 'Msglibs'\nexport const isMultisigConfigPaused = (\n  x: MultisigConfig\n): x is MultisigConfig & { __kind: 'Paused' } => x.__kind === 'Paused'\nexport const isMultisigConfigQuorum = (\n  x: MultisigConfig\n): x is MultisigConfig & { __kind: 'Quorum' } => x.__kind === 'Quorum'\nexport const isMultisigConfigSigners = (\n  x: MultisigConfig\n): x is MultisigConfig & { __kind: 'Signers' } => x.__kind === 'Signers'\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const multisigConfigBeet = beet.dataEnum<MultisigConfigRecord>([\n  [\n    'Admins',\n    new beet.FixableBeetArgsStruct<MultisigConfigRecord['Admins']>(\n      [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n      'MultisigConfigRecord[\"Admins\"]'\n    ),\n  ],\n  [\n    'Allowlist',\n    new beet.FixableBeetArgsStruct<MultisigConfigRecord['Allowlist']>(\n      [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n      'MultisigConfigRecord[\"Allowlist\"]'\n    ),\n  ],\n  [\n    'Denylist',\n    new beet.FixableBeetArgsStruct<MultisigConfigRecord['Denylist']>(\n      [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n      'MultisigConfigRecord[\"Denylist\"]'\n    ),\n  ],\n  [\n    'Msglibs',\n    new beet.FixableBeetArgsStruct<MultisigConfigRecord['Msglibs']>(\n      [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n      'MultisigConfigRecord[\"Msglibs\"]'\n    ),\n  ],\n  [\n    'Paused',\n    new beet.BeetArgsStruct<MultisigConfigRecord['Paused']>(\n      [['fields', beet.fixedSizeTuple([beet.bool])]],\n      'MultisigConfigRecord[\"Paused\"]'\n    ),\n  ],\n  [\n    'Quorum',\n    new beet.BeetArgsStruct<MultisigConfigRecord['Quorum']>(\n      [['fields', beet.fixedSizeTuple([beet.u8])]],\n      'MultisigConfigRecord[\"Quorum\"]'\n    ),\n  ],\n  [\n    'Signers',\n    new beet.FixableBeetArgsStruct<MultisigConfigRecord['Signers']>(\n      [\n        [\n          'fields',\n          beet.tuple([beet.array(beet.uniformFixedSizeArray(beet.u8, 64))]),\n        ],\n      ],\n      'MultisigConfigRecord[\"Signers\"]'\n    ),\n  ],\n]) as beet.FixableBeet<MultisigConfig, MultisigConfig>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\n/**\n * @category enums\n * @category generated\n */\nexport enum VerificationState {\n  Verifying,\n  Verifiable,\n  Verified,\n  NotInitializable,\n  VerifiableButCapExceeded,\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const verificationStateBeet = beet.fixedScalarEnum(\n  VerificationState\n) as beet.FixedSizeBeet<VerificationState, VerificationState>\n","export * from './AdminConfigSetEvent'\nexport * from './FeeWithdrawnEvent'\nexport * from './MultisigConfigSetEvent'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { AdminConfig, adminConfigBeet } from '../types/AdminConfig'\nexport type AdminConfigSetEvent = {\n  config: AdminConfig\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const adminConfigSetEventBeet =\n  new beet.FixableBeetArgsStruct<AdminConfigSetEvent>(\n    [['config', adminConfigBeet]],\n    'AdminConfigSetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type FeeWithdrawnEvent = {\n  receiver: web3.PublicKey\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const feeWithdrawnEventBeet = new beet.BeetArgsStruct<FeeWithdrawnEvent>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['amount', beet.u64],\n  ],\n  'FeeWithdrawnEvent'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { MultisigConfig, multisigConfigBeet } from '../types/MultisigConfig'\nexport type MultisigConfigSetEvent = {\n  config: MultisigConfig\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const multisigConfigSetEventBeet =\n  new beet.FixableBeetArgsStruct<MultisigConfigSetEvent>(\n    [['config', multisigConfigBeet]],\n    'MultisigConfigSetEvent'\n  )\n","import {\n    AccountInfo,\n    AccountMeta,\n    Commitment,\n    Connection,\n    GetAccountInfoConfig,\n    PublicKey,\n    TransactionInstruction,\n} from '@solana/web3.js'\nimport BN from 'bn.js'\n\nimport { EventPDADeriver, ExecutorPDADeriver, MessageLibPDADeriver, PriceFeedPDADeriver } from './pda-deriver'\nimport { getLzComposeAccountMeta } from './recevie'\nimport { ComposeSentEvent } from '../generated/solita/endpoint/events'\nimport * as accounts from '../generated/solita/executor/accounts'\nimport * as events from '../generated/solita/executor/events'\nimport * as instructions from '../generated/solita/executor/instructions'\nimport * as types from '../generated/solita/executor/types'\n\nexport * from '../generated/solita/executor'\nexport { accounts, instructions, types, events }\n\n/**\n * Class representing the Executor.\n */\nexport class Executor {\n    deriver: ExecutorPDADeriver\n\n    /**\n     * Creates an instance of the Executor class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {\n        this.deriver = new ExecutorPDADeriver(this.program)\n    }\n\n    // owner methods\n\n    /**\n     * Initializes the executor.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} owner - The owner public key.\n     * @param {PublicKey[]} admins - The admin public keys.\n     * @param {PublicKey[]} executors - The executor public keys.\n     * @param {PublicKey[]} msglibs - The message library public keys.\n     * @param {PublicKey} priceFeed - The price feed public key.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initExecutor(\n        payer: PublicKey,\n        owner: PublicKey,\n        admins: PublicKey[],\n        executors: PublicKey[],\n        msglibs: PublicKey[],\n        priceFeed: PublicKey\n    ): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createInitExecutorInstruction(\n            {\n                payer,\n                config: configAccount,\n            } satisfies instructions.InitExecutorInstructionAccounts,\n            {\n                params: {\n                    owner,\n                    admins,\n                    executors,\n                    msglibs,\n                    priceFeed,\n                } satisfies types.InitExecutorParams,\n            } satisfies instructions.InitExecutorInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the owner.\n     *\n     * @param {PublicKey} owner - The current owner public key.\n     * @param {PublicKey} newOwner - The new owner public key.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setOwner(owner: PublicKey, newOwner: PublicKey): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createOwnerSetConfigInstruction(\n            {\n                owner,\n                config: configAccount,\n            } satisfies instructions.OwnerSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [newOwner],\n                    __kind: 'Owner',\n                } satisfies types.OwnerSetConfigParams,\n            } satisfies instructions.OwnerSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the admins.\n     *\n     * @param {PublicKey} owner - The owner public key.\n     * @param {PublicKey[]} admins - The admin public keys.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setAdmins(owner: PublicKey, admins: PublicKey[]): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createOwnerSetConfigInstruction(\n            {\n                owner,\n                config: configAccount,\n            } satisfies instructions.OwnerSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [admins],\n                    __kind: 'Admins',\n                } satisfies types.OwnerSetConfigParams,\n            } satisfies instructions.OwnerSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the allow list.\n     *\n     * @param {PublicKey} owner - The owner public key.\n     * @param {PublicKey[]} allowlist - The allow list public keys.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setAllowList(owner: PublicKey, allowlist: PublicKey[]): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createOwnerSetConfigInstruction(\n            {\n                owner,\n                config: configAccount,\n            } satisfies instructions.OwnerSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [allowlist],\n                    __kind: 'Allowlist',\n                } satisfies types.OwnerSetConfigParams,\n            } satisfies instructions.OwnerSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the deny list.\n     *\n     * @param {PublicKey} owner - The owner public key.\n     * @param {PublicKey[]} denylist - The deny list public keys.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setDenyList(owner: PublicKey, denylist: PublicKey[]): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createOwnerSetConfigInstruction(\n            {\n                owner,\n                config: configAccount,\n            } satisfies instructions.OwnerSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [denylist],\n                    __kind: 'Denylist',\n                } satisfies types.OwnerSetConfigParams,\n            } satisfies instructions.OwnerSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the paused state.\n     *\n     * @param {PublicKey} owner - The owner public key.\n     * @param {boolean} paused - The paused state.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setPaused(owner: PublicKey, paused: boolean): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createOwnerSetConfigInstruction(\n            {\n                owner,\n                config: configAccount,\n            } satisfies instructions.OwnerSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [paused],\n                    __kind: 'Paused',\n                } satisfies types.OwnerSetConfigParams,\n            } satisfies instructions.OwnerSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the executors.\n     *\n     * @param {PublicKey} owner - The owner public key.\n     * @param {PublicKey[]} executors - The executor public keys.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setExecutors(owner: PublicKey, executors: PublicKey[]): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createOwnerSetConfigInstruction(\n            {\n                owner,\n                config: configAccount,\n            } satisfies instructions.OwnerSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [executors],\n                    __kind: 'Executors',\n                } satisfies types.OwnerSetConfigParams,\n            } satisfies instructions.OwnerSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the message libraries by programs.\n     *\n     * @param {PublicKey} owner - The owner public key.\n     * @param {PublicKey[]} msglibPrograms - The message library program public keys.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setMsglibByPrograms(owner: PublicKey, msglibPrograms: PublicKey[]): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        const msglibPdas = msglibPrograms.map((program) => {\n            return new MessageLibPDADeriver(program).messageLib()[0]\n        })\n        return this.setMsglibByPDAs(owner, msglibPdas)\n    }\n\n    /**\n     * Sets the message libraries by PDAs.\n     *\n     * @param {PublicKey} owner - The owner public key.\n     * @param {PublicKey[]} msglibPDAs - The message library PDA public keys.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setMsglibByPDAs(owner: PublicKey, msglibPDAs: PublicKey[]): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createOwnerSetConfigInstruction(\n            {\n                owner,\n                config: configAccount,\n            } satisfies instructions.OwnerSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [msglibPDAs],\n                    __kind: 'Msglibs',\n                } satisfies types.OwnerSetConfigParams,\n            } satisfies instructions.OwnerSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    // admin methods\n\n    /**\n     * Sets the default multiplier BPS.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number} defaultMultiplierBps - The default multiplier BPS.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setDefaultMultiplierBps(admin: PublicKey, defaultMultiplierBps: number): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createAdminSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n            } satisfies instructions.AdminSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [defaultMultiplierBps],\n                    __kind: 'DefaultMultiplierBps',\n                } satisfies types.AdminSetConfigParams,\n            } satisfies instructions.AdminSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the destination configurations.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {types.DstConfig[]} dstConfigs - The destination configurations.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setDstConfig(admin: PublicKey, dstConfigs: types.DstConfig[]): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        return instructions.createAdminSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n            } satisfies instructions.AdminSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [dstConfigs],\n                    __kind: 'DstConfigs',\n                } satisfies types.AdminSetConfigParams,\n            } satisfies instructions.AdminSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the price feed.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} priceFeedProgram - The price feed program public key.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setPriceFeed(admin: PublicKey, priceFeedProgram: PublicKey): TransactionInstruction {\n        const [configAccount] = this.deriver.config()\n        const [priceFeed] = new PriceFeedPDADeriver(priceFeedProgram).priceFeed()\n        return instructions.createAdminSetConfigInstruction(\n            {\n                admin,\n                config: configAccount,\n            } satisfies instructions.AdminSetConfigInstructionAccounts,\n            {\n                params: {\n                    fields: [priceFeed],\n                    __kind: 'PriceFeed',\n                } satisfies types.AdminSetConfigParams,\n            } satisfies instructions.AdminSetConfigInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Gets the executor configuration.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment or configuration.\n     *\n     * @returns {Promise<accounts.ExecutorConfig | null>} A promise that resolves to the executor configuration or null.\n     */\n    async getExecutorConfig(\n        connection: Connection,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.ExecutorConfig | null> {\n        const [configAccount] = this.deriver.config()\n        try {\n            const config = await accounts.ExecutorConfig.fromAccountAddress(\n                connection,\n                configAccount,\n                commitmentOrConfig\n            )\n            return config\n        } catch (error) {\n            return null\n        }\n    }\n\n    /**\n     * Gets the quote instruction account meta for CPI.\n     *\n     * @param {PublicKey} priceFeedConfig - The price feed configuration public key.\n     * @param {PublicKey} priceFeedProgram - The price feed program public key.\n     * @param {boolean} payment - Whether payment is required.\n     *\n     * @returns {AccountMeta[]} The account meta array.\n     */\n    getQuoteIXAccountMetaForCPI(\n        priceFeedConfig: PublicKey,\n        priceFeedProgram: PublicKey,\n        payment: boolean\n    ): AccountMeta[] {\n        const [config] = this.deriver.config()\n        const ixAccounts = instructions.createQuoteExecutorInstructionAccounts(\n            {\n                executorConfig: config,\n                priceFeedConfig,\n                priceFeedProgram: priceFeedProgram,\n            } satisfies instructions.QuoteExecutorInstructionAccounts,\n            this.program\n        )\n        if (payment) {\n            // if payment is required, the first account is required to be writable to receive the payment\n            ixAccounts[0].isWritable = true\n        }\n        return [\n            {\n                pubkey: this.program,\n                isWritable: false,\n                isSigner: false,\n            },\n        ].concat(ixAccounts)\n    }\n\n    /**\n     * Composes a transaction.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {PublicKey} executor - The executor public key.\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {ComposeSentEvent} event - The compose sent event.\n     * @param {Uint8Array} extraData - The extra data.\n     * @param {BN} [value] - The value.\n     * @param {number} [computeUnits] - The compute units.\n     * @param {Commitment} [commitmentOrConfig] - The commitment or configuration.\n     *\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    async compose(\n        connection: Connection,\n        executor: PublicKey,\n        endpointProgram: PublicKey,\n        event: ComposeSentEvent,\n        extraData: Uint8Array,\n        value: BN = new BN(0),\n        computeUnits = 400000,\n        commitmentOrConfig?: Commitment\n    ): Promise<TransactionInstruction> {\n        const [config] = this.deriver.config()\n        const endpointEventDeriver = new EventPDADeriver(endpointProgram)\n        const executorEventDeriver = new EventPDADeriver(this.program)\n        const { to, from, guid, index, message } = event\n        const receiverInfo = await connection.getParsedAccountInfo(to, commitmentOrConfig)\n        const receiverProgram = new PublicKey((receiverInfo.value as AccountInfo<Buffer>).owner)\n\n        const accounts = await getLzComposeAccountMeta(\n            connection,\n            executor,\n            to,\n            receiverProgram,\n            {\n                from,\n                to,\n                guid,\n                index,\n                message,\n                extraData,\n            },\n            commitmentOrConfig\n        )\n\n        return instructions.createComposeInstruction(\n            {\n                executor,\n                config,\n                endpointProgram,\n                endpointEventAuthority: endpointEventDeriver.eventAuthority()[0],\n                program: this.program,\n                eventAuthority: executorEventDeriver.eventAuthority()[0],\n                anchorRemainingAccounts: [\n                    {\n                        pubkey: receiverProgram,\n                        isWritable: false,\n                        isSigner: false,\n                    },\n                    ...accounts,\n                ],\n            } satisfies instructions.ComposeInstructionAccounts,\n            {\n                params: {\n                    lzCompose: {\n                        to,\n                        from,\n                        guid,\n                        index,\n                        message,\n                        extraData,\n                    },\n                    computeUnits,\n                    value,\n                } satisfies types.ComposeParams,\n            } satisfies instructions.ComposeInstructionArgs,\n            this.program\n        )\n    }\n}\n","import {\n    BeetArgsStruct,\n    FixableBeetArgsStruct,\n    bignum,\n    bool,\n    bytes,\n    u16,\n    u32,\n    u64,\n    u8,\n    uniformFixedSizeArray,\n} from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { PublicKey } from '@solana/web3.js'\n\n/**\n * Represents the address type as a fixed-size array of 32 bytes.\n */\nexport const AddressType = uniformFixedSizeArray(u8, 32)\n\n/**\n * Offset for message type.\n */\nexport const MSG_TYPE_OFFSET = 0\n\n/**\n * Enum representing different message types.\n */\nexport enum MessageType {\n    /**\n     * Vanilla message type.\n     */\n    VANILLA = 1,\n\n    /**\n     * Composed message type.\n     */\n    COMPOSED_TYPE = 2,\n}\n\n/**\n * Interface representing the parameters for LzReceive.\n */\nexport interface LzReceiveParams {\n    /**\n     * Source EID.\n     */\n    srcEid: number\n\n    /**\n     * Sender address (size: 32).\n     */\n    sender: number[] /* size: 32 */\n\n    /**\n     * Nonce value.\n     */\n    nonce: bignum\n\n    /**\n     * GUID (size: 32).\n     */\n    guid: number[] /* size: 32 */\n\n    /**\n     * Message content.\n     */\n    message: Uint8Array\n\n    /**\n     * Caller parameters.\n     */\n    callerParams: Uint8Array\n}\n\n/**\n * Struct for serializing and deserializing LzReceiveParams.\n */\nexport const LzReceiveParamsBeet = new FixableBeetArgsStruct<LzReceiveParams>(\n    [\n        ['srcEid', u32],\n        ['sender', uniformFixedSizeArray(u8, 32)],\n        ['nonce', u64],\n        ['guid', uniformFixedSizeArray(u8, 32)],\n        ['message', bytes],\n        ['callerParams', bytes],\n    ],\n    'LzReceiveParams'\n)\n\n/**\n *\npub from: Pubkey,\npub to: Pubkey,\npub guid: [u8; 32],\npub index: u16,\npub message: Vec<u8>,\npub extra_data: Vec<u8>,\n**/\n\n/**\n * Interface representing the parameters for LzCompose.\n */\nexport interface LzComposeParams {\n    /**\n     * Sender public key.\n     */\n    from: PublicKey\n\n    /**\n     * Recipient public key.\n     */\n    to: PublicKey\n\n    /**\n     * GUID (size: 32).\n     */\n    guid: number[] /* size: 32 */\n\n    /**\n     * Index value.\n     */\n    index: number\n\n    /**\n     * Message content.\n     */\n    message: Uint8Array\n\n    /**\n     * Extra data.\n     */\n    extraData: Uint8Array\n}\n\n/**\n * Struct for serializing and deserializing LzComposeParams.\n *\n * @category userTypes\n * @category generated\n */\nexport const LzComposeParamsBeet = new FixableBeetArgsStruct<LzComposeParams>(\n    [\n        ['from', beetSolana.publicKey],\n        ['to', beetSolana.publicKey],\n        ['guid', uniformFixedSizeArray(u8, 32)],\n        ['index', u16],\n        ['message', bytes],\n        ['extraData', bytes],\n    ],\n    'LzComposeParams'\n)\n\n/**\n * Interface representing an LzReceive account.\n */\nexport interface LzReceiveAccount {\n    /**\n     * Public key of the account.\n     */\n    pubkey: PublicKey\n\n    /**\n     * Indicates if the account is a signer.\n     */\n    isSigner: boolean\n\n    /**\n     * Indicates if the account is writable.\n     */\n    isWritable: boolean\n}\n\n/**\n * Struct for serializing and deserializing LzReceiveAccount.\n *\n * @category userTypes\n * @category generated\n */\nexport const LzReceiveAccountBeet = new BeetArgsStruct<LzReceiveAccount>(\n    [\n        ['pubkey', beetSolana.publicKey],\n        ['isSigner', bool],\n        ['isWritable', bool],\n    ],\n    'LzReceiveAccount'\n)\n\n/**\n * Enum representing different executor option types.\n */\nexport enum ExecutorOptionType {\n    /**\n     * Placeholder option type.\n     */\n    PlaceHolder = 0,\n\n    /**\n     * LzReceive option type.\n     */\n    LzReceive = 1,\n\n    /**\n     * NativeDrop option type.\n     */\n    NativeDrop = 2,\n\n    /**\n     * LzCompose option type.\n     */\n    LzCompose = 3,\n\n    /**\n     * OrderExecution option type.\n     */\n    OrderExecution = 4,\n}\n\n/**\n * Maximum length for executor option types.\n */\nexport const MaxExecutorOptionTypeLength = 10\n","export * from './AdminTransferredEvent'\nexport * from './ConfigSetEvent'\nexport * from './DefaultConfigSetEvent'\nexport * from './FeesPaidEvent'\nexport * from './PayloadVerifiedEvent'\nexport * from './RentWithdrawnEvent'\nexport * from './TreasurySetEvent'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type AdminTransferredEvent = {\n  newAdmin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const adminTransferredEventBeet =\n  new beet.BeetArgsStruct<AdminTransferredEvent>(\n    [['newAdmin', beetSolana.publicKey]],\n    'AdminTransferredEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type UlnConfig = {\n  confirmations: beet.bignum\n  requiredDvnCount: number\n  optionalDvnCount: number\n  optionalDvnThreshold: number\n  requiredDvns: web3.PublicKey[]\n  optionalDvns: web3.PublicKey[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const ulnConfigBeet = new beet.FixableBeetArgsStruct<UlnConfig>(\n  [\n    ['confirmations', beet.u64],\n    ['requiredDvnCount', beet.u8],\n    ['optionalDvnCount', beet.u8],\n    ['optionalDvnThreshold', beet.u8],\n    ['requiredDvns', beet.array(beetSolana.publicKey)],\n    ['optionalDvns', beet.array(beetSolana.publicKey)],\n  ],\n  'UlnConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type ExecutorConfig = {\n  maxMessageSize: number\n  executor: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const executorConfigBeet = new beet.BeetArgsStruct<ExecutorConfig>(\n  [\n    ['maxMessageSize', beet.u32],\n    ['executor', beetSolana.publicKey],\n  ],\n  'ExecutorConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { UlnConfig, ulnConfigBeet } from './UlnConfig'\nimport { ExecutorConfig, executorConfigBeet } from './ExecutorConfig'\n/**\n * This type is used to derive the {@link Config} type as well as the de/serializer.\n * However don't refer to it in your code but use the {@link Config} type instead.\n *\n * @category userTypes\n * @category enums\n * @category generated\n * @private\n */\nexport type ConfigRecord = {\n  SendUln: { fields: [UlnConfig] }\n  ReceiveUln: { fields: [UlnConfig] }\n  Executor: { fields: [ExecutorConfig] }\n}\n\n/**\n * Union type respresenting the Config data enum defined in Rust.\n *\n * NOTE: that it includes a `__kind` property which allows to narrow types in\n * switch/if statements.\n * Additionally `isConfig*` type guards are exposed below to narrow to a specific variant.\n *\n * @category userTypes\n * @category enums\n * @category generated\n */\nexport type Config = beet.DataEnumKeyAsKind<ConfigRecord>\n\nexport const isConfigSendUln = (\n  x: Config\n): x is Config & { __kind: 'SendUln' } => x.__kind === 'SendUln'\nexport const isConfigReceiveUln = (\n  x: Config\n): x is Config & { __kind: 'ReceiveUln' } => x.__kind === 'ReceiveUln'\nexport const isConfigExecutor = (\n  x: Config\n): x is Config & { __kind: 'Executor' } => x.__kind === 'Executor'\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const configBeet = beet.dataEnum<ConfigRecord>([\n  [\n    'SendUln',\n    new beet.FixableBeetArgsStruct<ConfigRecord['SendUln']>(\n      [['fields', beet.tuple([ulnConfigBeet])]],\n      'ConfigRecord[\"SendUln\"]'\n    ),\n  ],\n  [\n    'ReceiveUln',\n    new beet.FixableBeetArgsStruct<ConfigRecord['ReceiveUln']>(\n      [['fields', beet.tuple([ulnConfigBeet])]],\n      'ConfigRecord[\"ReceiveUln\"]'\n    ),\n  ],\n  [\n    'Executor',\n    new beet.BeetArgsStruct<ConfigRecord['Executor']>(\n      [['fields', beet.fixedSizeTuple([executorConfigBeet])]],\n      'ConfigRecord[\"Executor\"]'\n    ),\n  ],\n]) as beet.FixableBeet<Config, Config>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nimport { Config, configBeet } from '../types/Config'\nexport type ConfigSetEvent = {\n  oapp: web3.PublicKey\n  eid: number\n  config: Config\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const configSetEventBeet =\n  new beet.FixableBeetArgsStruct<ConfigSetEvent>(\n    [\n      ['oapp', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['config', configBeet],\n    ],\n    'ConfigSetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { UlnConfig, ulnConfigBeet } from '../types/UlnConfig'\nimport { ExecutorConfig, executorConfigBeet } from '../types/ExecutorConfig'\nexport type DefaultConfigSetEvent = {\n  eid: number\n  sendUlnConfig: beet.COption<UlnConfig>\n  receiveUlnConfig: beet.COption<UlnConfig>\n  executorConfig: beet.COption<ExecutorConfig>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const defaultConfigSetEventBeet =\n  new beet.FixableBeetArgsStruct<DefaultConfigSetEvent>(\n    [\n      ['eid', beet.u32],\n      ['sendUlnConfig', beet.coption(ulnConfigBeet)],\n      ['receiveUlnConfig', beet.coption(ulnConfigBeet)],\n      ['executorConfig', beet.coption(executorConfigBeet)],\n    ],\n    'DefaultConfigSetEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type WorkerFee = {\n  worker: web3.PublicKey\n  fee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const workerFeeBeet = new beet.BeetArgsStruct<WorkerFee>(\n  [\n    ['worker', beetSolana.publicKey],\n    ['fee', beet.u64],\n  ],\n  'WorkerFee'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type TreasuryFee = {\n  treasury: web3.PublicKey\n  fee: beet.bignum\n  payInLzToken: boolean\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const treasuryFeeBeet = new beet.BeetArgsStruct<TreasuryFee>(\n  [\n    ['treasury', beetSolana.publicKey],\n    ['fee', beet.u64],\n    ['payInLzToken', beet.bool],\n  ],\n  'TreasuryFee'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { WorkerFee, workerFeeBeet } from '../types/WorkerFee'\nimport { TreasuryFee, treasuryFeeBeet } from '../types/TreasuryFee'\nexport type FeesPaidEvent = {\n  executor: WorkerFee\n  dvns: WorkerFee[]\n  treasury: beet.COption<TreasuryFee>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const feesPaidEventBeet = new beet.FixableBeetArgsStruct<FeesPaidEvent>(\n  [\n    ['executor', workerFeeBeet],\n    ['dvns', beet.array(workerFeeBeet)],\n    ['treasury', beet.coption(treasuryFeeBeet)],\n  ],\n  'FeesPaidEvent'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type PayloadVerifiedEvent = {\n  dvn: web3.PublicKey\n  header: number[] /* size: 81 */\n  confirmations: beet.bignum\n  proofHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const payloadVerifiedEventBeet =\n  new beet.BeetArgsStruct<PayloadVerifiedEvent>(\n    [\n      ['dvn', beetSolana.publicKey],\n      ['header', beet.uniformFixedSizeArray(beet.u8, 81)],\n      ['confirmations', beet.u64],\n      ['proofHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ],\n    'PayloadVerifiedEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type RentWithdrawnEvent = {\n  receiver: web3.PublicKey\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const rentWithdrawnEventBeet =\n  new beet.BeetArgsStruct<RentWithdrawnEvent>(\n    [\n      ['receiver', beetSolana.publicKey],\n      ['amount', beet.u64],\n    ],\n    'RentWithdrawnEvent'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type LzTokenTreasury = {\n  receiver: web3.PublicKey\n  fee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzTokenTreasuryBeet = new beet.BeetArgsStruct<LzTokenTreasury>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['fee', beet.u64],\n  ],\n  'LzTokenTreasury'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { LzTokenTreasury, lzTokenTreasuryBeet } from './LzTokenTreasury'\nexport type Treasury = {\n  admin: beet.COption<web3.PublicKey>\n  nativeReceiver: web3.PublicKey\n  nativeFeeBps: beet.bignum\n  lzToken: beet.COption<LzTokenTreasury>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const treasuryBeet = new beet.FixableBeetArgsStruct<Treasury>(\n  [\n    ['admin', beet.coption(beetSolana.publicKey)],\n    ['nativeReceiver', beetSolana.publicKey],\n    ['nativeFeeBps', beet.u64],\n    ['lzToken', beet.coption(lzTokenTreasuryBeet)],\n  ],\n  'Treasury'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { Treasury, treasuryBeet } from '../types/Treasury'\nexport type TreasurySetEvent = {\n  treasury: beet.COption<Treasury>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const treasurySetEventBeet =\n  new beet.FixableBeetArgsStruct<TreasurySetEvent>(\n    [['treasury', beet.coption(treasuryBeet)]],\n    'TreasurySetEvent'\n  )\n","import * as beet from '@metaplex-foundation/beet'\nimport {\n    AddressLookupTableAccount,\n    AddressLookupTableProgram,\n    Blockhash,\n    CloseLookupTableParams,\n    Commitment,\n    Connection,\n    DeactivateLookupTableParams,\n    Finality,\n    GetAccountInfoConfig,\n    GetVersionedTransactionConfig,\n    Keypair,\n    MessageV0,\n    NONCE_ACCOUNT_LENGTH,\n    NonceAccount,\n    PartiallyDecodedInstruction,\n    PublicKey,\n    SystemProgram,\n    Transaction,\n    TransactionInstruction,\n    TransactionMessage,\n    TransactionSignature,\n    VersionedTransaction,\n} from '@solana/web3.js'\nimport base58 from 'bs58'\n\nimport { sha2_256 } from '@layerzerolabs/lz-foundation'\n\nimport { EventEmitDiscriminator } from './endpoint'\nimport {\n    ComposeDeliveredEvent,\n    ComposeSentEvent,\n    PacketDeliveredEvent,\n    PacketSentEvent,\n    PacketVerifiedEvent,\n    composeDeliveredEventBeet,\n    composeSentEventBeet,\n    packetDeliveredEventBeet,\n    packetSentEventBeet,\n    packetVerifiedEventBeet,\n} from '../generated/solita/endpoint/events'\nimport { FeesPaidEvent, feesPaidEventBeet } from '../generated/solita/uln/events'\n\n/**\n * Gets the event discriminator for a given event.\n *\n * @param {string} event - The event name.\n * @returns {string} The event discriminator.\n */\nfunction getEventDiscriminator(event: string): string {\n    /*\n        https://book.anchor-lang.com/anchor_bts/discriminator.html\n        sha256(namespace:eventName) namespace of cpi event is 'event'\n    */\n    return Buffer.from(sha2_256(`event:${event}`))\n        .subarray(0, 8)\n        .toString('hex')\n}\n\n/**\n * Extracts the sent packet event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<PacketSentEvent[] | null>} A promise that resolves to an array of sent packet events or null if not found.\n */\nexport async function extractSentPacketEventByTxHash(\n    connection: Connection,\n    program: PublicKey,\n    signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>,\n    commitment?: Finality | GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<PacketSentEvent[] | null> {\n    const events = await extractEventFromTransactionSignature<PacketSentEvent>(\n        connection,\n        program,\n        signature,\n        packetSentEventBeet,\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the verified packet event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<PacketVerifiedEvent[] | null>} A promise that resolves to an array of verified packet events or null if not found.\n */\nexport async function extractVerifiedPacketEventByTxHash(\n    connection: Connection,\n    program: PublicKey,\n    signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>,\n    commitment?: Finality | GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<PacketVerifiedEvent[] | null> {\n    const events = await extractEventFromTransactionSignature<PacketVerifiedEvent>(\n        connection,\n        program,\n        signature,\n        packetVerifiedEventBeet,\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the received packet event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<PacketDeliveredEvent[] | null>} A promise that resolves to an array of received packet events or null if not found.\n */\nexport async function extractReceivedPacketEventByTxHash(\n    connection: Connection,\n    program: PublicKey,\n    signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>,\n    commitment?: Finality | GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<PacketDeliveredEvent[] | null> {\n    const events = await extractEventFromTransactionSignature<PacketDeliveredEvent>(\n        connection,\n        program,\n        signature,\n        packetDeliveredEventBeet,\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the compose sent event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<ComposeSentEvent[] | null>} A promise that resolves to an array of compose sent events or null if not found.\n */\nexport async function extractComposeSentEventByTxHash(\n    connection: Connection,\n    program: PublicKey,\n    signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>,\n    commitment?: Finality | GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<ComposeSentEvent[] | null> {\n    const events = await extractEventFromTransactionSignature<ComposeSentEvent>(\n        connection,\n        program,\n        signature,\n        composeSentEventBeet,\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the compose delivered event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<ComposeDeliveredEvent[] | null>} A promise that resolves to an array of compose delivered events or null if not found.\n */\nexport async function extractComposeDeliveredEventByTxHash(\n    connection: Connection,\n    program: PublicKey,\n    signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>,\n    commitment?: Finality | GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<ComposeDeliveredEvent[] | null> {\n    const events = await extractEventFromTransactionSignature<ComposeDeliveredEvent>(\n        connection,\n        program,\n        signature,\n        composeDeliveredEventBeet,\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the worker fee paid event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<FeesPaidEvent[] | null>} A promise that resolves to an array of worker fee paid events or null if not found.\n */\nexport async function extractWorkerFeePaidEventByTxHash(\n    connection: Connection,\n    program: PublicKey,\n    signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>,\n    commitment?: Finality | GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<FeesPaidEvent[] | null> {\n    const events = await extractEventFromTransactionSignature<FeesPaidEvent>(\n        connection,\n        program,\n        signature,\n        feesPaidEventBeet,\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts events from a transaction signature.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key, extract event from specific program id\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature(tx hash) or parsed transaction.\n * @param {beet.FixableBeetArgsStruct<E> | beet.BeetArgsStruct<E>} eventBeet - The beet struct for the event.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed. Default is false, only parse event if transaction succeeded. if true, will parse event even if transaction failed. Please set this to false if you want to ignore failed transaction and set `true` with caution as it may lead to unexpected behavior.\n * @returns {Promise<E[] | null>} A promise that resolves to an array of events or null if not found.\n */\nexport async function extractEventFromTransactionSignature<E>(\n    connection: Connection,\n    program: PublicKey,\n    signature: TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>,\n    eventBeet: beet.FixableBeetArgsStruct<E> | beet.BeetArgsStruct<E>,\n    commitment?: Finality | GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<E[] | null> {\n    const tx = typeof signature === 'string' ? await connection.getParsedTransaction(signature, commitment) : signature\n    if (tx == null) return null\n    const events = new Array<E>()\n    // refer: https://solana.com/docs/rpc/http/gettransaction\n    // tx.meta.err: Error if transaction failed, null if transaction succeeded\n    if (tx.meta?.err !== null && !unsafeParseErr) {\n        return null\n    }\n    for (const instruction of tx.meta?.innerInstructions ?? []) {\n        for (const innerInstruction of instruction.instructions) {\n            const inst = innerInstruction as PartiallyDecodedInstruction\n            if (!inst.programId.equals(program)) {\n                continue\n            }\n            const decoded = base58.decode(inst.data)\n            const discriminator = Buffer.from(decoded.subarray(0, 8)).toString('hex')\n            if (discriminator !== EventEmitDiscriminator) {\n                continue\n            }\n            // get second 8 bits, filter event here\n            const eventDiscriminator = Buffer.from(decoded.subarray(8, 16)).toString('hex')\n            if (eventDiscriminator !== getEventDiscriminator(eventBeet.description)) {\n                continue\n            }\n            const dataBuffer = Buffer.from(decoded.subarray(16, decoded.length))\n            if (eventBeet instanceof beet.FixableBeetArgsStruct) {\n                const beet = eventBeet.toFixedFromData(dataBuffer, 0)\n                events.push(beet.read(dataBuffer, 0))\n            } else {\n                events.push(eventBeet.read(dataBuffer, 0))\n            }\n        }\n    }\n    return events.length > 0 ? events : null\n}\n\n/**\n * Generates an address lookup table.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payer - The payer public key.\n * @param {PublicKey} authority - The authority public key.\n * @param {PublicKey[]} addresses - The addresses to include in the lookup table.\n * @returns {Promise<{ instructions: TransactionInstruction[]; address: PublicKey }>} A promise that resolves to the instructions and lookup table address.\n */\nexport async function generateAddressLookupTable(\n    connection: Connection,\n    payer: PublicKey,\n    authority: PublicKey,\n    addresses: PublicKey[]\n): Promise<{ instructions: TransactionInstruction[]; address: PublicKey }> {\n    const slot = await connection.getSlot('finalized')\n    const [createInstruction, lookupTableAddress] = AddressLookupTableProgram.createLookupTable({\n        payer,\n        authority,\n        recentSlot: slot,\n    })\n    const extendInstruction = AddressLookupTableProgram.extendLookupTable({\n        payer,\n        authority,\n        lookupTable: lookupTableAddress,\n        addresses,\n    })\n\n    return {\n        instructions: [createInstruction, extendInstruction],\n        address: lookupTableAddress,\n    }\n}\n\n/**\n * Deactivates an address lookup table.\n * To properly terminate the lookup table, it is advisable to initially invoke `deactivateLookupTable`,\n * pause for a duration of 500 blocks, and subsequently invoke `closeLookupTable`.\n *\n * @param {PublicKey} authority - The authority public key.\n * @param {PublicKey} lookupTable - The lookup table public key.\n * @returns {TransactionInstruction} The transaction instruction.\n */\nexport function deactivateLookupTable(authority: PublicKey, lookupTable: PublicKey): TransactionInstruction {\n    return AddressLookupTableProgram.deactivateLookupTable({\n        authority,\n        lookupTable,\n    } satisfies DeactivateLookupTableParams)\n}\n\n/**\n * Closes an address lookup table.\n * To properly terminate the lookup table, it is advisable to initially invoke `deactivateLookupTable`,\n * pause for a duration of 500 blocks, and subsequently invoke `closeLookupTable`.\n *\n * @param {PublicKey} recipient - The recipient public key.\n * @param {PublicKey} authority - The authority public key.\n * @param {PublicKey} lookupTable - The lookup table public key.\n * @returns {TransactionInstruction} The transaction instruction.\n */\nexport function closeLookupTable(\n    recipient: PublicKey,\n    authority: PublicKey,\n    lookupTable: PublicKey\n): TransactionInstruction {\n    return AddressLookupTableProgram.closeLookupTable({\n        authority,\n        recipient,\n        lookupTable,\n    } satisfies CloseLookupTableParams)\n}\n\n/**\n * Creates a versioned transaction with an address lookup table.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payer - The payer public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {Blockhash} [recentBlockHash] - The recent block hash.\n * @param {PublicKey} [_tableAddrs] - The array of address lookup table public keys.\n * @returns {Promise<VersionedTransaction>} A promise that resolves to the versioned transaction.\n */\nexport async function txWithAddressLookupTable(\n    connection: Connection,\n    payer: PublicKey,\n    instructions: TransactionInstruction[],\n    recentBlockHash?: Blockhash,\n    _tableAddrs?: PublicKey | PublicKey[]\n): Promise<VersionedTransaction> {\n    recentBlockHash = recentBlockHash ?? (await connection.getLatestBlockhash()).blockhash\n    if (!_tableAddrs) {\n        return new VersionedTransaction(\n            new TransactionMessage({\n                instructions,\n                payerKey: payer,\n                recentBlockhash: recentBlockHash,\n            }).compileToV0Message()\n        )\n    }\n    const tableAddrs = Array.isArray(_tableAddrs) ? _tableAddrs : [_tableAddrs]\n    const lookupTableAccountsResult = await connection.getMultipleAccountsInfo(tableAddrs)\n    const lookupTableAccounts = lookupTableAccountsResult\n        .map((result, index) => {\n            if (result === null) return null\n            return new AddressLookupTableAccount({\n                key: tableAddrs[index],\n                state: AddressLookupTableAccount.deserialize(result.data),\n            })\n        })\n        .filter((account): account is AddressLookupTableAccount => account !== null)\n    return new VersionedTransaction(\n        new TransactionMessage({\n            instructions,\n            payerKey: payer,\n            recentBlockhash: recentBlockHash,\n        }).compileToV0Message(lookupTableAccounts.length > 0 ? lookupTableAccounts : undefined)\n    )\n}\n\n/**\n * Creates a nonce account transaction.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} auth - The authorized public key.\n * @param {number} [lamportsForRent] - The lamports for rent.\n * @returns {Promise<{ tx: Transaction; nonceAccount: Keypair }>} A promise that resolves to the transaction and nonce account.\n */\nexport async function createNonceAccountTX(\n    connection: Connection,\n    auth: PublicKey,\n    lamportsForRent?: number\n): Promise<{ tx: Transaction; nonceAccount: Keypair }> {\n    const nonceAccount = Keypair.generate()\n\n    const lamports = lamportsForRent ?? (await connection.getMinimumBalanceForRentExemption(NONCE_ACCOUNT_LENGTH))\n\n    const tx = new Transaction()\n    tx.add(\n        // create nonce account\n        SystemProgram.createAccount({\n            fromPubkey: auth,\n            newAccountPubkey: nonceAccount.publicKey,\n            lamports,\n            space: NONCE_ACCOUNT_LENGTH,\n            programId: SystemProgram.programId,\n        }),\n        // init nonce account\n        SystemProgram.nonceInitialize({\n            noncePubkey: nonceAccount.publicKey, // nonce account pubkey\n            authorizedPubkey: auth, // nonce account auth\n        })\n    )\n    return { tx, nonceAccount }\n}\n\n/**\n * Creates a transaction with a nonce.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} noncePubkey - The nonce public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {NonceAccount} [nonceInfo] - The nonce account information.\n * @returns {Promise<Transaction | null>} A promise that resolves to the transaction or null if not found.\n */\nexport async function txWithNonce(\n    connection: Connection,\n    noncePubkey: PublicKey,\n    instructions: TransactionInstruction[],\n    nonceInfo?: NonceAccount\n): Promise<Transaction | null> {\n    const tx = new Transaction()\n\n    if (!nonceInfo) {\n        const accountInfo = await connection.getAccountInfo(noncePubkey)\n        if (accountInfo) {\n            nonceInfo = NonceAccount.fromAccountData(accountInfo.data)\n        } else {\n            return null\n        }\n    }\n\n    tx.add(\n        // nonce advance must be the first insturction\n        SystemProgram.nonceAdvance({\n            noncePubkey: noncePubkey,\n            authorizedPubkey: nonceInfo.authorizedPubkey,\n        })\n    )\n    tx.add(...instructions)\n    tx.recentBlockhash = nonceInfo.nonce\n    return tx\n}\n\n/**\n * Checks if an account is initialized.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} account - The account public key.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n * @returns {Promise<boolean>} A promise that resolves to true if the account is initialized, false otherwise.\n */\nexport async function isAccountInitialized(\n    connection: Connection,\n    account: PublicKey,\n    commitmentOrConfig?: Commitment | GetAccountInfoConfig\n): Promise<boolean> {\n    return connection.getAccountInfo(account, commitmentOrConfig).then((res) => {\n        return res !== null\n    })\n}\n\n/**\n * Builds a version 0 message.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payerKey - The payer public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n * @param {Blockhash} [blockhash] - The blockhash.\n * @returns {Promise<MessageV0>} A promise that resolves to the version 0 message.\n */\nexport async function buildMessageV0(\n    connection: Connection,\n    payerKey: PublicKey,\n    instructions: TransactionInstruction[],\n    commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed',\n    blockhash?: Blockhash\n): Promise<MessageV0> {\n    return new TransactionMessage({\n        payerKey: payerKey,\n        recentBlockhash: blockhash ?? (await connection.getLatestBlockhash(commitmentOrConfig)).blockhash,\n        instructions: instructions,\n    }).compileToV0Message()\n}\n\n/**\n * Builds a versioned transaction.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payerKey - The payer public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n * @param {Blockhash} [blockhash] - The blockhash.\n * @param {PublicKey} [lookupTableAddresses] - The array of lookup table addresses.\n * @returns {Promise<VersionedTransaction>} A promise that resolves to the versioned transaction.\n */\nexport async function buildVersionedTransaction(\n    connection: Connection,\n    payerKey: PublicKey,\n    instructions: TransactionInstruction[],\n    commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed',\n    blockhash?: Blockhash,\n    lookupTableAddresses?: PublicKey | PublicKey[]\n): Promise<VersionedTransaction> {\n    if (lookupTableAddresses) {\n        return txWithAddressLookupTable(connection, payerKey, instructions, blockhash, lookupTableAddresses)\n    }\n    return new VersionedTransaction(\n        await buildMessageV0(connection, payerKey, instructions, commitmentOrConfig, blockhash)\n    )\n}\n\n/**\n * Generates an instruction discriminator.\n *\n * @param {string} method - The method name.\n * @returns {Buffer} The instruction discriminator.\n */\nexport function instructionDiscriminator(method: string): Buffer {\n    return Buffer.from(sha2_256(Buffer.from(`global:${method}`))).subarray(0, 8)\n}\n\n/**\n * Simulates a transaction.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {PublicKey} programId - The program public key.\n * @param {PublicKey} payer - The payer public key.\n * @param {Commitment} [commitment='confirmed'] - The commitment level.\n * @param {Blockhash} [blockhash] - The blockhash.\n * @param {PublicKey} [lookupTableAddresses] - The array of lookup table addresses.\n * @returns {Promise<Buffer>} A promise that resolves to the simulation result.\n * @throws {Error} If the simulation fails.\n */\nexport async function simulateTransaction(\n    connection: Connection,\n    instructions: TransactionInstruction[],\n    programId: PublicKey,\n    payer: PublicKey,\n    commitment: Commitment = 'confirmed',\n    blockhash?: Blockhash,\n    lookupTableAddresses?: PublicKey | PublicKey[]\n): Promise<Buffer> {\n    const tx = await buildVersionedTransaction(\n        connection,\n        payer,\n        instructions,\n        commitment,\n        blockhash,\n        lookupTableAddresses\n    )\n    const simulateResp = await connection.simulateTransaction(tx, { sigVerify: false, commitment })\n    const returnPrefix = `Program return: ${programId.toBase58()} `\n    const returnLog = simulateResp.value.logs?.find((l) => l.startsWith(returnPrefix))\n    if (returnLog === undefined || simulateResp.value.returnData?.programId !== programId.toBase58()) {\n        throw new Error(`Simulate Fail: ${JSON.stringify(simulateResp)}`)\n    } else {\n        return Buffer.from(returnLog.slice(returnPrefix.length), 'base64')\n    }\n}\n","import { array } from '@metaplex-foundation/beet'\nimport {\n    AccountInfo,\n    AccountMeta,\n    Commitment,\n    Connection,\n    GetAccountInfoConfig,\n    PublicKey,\n    TransactionInstruction,\n} from '@solana/web3.js'\n\nimport { arrayify } from '@layerzerolabs/lz-utilities'\nimport { Packet, addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport { deriveLzComposeTypesAccountsPDA, deriveLzReceiveTypesAccountsPDA } from '.'\nimport {\n    AddressType,\n    LzComposeParams,\n    LzComposeParamsBeet,\n    LzReceiveAccountBeet,\n    LzReceiveParams,\n    LzReceiveParamsBeet,\n} from './types'\nimport { instructionDiscriminator, simulateTransaction } from './utility'\nimport { ComposeSentEvent } from '../generated/solita/endpoint/events'\n\n/**\n * Receives a LayerZero message.\n *\n * @param {Connection} connection - The Solana connection object.\n * @param {PublicKey} payer - The public key of the payer.\n * @param {Packet} packet - The packet containing the message.\n * @param {Uint8Array} [callerParams] - Optional caller parameters.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - Optional commitment or configuration.\n *\n * @returns {Promise<TransactionInstruction>} The transaction instruction.\n */\nexport async function lzReceive(\n    connection: Connection,\n    payer: PublicKey,\n    packet: Pick<Packet, 'message' | 'sender' | 'srcEid' | 'guid' | 'receiver' | 'nonce'>,\n    callerParams: Uint8Array = Uint8Array.from([0, 0]),\n    commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n): Promise<TransactionInstruction> {\n    const { message: message_, sender: sender, srcEid, guid, receiver: receiver_ } = packet\n    const receiver = new PublicKey(addressToBytes32(receiver_))\n    const message = arrayify(message_)\n    const params: LzReceiveParams = {\n        srcEid: srcEid,\n        sender: Array.from(arrayify(sender)),\n        guid: Array.from(arrayify(guid)),\n        message,\n        callerParams,\n        nonce: parseInt(packet.nonce),\n    }\n    const receiverInfo = await connection.getParsedAccountInfo(receiver, commitmentOrConfig)\n    const receiverProgram = new PublicKey((receiverInfo.value as AccountInfo<Buffer>).owner)\n    const accounts = await getLzReceiveAccounts(\n        connection,\n        payer,\n        receiver,\n        receiverProgram,\n        params,\n        commitmentOrConfig\n    )\n\n    const MSG_TYPE_OFFSET = 0\n    // const msgType: string = message[MSG_TYPE_OFFSET].toString()\n    // if (msgType !== MessageType.COMPOSED_TYPE.toString() && msgType !== MessageType.VANILLA.toString()) {\n    //     throw new Error(`Invalid message type ${msgType}`)\n    // }\n\n    const [data] = LzReceiveParamsBeet.serialize(params)\n    return new TransactionInstruction({\n        programId: receiverProgram,\n        keys: accounts,\n        data: Buffer.concat([instructionDiscriminator('lz_receive'), data]),\n    })\n}\n\n/**\n * Composes a LayerZero message.\n *\n * @param {Connection} connection - The Solana connection object.\n * @param {PublicKey} payer - The public key of the payer.\n * @param {ComposeSentEvent} event - The event containing the message details.\n * @param {Uint8Array} [extraData] - Optional extra data.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - Optional commitment or configuration.\n *\n * @returns {Promise<TransactionInstruction>} The transaction instruction.\n */\nexport async function lzCompose(\n    connection: Connection,\n    payer: PublicKey,\n    event: ComposeSentEvent,\n    extraData: Uint8Array = Uint8Array.from([0, 0]),\n    commitmentOrConfig?: Commitment | GetAccountInfoConfig\n): Promise<TransactionInstruction> {\n    const { to, from, guid, index, message } = event\n    const params: LzComposeParams = {\n        from,\n        to,\n        guid,\n        index,\n        message,\n        extraData,\n    }\n    const accountInfo = await connection.getAccountInfo(to, commitmentOrConfig)\n    if (!accountInfo) {\n        throw new Error(`Account not found: ${to.toBase58()}`)\n    }\n    const programId = accountInfo.owner\n    const accounts = await getLzComposeAccountMeta(connection, payer, to, programId, params, commitmentOrConfig)\n\n    const [data] = LzComposeParamsBeet.serialize(params)\n    return new TransactionInstruction({\n        programId,\n        keys: accounts,\n        data: Buffer.concat([instructionDiscriminator('lz_compose'), data]),\n    })\n}\n\n/// LzReceiveTypes instruction provides a list of accounts that are used in the LzReceive\n/// instruction. The list of accounts required by this LzReceiveTypes instruction can be found\n/// from the specific PDA account that is generated by the LZ_RECEIVE_TYPES_SEED.\n/**\n * Retrieves the accounts required for the LzReceive instruction.\n *\n * @param {Connection} connection - The Solana connection object.\n * @param {PublicKey} payer - The public key of the payer.\n * @param {PublicKey} receiver - The public key of the receiver.\n * @param {PublicKey} receiverProgram - The public key of the receiver program.\n * @param {LzReceiveParams} params - The parameters for the LzReceive instruction.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - Optional commitment or configuration.\n *\n * @returns {Promise<AccountMeta[]>} The list of account metadata.\n */\nexport async function getLzReceiveAccounts(\n    connection: Connection,\n    payer: PublicKey,\n    receiver: PublicKey,\n    receiverProgram: PublicKey,\n    params: LzReceiveParams,\n    commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n): Promise<AccountMeta[]> {\n    const lzReceiveTypesAccounts = await (async (): Promise<AccountMeta[]> => {\n        const [lzReceiveTypesAccountsPDA] = deriveLzReceiveTypesAccountsPDA(receiverProgram, receiver)\n        // Get the lzReceiveTypesAccounts. Deserialize the AccountInfo.data to get the lzReceiveTypesAccounts.\n        const info = await connection.getAccountInfo(lzReceiveTypesAccountsPDA, commitmentOrConfig)\n        const accounts = []\n        if (info) {\n            const buffer = Buffer.from(info.data)\n            const len = buffer.length - 8\n            if (len % 32 !== 0) {\n                throw new Error(\n                    `Invalid length of AccountInfo.data. The length must be a multiple of 32 plus 8.(n*32+8). Current length is ${buffer.length}`\n                )\n            }\n            for (let i = 8; i < len; i += 32) {\n                const address = AddressType.read(buffer, i)\n                accounts.push({\n                    pubkey: new PublicKey(address),\n                    isSigner: false,\n                    isWritable: false,\n                })\n            }\n        }\n        return accounts\n    })()\n\n    const [data] = LzReceiveParamsBeet.serialize(params)\n    const lzReceiveTypesIx = new TransactionInstruction({\n        programId: receiverProgram,\n        keys: lzReceiveTypesAccounts,\n        data: Buffer.concat([instructionDiscriminator('lz_receive_types'), data]),\n    })\n\n    const response = await simulateTransaction(connection, [lzReceiveTypesIx], receiverProgram, payer)\n    const keys: AccountMeta[] = retrieveAccountFromSimulatedResp(response, payer)\n    return keys\n}\n\n/**\n * Retrieves the accounts required for the LzCompose instruction.\n *\n * @param {Connection} connection - The Solana connection object.\n * @param {PublicKey} payer - The public key of the payer.\n * @param {PublicKey} to - The public key of the recipient.\n * @param {PublicKey} composerProgram - The public key of the composer program.\n * @param {LzComposeParams} params - The parameters for the LzCompose instruction.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - Optional commitment or configuration.\n *\n * @returns {Promise<AccountMeta[]>} The list of account metadata.\n */\nexport async function getLzComposeAccountMeta(\n    connection: Connection,\n    payer: PublicKey,\n    to: PublicKey,\n    composerProgram: PublicKey,\n    params: LzComposeParams,\n    commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n): Promise<AccountMeta[]> {\n    const lzComposeTypesAccounts = await (async (): Promise<AccountMeta[]> => {\n        const [lzComposeTypesAccountsPDA] = deriveLzComposeTypesAccountsPDA(composerProgram, to)\n        // Get the lzReceiveTypesAccounts. Deserialize the AccountInfo.data to get the lzComposeTypesAccounts.\n        const info = await connection.getAccountInfo(lzComposeTypesAccountsPDA, commitmentOrConfig)\n        const accounts = []\n        if (info) {\n            const buffer = Buffer.from(info.data)\n            const len = buffer.length - 8\n            if (len % 32 !== 0) {\n                throw new Error(\n                    `Invalid length of AccountInfo.data. The length must be a multiple of 32 plus 8.(n*32+8). Current length is ${buffer.length}`\n                )\n            }\n            for (let i = 8; i < len; i += 32) {\n                const address = AddressType.read(buffer, i)\n                accounts.push({\n                    pubkey: new PublicKey(address),\n                    isSigner: false,\n                    isWritable: false,\n                })\n            }\n        }\n        return accounts\n    })()\n\n    const [data] = LzComposeParamsBeet.serialize(params)\n    const lzComposeTypesIx = new TransactionInstruction({\n        programId: composerProgram,\n        keys: lzComposeTypesAccounts,\n        data: Buffer.concat([instructionDiscriminator('lz_compose_types'), data]),\n    })\n\n    const response = await simulateTransaction(connection, [lzComposeTypesIx], composerProgram, payer)\n    const keys: AccountMeta[] = retrieveAccountFromSimulatedResp(response, payer)\n    return keys\n}\n\n/**\n * Retrieves account metadata from a simulated transaction response.\n *\n * @param {Buffer} resp - The response buffer.\n * @param {PublicKey} [payer] - Optional public key of the payer.\n *\n * @returns {AccountMeta[]} The list of account metadata.\n */\nfunction retrieveAccountFromSimulatedResp(resp: Buffer, payer?: PublicKey): AccountMeta[] {\n    const result = array(LzReceiveAccountBeet)\n    const fixedBeet = result.toFixedFromData(resp, 0)\n    const results = fixedBeet.read(resp, 0)\n    return results.map((r) => {\n        if (r.pubkey.toBase58() == PublicKey.default.toBase58() && r.isSigner) {\n            if (!payer) throw new Error('payer is required')\n            return {\n                pubkey: payer,\n                isSigner: true,\n                isWritable: r.isWritable,\n            } satisfies AccountMeta\n        } else {\n            return {\n                pubkey: r.pubkey,\n                isSigner: r.isSigner,\n                isWritable: r.isWritable,\n            } satisfies AccountMeta\n        }\n    })\n}\n","export * from './ExecutorConfig'\nexport * from './Nonce'\n\nimport { Nonce } from './Nonce'\nimport { ExecutorConfig } from './ExecutorConfig'\n\nexport const accountProviders = { Nonce, ExecutorConfig }\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type Acl = {\n  allowList: web3.PublicKey[]\n  denyList: web3.PublicKey[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const aclBeet = new beet.FixableBeetArgsStruct<Acl>(\n  [\n    ['allowList', beet.array(beetSolana.publicKey)],\n    ['denyList', beet.array(beetSolana.publicKey)],\n  ],\n  'Acl'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type DstConfig = {\n  eid: number\n  lzReceiveBaseGas: number\n  lzComposeBaseGas: number\n  multiplierBps: beet.COption<number>\n  floorMarginUsd: beet.COption<beet.bignum>\n  nativeDropCap: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const dstConfigBeet = new beet.FixableBeetArgsStruct<DstConfig>(\n  [\n    ['eid', beet.u32],\n    ['lzReceiveBaseGas', beet.u32],\n    ['lzComposeBaseGas', beet.u32],\n    ['multiplierBps', beet.coption(beet.u16)],\n    ['floorMarginUsd', beet.coption(beet.u128)],\n    ['nativeDropCap', beet.u128],\n  ],\n  'DstConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { Acl, aclBeet } from '../types/Acl'\nimport { DstConfig, dstConfigBeet } from '../types/DstConfig'\n\n/**\n * Arguments used to create {@link ExecutorConfig}\n * @category Accounts\n * @category generated\n */\nexport type ExecutorConfigArgs = {\n  bump: number\n  owner: web3.PublicKey\n  acl: Acl\n  admins: web3.PublicKey[]\n  executors: web3.PublicKey[]\n  msglibs: web3.PublicKey[]\n  paused: boolean\n  defaultMultiplierBps: number\n  priceFeed: web3.PublicKey\n  dstConfigs: DstConfig[]\n}\n\nexport const executorConfigDiscriminator = [134, 17, 226, 24, 10, 173, 157, 78]\n/**\n * Holds the data for the {@link ExecutorConfig} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class ExecutorConfig implements ExecutorConfigArgs {\n  private constructor(\n    readonly bump: number,\n    readonly owner: web3.PublicKey,\n    readonly acl: Acl,\n    readonly admins: web3.PublicKey[],\n    readonly executors: web3.PublicKey[],\n    readonly msglibs: web3.PublicKey[],\n    readonly paused: boolean,\n    readonly defaultMultiplierBps: number,\n    readonly priceFeed: web3.PublicKey,\n    readonly dstConfigs: DstConfig[]\n  ) {}\n\n  /**\n   * Creates a {@link ExecutorConfig} instance from the provided args.\n   */\n  static fromArgs(args: ExecutorConfigArgs) {\n    return new ExecutorConfig(\n      args.bump,\n      args.owner,\n      args.acl,\n      args.admins,\n      args.executors,\n      args.msglibs,\n      args.paused,\n      args.defaultMultiplierBps,\n      args.priceFeed,\n      args.dstConfigs\n    )\n  }\n\n  /**\n   * Deserializes the {@link ExecutorConfig} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [ExecutorConfig, number] {\n    return ExecutorConfig.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link ExecutorConfig} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<ExecutorConfig> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find ExecutorConfig account at ${address}`)\n    }\n    return ExecutorConfig.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, executorConfigBeet)\n  }\n\n  /**\n   * Deserializes the {@link ExecutorConfig} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [ExecutorConfig, number] {\n    return executorConfigBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link ExecutorConfig} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return executorConfigBeet.serialize({\n      accountDiscriminator: executorConfigDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link ExecutorConfig} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: ExecutorConfigArgs) {\n    const instance = ExecutorConfig.fromArgs(args)\n    return executorConfigBeet.toFixedFromValue({\n      accountDiscriminator: executorConfigDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link ExecutorConfig} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: ExecutorConfigArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      ExecutorConfig.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link ExecutorConfig} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      owner: this.owner.toBase58(),\n      acl: this.acl,\n      admins: this.admins,\n      executors: this.executors,\n      msglibs: this.msglibs,\n      paused: this.paused,\n      defaultMultiplierBps: this.defaultMultiplierBps,\n      priceFeed: this.priceFeed.toBase58(),\n      dstConfigs: this.dstConfigs,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const executorConfigBeet = new beet.FixableBeetStruct<\n  ExecutorConfig,\n  ExecutorConfigArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['owner', beetSolana.publicKey],\n    ['acl', aclBeet],\n    ['admins', beet.array(beetSolana.publicKey)],\n    ['executors', beet.array(beetSolana.publicKey)],\n    ['msglibs', beet.array(beetSolana.publicKey)],\n    ['paused', beet.bool],\n    ['defaultMultiplierBps', beet.u16],\n    ['priceFeed', beetSolana.publicKey],\n    ['dstConfigs', beet.array(dstConfigBeet)],\n  ],\n  ExecutorConfig.fromArgs,\n  'ExecutorConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link Nonce}\n * @category Accounts\n * @category generated\n */\nexport type NonceArgs = {\n  bump: number\n  outboundNonce: beet.bignum\n  inboundNonce: beet.bignum\n}\n\nexport const nonceDiscriminator = [143, 197, 147, 95, 106, 165, 50, 43]\n/**\n * Holds the data for the {@link Nonce} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class Nonce implements NonceArgs {\n  private constructor(\n    readonly bump: number,\n    readonly outboundNonce: beet.bignum,\n    readonly inboundNonce: beet.bignum\n  ) {}\n\n  /**\n   * Creates a {@link Nonce} instance from the provided args.\n   */\n  static fromArgs(args: NonceArgs) {\n    return new Nonce(args.bump, args.outboundNonce, args.inboundNonce)\n  }\n\n  /**\n   * Deserializes the {@link Nonce} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [Nonce, number] {\n    return Nonce.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link Nonce} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<Nonce> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find Nonce account at ${address}`)\n    }\n    return Nonce.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, nonceBeet)\n  }\n\n  /**\n   * Deserializes the {@link Nonce} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [Nonce, number] {\n    return nonceBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link Nonce} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return nonceBeet.serialize({\n      accountDiscriminator: nonceDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link Nonce}\n   */\n  static get byteSize() {\n    return nonceBeet.byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link Nonce} data from rent\n   *\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      Nonce.byteSize,\n      commitment\n    )\n  }\n\n  /**\n   * Determines if the provided {@link Buffer} has the correct byte size to\n   * hold {@link Nonce} data.\n   */\n  static hasCorrectByteSize(buf: Buffer, offset = 0) {\n    return buf.byteLength - offset === Nonce.byteSize\n  }\n\n  /**\n   * Returns a readable version of {@link Nonce} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      outboundNonce: (() => {\n        const x = <{ toNumber: () => number }>this.outboundNonce\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n      inboundNonce: (() => {\n        const x = <{ toNumber: () => number }>this.inboundNonce\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const nonceBeet = new beet.BeetStruct<\n  Nonce,\n  NonceArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['outboundNonce', beet.u64],\n    ['inboundNonce', beet.u64],\n  ],\n  Nonce.fromArgs,\n  'Nonce'\n)\n","export * from './NativeDropAppliedEvent'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type NativeDropRequest = {\n  receiver: web3.PublicKey\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const nativeDropRequestBeet = new beet.BeetArgsStruct<NativeDropRequest>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['amount', beet.u64],\n  ],\n  'NativeDropRequest'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { NativeDropRequest, nativeDropRequestBeet } from '../types/NativeDropRequest'\nexport type NativeDropAppliedEvent = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  dstEid: number\n  oapp: web3.PublicKey\n  nativeDropRequests: NativeDropRequest[]\n  successes: boolean[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const nativeDropAppliedEventBeet =\n  new beet.FixableBeetArgsStruct<NativeDropAppliedEvent>(\n    [\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['nonce', beet.u64],\n      ['dstEid', beet.u32],\n      ['oapp', beetSolana.publicKey],\n      ['nativeDropRequests', beet.array(nativeDropRequestBeet)],\n      ['successes', beet.array(beet.bool)],\n    ],\n    'NativeDropAppliedEvent'\n  )\n","export * from './adminSetConfig'\nexport * from './compose'\nexport * from './executable'\nexport * from './execute'\nexport * from './initExecutor'\nexport * from './nativeDrop'\nexport * from './ownerSetConfig'\nexport * from './quoteExecutor'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { DstConfig, dstConfigBeet } from './DstConfig'\n/**\n * This type is used to derive the {@link AdminSetConfigParams} type as well as the de/serializer.\n * However don't refer to it in your code but use the {@link AdminSetConfigParams} type instead.\n *\n * @category userTypes\n * @category enums\n * @category generated\n * @private\n */\nexport type AdminSetConfigParamsRecord = {\n  PriceFeed: { fields: [web3.PublicKey] }\n  DefaultMultiplierBps: { fields: [number] }\n  DstConfigs: { fields: [DstConfig[]] }\n}\n\n/**\n * Union type respresenting the AdminSetConfigParams data enum defined in Rust.\n *\n * NOTE: that it includes a `__kind` property which allows to narrow types in\n * switch/if statements.\n * Additionally `isAdminSetConfigParams*` type guards are exposed below to narrow to a specific variant.\n *\n * @category userTypes\n * @category enums\n * @category generated\n */\nexport type AdminSetConfigParams =\n  beet.DataEnumKeyAsKind<AdminSetConfigParamsRecord>\n\nexport const isAdminSetConfigParamsPriceFeed = (\n  x: AdminSetConfigParams\n): x is AdminSetConfigParams & { __kind: 'PriceFeed' } =>\n  x.__kind === 'PriceFeed'\nexport const isAdminSetConfigParamsDefaultMultiplierBps = (\n  x: AdminSetConfigParams\n): x is AdminSetConfigParams & { __kind: 'DefaultMultiplierBps' } =>\n  x.__kind === 'DefaultMultiplierBps'\nexport const isAdminSetConfigParamsDstConfigs = (\n  x: AdminSetConfigParams\n): x is AdminSetConfigParams & { __kind: 'DstConfigs' } =>\n  x.__kind === 'DstConfigs'\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const adminSetConfigParamsBeet =\n  beet.dataEnum<AdminSetConfigParamsRecord>([\n    [\n      'PriceFeed',\n      new beet.BeetArgsStruct<AdminSetConfigParamsRecord['PriceFeed']>(\n        [['fields', beet.fixedSizeTuple([beetSolana.publicKey])]],\n        'AdminSetConfigParamsRecord[\"PriceFeed\"]'\n      ),\n    ],\n    [\n      'DefaultMultiplierBps',\n      new beet.BeetArgsStruct<\n        AdminSetConfigParamsRecord['DefaultMultiplierBps']\n      >(\n        [['fields', beet.fixedSizeTuple([beet.u16])]],\n        'AdminSetConfigParamsRecord[\"DefaultMultiplierBps\"]'\n      ),\n    ],\n    [\n      'DstConfigs',\n      new beet.FixableBeetArgsStruct<AdminSetConfigParamsRecord['DstConfigs']>(\n        [['fields', beet.tuple([beet.array(dstConfigBeet)])]],\n        'AdminSetConfigParamsRecord[\"DstConfigs\"]'\n      ),\n    ],\n  ]) as beet.FixableBeet<AdminSetConfigParams, AdminSetConfigParams>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  AdminSetConfigParams,\n  adminSetConfigParamsBeet,\n} from '../types/AdminSetConfigParams'\n\n/**\n * @category Instructions\n * @category AdminSetConfig\n * @category generated\n */\nexport type AdminSetConfigInstructionArgs = {\n  params: AdminSetConfigParams\n}\n/**\n * @category Instructions\n * @category AdminSetConfig\n * @category generated\n */\nexport const adminSetConfigStruct = new beet.FixableBeetArgsStruct<\n  AdminSetConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', adminSetConfigParamsBeet],\n  ],\n  'AdminSetConfigInstructionArgs'\n)\n/**\n * Accounts required by the _adminSetConfig_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] config\n * @category Instructions\n * @category AdminSetConfig\n * @category generated\n */\nexport type AdminSetConfigInstructionAccounts = {\n  admin: web3.PublicKey\n  config: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const adminSetConfigInstructionDiscriminator = [\n  35, 56, 160, 84, 132, 156, 27, 79,\n]\n\n/**\n * Creates a _AdminSetConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category AdminSetConfig\n * @category generated\n */\nexport function createAdminSetConfigInstruction(\n  accounts: AdminSetConfigInstructionAccounts,\n  args: AdminSetConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = adminSetConfigStruct.serialize({\n    instructionDiscriminator: adminSetConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _AdminSetConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category AdminSetConfig\n * @category generated\n */\nexport function createAdminSetConfigInstructionAccounts(\n  accounts: AdminSetConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type LzComposeParams = {\n  from: web3.PublicKey\n  to: web3.PublicKey\n  guid: number[] /* size: 32 */\n  index: number\n  message: Uint8Array\n  extraData: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzComposeParamsBeet =\n  new beet.FixableBeetArgsStruct<LzComposeParams>(\n    [\n      ['from', beetSolana.publicKey],\n      ['to', beetSolana.publicKey],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['index', beet.u16],\n      ['message', beet.bytes],\n      ['extraData', beet.bytes],\n    ],\n    'LzComposeParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { LzComposeParams, lzComposeParamsBeet } from './LzComposeParams'\nexport type ComposeParams = {\n  lzCompose: LzComposeParams\n  computeUnits: beet.bignum\n  value: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const composeParamsBeet = new beet.FixableBeetArgsStruct<ComposeParams>(\n  [\n    ['lzCompose', lzComposeParamsBeet],\n    ['computeUnits', beet.u64],\n    ['value', beet.u64],\n  ],\n  'ComposeParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { ComposeParams, composeParamsBeet } from '../types/ComposeParams'\n\n/**\n * @category Instructions\n * @category Compose\n * @category generated\n */\nexport type ComposeInstructionArgs = {\n  params: ComposeParams\n}\n/**\n * @category Instructions\n * @category Compose\n * @category generated\n */\nexport const composeStruct = new beet.FixableBeetArgsStruct<\n  ComposeInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', composeParamsBeet],\n  ],\n  'ComposeInstructionArgs'\n)\n/**\n * Accounts required by the _compose_ instruction\n *\n * @property [_writable_, **signer**] executor\n * @property [] config\n * @property [] endpointProgram\n * @property [] endpointEventAuthority\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Compose\n * @category generated\n */\nexport type ComposeInstructionAccounts = {\n  executor: web3.PublicKey\n  config: web3.PublicKey\n  endpointProgram: web3.PublicKey\n  endpointEventAuthority: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const composeInstructionDiscriminator = [\n  106, 64, 131, 142, 7, 159, 42, 15,\n]\n\n/**\n * Creates a _Compose_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Compose\n * @category generated\n */\nexport function createComposeInstruction(\n  accounts: ComposeInstructionAccounts,\n  args: ComposeInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = composeStruct.serialize({\n    instructionDiscriminator: composeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointEventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Compose_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Compose\n * @category generated\n */\nexport function createComposeInstructionAccounts(\n  accounts: ComposeInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointEventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type ExecutableParams = {\n  receiver: web3.PublicKey\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const executableParamsBeet = new beet.BeetArgsStruct<ExecutableParams>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['srcEid', beet.u32],\n    ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['nonce', beet.u64],\n  ],\n  'ExecutableParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  ExecutableParams,\n  executableParamsBeet,\n} from '../types/ExecutableParams'\n\n/**\n * @category Instructions\n * @category Executable\n * @category generated\n */\nexport type ExecutableInstructionArgs = {\n  params: ExecutableParams\n}\n/**\n * @category Instructions\n * @category Executable\n * @category generated\n */\nexport const executableStruct = new beet.BeetArgsStruct<\n  ExecutableInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', executableParamsBeet],\n  ],\n  'ExecutableInstructionArgs'\n)\n/**\n * Accounts required by the _executable_ instruction\n *\n * @property [] nonce\n * @property [] payloadHash\n * @category Instructions\n * @category Executable\n * @category generated\n */\nexport type ExecutableInstructionAccounts = {\n  nonce: web3.PublicKey\n  payloadHash: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const executableInstructionDiscriminator = [\n  57, 165, 171, 234, 157, 191, 156, 25,\n]\n\n/**\n * Creates a _Executable_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Executable\n * @category generated\n */\nexport function createExecutableInstruction(\n  accounts: ExecutableInstructionAccounts,\n  args: ExecutableInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = executableStruct.serialize({\n    instructionDiscriminator: executableInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Executable_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Executable\n * @category generated\n */\nexport function createExecutableInstructionAccounts(\n  accounts: ExecutableInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.nonce,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payloadHash,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type LzReceiveParams = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  guid: number[] /* size: 32 */\n  message: Uint8Array\n  extraData: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzReceiveParamsBeet =\n  new beet.FixableBeetArgsStruct<LzReceiveParams>(\n    [\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['nonce', beet.u64],\n      ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['message', beet.bytes],\n      ['extraData', beet.bytes],\n    ],\n    'LzReceiveParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { LzReceiveParams, lzReceiveParamsBeet } from './LzReceiveParams'\nexport type ExecuteParams = {\n  receiver: web3.PublicKey\n  lzReceive: LzReceiveParams\n  value: beet.bignum\n  computeUnits: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const executeParamsBeet = new beet.FixableBeetArgsStruct<ExecuteParams>(\n  [\n    ['receiver', beetSolana.publicKey],\n    ['lzReceive', lzReceiveParamsBeet],\n    ['value', beet.u64],\n    ['computeUnits', beet.u64],\n  ],\n  'ExecuteParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { ExecuteParams, executeParamsBeet } from '../types/ExecuteParams'\n\n/**\n * @category Instructions\n * @category Execute\n * @category generated\n */\nexport type ExecuteInstructionArgs = {\n  params: ExecuteParams\n}\n/**\n * @category Instructions\n * @category Execute\n * @category generated\n */\nexport const executeStruct = new beet.FixableBeetArgsStruct<\n  ExecuteInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', executeParamsBeet],\n  ],\n  'ExecuteInstructionArgs'\n)\n/**\n * Accounts required by the _execute_ instruction\n *\n * @property [_writable_, **signer**] executor\n * @property [] config\n * @property [] endpointProgram\n * @property [] endpointEventAuthority\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Execute\n * @category generated\n */\nexport type ExecuteInstructionAccounts = {\n  executor: web3.PublicKey\n  config: web3.PublicKey\n  endpointProgram: web3.PublicKey\n  endpointEventAuthority: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const executeInstructionDiscriminator = [\n  130, 221, 242, 154, 13, 193, 189, 29,\n]\n\n/**\n * Creates a _Execute_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Execute\n * @category generated\n */\nexport function createExecuteInstruction(\n  accounts: ExecuteInstructionAccounts,\n  args: ExecuteInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = executeStruct.serialize({\n    instructionDiscriminator: executeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointEventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Execute_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Execute\n * @category generated\n */\nexport function createExecuteInstructionAccounts(\n  accounts: ExecuteInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.endpointEventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitExecutorParams = {\n  owner: web3.PublicKey\n  admins: web3.PublicKey[]\n  executors: web3.PublicKey[]\n  msglibs: web3.PublicKey[]\n  priceFeed: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initExecutorParamsBeet =\n  new beet.FixableBeetArgsStruct<InitExecutorParams>(\n    [\n      ['owner', beetSolana.publicKey],\n      ['admins', beet.array(beetSolana.publicKey)],\n      ['executors', beet.array(beetSolana.publicKey)],\n      ['msglibs', beet.array(beetSolana.publicKey)],\n      ['priceFeed', beetSolana.publicKey],\n    ],\n    'InitExecutorParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitExecutorParams,\n  initExecutorParamsBeet,\n} from '../types/InitExecutorParams'\n\n/**\n * @category Instructions\n * @category InitExecutor\n * @category generated\n */\nexport type InitExecutorInstructionArgs = {\n  params: InitExecutorParams\n}\n/**\n * @category Instructions\n * @category InitExecutor\n * @category generated\n */\nexport const initExecutorStruct = new beet.FixableBeetArgsStruct<\n  InitExecutorInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initExecutorParamsBeet],\n  ],\n  'InitExecutorInstructionArgs'\n)\n/**\n * Accounts required by the _initExecutor_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [_writable_] config\n * @category Instructions\n * @category InitExecutor\n * @category generated\n */\nexport type InitExecutorInstructionAccounts = {\n  payer: web3.PublicKey\n  config: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initExecutorInstructionDiscriminator = [\n  195, 68, 116, 173, 55, 173, 159, 31,\n]\n\n/**\n * Creates a _InitExecutor_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitExecutor\n * @category generated\n */\nexport function createInitExecutorInstruction(\n  accounts: InitExecutorInstructionAccounts,\n  args: InitExecutorInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initExecutorStruct.serialize({\n    instructionDiscriminator: initExecutorInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitExecutor_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitExecutor\n * @category generated\n */\nexport function createInitExecutorInstructionAccounts(\n  accounts: InitExecutorInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { NativeDropRequest, nativeDropRequestBeet } from './NativeDropRequest'\nexport type NativeDropParams = {\n  srcEid: number\n  sender: number[] /* size: 32 */\n  nonce: beet.bignum\n  dstEid: number\n  oapp: web3.PublicKey\n  nativeDropRequests: NativeDropRequest[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const nativeDropParamsBeet =\n  new beet.FixableBeetArgsStruct<NativeDropParams>(\n    [\n      ['srcEid', beet.u32],\n      ['sender', beet.uniformFixedSizeArray(beet.u8, 32)],\n      ['nonce', beet.u64],\n      ['dstEid', beet.u32],\n      ['oapp', beetSolana.publicKey],\n      ['nativeDropRequests', beet.array(nativeDropRequestBeet)],\n    ],\n    'NativeDropParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  NativeDropParams,\n  nativeDropParamsBeet,\n} from '../types/NativeDropParams'\n\n/**\n * @category Instructions\n * @category NativeDrop\n * @category generated\n */\nexport type NativeDropInstructionArgs = {\n  params: NativeDropParams\n}\n/**\n * @category Instructions\n * @category NativeDrop\n * @category generated\n */\nexport const nativeDropStruct = new beet.FixableBeetArgsStruct<\n  NativeDropInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', nativeDropParamsBeet],\n  ],\n  'NativeDropInstructionArgs'\n)\n/**\n * Accounts required by the _nativeDrop_ instruction\n *\n * @property [_writable_, **signer**] executor\n * @property [_writable_] config\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category NativeDrop\n * @category generated\n */\nexport type NativeDropInstructionAccounts = {\n  executor: web3.PublicKey\n  config: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const nativeDropInstructionDiscriminator = [\n  105, 30, 218, 121, 155, 234, 85, 12,\n]\n\n/**\n * Creates a _NativeDrop_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category NativeDrop\n * @category generated\n */\nexport function createNativeDropInstruction(\n  accounts: NativeDropInstructionAccounts,\n  args: NativeDropInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = nativeDropStruct.serialize({\n    instructionDiscriminator: nativeDropInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _NativeDrop_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category NativeDrop\n * @category generated\n */\nexport function createNativeDropInstructionAccounts(\n  accounts: NativeDropInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executor,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n/**\n * This type is used to derive the {@link OwnerSetConfigParams} type as well as the de/serializer.\n * However don't refer to it in your code but use the {@link OwnerSetConfigParams} type instead.\n *\n * @category userTypes\n * @category enums\n * @category generated\n * @private\n */\nexport type OwnerSetConfigParamsRecord = {\n  Admins: { fields: [web3.PublicKey[]] }\n  Executors: { fields: [web3.PublicKey[]] }\n  Msglibs: { fields: [web3.PublicKey[]] }\n  Owner: { fields: [web3.PublicKey] }\n  Paused: { fields: [boolean] }\n  Allowlist: { fields: [web3.PublicKey[]] }\n  Denylist: { fields: [web3.PublicKey[]] }\n}\n\n/**\n * Union type respresenting the OwnerSetConfigParams data enum defined in Rust.\n *\n * NOTE: that it includes a `__kind` property which allows to narrow types in\n * switch/if statements.\n * Additionally `isOwnerSetConfigParams*` type guards are exposed below to narrow to a specific variant.\n *\n * @category userTypes\n * @category enums\n * @category generated\n */\nexport type OwnerSetConfigParams =\n  beet.DataEnumKeyAsKind<OwnerSetConfigParamsRecord>\n\nexport const isOwnerSetConfigParamsAdmins = (\n  x: OwnerSetConfigParams\n): x is OwnerSetConfigParams & { __kind: 'Admins' } => x.__kind === 'Admins'\nexport const isOwnerSetConfigParamsExecutors = (\n  x: OwnerSetConfigParams\n): x is OwnerSetConfigParams & { __kind: 'Executors' } =>\n  x.__kind === 'Executors'\nexport const isOwnerSetConfigParamsMsglibs = (\n  x: OwnerSetConfigParams\n): x is OwnerSetConfigParams & { __kind: 'Msglibs' } => x.__kind === 'Msglibs'\nexport const isOwnerSetConfigParamsOwner = (\n  x: OwnerSetConfigParams\n): x is OwnerSetConfigParams & { __kind: 'Owner' } => x.__kind === 'Owner'\nexport const isOwnerSetConfigParamsPaused = (\n  x: OwnerSetConfigParams\n): x is OwnerSetConfigParams & { __kind: 'Paused' } => x.__kind === 'Paused'\nexport const isOwnerSetConfigParamsAllowlist = (\n  x: OwnerSetConfigParams\n): x is OwnerSetConfigParams & { __kind: 'Allowlist' } =>\n  x.__kind === 'Allowlist'\nexport const isOwnerSetConfigParamsDenylist = (\n  x: OwnerSetConfigParams\n): x is OwnerSetConfigParams & { __kind: 'Denylist' } => x.__kind === 'Denylist'\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const ownerSetConfigParamsBeet =\n  beet.dataEnum<OwnerSetConfigParamsRecord>([\n    [\n      'Admins',\n      new beet.FixableBeetArgsStruct<OwnerSetConfigParamsRecord['Admins']>(\n        [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n        'OwnerSetConfigParamsRecord[\"Admins\"]'\n      ),\n    ],\n    [\n      'Executors',\n      new beet.FixableBeetArgsStruct<OwnerSetConfigParamsRecord['Executors']>(\n        [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n        'OwnerSetConfigParamsRecord[\"Executors\"]'\n      ),\n    ],\n    [\n      'Msglibs',\n      new beet.FixableBeetArgsStruct<OwnerSetConfigParamsRecord['Msglibs']>(\n        [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n        'OwnerSetConfigParamsRecord[\"Msglibs\"]'\n      ),\n    ],\n    [\n      'Owner',\n      new beet.BeetArgsStruct<OwnerSetConfigParamsRecord['Owner']>(\n        [['fields', beet.fixedSizeTuple([beetSolana.publicKey])]],\n        'OwnerSetConfigParamsRecord[\"Owner\"]'\n      ),\n    ],\n    [\n      'Paused',\n      new beet.BeetArgsStruct<OwnerSetConfigParamsRecord['Paused']>(\n        [['fields', beet.fixedSizeTuple([beet.bool])]],\n        'OwnerSetConfigParamsRecord[\"Paused\"]'\n      ),\n    ],\n    [\n      'Allowlist',\n      new beet.FixableBeetArgsStruct<OwnerSetConfigParamsRecord['Allowlist']>(\n        [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n        'OwnerSetConfigParamsRecord[\"Allowlist\"]'\n      ),\n    ],\n    [\n      'Denylist',\n      new beet.FixableBeetArgsStruct<OwnerSetConfigParamsRecord['Denylist']>(\n        [['fields', beet.tuple([beet.array(beetSolana.publicKey)])]],\n        'OwnerSetConfigParamsRecord[\"Denylist\"]'\n      ),\n    ],\n  ]) as beet.FixableBeet<OwnerSetConfigParams, OwnerSetConfigParams>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  OwnerSetConfigParams,\n  ownerSetConfigParamsBeet,\n} from '../types/OwnerSetConfigParams'\n\n/**\n * @category Instructions\n * @category OwnerSetConfig\n * @category generated\n */\nexport type OwnerSetConfigInstructionArgs = {\n  params: OwnerSetConfigParams\n}\n/**\n * @category Instructions\n * @category OwnerSetConfig\n * @category generated\n */\nexport const ownerSetConfigStruct = new beet.FixableBeetArgsStruct<\n  OwnerSetConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', ownerSetConfigParamsBeet],\n  ],\n  'OwnerSetConfigInstructionArgs'\n)\n/**\n * Accounts required by the _ownerSetConfig_ instruction\n *\n * @property [**signer**] owner\n * @property [_writable_] config\n * @category Instructions\n * @category OwnerSetConfig\n * @category generated\n */\nexport type OwnerSetConfigInstructionAccounts = {\n  owner: web3.PublicKey\n  config: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const ownerSetConfigInstructionDiscriminator = [\n  99, 197, 129, 19, 164, 164, 183, 123,\n]\n\n/**\n * Creates a _OwnerSetConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category OwnerSetConfig\n * @category generated\n */\nexport function createOwnerSetConfigInstruction(\n  accounts: OwnerSetConfigInstructionAccounts,\n  args: OwnerSetConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = ownerSetConfigStruct.serialize({\n    instructionDiscriminator: ownerSetConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.owner,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _OwnerSetConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category OwnerSetConfig\n * @category generated\n */\nexport function createOwnerSetConfigInstructionAccounts(\n  accounts: OwnerSetConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.owner,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.config,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type LzOption = {\n  optionType: number\n  params: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const lzOptionBeet = new beet.FixableBeetArgsStruct<LzOption>(\n  [\n    ['optionType', beet.u8],\n    ['params', beet.bytes],\n  ],\n  'LzOption'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { LzOption, lzOptionBeet } from './LzOption'\nexport type QuoteExecutorParams = {\n  msglib: web3.PublicKey\n  dstEid: number\n  sender: web3.PublicKey\n  calldataSize: beet.bignum\n  options: LzOption[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const quoteExecutorParamsBeet =\n  new beet.FixableBeetArgsStruct<QuoteExecutorParams>(\n    [\n      ['msglib', beetSolana.publicKey],\n      ['dstEid', beet.u32],\n      ['sender', beetSolana.publicKey],\n      ['calldataSize', beet.u64],\n      ['options', beet.array(lzOptionBeet)],\n    ],\n    'QuoteExecutorParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  QuoteExecutorParams,\n  quoteExecutorParamsBeet,\n} from '../types/QuoteExecutorParams'\n\n/**\n * @category Instructions\n * @category QuoteExecutor\n * @category generated\n */\nexport type QuoteExecutorInstructionArgs = {\n  params: QuoteExecutorParams\n}\n/**\n * @category Instructions\n * @category QuoteExecutor\n * @category generated\n */\nexport const quoteExecutorStruct = new beet.FixableBeetArgsStruct<\n  QuoteExecutorInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', quoteExecutorParamsBeet],\n  ],\n  'QuoteExecutorInstructionArgs'\n)\n/**\n * Accounts required by the _quoteExecutor_ instruction\n *\n * @property [] executorConfig\n * @property [] priceFeedProgram\n * @property [] priceFeedConfig\n * @category Instructions\n * @category QuoteExecutor\n * @category generated\n */\nexport type QuoteExecutorInstructionAccounts = {\n  executorConfig: web3.PublicKey\n  priceFeedProgram: web3.PublicKey\n  priceFeedConfig: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const quoteExecutorInstructionDiscriminator = [\n  84, 246, 255, 191, 82, 65, 164, 92,\n]\n\n/**\n * Creates a _QuoteExecutor_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category QuoteExecutor\n * @category generated\n */\nexport function createQuoteExecutorInstruction(\n  accounts: QuoteExecutorInstructionAccounts,\n  args: QuoteExecutorInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = quoteExecutorStruct.serialize({\n    instructionDiscriminator: quoteExecutorInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executorConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _QuoteExecutor_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category QuoteExecutor\n * @category generated\n */\nexport function createQuoteExecutorInstructionAccounts(\n  accounts: QuoteExecutorInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.executorConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedProgram,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.priceFeedConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","export * from './Acl'\nexport * from './AdminSetConfigParams'\nexport * from './ComposeParams'\nexport * from './DstConfig'\nexport * from './ExecutableParams'\nexport * from './ExecuteParams'\nexport * from './ExecutionState'\nexport * from './InitExecutorParams'\nexport * from './LzComposeParams'\nexport * from './LzOption'\nexport * from './LzReceiveParams'\nexport * from './NativeDropParams'\nexport * from './NativeDropRequest'\nexport * from './OwnerSetConfigParams'\nexport * from './QuoteExecutorParams'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\n/**\n * @category enums\n * @category generated\n */\nexport enum ExecutionState {\n  NotExecutable,\n  VerifiedButNotExecutable,\n  Executable,\n  Executed,\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const executionStateBeet = beet.fixedScalarEnum(\n  ExecutionState\n) as beet.FixedSizeBeet<ExecutionState, ExecutionState>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\ntype ErrorWithCode = Error & { code: number }\ntype MaybeErrorWithCode = ErrorWithCode | null | undefined\n\nconst createErrorFromCodeLookup: Map<number, () => ErrorWithCode> = new Map()\nconst createErrorFromNameLookup: Map<string, () => ErrorWithCode> = new Map()\n\n/**\n * InvalidSize: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidSizeError extends Error {\n  readonly code: number = 0x1770\n  readonly name: string = 'InvalidSize'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidSizeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1770, () => new InvalidSizeError())\ncreateErrorFromNameLookup.set('InvalidSize', () => new InvalidSizeError())\n\n/**\n * Paused: ''\n *\n * @category Errors\n * @category generated\n */\nexport class PausedError extends Error {\n  readonly code: number = 0x1771\n  readonly name: string = 'Paused'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, PausedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1771, () => new PausedError())\ncreateErrorFromNameLookup.set('Paused', () => new PausedError())\n\n/**\n * UnsupportedOptionType: ''\n *\n * @category Errors\n * @category generated\n */\nexport class UnsupportedOptionTypeError extends Error {\n  readonly code: number = 0x1772\n  readonly name: string = 'UnsupportedOptionType'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, UnsupportedOptionTypeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1772, () => new UnsupportedOptionTypeError())\ncreateErrorFromNameLookup.set(\n  'UnsupportedOptionType',\n  () => new UnsupportedOptionTypeError()\n)\n\n/**\n * ZeroLzComposeGasProvided: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ZeroLzComposeGasProvidedError extends Error {\n  readonly code: number = 0x1773\n  readonly name: string = 'ZeroLzComposeGasProvided'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ZeroLzComposeGasProvidedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1773, () => new ZeroLzComposeGasProvidedError())\ncreateErrorFromNameLookup.set(\n  'ZeroLzComposeGasProvided',\n  () => new ZeroLzComposeGasProvidedError()\n)\n\n/**\n * ZeroLzReceiveGasProvided: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ZeroLzReceiveGasProvidedError extends Error {\n  readonly code: number = 0x1774\n  readonly name: string = 'ZeroLzReceiveGasProvided'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ZeroLzReceiveGasProvidedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1774, () => new ZeroLzReceiveGasProvidedError())\ncreateErrorFromNameLookup.set(\n  'ZeroLzReceiveGasProvided',\n  () => new ZeroLzReceiveGasProvidedError()\n)\n\n/**\n * NativeAmountExceedsCap: ''\n *\n * @category Errors\n * @category generated\n */\nexport class NativeAmountExceedsCapError extends Error {\n  readonly code: number = 0x1775\n  readonly name: string = 'NativeAmountExceedsCap'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, NativeAmountExceedsCapError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1775, () => new NativeAmountExceedsCapError())\ncreateErrorFromNameLookup.set(\n  'NativeAmountExceedsCap',\n  () => new NativeAmountExceedsCapError()\n)\n\n/**\n * NotAdmin: ''\n *\n * @category Errors\n * @category generated\n */\nexport class NotAdminError extends Error {\n  readonly code: number = 0x1776\n  readonly name: string = 'NotAdmin'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, NotAdminError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1776, () => new NotAdminError())\ncreateErrorFromNameLookup.set('NotAdmin', () => new NotAdminError())\n\n/**\n * NotExecutor: ''\n *\n * @category Errors\n * @category generated\n */\nexport class NotExecutorError extends Error {\n  readonly code: number = 0x1777\n  readonly name: string = 'NotExecutor'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, NotExecutorError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1777, () => new NotExecutorError())\ncreateErrorFromNameLookup.set('NotExecutor', () => new NotExecutorError())\n\n/**\n * MsgLibNotAllowed: ''\n *\n * @category Errors\n * @category generated\n */\nexport class MsgLibNotAllowedError extends Error {\n  readonly code: number = 0x1778\n  readonly name: string = 'MsgLibNotAllowed'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, MsgLibNotAllowedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1778, () => new MsgLibNotAllowedError())\ncreateErrorFromNameLookup.set(\n  'MsgLibNotAllowed',\n  () => new MsgLibNotAllowedError()\n)\n\n/**\n * TooManyAdmins: ''\n *\n * @category Errors\n * @category generated\n */\nexport class TooManyAdminsError extends Error {\n  readonly code: number = 0x1779\n  readonly name: string = 'TooManyAdmins'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, TooManyAdminsError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1779, () => new TooManyAdminsError())\ncreateErrorFromNameLookup.set('TooManyAdmins', () => new TooManyAdminsError())\n\n/**\n * TooManyExecutors: ''\n *\n * @category Errors\n * @category generated\n */\nexport class TooManyExecutorsError extends Error {\n  readonly code: number = 0x177a\n  readonly name: string = 'TooManyExecutors'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, TooManyExecutorsError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177a, () => new TooManyExecutorsError())\ncreateErrorFromNameLookup.set(\n  'TooManyExecutors',\n  () => new TooManyExecutorsError()\n)\n\n/**\n * TooManyOptionTypes: ''\n *\n * @category Errors\n * @category generated\n */\nexport class TooManyOptionTypesError extends Error {\n  readonly code: number = 0x177b\n  readonly name: string = 'TooManyOptionTypes'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, TooManyOptionTypesError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177b, () => new TooManyOptionTypesError())\ncreateErrorFromNameLookup.set(\n  'TooManyOptionTypes',\n  () => new TooManyOptionTypesError()\n)\n\n/**\n * InvalidNativeDropRequestsLength: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidNativeDropRequestsLengthError extends Error {\n  readonly code: number = 0x177c\n  readonly name: string = 'InvalidNativeDropRequestsLength'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidNativeDropRequestsLengthError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(\n  0x177c,\n  () => new InvalidNativeDropRequestsLengthError()\n)\ncreateErrorFromNameLookup.set(\n  'InvalidNativeDropRequestsLength',\n  () => new InvalidNativeDropRequestsLengthError()\n)\n\n/**\n * InvalidNativeDropReceiver: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidNativeDropReceiverError extends Error {\n  readonly code: number = 0x177d\n  readonly name: string = 'InvalidNativeDropReceiver'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidNativeDropReceiverError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(\n  0x177d,\n  () => new InvalidNativeDropReceiverError()\n)\ncreateErrorFromNameLookup.set(\n  'InvalidNativeDropReceiver',\n  () => new InvalidNativeDropReceiverError()\n)\n\n/**\n * InsufficientBalance: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InsufficientBalanceError extends Error {\n  readonly code: number = 0x177e\n  readonly name: string = 'InsufficientBalance'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InsufficientBalanceError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177e, () => new InsufficientBalanceError())\ncreateErrorFromNameLookup.set(\n  'InsufficientBalance',\n  () => new InsufficientBalanceError()\n)\n\n/**\n * EidNotSupported: ''\n *\n * @category Errors\n * @category generated\n */\nexport class EidNotSupportedError extends Error {\n  readonly code: number = 0x177f\n  readonly name: string = 'EidNotSupported'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, EidNotSupportedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177f, () => new EidNotSupportedError())\ncreateErrorFromNameLookup.set(\n  'EidNotSupported',\n  () => new EidNotSupportedError()\n)\n\n/**\n * ExecutorIsAdmin: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ExecutorIsAdminError extends Error {\n  readonly code: number = 0x1780\n  readonly name: string = 'ExecutorIsAdmin'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ExecutorIsAdminError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1780, () => new ExecutorIsAdminError())\ncreateErrorFromNameLookup.set(\n  'ExecutorIsAdmin',\n  () => new ExecutorIsAdminError()\n)\n\n/**\n * InvalidOwner: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidOwnerError extends Error {\n  readonly code: number = 0x1781\n  readonly name: string = 'InvalidOwner'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidOwnerError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1781, () => new InvalidOwnerError())\ncreateErrorFromNameLookup.set('InvalidOwner', () => new InvalidOwnerError())\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n * @category generated\n */\nexport function errorFromCode(code: number): MaybeErrorWithCode {\n  const createError = createErrorFromCodeLookup.get(code)\n  return createError != null ? createError() : null\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n * @category generated\n */\nexport function errorFromName(name: string): MaybeErrorWithCode {\n  const createError = createErrorFromNameLookup.get(name)\n  return createError != null ? createError() : null\n}\n","import { PublicKey } from '@solana/web3.js'\nexport * from './accounts'\nexport * from './errors'\nexport * from './instructions'\nexport * from './types'\n\n/**\n * Program address\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ADDRESS = '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n\n/**\n * Program public key\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)\n","export * from './Confirmations'\nexport * from './ReceiveConfig'\nexport * from './SendConfig'\nexport * from './UlnSettings'\n\nimport { Confirmations } from './Confirmations'\nimport { ReceiveConfig } from './ReceiveConfig'\nimport { SendConfig } from './SendConfig'\nimport { UlnSettings } from './UlnSettings'\n\nexport const accountProviders = {\n  Confirmations,\n  ReceiveConfig,\n  SendConfig,\n  UlnSettings,\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\n\n/**\n * Arguments used to create {@link Confirmations}\n * @category Accounts\n * @category generated\n */\nexport type ConfirmationsArgs = {\n  value: beet.COption<beet.bignum>\n  bump: number\n}\n\nexport const confirmationsDiscriminator = [206, 57, 50, 8, 124, 133, 138, 112]\n/**\n * Holds the data for the {@link Confirmations} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class Confirmations implements ConfirmationsArgs {\n  private constructor(\n    readonly value: beet.COption<beet.bignum>,\n    readonly bump: number\n  ) {}\n\n  /**\n   * Creates a {@link Confirmations} instance from the provided args.\n   */\n  static fromArgs(args: ConfirmationsArgs) {\n    return new Confirmations(args.value, args.bump)\n  }\n\n  /**\n   * Deserializes the {@link Confirmations} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [Confirmations, number] {\n    return Confirmations.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link Confirmations} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<Confirmations> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find Confirmations account at ${address}`)\n    }\n    return Confirmations.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, confirmationsBeet)\n  }\n\n  /**\n   * Deserializes the {@link Confirmations} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [Confirmations, number] {\n    return confirmationsBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link Confirmations} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return confirmationsBeet.serialize({\n      accountDiscriminator: confirmationsDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link Confirmations} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: ConfirmationsArgs) {\n    const instance = Confirmations.fromArgs(args)\n    return confirmationsBeet.toFixedFromValue({\n      accountDiscriminator: confirmationsDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link Confirmations} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: ConfirmationsArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      Confirmations.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link Confirmations} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      value: this.value,\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const confirmationsBeet = new beet.FixableBeetStruct<\n  Confirmations,\n  ConfirmationsArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['value', beet.coption(beet.u64)],\n    ['bump', beet.u8],\n  ],\n  Confirmations.fromArgs,\n  'Confirmations'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { UlnConfig, ulnConfigBeet } from '../types/UlnConfig'\n\n/**\n * Arguments used to create {@link ReceiveConfig}\n * @category Accounts\n * @category generated\n */\nexport type ReceiveConfigArgs = {\n  bump: number\n  uln: UlnConfig\n}\n\nexport const receiveConfigDiscriminator = [162, 159, 153, 188, 56, 65, 245, 58]\n/**\n * Holds the data for the {@link ReceiveConfig} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class ReceiveConfig implements ReceiveConfigArgs {\n  private constructor(readonly bump: number, readonly uln: UlnConfig) {}\n\n  /**\n   * Creates a {@link ReceiveConfig} instance from the provided args.\n   */\n  static fromArgs(args: ReceiveConfigArgs) {\n    return new ReceiveConfig(args.bump, args.uln)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveConfig} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [ReceiveConfig, number] {\n    return ReceiveConfig.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link ReceiveConfig} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<ReceiveConfig> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find ReceiveConfig account at ${address}`)\n    }\n    return ReceiveConfig.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, receiveConfigBeet)\n  }\n\n  /**\n   * Deserializes the {@link ReceiveConfig} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [ReceiveConfig, number] {\n    return receiveConfigBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link ReceiveConfig} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return receiveConfigBeet.serialize({\n      accountDiscriminator: receiveConfigDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link ReceiveConfig} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: ReceiveConfigArgs) {\n    const instance = ReceiveConfig.fromArgs(args)\n    return receiveConfigBeet.toFixedFromValue({\n      accountDiscriminator: receiveConfigDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link ReceiveConfig} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: ReceiveConfigArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      ReceiveConfig.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link ReceiveConfig} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      uln: this.uln,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const receiveConfigBeet = new beet.FixableBeetStruct<\n  ReceiveConfig,\n  ReceiveConfigArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['uln', ulnConfigBeet],\n  ],\n  ReceiveConfig.fromArgs,\n  'ReceiveConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { UlnConfig, ulnConfigBeet } from '../types/UlnConfig'\nimport { ExecutorConfig, executorConfigBeet } from '../types/ExecutorConfig'\n\n/**\n * Arguments used to create {@link SendConfig}\n * @category Accounts\n * @category generated\n */\nexport type SendConfigArgs = {\n  bump: number\n  uln: UlnConfig\n  executor: ExecutorConfig\n}\n\nexport const sendConfigDiscriminator = [91, 221, 135, 137, 131, 199, 174, 25]\n/**\n * Holds the data for the {@link SendConfig} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class SendConfig implements SendConfigArgs {\n  private constructor(\n    readonly bump: number,\n    readonly uln: UlnConfig,\n    readonly executor: ExecutorConfig\n  ) {}\n\n  /**\n   * Creates a {@link SendConfig} instance from the provided args.\n   */\n  static fromArgs(args: SendConfigArgs) {\n    return new SendConfig(args.bump, args.uln, args.executor)\n  }\n\n  /**\n   * Deserializes the {@link SendConfig} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [SendConfig, number] {\n    return SendConfig.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link SendConfig} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<SendConfig> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find SendConfig account at ${address}`)\n    }\n    return SendConfig.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, sendConfigBeet)\n  }\n\n  /**\n   * Deserializes the {@link SendConfig} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [SendConfig, number] {\n    return sendConfigBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link SendConfig} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return sendConfigBeet.serialize({\n      accountDiscriminator: sendConfigDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link SendConfig} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: SendConfigArgs) {\n    const instance = SendConfig.fromArgs(args)\n    return sendConfigBeet.toFixedFromValue({\n      accountDiscriminator: sendConfigDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link SendConfig} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: SendConfigArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      SendConfig.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link SendConfig} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      bump: this.bump,\n      uln: this.uln,\n      executor: this.executor,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const sendConfigBeet = new beet.FixableBeetStruct<\n  SendConfig,\n  SendConfigArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['bump', beet.u8],\n    ['uln', ulnConfigBeet],\n    ['executor', executorConfigBeet],\n  ],\n  SendConfig.fromArgs,\n  'SendConfig'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { Treasury, treasuryBeet } from '../types/Treasury'\n\n/**\n * Arguments used to create {@link UlnSettings}\n * @category Accounts\n * @category generated\n */\nexport type UlnSettingsArgs = {\n  eid: number\n  endpoint: web3.PublicKey\n  endpointProgram: web3.PublicKey\n  bump: number\n  admin: web3.PublicKey\n  treasury: beet.COption<Treasury>\n}\n\nexport const ulnSettingsDiscriminator = [226, 199, 100, 253, 38, 115, 167, 154]\n/**\n * Holds the data for the {@link UlnSettings} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class UlnSettings implements UlnSettingsArgs {\n  private constructor(\n    readonly eid: number,\n    readonly endpoint: web3.PublicKey,\n    readonly endpointProgram: web3.PublicKey,\n    readonly bump: number,\n    readonly admin: web3.PublicKey,\n    readonly treasury: beet.COption<Treasury>\n  ) {}\n\n  /**\n   * Creates a {@link UlnSettings} instance from the provided args.\n   */\n  static fromArgs(args: UlnSettingsArgs) {\n    return new UlnSettings(\n      args.eid,\n      args.endpoint,\n      args.endpointProgram,\n      args.bump,\n      args.admin,\n      args.treasury\n    )\n  }\n\n  /**\n   * Deserializes the {@link UlnSettings} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [UlnSettings, number] {\n    return UlnSettings.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link UlnSettings} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<UlnSettings> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find UlnSettings account at ${address}`)\n    }\n    return UlnSettings.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, ulnSettingsBeet)\n  }\n\n  /**\n   * Deserializes the {@link UlnSettings} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [UlnSettings, number] {\n    return ulnSettingsBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link UlnSettings} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return ulnSettingsBeet.serialize({\n      accountDiscriminator: ulnSettingsDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link UlnSettings} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: UlnSettingsArgs) {\n    const instance = UlnSettings.fromArgs(args)\n    return ulnSettingsBeet.toFixedFromValue({\n      accountDiscriminator: ulnSettingsDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link UlnSettings} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: UlnSettingsArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      UlnSettings.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link UlnSettings} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      eid: this.eid,\n      endpoint: this.endpoint.toBase58(),\n      endpointProgram: this.endpointProgram.toBase58(),\n      bump: this.bump,\n      admin: this.admin.toBase58(),\n      treasury: this.treasury,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const ulnSettingsBeet = new beet.FixableBeetStruct<\n  UlnSettings,\n  UlnSettingsArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['eid', beet.u32],\n    ['endpoint', beetSolana.publicKey],\n    ['endpointProgram', beetSolana.publicKey],\n    ['bump', beet.u8],\n    ['admin', beetSolana.publicKey],\n    ['treasury', beet.coption(treasuryBeet)],\n  ],\n  UlnSettings.fromArgs,\n  'UlnSettings'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\ntype ErrorWithCode = Error & { code: number }\ntype MaybeErrorWithCode = ErrorWithCode | null | undefined\n\nconst createErrorFromCodeLookup: Map<number, () => ErrorWithCode> = new Map()\nconst createErrorFromNameLookup: Map<string, () => ErrorWithCode> = new Map()\n\n/**\n * Unauthorized: ''\n *\n * @category Errors\n * @category generated\n */\nexport class UnauthorizedError extends Error {\n  readonly code: number = 0x1770\n  readonly name: string = 'Unauthorized'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, UnauthorizedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1770, () => new UnauthorizedError())\ncreateErrorFromNameLookup.set('Unauthorized', () => new UnauthorizedError())\n\n/**\n * InvalidAmount: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidAmountError extends Error {\n  readonly code: number = 0x1771\n  readonly name: string = 'InvalidAmount'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidAmountError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1771, () => new InvalidAmountError())\ncreateErrorFromNameLookup.set('InvalidAmount', () => new InvalidAmountError())\n\n/**\n * InvalidExecutor: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidExecutorError extends Error {\n  readonly code: number = 0x1772\n  readonly name: string = 'InvalidExecutor'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidExecutorError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1772, () => new InvalidExecutorError())\ncreateErrorFromNameLookup.set(\n  'InvalidExecutor',\n  () => new InvalidExecutorError()\n)\n\n/**\n * ZeroMessageSize: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ZeroMessageSizeError extends Error {\n  readonly code: number = 0x1773\n  readonly name: string = 'ZeroMessageSize'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ZeroMessageSizeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1773, () => new ZeroMessageSizeError())\ncreateErrorFromNameLookup.set(\n  'ZeroMessageSize',\n  () => new ZeroMessageSizeError()\n)\n\n/**\n * InvalidRequiredDVNCount: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidRequiredDVNCountError extends Error {\n  readonly code: number = 0x1774\n  readonly name: string = 'InvalidRequiredDVNCount'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidRequiredDVNCountError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1774, () => new InvalidRequiredDVNCountError())\ncreateErrorFromNameLookup.set(\n  'InvalidRequiredDVNCount',\n  () => new InvalidRequiredDVNCountError()\n)\n\n/**\n * InvalidOptionalDVNCount: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidOptionalDVNCountError extends Error {\n  readonly code: number = 0x1775\n  readonly name: string = 'InvalidOptionalDVNCount'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidOptionalDVNCountError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1775, () => new InvalidOptionalDVNCountError())\ncreateErrorFromNameLookup.set(\n  'InvalidOptionalDVNCount',\n  () => new InvalidOptionalDVNCountError()\n)\n\n/**\n * InvalidOptionalDVNThreshold: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidOptionalDVNThresholdError extends Error {\n  readonly code: number = 0x1776\n  readonly name: string = 'InvalidOptionalDVNThreshold'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidOptionalDVNThresholdError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(\n  0x1776,\n  () => new InvalidOptionalDVNThresholdError()\n)\ncreateErrorFromNameLookup.set(\n  'InvalidOptionalDVNThreshold',\n  () => new InvalidOptionalDVNThresholdError()\n)\n\n/**\n * InvalidConfirmations: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidConfirmationsError extends Error {\n  readonly code: number = 0x1777\n  readonly name: string = 'InvalidConfirmations'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidConfirmationsError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1777, () => new InvalidConfirmationsError())\ncreateErrorFromNameLookup.set(\n  'InvalidConfirmations',\n  () => new InvalidConfirmationsError()\n)\n\n/**\n * AtLeastOneDVN: ''\n *\n * @category Errors\n * @category generated\n */\nexport class AtLeastOneDVNError extends Error {\n  readonly code: number = 0x1778\n  readonly name: string = 'AtLeastOneDVN'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, AtLeastOneDVNError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1778, () => new AtLeastOneDVNError())\ncreateErrorFromNameLookup.set('AtLeastOneDVN', () => new AtLeastOneDVNError())\n\n/**\n * Unsorted: ''\n *\n * @category Errors\n * @category generated\n */\nexport class UnsortedError extends Error {\n  readonly code: number = 0x1779\n  readonly name: string = 'Unsorted'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, UnsortedError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1779, () => new UnsortedError())\ncreateErrorFromNameLookup.set('Unsorted', () => new UnsortedError())\n\n/**\n * InvalidTreasuryFeeCap: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidTreasuryFeeCapError extends Error {\n  readonly code: number = 0x177a\n  readonly name: string = 'InvalidTreasuryFeeCap'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidTreasuryFeeCapError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177a, () => new InvalidTreasuryFeeCapError())\ncreateErrorFromNameLookup.set(\n  'InvalidTreasuryFeeCap',\n  () => new InvalidTreasuryFeeCapError()\n)\n\n/**\n * InvalidPacketVersion: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidPacketVersionError extends Error {\n  readonly code: number = 0x177b\n  readonly name: string = 'InvalidPacketVersion'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidPacketVersionError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177b, () => new InvalidPacketVersionError())\ncreateErrorFromNameLookup.set(\n  'InvalidPacketVersion',\n  () => new InvalidPacketVersionError()\n)\n\n/**\n * InvalidEid: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidEidError extends Error {\n  readonly code: number = 0x177c\n  readonly name: string = 'InvalidEid'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidEidError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177c, () => new InvalidEidError())\ncreateErrorFromNameLookup.set('InvalidEid', () => new InvalidEidError())\n\n/**\n * Verifying: ''\n *\n * @category Errors\n * @category generated\n */\nexport class VerifyingError extends Error {\n  readonly code: number = 0x177d\n  readonly name: string = 'Verifying'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, VerifyingError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177d, () => new VerifyingError())\ncreateErrorFromNameLookup.set('Verifying', () => new VerifyingError())\n\n/**\n * InvalidWorkerId: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidWorkerIdError extends Error {\n  readonly code: number = 0x177e\n  readonly name: string = 'InvalidWorkerId'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidWorkerIdError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177e, () => new InvalidWorkerIdError())\ncreateErrorFromNameLookup.set(\n  'InvalidWorkerId',\n  () => new InvalidWorkerIdError()\n)\n\n/**\n * InvalidOptionType: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidOptionTypeError extends Error {\n  readonly code: number = 0x177f\n  readonly name: string = 'InvalidOptionType'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidOptionTypeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x177f, () => new InvalidOptionTypeError())\ncreateErrorFromNameLookup.set(\n  'InvalidOptionType',\n  () => new InvalidOptionTypeError()\n)\n\n/**\n * InvalidBps: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidBpsError extends Error {\n  readonly code: number = 0x1780\n  readonly name: string = 'InvalidBps'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidBpsError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1780, () => new InvalidBpsError())\ncreateErrorFromNameLookup.set('InvalidBps', () => new InvalidBpsError())\n\n/**\n * ExceededMaxMessageSize: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ExceededMaxMessageSizeError extends Error {\n  readonly code: number = 0x1781\n  readonly name: string = 'ExceededMaxMessageSize'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ExceededMaxMessageSizeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1781, () => new ExceededMaxMessageSizeError())\ncreateErrorFromNameLookup.set(\n  'ExceededMaxMessageSize',\n  () => new ExceededMaxMessageSizeError()\n)\n\n/**\n * InvalidExecutorProgram: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidExecutorProgramError extends Error {\n  readonly code: number = 0x1782\n  readonly name: string = 'InvalidExecutorProgram'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidExecutorProgramError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1782, () => new InvalidExecutorProgramError())\ncreateErrorFromNameLookup.set(\n  'InvalidExecutorProgram',\n  () => new InvalidExecutorProgramError()\n)\n\n/**\n * InvalidAccountLength: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidAccountLengthError extends Error {\n  readonly code: number = 0x1783\n  readonly name: string = 'InvalidAccountLength'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidAccountLengthError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1783, () => new InvalidAccountLengthError())\ncreateErrorFromNameLookup.set(\n  'InvalidAccountLength',\n  () => new InvalidAccountLengthError()\n)\n\n/**\n * InvalidDvnProgram: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidDvnProgramError extends Error {\n  readonly code: number = 0x1784\n  readonly name: string = 'InvalidDvnProgram'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidDvnProgramError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1784, () => new InvalidDvnProgramError())\ncreateErrorFromNameLookup.set(\n  'InvalidDvnProgram',\n  () => new InvalidDvnProgramError()\n)\n\n/**\n * InvalidDvn: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidDvnError extends Error {\n  readonly code: number = 0x1785\n  readonly name: string = 'InvalidDvn'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidDvnError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1785, () => new InvalidDvnError())\ncreateErrorFromNameLookup.set('InvalidDvn', () => new InvalidDvnError())\n\n/**\n * LzTokenUnavailable: ''\n *\n * @category Errors\n * @category generated\n */\nexport class LzTokenUnavailableError extends Error {\n  readonly code: number = 0x1786\n  readonly name: string = 'LzTokenUnavailable'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, LzTokenUnavailableError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1786, () => new LzTokenUnavailableError())\ncreateErrorFromNameLookup.set(\n  'LzTokenUnavailable',\n  () => new LzTokenUnavailableError()\n)\n\n/**\n * InsufficientFee: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InsufficientFeeError extends Error {\n  readonly code: number = 0x1787\n  readonly name: string = 'InsufficientFee'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InsufficientFeeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1787, () => new InsufficientFeeError())\ncreateErrorFromNameLookup.set(\n  'InsufficientFee',\n  () => new InsufficientFeeError()\n)\n\n/**\n * InvalidTreasury: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidTreasuryError extends Error {\n  readonly code: number = 0x1788\n  readonly name: string = 'InvalidTreasury'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidTreasuryError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1788, () => new InvalidTreasuryError())\ncreateErrorFromNameLookup.set(\n  'InvalidTreasury',\n  () => new InvalidTreasuryError()\n)\n\n/**\n * InvalidLzTokenMint: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidLzTokenMintError extends Error {\n  readonly code: number = 0x1789\n  readonly name: string = 'InvalidLzTokenMint'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidLzTokenMintError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1789, () => new InvalidLzTokenMintError())\ncreateErrorFromNameLookup.set(\n  'InvalidLzTokenMint',\n  () => new InvalidLzTokenMintError()\n)\n\n/**\n * InvalidConfigType: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidConfigTypeError extends Error {\n  readonly code: number = 0x178a\n  readonly name: string = 'InvalidConfigType'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidConfigTypeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x178a, () => new InvalidConfigTypeError())\ncreateErrorFromNameLookup.set(\n  'InvalidConfigType',\n  () => new InvalidConfigTypeError()\n)\n\n/**\n * InvalidConfirmation: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidConfirmationError extends Error {\n  readonly code: number = 0x178b\n  readonly name: string = 'InvalidConfirmation'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidConfirmationError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x178b, () => new InvalidConfirmationError())\ncreateErrorFromNameLookup.set(\n  'InvalidConfirmation',\n  () => new InvalidConfirmationError()\n)\n\n/**\n * InvalidType1Size: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidType1SizeError extends Error {\n  readonly code: number = 0x178c\n  readonly name: string = 'InvalidType1Size'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidType1SizeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x178c, () => new InvalidType1SizeError())\ncreateErrorFromNameLookup.set(\n  'InvalidType1Size',\n  () => new InvalidType1SizeError()\n)\n\n/**\n * InvalidType2Size: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidType2SizeError extends Error {\n  readonly code: number = 0x178d\n  readonly name: string = 'InvalidType2Size'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidType2SizeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x178d, () => new InvalidType2SizeError())\ncreateErrorFromNameLookup.set(\n  'InvalidType2Size',\n  () => new InvalidType2SizeError()\n)\n\n/**\n * ExceededU128: ''\n *\n * @category Errors\n * @category generated\n */\nexport class ExceededU128Error extends Error {\n  readonly code: number = 0x178e\n  readonly name: string = 'ExceededU128'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, ExceededU128Error)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x178e, () => new ExceededU128Error())\ncreateErrorFromNameLookup.set('ExceededU128', () => new ExceededU128Error())\n\n/**\n * NonSigner: ''\n *\n * @category Errors\n * @category generated\n */\nexport class NonSignerError extends Error {\n  readonly code: number = 0x178f\n  readonly name: string = 'NonSigner'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, NonSignerError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x178f, () => new NonSignerError())\ncreateErrorFromNameLookup.set('NonSigner', () => new NonSignerError())\n\n/**\n * InvalidPayer: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidPayerError extends Error {\n  readonly code: number = 0x1790\n  readonly name: string = 'InvalidPayer'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidPayerError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1790, () => new InvalidPayerError())\ncreateErrorFromNameLookup.set('InvalidPayer', () => new InvalidPayerError())\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n * @category generated\n */\nexport function errorFromCode(code: number): MaybeErrorWithCode {\n  const createError = createErrorFromCodeLookup.get(code)\n  return createError != null ? createError() : null\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n * @category generated\n */\nexport function errorFromName(name: string): MaybeErrorWithCode {\n  const createError = createErrorFromNameLookup.get(name)\n  return createError != null ? createError() : null\n}\n","export * from './closeVerify'\nexport * from './commitVerification'\nexport * from './initConfig'\nexport * from './initDefaultConfig'\nexport * from './initUln'\nexport * from './initVerify'\nexport * from './quote'\nexport * from './send'\nexport * from './sendWithLzToken'\nexport * from './setConfig'\nexport * from './setDefaultConfig'\nexport * from './setTreasury'\nexport * from './transferAdmin'\nexport * from './verify'\nexport * from './version'\nexport * from './withdrawRent'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type CloseVerifyParams = {\n  packetHeaderHash: number[] /* size: 32 */\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const closeVerifyParamsBeet = new beet.BeetArgsStruct<CloseVerifyParams>(\n  [\n    ['packetHeaderHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n  ],\n  'CloseVerifyParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  CloseVerifyParams,\n  closeVerifyParamsBeet,\n} from '../types/CloseVerifyParams'\n\n/**\n * @category Instructions\n * @category CloseVerify\n * @category generated\n */\nexport type CloseVerifyInstructionArgs = {\n  params: CloseVerifyParams\n}\n/**\n * @category Instructions\n * @category CloseVerify\n * @category generated\n */\nexport const closeVerifyStruct = new beet.BeetArgsStruct<\n  CloseVerifyInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', closeVerifyParamsBeet],\n  ],\n  'CloseVerifyInstructionArgs'\n)\n/**\n * Accounts required by the _closeVerify_ instruction\n *\n * @property [**signer**] dvn\n * @property [_writable_] receiver\n * @property [_writable_] confirmations\n * @category Instructions\n * @category CloseVerify\n * @category generated\n */\nexport type CloseVerifyInstructionAccounts = {\n  dvn: web3.PublicKey\n  receiver: web3.PublicKey\n  confirmations: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const closeVerifyInstructionDiscriminator = [\n  44, 133, 228, 138, 169, 242, 53, 36,\n]\n\n/**\n * Creates a _CloseVerify_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category CloseVerify\n * @category generated\n */\nexport function createCloseVerifyInstruction(\n  accounts: CloseVerifyInstructionAccounts,\n  args: CloseVerifyInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = closeVerifyStruct.serialize({\n    instructionDiscriminator: closeVerifyInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.dvn,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.confirmations,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _CloseVerify_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category CloseVerify\n * @category generated\n */\nexport function createCloseVerifyInstructionAccounts(\n  accounts: CloseVerifyInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.dvn,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.confirmations,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type CommitVerificationParams = {\n  packetHeader: number[] /* size: 81 */\n  payloadHash: number[] /* size: 32 */\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const commitVerificationParamsBeet =\n  new beet.BeetArgsStruct<CommitVerificationParams>(\n    [\n      ['packetHeader', beet.uniformFixedSizeArray(beet.u8, 81)],\n      ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ],\n    'CommitVerificationParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  CommitVerificationParams,\n  commitVerificationParamsBeet,\n} from '../types/CommitVerificationParams'\n\n/**\n * @category Instructions\n * @category CommitVerification\n * @category generated\n */\nexport type CommitVerificationInstructionArgs = {\n  params: CommitVerificationParams\n}\n/**\n * @category Instructions\n * @category CommitVerification\n * @category generated\n */\nexport const commitVerificationStruct = new beet.BeetArgsStruct<\n  CommitVerificationInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', commitVerificationParamsBeet],\n  ],\n  'CommitVerificationInstructionArgs'\n)\n/**\n * Accounts required by the _commitVerification_ instruction\n *\n * @property [] receiveConfig\n * @property [] defaultReceiveConfig\n * @property [] uln\n * @category Instructions\n * @category CommitVerification\n * @category generated\n */\nexport type CommitVerificationInstructionAccounts = {\n  receiveConfig: web3.PublicKey\n  defaultReceiveConfig: web3.PublicKey\n  uln: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const commitVerificationInstructionDiscriminator = [\n  194, 120, 44, 252, 140, 215, 139, 103,\n]\n\n/**\n * Creates a _CommitVerification_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category CommitVerification\n * @category generated\n */\nexport function createCommitVerificationInstruction(\n  accounts: CommitVerificationInstructionAccounts,\n  args: CommitVerificationInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = commitVerificationStruct.serialize({\n    instructionDiscriminator: commitVerificationInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _CommitVerification_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category CommitVerification\n * @category generated\n */\nexport function createCommitVerificationInstructionAccounts(\n  accounts: CommitVerificationInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitConfigParams = {\n  oapp: web3.PublicKey\n  eid: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initConfigParamsBeet = new beet.BeetArgsStruct<InitConfigParams>(\n  [\n    ['oapp', beetSolana.publicKey],\n    ['eid', beet.u32],\n  ],\n  'InitConfigParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitConfigParams,\n  initConfigParamsBeet,\n} from '../types/InitConfigParams'\n\n/**\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport type InitConfigInstructionArgs = {\n  params: InitConfigParams\n}\n/**\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport const initConfigStruct = new beet.BeetArgsStruct<\n  InitConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initConfigParamsBeet],\n  ],\n  'InitConfigInstructionArgs'\n)\n/**\n * Accounts required by the _initConfig_ instruction\n *\n * @property [**signer**] endpoint\n * @property [_writable_, **signer**] payer\n * @property [] uln\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport type InitConfigInstructionAccounts = {\n  endpoint: web3.PublicKey\n  payer: web3.PublicKey\n  uln: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initConfigInstructionDiscriminator = [\n  23, 235, 115, 232, 168, 96, 1, 231,\n]\n\n/**\n * Creates a _InitConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport function createInitConfigInstruction(\n  accounts: InitConfigInstructionAccounts,\n  args: InitConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initConfigStruct.serialize({\n    instructionDiscriminator: initConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitConfig\n * @category generated\n */\nexport function createInitConfigInstructionAccounts(\n  accounts: InitConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { UlnConfig, ulnConfigBeet } from './UlnConfig'\nimport { ExecutorConfig, executorConfigBeet } from './ExecutorConfig'\nexport type InitDefaultConfigParams = {\n  eid: number\n  sendUlnConfig: UlnConfig\n  receiveUlnConfig: UlnConfig\n  executorConfig: ExecutorConfig\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initDefaultConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<InitDefaultConfigParams>(\n    [\n      ['eid', beet.u32],\n      ['sendUlnConfig', ulnConfigBeet],\n      ['receiveUlnConfig', ulnConfigBeet],\n      ['executorConfig', executorConfigBeet],\n    ],\n    'InitDefaultConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitDefaultConfigParams,\n  initDefaultConfigParamsBeet,\n} from '../types/InitDefaultConfigParams'\n\n/**\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport type InitDefaultConfigInstructionArgs = {\n  params: InitDefaultConfigParams\n}\n/**\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport const initDefaultConfigStruct = new beet.FixableBeetArgsStruct<\n  InitDefaultConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initDefaultConfigParamsBeet],\n  ],\n  'InitDefaultConfigInstructionArgs'\n)\n/**\n * Accounts required by the _initDefaultConfig_ instruction\n *\n * @property [_writable_, **signer**] admin\n * @property [] uln\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport type InitDefaultConfigInstructionAccounts = {\n  admin: web3.PublicKey\n  uln: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initDefaultConfigInstructionDiscriminator = [\n  98, 218, 197, 194, 173, 179, 112, 21,\n]\n\n/**\n * Creates a _InitDefaultConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport function createInitDefaultConfigInstruction(\n  accounts: InitDefaultConfigInstructionAccounts,\n  args: InitDefaultConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initDefaultConfigStruct.serialize({\n    instructionDiscriminator: initDefaultConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitDefaultConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitDefaultConfig\n * @category generated\n */\nexport function createInitDefaultConfigInstructionAccounts(\n  accounts: InitDefaultConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitUlnParams = {\n  eid: number\n  endpoint: web3.PublicKey\n  endpointProgram: web3.PublicKey\n  admin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initUlnParamsBeet = new beet.BeetArgsStruct<InitUlnParams>(\n  [\n    ['eid', beet.u32],\n    ['endpoint', beetSolana.publicKey],\n    ['endpointProgram', beetSolana.publicKey],\n    ['admin', beetSolana.publicKey],\n  ],\n  'InitUlnParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { InitUlnParams, initUlnParamsBeet } from '../types/InitUlnParams'\n\n/**\n * @category Instructions\n * @category InitUln\n * @category generated\n */\nexport type InitUlnInstructionArgs = {\n  params: InitUlnParams\n}\n/**\n * @category Instructions\n * @category InitUln\n * @category generated\n */\nexport const initUlnStruct = new beet.BeetArgsStruct<\n  InitUlnInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initUlnParamsBeet],\n  ],\n  'InitUlnInstructionArgs'\n)\n/**\n * Accounts required by the _initUln_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [_writable_] uln\n * @category Instructions\n * @category InitUln\n * @category generated\n */\nexport type InitUlnInstructionAccounts = {\n  payer: web3.PublicKey\n  uln: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initUlnInstructionDiscriminator = [\n  19, 215, 207, 92, 197, 112, 119, 240,\n]\n\n/**\n * Creates a _InitUln_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitUln\n * @category generated\n */\nexport function createInitUlnInstruction(\n  accounts: InitUlnInstructionAccounts,\n  args: InitUlnInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initUlnStruct.serialize({\n    instructionDiscriminator: initUlnInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitUln_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitUln\n * @category generated\n */\nexport function createInitUlnInstructionAccounts(\n  accounts: InitUlnInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type InitVerifyParams = {\n  packetHeader: number[] /* size: 81 */\n  payloadHash: number[] /* size: 32 */\n  dvn: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initVerifyParamsBeet = new beet.BeetArgsStruct<InitVerifyParams>(\n  [\n    ['packetHeader', beet.uniformFixedSizeArray(beet.u8, 81)],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['dvn', beetSolana.publicKey],\n  ],\n  'InitVerifyParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitVerifyParams,\n  initVerifyParamsBeet,\n} from '../types/InitVerifyParams'\n\n/**\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport type InitVerifyInstructionArgs = {\n  params: InitVerifyParams\n}\n/**\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport const initVerifyStruct = new beet.BeetArgsStruct<\n  InitVerifyInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initVerifyParamsBeet],\n  ],\n  'InitVerifyInstructionArgs'\n)\n/**\n * Accounts required by the _initVerify_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [_writable_] confirmations\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport type InitVerifyInstructionAccounts = {\n  payer: web3.PublicKey\n  confirmations: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initVerifyInstructionDiscriminator = [\n  76, 246, 244, 124, 115, 17, 235, 91,\n]\n\n/**\n * Creates a _InitVerify_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport function createInitVerifyInstruction(\n  accounts: InitVerifyInstructionAccounts,\n  args: InitVerifyInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initVerifyStruct.serialize({\n    instructionDiscriminator: initVerifyInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.confirmations,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitVerify_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitVerify\n * @category generated\n */\nexport function createInitVerifyInstructionAccounts(\n  accounts: InitVerifyInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.confirmations,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type Packet = {\n  nonce: beet.bignum\n  srcEid: number\n  sender: web3.PublicKey\n  dstEid: number\n  receiver: number[] /* size: 32 */\n  guid: number[] /* size: 32 */\n  message: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const packetBeet = new beet.FixableBeetArgsStruct<Packet>(\n  [\n    ['nonce', beet.u64],\n    ['srcEid', beet.u32],\n    ['sender', beetSolana.publicKey],\n    ['dstEid', beet.u32],\n    ['receiver', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['guid', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['message', beet.bytes],\n  ],\n  'Packet'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { Packet, packetBeet } from './Packet'\nexport type QuoteParams = {\n  packet: Packet\n  options: Uint8Array\n  payInLzToken: boolean\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const quoteParamsBeet = new beet.FixableBeetArgsStruct<QuoteParams>(\n  [\n    ['packet', packetBeet],\n    ['options', beet.bytes],\n    ['payInLzToken', beet.bool],\n  ],\n  'QuoteParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { QuoteParams, quoteParamsBeet } from '../types/QuoteParams'\n\n/**\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport type QuoteInstructionArgs = {\n  params: QuoteParams\n}\n/**\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport const quoteStruct = new beet.FixableBeetArgsStruct<\n  QuoteInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', quoteParamsBeet],\n  ],\n  'QuoteInstructionArgs'\n)\n/**\n * Accounts required by the _quote_ instruction\n *\n * @property [**signer**] endpoint\n * @property [] uln\n * @property [] sendConfig\n * @property [] defaultSendConfig\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport type QuoteInstructionAccounts = {\n  endpoint: web3.PublicKey\n  uln: web3.PublicKey\n  sendConfig: web3.PublicKey\n  defaultSendConfig: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const quoteInstructionDiscriminator = [\n  149, 42, 109, 247, 134, 146, 213, 123,\n]\n\n/**\n * Creates a _Quote_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport function createQuoteInstruction(\n  accounts: QuoteInstructionAccounts,\n  args: QuoteInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = quoteStruct.serialize({\n    instructionDiscriminator: quoteInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Quote_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Quote\n * @category generated\n */\nexport function createQuoteInstructionAccounts(\n  accounts: QuoteInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { Packet, packetBeet } from './Packet'\nexport type SendParams = {\n  packet: Packet\n  options: Uint8Array\n  nativeFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const sendParamsBeet = new beet.FixableBeetArgsStruct<SendParams>(\n  [\n    ['packet', packetBeet],\n    ['options', beet.bytes],\n    ['nativeFee', beet.u64],\n  ],\n  'SendParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SendParams, sendParamsBeet } from '../types/SendParams'\n\n/**\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport type SendInstructionArgs = {\n  params: SendParams\n}\n/**\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport const sendStruct = new beet.FixableBeetArgsStruct<\n  SendInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', sendParamsBeet],\n  ],\n  'SendInstructionArgs'\n)\n/**\n * Accounts required by the _send_ instruction\n *\n * @property [**signer**] endpoint\n * @property [] uln\n * @property [] sendConfig\n * @property [] defaultSendConfig\n * @property [_writable_, **signer**] payer\n * @property [_writable_] treasury (optional)\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport type SendInstructionAccounts = {\n  endpoint: web3.PublicKey\n  uln: web3.PublicKey\n  sendConfig: web3.PublicKey\n  defaultSendConfig: web3.PublicKey\n  payer: web3.PublicKey\n  treasury?: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const sendInstructionDiscriminator = [102, 251, 20, 187, 65, 75, 12, 69]\n\n/**\n * Creates a _Send_ instruction.\n *\n * Optional accounts that are not provided default to the program ID since\n * this was indicated in the IDL from which this instruction was generated.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport function createSendInstruction(\n  accounts: SendInstructionAccounts,\n  args: SendInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = sendStruct.serialize({\n    instructionDiscriminator: sendInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.treasury ?? programId,\n      isWritable: accounts.treasury != null,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Send_ instructionAccounts.\n *\n * Optional accounts that are not provided default to the program ID since\n * this was indicated in the IDL from which this instruction was generated.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Send\n * @category generated\n */\nexport function createSendInstructionAccounts(\n  accounts: SendInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.treasury ?? programId,\n      isWritable: accounts.treasury != null,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { Packet, packetBeet } from './Packet'\nexport type SendWithLzTokenParams = {\n  packet: Packet\n  options: Uint8Array\n  nativeFee: beet.bignum\n  lzTokenFee: beet.bignum\n  lzTokenMint: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const sendWithLzTokenParamsBeet =\n  new beet.FixableBeetArgsStruct<SendWithLzTokenParams>(\n    [\n      ['packet', packetBeet],\n      ['options', beet.bytes],\n      ['nativeFee', beet.u64],\n      ['lzTokenFee', beet.u64],\n      ['lzTokenMint', beetSolana.publicKey],\n    ],\n    'SendWithLzTokenParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as splToken from '@solana/spl-token'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SendWithLzTokenParams,\n  sendWithLzTokenParamsBeet,\n} from '../types/SendWithLzTokenParams'\n\n/**\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport type SendWithLzTokenInstructionArgs = {\n  params: SendWithLzTokenParams\n}\n/**\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport const sendWithLzTokenStruct = new beet.FixableBeetArgsStruct<\n  SendWithLzTokenInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', sendWithLzTokenParamsBeet],\n  ],\n  'SendWithLzTokenInstructionArgs'\n)\n/**\n * Accounts required by the _sendWithLzToken_ instruction\n *\n * @property [**signer**] endpoint\n * @property [] uln\n * @property [] sendConfig\n * @property [] defaultSendConfig\n * @property [_writable_, **signer**] payer\n * @property [_writable_] lzTokenSource\n * @property [_writable_] lzTokenTreasury\n * @property [] lzTokenMint\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport type SendWithLzTokenInstructionAccounts = {\n  endpoint: web3.PublicKey\n  uln: web3.PublicKey\n  sendConfig: web3.PublicKey\n  defaultSendConfig: web3.PublicKey\n  payer: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  lzTokenSource: web3.PublicKey\n  lzTokenTreasury: web3.PublicKey\n  lzTokenMint: web3.PublicKey\n  tokenProgram?: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const sendWithLzTokenInstructionDiscriminator = [\n  165, 161, 84, 48, 129, 26, 193, 19,\n]\n\n/**\n * Creates a _SendWithLzToken_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport function createSendWithLzTokenInstruction(\n  accounts: SendWithLzTokenInstructionAccounts,\n  args: SendWithLzTokenInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = sendWithLzTokenStruct.serialize({\n    instructionDiscriminator: sendWithLzTokenInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenSource,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenTreasury,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenMint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.tokenProgram ?? splToken.TOKEN_PROGRAM_ID,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SendWithLzToken_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SendWithLzToken\n * @category generated\n */\nexport function createSendWithLzTokenInstructionAccounts(\n  accounts: SendWithLzTokenInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenSource,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenTreasury,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.lzTokenMint,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.tokenProgram ?? splToken.TOKEN_PROGRAM_ID,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetConfigParams = {\n  oapp: web3.PublicKey\n  eid: number\n  configType: number\n  config: Uint8Array\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<SetConfigParams>(\n    [\n      ['oapp', beetSolana.publicKey],\n      ['eid', beet.u32],\n      ['configType', beet.u32],\n      ['config', beet.bytes],\n    ],\n    'SetConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SetConfigParams, setConfigParamsBeet } from '../types/SetConfigParams'\n\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionArgs = {\n  params: SetConfigParams\n}\n/**\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport const setConfigStruct = new beet.FixableBeetArgsStruct<\n  SetConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setConfigParamsBeet],\n  ],\n  'SetConfigInstructionArgs'\n)\n/**\n * Accounts required by the _setConfig_ instruction\n *\n * @property [**signer**] endpoint\n * @property [] uln\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @property [] defaultSendConfig\n * @property [] defaultReceiveConfig\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport type SetConfigInstructionAccounts = {\n  endpoint: web3.PublicKey\n  uln: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  defaultSendConfig: web3.PublicKey\n  defaultReceiveConfig: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setConfigInstructionDiscriminator = [\n  108, 158, 154, 175, 212, 98, 52, 66,\n]\n\n/**\n * Creates a _SetConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstruction(\n  accounts: SetConfigInstructionAccounts,\n  args: SetConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setConfigStruct.serialize({\n    instructionDiscriminator: setConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetConfig\n * @category generated\n */\nexport function createSetConfigInstructionAccounts(\n  accounts: SetConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.endpoint,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultSendConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.defaultReceiveConfig,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { UlnConfig, ulnConfigBeet } from './UlnConfig'\nimport { ExecutorConfig, executorConfigBeet } from './ExecutorConfig'\nexport type SetDefaultConfigParams = {\n  eid: number\n  sendUlnConfig: beet.COption<UlnConfig>\n  receiveUlnConfig: beet.COption<UlnConfig>\n  executorConfig: beet.COption<ExecutorConfig>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setDefaultConfigParamsBeet =\n  new beet.FixableBeetArgsStruct<SetDefaultConfigParams>(\n    [\n      ['eid', beet.u32],\n      ['sendUlnConfig', beet.coption(ulnConfigBeet)],\n      ['receiveUlnConfig', beet.coption(ulnConfigBeet)],\n      ['executorConfig', beet.coption(executorConfigBeet)],\n    ],\n    'SetDefaultConfigParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetDefaultConfigParams,\n  setDefaultConfigParamsBeet,\n} from '../types/SetDefaultConfigParams'\n\n/**\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport type SetDefaultConfigInstructionArgs = {\n  params: SetDefaultConfigParams\n}\n/**\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport const setDefaultConfigStruct = new beet.FixableBeetArgsStruct<\n  SetDefaultConfigInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setDefaultConfigParamsBeet],\n  ],\n  'SetDefaultConfigInstructionArgs'\n)\n/**\n * Accounts required by the _setDefaultConfig_ instruction\n *\n * @property [**signer**] admin\n * @property [] uln\n * @property [_writable_] sendConfig\n * @property [_writable_] receiveConfig\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport type SetDefaultConfigInstructionAccounts = {\n  admin: web3.PublicKey\n  uln: web3.PublicKey\n  sendConfig: web3.PublicKey\n  receiveConfig: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setDefaultConfigInstructionDiscriminator = [\n  111, 228, 17, 75, 5, 76, 213, 169,\n]\n\n/**\n * Creates a _SetDefaultConfig_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport function createSetDefaultConfigInstruction(\n  accounts: SetDefaultConfigInstructionAccounts,\n  args: SetDefaultConfigInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setDefaultConfigStruct.serialize({\n    instructionDiscriminator: setDefaultConfigInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetDefaultConfig_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetDefaultConfig\n * @category generated\n */\nexport function createSetDefaultConfigInstructionAccounts(\n  accounts: SetDefaultConfigInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.sendConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiveConfig,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { Treasury, treasuryBeet } from './Treasury'\nexport type SetTreasuryParams = {\n  treasury: beet.COption<Treasury>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setTreasuryParamsBeet =\n  new beet.FixableBeetArgsStruct<SetTreasuryParams>(\n    [['treasury', beet.coption(treasuryBeet)]],\n    'SetTreasuryParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetTreasuryParams,\n  setTreasuryParamsBeet,\n} from '../types/SetTreasuryParams'\n\n/**\n * @category Instructions\n * @category SetTreasury\n * @category generated\n */\nexport type SetTreasuryInstructionArgs = {\n  params: SetTreasuryParams\n}\n/**\n * @category Instructions\n * @category SetTreasury\n * @category generated\n */\nexport const setTreasuryStruct = new beet.FixableBeetArgsStruct<\n  SetTreasuryInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setTreasuryParamsBeet],\n  ],\n  'SetTreasuryInstructionArgs'\n)\n/**\n * Accounts required by the _setTreasury_ instruction\n *\n * @property [**signer**] signer\n * @property [_writable_] uln\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category SetTreasury\n * @category generated\n */\nexport type SetTreasuryInstructionAccounts = {\n  signer: web3.PublicKey\n  uln: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setTreasuryInstructionDiscriminator = [\n  57, 97, 196, 95, 195, 206, 106, 136,\n]\n\n/**\n * Creates a _SetTreasury_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetTreasury\n * @category generated\n */\nexport function createSetTreasuryInstruction(\n  accounts: SetTreasuryInstructionAccounts,\n  args: SetTreasuryInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setTreasuryStruct.serialize({\n    instructionDiscriminator: setTreasuryInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetTreasury_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetTreasury\n * @category generated\n */\nexport function createSetTreasuryInstructionAccounts(\n  accounts: SetTreasuryInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.signer,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type TransferAdminParams = {\n  admin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const transferAdminParamsBeet =\n  new beet.BeetArgsStruct<TransferAdminParams>(\n    [['admin', beetSolana.publicKey]],\n    'TransferAdminParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  TransferAdminParams,\n  transferAdminParamsBeet,\n} from '../types/TransferAdminParams'\n\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionArgs = {\n  params: TransferAdminParams\n}\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport const transferAdminStruct = new beet.BeetArgsStruct<\n  TransferAdminInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', transferAdminParamsBeet],\n  ],\n  'TransferAdminInstructionArgs'\n)\n/**\n * Accounts required by the _transferAdmin_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] uln\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionAccounts = {\n  admin: web3.PublicKey\n  uln: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const transferAdminInstructionDiscriminator = [\n  42, 242, 66, 106, 228, 10, 111, 156,\n]\n\n/**\n * Creates a _TransferAdmin_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstruction(\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = transferAdminStruct.serialize({\n    instructionDiscriminator: transferAdminInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _TransferAdmin_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstructionAccounts(\n  accounts: TransferAdminInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type VerifyParams = {\n  packetHeader: number[] /* size: 81 */\n  payloadHash: number[] /* size: 32 */\n  confirmations: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const verifyParamsBeet = new beet.BeetArgsStruct<VerifyParams>(\n  [\n    ['packetHeader', beet.uniformFixedSizeArray(beet.u8, 81)],\n    ['payloadHash', beet.uniformFixedSizeArray(beet.u8, 32)],\n    ['confirmations', beet.u64],\n  ],\n  'VerifyParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { VerifyParams, verifyParamsBeet } from '../types/VerifyParams'\n\n/**\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport type VerifyInstructionArgs = {\n  params: VerifyParams\n}\n/**\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport const verifyStruct = new beet.BeetArgsStruct<\n  VerifyInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', verifyParamsBeet],\n  ],\n  'VerifyInstructionArgs'\n)\n/**\n * Accounts required by the _verify_ instruction\n *\n * @property [**signer**] dvn\n * @property [_writable_] confirmations\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport type VerifyInstructionAccounts = {\n  dvn: web3.PublicKey\n  confirmations: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const verifyInstructionDiscriminator = [\n  133, 161, 141, 48, 120, 198, 88, 150,\n]\n\n/**\n * Creates a _Verify_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport function createVerifyInstruction(\n  accounts: VerifyInstructionAccounts,\n  args: VerifyInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = verifyStruct.serialize({\n    instructionDiscriminator: verifyInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.dvn,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.confirmations,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Verify_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category Verify\n * @category generated\n */\nexport function createVerifyInstructionAccounts(\n  accounts: VerifyInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.dvn,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.confirmations,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\n\n/**\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport const versionStruct = new beet.BeetArgsStruct<{\n  instructionDiscriminator: number[] /* size: 8 */\n}>(\n  [['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)]],\n  'VersionInstructionArgs'\n)\n\nexport const versionInstructionDiscriminator = [\n  118, 65, 195, 198, 129, 216, 252, 192,\n]\n\n/**\n * Creates a _Version_ instruction.\n *\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport function createVersionInstruction(programId: web3.PublicKey) {\n  const [data] = versionStruct.serialize({\n    instructionDiscriminator: versionInstructionDiscriminator,\n  })\n  const keys: web3.AccountMeta[] = []\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Version_ instructionAccounts.\n *\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport function createVersionInstructionAccounts(programId: web3.PublicKey) {\n  const keys: web3.AccountMeta[] = []\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type WithdrawRentParams = {\n  amount: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const withdrawRentParamsBeet =\n  new beet.BeetArgsStruct<WithdrawRentParams>(\n    [['amount', beet.u64]],\n    'WithdrawRentParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  WithdrawRentParams,\n  withdrawRentParamsBeet,\n} from '../types/WithdrawRentParams'\n\n/**\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport type WithdrawRentInstructionArgs = {\n  params: WithdrawRentParams\n}\n/**\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport const withdrawRentStruct = new beet.BeetArgsStruct<\n  WithdrawRentInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', withdrawRentParamsBeet],\n  ],\n  'WithdrawRentInstructionArgs'\n)\n/**\n * Accounts required by the _withdrawRent_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] uln\n * @property [_writable_] receiver\n * @property [] eventAuthority\n * @property [] program\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport type WithdrawRentInstructionAccounts = {\n  admin: web3.PublicKey\n  uln: web3.PublicKey\n  receiver: web3.PublicKey\n  eventAuthority: web3.PublicKey\n  program: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const withdrawRentInstructionDiscriminator = [\n  226, 7, 41, 158, 173, 111, 192, 107,\n]\n\n/**\n * Creates a _WithdrawRent_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport function createWithdrawRentInstruction(\n  accounts: WithdrawRentInstructionAccounts,\n  args: WithdrawRentInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = withdrawRentStruct.serialize({\n    instructionDiscriminator: withdrawRentInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _WithdrawRent_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category WithdrawRent\n * @category generated\n */\nexport function createWithdrawRentInstructionAccounts(\n  accounts: WithdrawRentInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.uln,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.receiver,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.eventAuthority,\n      isWritable: false,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.program,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","export * from './CloseVerifyParams'\nexport * from './CommitVerificationParams'\nexport * from './Config'\nexport * from './ExecutorConfig'\nexport * from './InitConfigParams'\nexport * from './InitDefaultConfigParams'\nexport * from './InitUlnParams'\nexport * from './InitVerifyParams'\nexport * from './LzTokenTreasury'\nexport * from './MessagingFee'\nexport * from './Packet'\nexport * from './QuoteParams'\nexport * from './SendParams'\nexport * from './SendWithLzTokenParams'\nexport * from './SetConfigParams'\nexport * from './SetDefaultConfigParams'\nexport * from './SetTreasuryParams'\nexport * from './TransferAdminParams'\nexport * from './Treasury'\nexport * from './TreasuryFee'\nexport * from './UlnConfig'\nexport * from './VerifyParams'\nexport * from './Version'\nexport * from './WithdrawRentParams'\nexport * from './WorkerFee'","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type MessagingFee = {\n  nativeFee: beet.bignum\n  lzTokenFee: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const messagingFeeBeet = new beet.BeetArgsStruct<MessagingFee>(\n  [\n    ['nativeFee', beet.u64],\n    ['lzTokenFee', beet.u64],\n  ],\n  'MessagingFee'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type Version = {\n  major: beet.bignum\n  minor: number\n  endpointVersion: number\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const versionBeet = new beet.BeetArgsStruct<Version>(\n  [\n    ['major', beet.u64],\n    ['minor', beet.u8],\n    ['endpointVersion', beet.u8],\n  ],\n  'Version'\n)\n","import { PublicKey } from '@solana/web3.js'\nexport * from './accounts'\nexport * from './errors'\nexport * from './instructions'\nexport * from './types'\n\n/**\n * Program address\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ADDRESS = '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n\n/**\n * Program public key\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)\n","import { bignum } from '@metaplex-foundation/beet'\nimport { Commitment, Connection, GetAccountInfoConfig, PublicKey, TransactionInstruction } from '@solana/web3.js'\n\nimport { PriceFeedPDADeriver } from './pda-deriver'\nimport * as accounts from '../generated/solita/pricefeed/accounts'\nimport * as instructions from '../generated/solita/pricefeed/instructions'\nimport * as types from '../generated/solita/pricefeed/types'\n\nexport { accounts, instructions, types }\nexport { PROGRAM_ID } from '../generated/solita/pricefeed'\n\n/**\n * Class representing the PriceFeed.\n */\nexport class PriceFeed {\n    deriver: PriceFeedPDADeriver\n\n    /**\n     * Creates an instance of the PriceFeed class.\n     *\n     * @param {PublicKey} program - The public key of the program.\n     */\n    constructor(public readonly program: PublicKey) {\n        this.deriver = new PriceFeedPDADeriver(this.program)\n    }\n\n    /**\n     * Initializes the price feed.\n     *\n     * @param {Connection} connection - The Solana connection object.\n     * @param {PublicKey} payer - The public key of the payer.\n     * @param {PublicKey} admin - The public key of the admin.\n     * @param {PublicKey[]} updaters - The list of public keys of the updaters.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - Optional commitment or configuration.\n     *\n     * @returns {Promise<TransactionInstruction>} The transaction instruction.\n     */\n    async initPriceFeed(\n        connection: Connection,\n        payer: PublicKey,\n        admin: PublicKey,\n        updaters: PublicKey[],\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<TransactionInstruction> {\n        const [priceFeed] = this.deriver.priceFeed()\n        const info = await connection.getAccountInfo(priceFeed, commitmentOrConfig)\n        if (info) {\n            throw new Error('Pricefeed already initialized')\n        }\n        return instructions.createInitPriceFeedInstruction(\n            {\n                payer,\n                priceFeed,\n            } satisfies instructions.InitPriceFeedInstructionAccounts,\n            {\n                params: {\n                    admin,\n                    updaters,\n                } satisfies types.InitPriceFeedParams,\n            } satisfies instructions.InitPriceFeedInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the price feed.\n     *\n     * @param {PublicKey} admin - The public key of the admin.\n     * @param {PublicKey[]} updaters - The list of public keys of the updaters.\n     * @param {bignum} priceRatioDenominator - The price ratio denominator.\n     * @param {number} arbitrumCompressionPercent - The Arbitrum compression percentage.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setPriceFeed(\n        admin: PublicKey,\n        updaters: PublicKey[],\n        priceRatioDenominator: bignum,\n        arbitrumCompressionPercent: number\n    ): TransactionInstruction {\n        const [priceFeed] = this.deriver.priceFeed()\n        return instructions.createSetPriceFeedInstruction(\n            {\n                admin,\n                priceFeed,\n            } satisfies instructions.SetPriceFeedInstructionAccounts,\n            {\n                params: {\n                    updaters,\n                    priceRatioDenominator,\n                    arbitrumCompressionPercent,\n                } satisfies types.SetPriceFeedParams,\n            } satisfies instructions.SetPriceFeedInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the price.\n     *\n     * @param {PublicKey} updater - The public key of the updater.\n     * @param {number} dstEid - The destination EID.\n     * @param {bignum} priceRatio - The price ratio.\n     * @param {bignum} gasPriceInUnit - The gas price in unit.\n     * @param {number} gasPerByte - The gas per byte.\n     * @param {types.ModelType | null} modelType - The model type.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setPrice(\n        updater: PublicKey,\n        dstEid: number,\n        priceRatio: bignum,\n        gasPriceInUnit: bignum,\n        gasPerByte: number,\n        modelType: types.ModelType | null\n    ): TransactionInstruction {\n        const EID_MODULUS = 30000\n        dstEid = dstEid % EID_MODULUS\n        const [priceFeed] = this.deriver.priceFeed()\n        return instructions.createSetPriceInstruction(\n            {\n                updater,\n                priceFeed,\n            } satisfies instructions.SetPriceInstructionAccounts,\n            {\n                params: {\n                    dstEid,\n                    params: {\n                        priceRatio,\n                        gasPriceInUnit,\n                        gasPerByte,\n                        modelType,\n                    },\n                } satisfies types.SetPriceParams,\n            } satisfies instructions.SetPriceInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Sets the SOL price.\n     *\n     * @param {PublicKey} updater - The public key of the updater.\n     * @param {bignum | null} nativeTokenPriceUsd - The native token price in USD.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setSolPrice(updater: PublicKey, nativeTokenPriceUsd: bignum | null): TransactionInstruction {\n        const [priceFeed] = this.deriver.priceFeed()\n        return instructions.createSetSolPriceInstruction(\n            {\n                priceFeed,\n                updater,\n            } satisfies instructions.SetSolPriceInstructionAccounts,\n            {\n                params: {\n                    nativeTokenPriceUsd,\n                } satisfies types.SetSolPriceParams,\n            } satisfies instructions.SetSolPriceInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Transfers the admin role.\n     *\n     * @param {PublicKey} admin - The public key of the current admin.\n     * @param {PublicKey} newAdmin - The public key of the new admin.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    transferAdmin(admin: PublicKey, newAdmin: PublicKey): TransactionInstruction {\n        const [priceFeed] = this.deriver.priceFeed()\n        return instructions.createTransferAdminInstruction(\n            {\n                admin,\n                priceFeed,\n            } satisfies instructions.TransferAdminInstructionAccounts,\n            {\n                params: {\n                    admin: newAdmin,\n                } satisfies types.TransferAdminParams,\n            } satisfies instructions.TransferAdminInstructionArgs,\n            this.program\n        )\n    }\n\n    /**\n     * Retrieves the price feed account.\n     *\n     * @param {Connection} connection - The Solana connection object.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - Optional commitment or configuration.\n     *\n     * @returns {Promise<accounts.PriceFeed | null>} The price feed account or null if not found.\n     */\n    async getPriceFeed(\n        connection: Connection,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<accounts.PriceFeed | null> {\n        const [priceFeed] = this.deriver.priceFeed()\n        try {\n            return await accounts.PriceFeed.fromAccountAddress(connection, priceFeed, commitmentOrConfig)\n        } catch (e) {\n            return null\n        }\n    }\n}\n","export * from './PriceFeed'\n\nimport { PriceFeed } from './PriceFeed'\n\nexport const accountProviders = { PriceFeed }\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\n/**\n * This type is used to derive the {@link ModelType} type as well as the de/serializer.\n * However don't refer to it in your code but use the {@link ModelType} type instead.\n *\n * @category userTypes\n * @category enums\n * @category generated\n * @private\n */\nexport type ModelTypeRecord = {\n  Arbitrum: { gasPerL2Tx: beet.bignum; gasPerL1CalldataByte: number }\n  Optimism: { l1Eid: number }\n}\n\n/**\n * Union type respresenting the ModelType data enum defined in Rust.\n *\n * NOTE: that it includes a `__kind` property which allows to narrow types in\n * switch/if statements.\n * Additionally `isModelType*` type guards are exposed below to narrow to a specific variant.\n *\n * @category userTypes\n * @category enums\n * @category generated\n */\nexport type ModelType = beet.DataEnumKeyAsKind<ModelTypeRecord>\n\nexport const isModelTypeArbitrum = (\n  x: ModelType\n): x is ModelType & { __kind: 'Arbitrum' } => x.__kind === 'Arbitrum'\nexport const isModelTypeOptimism = (\n  x: ModelType\n): x is ModelType & { __kind: 'Optimism' } => x.__kind === 'Optimism'\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const modelTypeBeet = beet.dataEnum<ModelTypeRecord>([\n  [\n    'Arbitrum',\n    new beet.BeetArgsStruct<ModelTypeRecord['Arbitrum']>(\n      [\n        ['gasPerL2Tx', beet.u64],\n        ['gasPerL1CalldataByte', beet.u32],\n      ],\n      'ModelTypeRecord[\"Arbitrum\"]'\n    ),\n  ],\n\n  [\n    'Optimism',\n    new beet.BeetArgsStruct<ModelTypeRecord['Optimism']>(\n      [['l1Eid', beet.u32]],\n      'ModelTypeRecord[\"Optimism\"]'\n    ),\n  ],\n]) as beet.FixableBeet<ModelType, ModelType>\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { ModelType, modelTypeBeet } from './ModelType'\nexport type Price = {\n  eid: number\n  priceRatio: beet.bignum\n  gasPriceInUnit: beet.bignum\n  gasPerByte: number\n  modelType: beet.COption<ModelType>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const priceBeet = new beet.FixableBeetArgsStruct<Price>(\n  [\n    ['eid', beet.u32],\n    ['priceRatio', beet.u128],\n    ['gasPriceInUnit', beet.u64],\n    ['gasPerByte', beet.u32],\n    ['modelType', beet.coption(modelTypeBeet)],\n  ],\n  'Price'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport { Price, priceBeet } from '../types/Price'\n\n/**\n * Arguments used to create {@link PriceFeed}\n * @category Accounts\n * @category generated\n */\nexport type PriceFeedArgs = {\n  admin: web3.PublicKey\n  updaters: web3.PublicKey[]\n  priceRatioDenominator: beet.bignum\n  arbitrumCompressionPercent: beet.bignum\n  nativeTokenPriceUsd: beet.COption<beet.bignum>\n  prices: Price[]\n  bump: number\n}\n\nexport const priceFeedDiscriminator = [189, 103, 252, 23, 152, 35, 243, 156]\n/**\n * Holds the data for the {@link PriceFeed} Account and provides de/serialization\n * functionality for that data\n *\n * @category Accounts\n * @category generated\n */\nexport class PriceFeed implements PriceFeedArgs {\n  private constructor(\n    readonly admin: web3.PublicKey,\n    readonly updaters: web3.PublicKey[],\n    readonly priceRatioDenominator: beet.bignum,\n    readonly arbitrumCompressionPercent: beet.bignum,\n    readonly nativeTokenPriceUsd: beet.COption<beet.bignum>,\n    readonly prices: Price[],\n    readonly bump: number\n  ) {}\n\n  /**\n   * Creates a {@link PriceFeed} instance from the provided args.\n   */\n  static fromArgs(args: PriceFeedArgs) {\n    return new PriceFeed(\n      args.admin,\n      args.updaters,\n      args.priceRatioDenominator,\n      args.arbitrumCompressionPercent,\n      args.nativeTokenPriceUsd,\n      args.prices,\n      args.bump\n    )\n  }\n\n  /**\n   * Deserializes the {@link PriceFeed} from the data of the provided {@link web3.AccountInfo}.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static fromAccountInfo(\n    accountInfo: web3.AccountInfo<Buffer>,\n    offset = 0\n  ): [PriceFeed, number] {\n    return PriceFeed.deserialize(accountInfo.data, offset)\n  }\n\n  /**\n   * Retrieves the account info from the provided address and deserializes\n   * the {@link PriceFeed} from its data.\n   *\n   * @throws Error if no account info is found at the address or if deserialization fails\n   */\n  static async fromAccountAddress(\n    connection: web3.Connection,\n    address: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n  ): Promise<PriceFeed> {\n    const accountInfo = await connection.getAccountInfo(\n      address,\n      commitmentOrConfig\n    )\n    if (accountInfo == null) {\n      throw new Error(`Unable to find PriceFeed account at ${address}`)\n    }\n    return PriceFeed.fromAccountInfo(accountInfo, 0)[0]\n  }\n\n  /**\n   * Provides a {@link web3.Connection.getProgramAccounts} config builder,\n   * to fetch accounts matching filters that can be specified via that builder.\n   *\n   * @param programId - the program that owns the accounts we are filtering\n   */\n  static gpaBuilder(\n    programId: web3.PublicKey = new web3.PublicKey(\n      '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n    )\n  ) {\n    return beetSolana.GpaBuilder.fromStruct(programId, priceFeedBeet)\n  }\n\n  /**\n   * Deserializes the {@link PriceFeed} from the provided data Buffer.\n   * @returns a tuple of the account data and the offset up to which the buffer was read to obtain it.\n   */\n  static deserialize(buf: Buffer, offset = 0): [PriceFeed, number] {\n    return priceFeedBeet.deserialize(buf, offset)\n  }\n\n  /**\n   * Serializes the {@link PriceFeed} into a Buffer.\n   * @returns a tuple of the created Buffer and the offset up to which the buffer was written to store it.\n   */\n  serialize(): [Buffer, number] {\n    return priceFeedBeet.serialize({\n      accountDiscriminator: priceFeedDiscriminator,\n      ...this,\n    })\n  }\n\n  /**\n   * Returns the byteSize of a {@link Buffer} holding the serialized data of\n   * {@link PriceFeed} for the provided args.\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   */\n  static byteSize(args: PriceFeedArgs) {\n    const instance = PriceFeed.fromArgs(args)\n    return priceFeedBeet.toFixedFromValue({\n      accountDiscriminator: priceFeedDiscriminator,\n      ...instance,\n    }).byteSize\n  }\n\n  /**\n   * Fetches the minimum balance needed to exempt an account holding\n   * {@link PriceFeed} data from rent\n   *\n   * @param args need to be provided since the byte size for this account\n   * depends on them\n   * @param connection used to retrieve the rent exemption information\n   */\n  static async getMinimumBalanceForRentExemption(\n    args: PriceFeedArgs,\n    connection: web3.Connection,\n    commitment?: web3.Commitment\n  ): Promise<number> {\n    return connection.getMinimumBalanceForRentExemption(\n      PriceFeed.byteSize(args),\n      commitment\n    )\n  }\n\n  /**\n   * Returns a readable version of {@link PriceFeed} properties\n   * and can be used to convert to JSON and/or logging\n   */\n  pretty() {\n    return {\n      admin: this.admin.toBase58(),\n      updaters: this.updaters,\n      priceRatioDenominator: (() => {\n        const x = <{ toNumber: () => number }>this.priceRatioDenominator\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n      arbitrumCompressionPercent: (() => {\n        const x = <{ toNumber: () => number }>this.arbitrumCompressionPercent\n        if (typeof x.toNumber === 'function') {\n          try {\n            return x.toNumber()\n          } catch (_) {\n            return x\n          }\n        }\n        return x\n      })(),\n      nativeTokenPriceUsd: this.nativeTokenPriceUsd,\n      prices: this.prices,\n      bump: this.bump,\n    }\n  }\n}\n\n/**\n * @category Accounts\n * @category generated\n */\nexport const priceFeedBeet = new beet.FixableBeetStruct<\n  PriceFeed,\n  PriceFeedArgs & {\n    accountDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['accountDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['admin', beetSolana.publicKey],\n    ['updaters', beet.array(beetSolana.publicKey)],\n    ['priceRatioDenominator', beet.u128],\n    ['arbitrumCompressionPercent', beet.u128],\n    ['nativeTokenPriceUsd', beet.coption(beet.u128)],\n    ['prices', beet.array(priceBeet)],\n    ['bump', beet.u8],\n  ],\n  PriceFeed.fromArgs,\n  'PriceFeed'\n)\n","export * from './getFee'\nexport * from './initPriceFeed'\nexport * from './setPrice'\nexport * from './setPriceFeed'\nexport * from './setSolPrice'\nexport * from './transferAdmin'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type GetFeeParams = {\n  dstEid: number\n  calldataSize: beet.bignum\n  totalGas: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const getFeeParamsBeet = new beet.BeetArgsStruct<GetFeeParams>(\n  [\n    ['dstEid', beet.u32],\n    ['calldataSize', beet.u64],\n    ['totalGas', beet.u128],\n  ],\n  'GetFeeParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { GetFeeParams, getFeeParamsBeet } from '../types/GetFeeParams'\n\n/**\n * @category Instructions\n * @category GetFee\n * @category generated\n */\nexport type GetFeeInstructionArgs = {\n  params: GetFeeParams\n}\n/**\n * @category Instructions\n * @category GetFee\n * @category generated\n */\nexport const getFeeStruct = new beet.BeetArgsStruct<\n  GetFeeInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', getFeeParamsBeet],\n  ],\n  'GetFeeInstructionArgs'\n)\n/**\n * Accounts required by the _getFee_ instruction\n *\n * @property [] priceFeed\n * @category Instructions\n * @category GetFee\n * @category generated\n */\nexport type GetFeeInstructionAccounts = {\n  priceFeed: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const getFeeInstructionDiscriminator = [\n  115, 195, 235, 161, 25, 219, 60, 29,\n]\n\n/**\n * Creates a _GetFee_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category GetFee\n * @category generated\n */\nexport function createGetFeeInstruction(\n  accounts: GetFeeInstructionAccounts,\n  args: GetFeeInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = getFeeStruct.serialize({\n    instructionDiscriminator: getFeeInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _GetFee_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category GetFee\n * @category generated\n */\nexport function createGetFeeInstructionAccounts(\n  accounts: GetFeeInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type InitPriceFeedParams = {\n  admin: web3.PublicKey\n  updaters: web3.PublicKey[]\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const initPriceFeedParamsBeet =\n  new beet.FixableBeetArgsStruct<InitPriceFeedParams>(\n    [\n      ['admin', beetSolana.publicKey],\n      ['updaters', beet.array(beetSolana.publicKey)],\n    ],\n    'InitPriceFeedParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  InitPriceFeedParams,\n  initPriceFeedParamsBeet,\n} from '../types/InitPriceFeedParams'\n\n/**\n * @category Instructions\n * @category InitPriceFeed\n * @category generated\n */\nexport type InitPriceFeedInstructionArgs = {\n  params: InitPriceFeedParams\n}\n/**\n * @category Instructions\n * @category InitPriceFeed\n * @category generated\n */\nexport const initPriceFeedStruct = new beet.FixableBeetArgsStruct<\n  InitPriceFeedInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', initPriceFeedParamsBeet],\n  ],\n  'InitPriceFeedInstructionArgs'\n)\n/**\n * Accounts required by the _initPriceFeed_ instruction\n *\n * @property [_writable_, **signer**] payer\n * @property [_writable_] priceFeed\n * @category Instructions\n * @category InitPriceFeed\n * @category generated\n */\nexport type InitPriceFeedInstructionAccounts = {\n  payer: web3.PublicKey\n  priceFeed: web3.PublicKey\n  systemProgram?: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const initPriceFeedInstructionDiscriminator = [\n  27, 209, 184, 5, 152, 116, 136, 16,\n]\n\n/**\n * Creates a _InitPriceFeed_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category InitPriceFeed\n * @category generated\n */\nexport function createInitPriceFeedInstruction(\n  accounts: InitPriceFeedInstructionAccounts,\n  args: InitPriceFeedInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = initPriceFeedStruct.serialize({\n    instructionDiscriminator: initPriceFeedInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _InitPriceFeed_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category InitPriceFeed\n * @category generated\n */\nexport function createInitPriceFeedInstructionAccounts(\n  accounts: InitPriceFeedInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.payer,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n    {\n      pubkey: accounts.systemProgram ?? web3.SystemProgram.programId,\n      isWritable: false,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { ModelType, modelTypeBeet } from './ModelType'\nexport type PriceParams = {\n  priceRatio: beet.bignum\n  gasPriceInUnit: beet.bignum\n  gasPerByte: number\n  modelType: beet.COption<ModelType>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const priceParamsBeet = new beet.FixableBeetArgsStruct<PriceParams>(\n  [\n    ['priceRatio', beet.u128],\n    ['gasPriceInUnit', beet.u64],\n    ['gasPerByte', beet.u32],\n    ['modelType', beet.coption(modelTypeBeet)],\n  ],\n  'PriceParams'\n)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport { PriceParams, priceParamsBeet } from './PriceParams'\nexport type SetPriceParams = {\n  dstEid: number\n  params: beet.COption<PriceParams>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setPriceParamsBeet =\n  new beet.FixableBeetArgsStruct<SetPriceParams>(\n    [\n      ['dstEid', beet.u32],\n      ['params', beet.coption(priceParamsBeet)],\n    ],\n    'SetPriceParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport { SetPriceParams, setPriceParamsBeet } from '../types/SetPriceParams'\n\n/**\n * @category Instructions\n * @category SetPrice\n * @category generated\n */\nexport type SetPriceInstructionArgs = {\n  params: SetPriceParams\n}\n/**\n * @category Instructions\n * @category SetPrice\n * @category generated\n */\nexport const setPriceStruct = new beet.FixableBeetArgsStruct<\n  SetPriceInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setPriceParamsBeet],\n  ],\n  'SetPriceInstructionArgs'\n)\n/**\n * Accounts required by the _setPrice_ instruction\n *\n * @property [**signer**] updater\n * @property [_writable_] priceFeed\n * @category Instructions\n * @category SetPrice\n * @category generated\n */\nexport type SetPriceInstructionAccounts = {\n  updater: web3.PublicKey\n  priceFeed: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setPriceInstructionDiscriminator = [\n  16, 19, 182, 8, 149, 83, 72, 181,\n]\n\n/**\n * Creates a _SetPrice_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetPrice\n * @category generated\n */\nexport function createSetPriceInstruction(\n  accounts: SetPriceInstructionAccounts,\n  args: SetPriceInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setPriceStruct.serialize({\n    instructionDiscriminator: setPriceInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.updater,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetPrice_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetPrice\n * @category generated\n */\nexport function createSetPriceInstructionAccounts(\n  accounts: SetPriceInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.updater,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beet from '@metaplex-foundation/beet'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nexport type SetPriceFeedParams = {\n  updaters: web3.PublicKey[]\n  priceRatioDenominator: beet.bignum\n  arbitrumCompressionPercent: beet.bignum\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setPriceFeedParamsBeet =\n  new beet.FixableBeetArgsStruct<SetPriceFeedParams>(\n    [\n      ['updaters', beet.array(beetSolana.publicKey)],\n      ['priceRatioDenominator', beet.u128],\n      ['arbitrumCompressionPercent', beet.u128],\n    ],\n    'SetPriceFeedParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetPriceFeedParams,\n  setPriceFeedParamsBeet,\n} from '../types/SetPriceFeedParams'\n\n/**\n * @category Instructions\n * @category SetPriceFeed\n * @category generated\n */\nexport type SetPriceFeedInstructionArgs = {\n  params: SetPriceFeedParams\n}\n/**\n * @category Instructions\n * @category SetPriceFeed\n * @category generated\n */\nexport const setPriceFeedStruct = new beet.FixableBeetArgsStruct<\n  SetPriceFeedInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setPriceFeedParamsBeet],\n  ],\n  'SetPriceFeedInstructionArgs'\n)\n/**\n * Accounts required by the _setPriceFeed_ instruction\n *\n * @property [_writable_, **signer**] admin\n * @property [_writable_] priceFeed\n * @category Instructions\n * @category SetPriceFeed\n * @category generated\n */\nexport type SetPriceFeedInstructionAccounts = {\n  admin: web3.PublicKey\n  priceFeed: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setPriceFeedInstructionDiscriminator = [\n  13, 15, 231, 129, 61, 7, 28, 122,\n]\n\n/**\n * Creates a _SetPriceFeed_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetPriceFeed\n * @category generated\n */\nexport function createSetPriceFeedInstruction(\n  accounts: SetPriceFeedInstructionAccounts,\n  args: SetPriceFeedInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setPriceFeedStruct.serialize({\n    instructionDiscriminator: setPriceFeedInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetPriceFeed_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetPriceFeed\n * @category generated\n */\nexport function createSetPriceFeedInstructionAccounts(\n  accounts: SetPriceFeedInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: true,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nexport type SetSolPriceParams = {\n  nativeTokenPriceUsd: beet.COption<beet.bignum>\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const setSolPriceParamsBeet =\n  new beet.FixableBeetArgsStruct<SetSolPriceParams>(\n    [['nativeTokenPriceUsd', beet.coption(beet.u128)]],\n    'SetSolPriceParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  SetSolPriceParams,\n  setSolPriceParamsBeet,\n} from '../types/SetSolPriceParams'\n\n/**\n * @category Instructions\n * @category SetSolPrice\n * @category generated\n */\nexport type SetSolPriceInstructionArgs = {\n  params: SetSolPriceParams\n}\n/**\n * @category Instructions\n * @category SetSolPrice\n * @category generated\n */\nexport const setSolPriceStruct = new beet.FixableBeetArgsStruct<\n  SetSolPriceInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', setSolPriceParamsBeet],\n  ],\n  'SetSolPriceInstructionArgs'\n)\n/**\n * Accounts required by the _setSolPrice_ instruction\n *\n * @property [**signer**] updater\n * @property [_writable_] priceFeed\n * @category Instructions\n * @category SetSolPrice\n * @category generated\n */\nexport type SetSolPriceInstructionAccounts = {\n  updater: web3.PublicKey\n  priceFeed: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const setSolPriceInstructionDiscriminator = [\n  151, 237, 70, 191, 232, 81, 138, 214,\n]\n\n/**\n * Creates a _SetSolPrice_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category SetSolPrice\n * @category generated\n */\nexport function createSetSolPriceInstruction(\n  accounts: SetSolPriceInstructionAccounts,\n  args: SetSolPriceInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = setSolPriceStruct.serialize({\n    instructionDiscriminator: setSolPriceInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.updater,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _SetSolPrice_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category SetSolPrice\n * @category generated\n */\nexport function createSetSolPriceInstructionAccounts(\n  accounts: SetSolPriceInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.updater,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as web3 from '@solana/web3.js'\nimport * as beetSolana from '@metaplex-foundation/beet-solana'\nimport * as beet from '@metaplex-foundation/beet'\nexport type TransferAdminParams = {\n  admin: web3.PublicKey\n}\n\n/**\n * @category userTypes\n * @category generated\n */\nexport const transferAdminParamsBeet =\n  new beet.BeetArgsStruct<TransferAdminParams>(\n    [['admin', beetSolana.publicKey]],\n    'TransferAdminParams'\n  )\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\nimport {\n  TransferAdminParams,\n  transferAdminParamsBeet,\n} from '../types/TransferAdminParams'\n\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionArgs = {\n  params: TransferAdminParams\n}\n/**\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport const transferAdminStruct = new beet.BeetArgsStruct<\n  TransferAdminInstructionArgs & {\n    instructionDiscriminator: number[] /* size: 8 */\n  }\n>(\n  [\n    ['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],\n    ['params', transferAdminParamsBeet],\n  ],\n  'TransferAdminInstructionArgs'\n)\n/**\n * Accounts required by the _transferAdmin_ instruction\n *\n * @property [**signer**] admin\n * @property [_writable_] priceFeed\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport type TransferAdminInstructionAccounts = {\n  admin: web3.PublicKey\n  priceFeed: web3.PublicKey\n  anchorRemainingAccounts?: web3.AccountMeta[]\n}\n\nexport const transferAdminInstructionDiscriminator = [\n  42, 242, 66, 106, 228, 10, 111, 156,\n]\n\n/**\n * Creates a _TransferAdmin_ instruction.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @param args to provide as instruction data to the program\n *\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstruction(\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs,\n  programId: web3.PublicKey\n) {\n  const [data] = transferAdminStruct.serialize({\n    instructionDiscriminator: transferAdminInstructionDiscriminator,\n    ...args,\n  })\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _TransferAdmin_ instructionAccounts.\n *\n * @param accounts that will be accessed while the instruction is processed\n * @category Instructions\n * @category TransferAdmin\n * @category generated\n */\nexport function createTransferAdminInstructionAccounts(\n  accounts: TransferAdminInstructionAccounts,\n  programId: web3.PublicKey\n) {\n  const keys: web3.AccountMeta[] = [\n    {\n      pubkey: accounts.admin,\n      isWritable: false,\n      isSigner: true,\n    },\n    {\n      pubkey: accounts.priceFeed,\n      isWritable: true,\n      isSigner: false,\n    },\n  ]\n\n  if (accounts.anchorRemainingAccounts != null) {\n    for (const acc of accounts.anchorRemainingAccounts) {\n      keys.push(acc)\n    }\n  }\n\n  return keys\n}\n","export * from './GetFeeParams'\nexport * from './InitPriceFeedParams'\nexport * from './ModelType'\nexport * from './Price'\nexport * from './PriceParams'\nexport * from './SetPriceFeedParams'\nexport * from './SetPriceParams'\nexport * from './SetSolPriceParams'\nexport * from './TransferAdminParams'\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\ntype ErrorWithCode = Error & { code: number }\ntype MaybeErrorWithCode = ErrorWithCode | null | undefined\n\nconst createErrorFromCodeLookup: Map<number, () => ErrorWithCode> = new Map()\nconst createErrorFromNameLookup: Map<string, () => ErrorWithCode> = new Map()\n\n/**\n * TooManyUpdaters: ''\n *\n * @category Errors\n * @category generated\n */\nexport class TooManyUpdatersError extends Error {\n  readonly code: number = 0x1770\n  readonly name: string = 'TooManyUpdaters'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, TooManyUpdatersError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1770, () => new TooManyUpdatersError())\ncreateErrorFromNameLookup.set(\n  'TooManyUpdaters',\n  () => new TooManyUpdatersError()\n)\n\n/**\n * InvalidUpdater: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidUpdaterError extends Error {\n  readonly code: number = 0x1771\n  readonly name: string = 'InvalidUpdater'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidUpdaterError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1771, () => new InvalidUpdaterError())\ncreateErrorFromNameLookup.set('InvalidUpdater', () => new InvalidUpdaterError())\n\n/**\n * NotFound: ''\n *\n * @category Errors\n * @category generated\n */\nexport class NotFoundError extends Error {\n  readonly code: number = 0x1772\n  readonly name: string = 'NotFound'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, NotFoundError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1772, () => new NotFoundError())\ncreateErrorFromNameLookup.set('NotFound', () => new NotFoundError())\n\n/**\n * InvalidSize: ''\n *\n * @category Errors\n * @category generated\n */\nexport class InvalidSizeError extends Error {\n  readonly code: number = 0x1773\n  readonly name: string = 'InvalidSize'\n  constructor() {\n    super('')\n    if (typeof Error.captureStackTrace === 'function') {\n      Error.captureStackTrace(this, InvalidSizeError)\n    }\n  }\n}\n\ncreateErrorFromCodeLookup.set(0x1773, () => new InvalidSizeError())\ncreateErrorFromNameLookup.set('InvalidSize', () => new InvalidSizeError())\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n * @category generated\n */\nexport function errorFromCode(code: number): MaybeErrorWithCode {\n  const createError = createErrorFromCodeLookup.get(code)\n  return createError != null ? createError() : null\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n * @category generated\n */\nexport function errorFromName(name: string): MaybeErrorWithCode {\n  const createError = createErrorFromNameLookup.get(name)\n  return createError != null ? createError() : null\n}\n","import { PublicKey } from '@solana/web3.js'\nexport * from './accounts'\nexport * from './errors'\nexport * from './instructions'\nexport * from './types'\n\n/**\n * Program address\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ADDRESS = '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n\n/**\n * Program public key\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)\n","import { AccountInfo, Commitment, Connection, GetAccountInfoConfig, PublicKey } from '@solana/web3.js'\nimport BN from 'bn.js'\n\nimport { SimpleMessageLibProgram, UlnProgram } from '.'\nimport * as EndpointProgram from './endpoint'\nimport { COUNT_SEED, LZ_COMPOSE_TYPES_SEED, LZ_RECEIVE_TYPES_SEED, OAppBasePDADeriver } from './pda-deriver'\nimport { AddressType } from './types'\n\n// TODO - replace default seed to a convention ID Seed\n\n/**\n * Derives the OApp ID PDA.\n *\n * @param {PublicKey} program - The program public key.\n * @param {string} [seed=COUNT_SEED] - The seed.\n * @param {number} [id] - The ID.\n * @returns {[PublicKey, number]} The derived PDA and bump.\n */\nexport function oappIDPDA(program: PublicKey, seed = COUNT_SEED, id?: number): [PublicKey, number] {\n    if (id != undefined) {\n        return PublicKey.findProgramAddressSync(\n            [Buffer.from(seed, 'utf8'), new BN(id).toArrayLike(Buffer, 'be', 1)],\n            program\n        )\n    } else {\n        return PublicKey.findProgramAddressSync([Buffer.from(seed, 'utf8')], program)\n    }\n}\n\n/**\n * Derives the LZ receive types accounts PDA.\n *\n * @param {PublicKey} program - The program public key.\n * @param {PublicKey} [oappId] - The OApp ID.\n * @returns {[PublicKey, number]} The derived PDA and bump.\n */\nexport function deriveLzReceiveTypesAccountsPDA(program: PublicKey, oappId?: PublicKey): [PublicKey, number] {\n    if (oappId != undefined) {\n        return PublicKey.findProgramAddressSync([Buffer.from(LZ_RECEIVE_TYPES_SEED, 'utf8'), oappId.toBytes()], program)\n    }\n    return PublicKey.findProgramAddressSync([Buffer.from(LZ_RECEIVE_TYPES_SEED, 'utf8')], program)\n}\n\n/**\n * Derives the LZ compose types accounts PDA.\n *\n * @param {PublicKey} program - The program public key.\n * @param {PublicKey} [oappId] - The OApp ID.\n * @returns {[PublicKey, number]} The derived PDA and bump.\n */\nexport function deriveLzComposeTypesAccountsPDA(program: PublicKey, oappId?: PublicKey): [PublicKey, number] {\n    if (oappId != undefined) {\n        return PublicKey.findProgramAddressSync([Buffer.from(LZ_COMPOSE_TYPES_SEED, 'utf8'), oappId.toBytes()], program)\n    }\n    return PublicKey.findProgramAddressSync([Buffer.from(LZ_COMPOSE_TYPES_SEED, 'utf8')], program)\n}\n\n/**\n * Abstract class representing a base OApp.\n */\nexport abstract class BaseOApp {\n    oappBaseDeriver: OAppBasePDADeriver\n\n    /**\n     * Creates an instance of the BaseOApp class.\n     *\n     * @param {PublicKey} program - The program public key.\n     */\n    constructor(public program: PublicKey) {\n        this.oappBaseDeriver = new OAppBasePDADeriver(program)\n    }\n\n    /**\n     * Gets the endpoint.\n     *\n     * @param {Connection} connection - The connection.\n     * @returns {Promise<EndpointProgram.Endpoint>} The endpoint.\n     */\n    abstract getEndpoint(connection: Connection): Promise<EndpointProgram.Endpoint>\n\n    /**\n     * Gets the send library program.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {EndpointProgram.Endpoint} [endpoint] - The endpoint.\n     * @returns {Promise<SimpleMessageLibProgram.SimpleMessageLib | UlnProgram.Uln>} The send library program.\n     */\n    abstract getSendLibraryProgram(\n        connection: Connection,\n        payer: PublicKey,\n        dstEid: number,\n        endpoint?: EndpointProgram.Endpoint\n    ): Promise<SimpleMessageLibProgram.SimpleMessageLib | UlnProgram.Uln>\n\n    /**\n     * Queries the ID PDA info.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment or config.\n     * @returns {Promise<AccountInfo<Buffer> | null>} The account info.\n     */\n    async queryIDPDAInfo(\n        connection: Connection,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<AccountInfo<Buffer> | null> {\n        return this.queryPDAInfo(connection, this.idPDA()[0], commitmentOrConfig)\n    }\n\n    /**\n     * Queries the PDA info.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {PublicKey} pda - The PDA public key.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment or config.\n     * @returns {Promise<AccountInfo<Buffer> | null>} The account info.\n     */\n    async queryPDAInfo(\n        connection: Connection,\n        pda: PublicKey,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<AccountInfo<Buffer> | null> {\n        return connection.getAccountInfo(pda, commitmentOrConfig)\n    }\n\n    /**\n     * Gets the ID PDA.\n     *\n     * @returns {[PublicKey, number]} The ID PDA and bump.\n     */\n    idPDA(): [PublicKey, number] {\n        return oappIDPDA(this.program)\n    }\n\n    /**\n     * Gets the remote.\n     *\n     * @param {Connection} connection - The connection.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment or config.\n     * @returns {Promise<Uint8Array | null>} The remote data.\n     */\n    async getRemote(\n        connection: Connection,\n        dstEid: number,\n        commitmentOrConfig?: Commitment | GetAccountInfoConfig\n    ): Promise<Uint8Array | null> {\n        const [remotePDA] = this.oappBaseDeriver.remote(dstEid)\n        const info = await this.queryPDAInfo(connection, remotePDA, commitmentOrConfig)\n        if (info) {\n            // the first 8 bytes is account discriminator, so skip it. The next 32 bytes is the address.\n            const result = AddressType.read(info.data, 8)\n            return Uint8Array.from(result)\n        }\n        return null\n    }\n}\n","import { Environment } from '@layerzerolabs/lz-definitions'\n\n/**\n * Array of IDL types.\n */\nexport const idlTypes = [\n    'MessageLibQuoteParams',\n    'MessageLibSendParams',\n    'MessagingFee',\n    'MessagingReceipt',\n    'PacketForQuote',\n    'Packet',\n    'InitConfigParams',\n    'MessageLibSetConfigParams',\n    'MessageLibSnapshotConfigParams',\n    'MessageLibResetConfigParams',\n]\n\n/**\n * Array of message libraries.\n */\nexport const messageLibs = ['uln', 'simple_messagelib']\n\n/**\n * Faucet URLs for different environments.\n */\nexport const FAUCET_URL: { [env in Environment]: string } = {\n    [Environment.MAINNET]: '',\n    [Environment.TESTNET]: '',\n    [Environment.DEVNET]: '',\n    [Environment.LOCAL]: 'http://127.0.0.1:9900',\n}\n","import { PublicKey } from '@solana/web3.js'\n\nimport { Network } from '@layerzerolabs/lz-definitions'\n\n/**\n * Supported programs.\n */\nexport type SupportedPrograms =\n    | 'endpoint'\n    | 'simple_messagelib'\n    | 'uln'\n    | 'blocked_messagelib'\n    | 'executor'\n    | 'pricefeed'\n    | 'dvn'\n\n/**\n * Interface representing a deployment.\n */\nexport interface Deployment {\n    /**\n     * The name of the supported program.\n     */\n    name: SupportedPrograms\n\n    /**\n     * The network of the deployment.\n     */\n    network: Network\n\n    /**\n     * The address of the deployment.\n     */\n    address: string\n\n    /**\n     * Compatible versions of the deployment.\n     */\n    compatibleVersions: string[]\n\n    /**\n     * The deployer of the deployment.\n     */\n    deployer: string\n}\n\n/**\n * Gets the program keypair.\n *\n * @param {Network | 'default'} network - The network.\n * @param {SupportedPrograms} program - The supported program.\n * @returns {PublicKey} The public key of the program.\n */\nexport function getProgramKeypair(network: Network | 'default', program: SupportedPrograms): PublicKey {\n    network = network === 'default' ? 'solana-sandbox-local' : network\n    const deployment = require(`@layerzerolabs/lz-solana-sdk-v2/deployments/${network}/${program}.json`) as Deployment\n    return new PublicKey(deployment.address)\n}\n\n/**\n * Gets the endpoint program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the endpoint program.\n */\nexport function getEndpointProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'endpoint')\n}\n\n/**\n * Gets the simple message library program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the simple message library program.\n */\nexport function getSimpleMessageLibProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'simple_messagelib')\n}\n\n/**\n * Gets the ULN program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the ULN program.\n */\nexport function getULNProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'uln')\n}\n\n/**\n * Gets the DVN program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the DVN program.\n */\nexport function getDVNProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'dvn')\n}\n\n/**\n * Gets the blocked message library program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the blocked message library program.\n */\nexport function getBlockedMessageLibProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'blocked_messagelib')\n}\n\n/**\n * Gets the executor program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the executor program.\n */\nexport function getExecutorProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'executor')\n}\n\n/**\n * Gets the pricefeed program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the pricefeed program.\n */\nexport function getPricefeedProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'pricefeed')\n}\n","import { PublicKey } from '@solana/web3.js'\nexport * from './instructions'\n\n/**\n * Program address\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ADDRESS = '2XrYqmhBMPJgDsb4SVbjV1PnJBprurd5bzRCkHwiFCJB'\n\n/**\n * Program public key\n *\n * @category constants\n * @category generated\n */\nexport const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)\n","/**\n * This code was GENERATED using the solita package.\n * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.\n *\n * See: https://github.com/metaplex-foundation/solita\n */\n\nimport * as beet from '@metaplex-foundation/beet'\nimport * as web3 from '@solana/web3.js'\n\n/**\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport const versionStruct = new beet.BeetArgsStruct<{\n  instructionDiscriminator: number[] /* size: 8 */\n}>(\n  [['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)]],\n  'VersionInstructionArgs'\n)\n\nexport const versionInstructionDiscriminator = [\n  118, 65, 195, 198, 129, 216, 252, 192,\n]\n\n/**\n * Creates a _Version_ instruction.\n *\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport function createVersionInstruction(programId: web3.PublicKey) {\n  const [data] = versionStruct.serialize({\n    instructionDiscriminator: versionInstructionDiscriminator,\n  })\n  const keys: web3.AccountMeta[] = []\n\n  const ix = new web3.TransactionInstruction({\n    programId,\n    keys,\n    data,\n  })\n  return ix\n}\n\n/**\n * Creates a _Version_ instructionAccounts.\n *\n * @category Instructions\n * @category Version\n * @category generated\n */\nexport function createVersionInstructionAccounts(programId: web3.PublicKey) {\n  const keys: web3.AccountMeta[] = []\n\n  return keys\n}\n","import { AccountInfo, AccountMeta, Commitment, Connection, GetAccountInfoConfig, PublicKey } from '@solana/web3.js'\nimport invariant from 'tiny-invariant'\n\nimport { addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EndpointProgram, SimpleMessageLibProgram, UlnProgram } from '.'\nimport { DVN, accounts as DvnAccounts } from './dvn'\nimport { DefaultMessageLib } from './endpoint'\nimport { Executor, accounts as ExecutorAccounts } from './executor'\n\n/**\n * Interface representing keyed account information.\n */\ninterface KeyedAccountInfo {\n    /**\n     * The account ID.\n     */\n    accountId: PublicKey\n\n    /**\n     * The account information.\n     */\n    accountInfo: AccountInfo<Buffer> | null\n}\n\n/**\n * Enum representing quote or send actions.\n */\nenum QuoteOrSend {\n    /**\n     * Quote action.\n     */\n    Quote,\n\n    /**\n     * Send action.\n     */\n    Send,\n}\n\n/**\n * Class representing a helper for sending transactions.\n */\nexport class SendHelper {\n    private endpoint: EndpointProgram.Endpoint\n    private uln: UlnProgram.Uln\n    private simpleMsgLib: SimpleMessageLibProgram.SimpleMessageLib\n    private accounts = new Map<string, AccountInfo<Buffer> | null>()\n\n    /**\n     * Creates an instance of the SendHelper class.\n     *\n     * @param {PublicKey} [endpointProgram=EndpointProgram.PROGRAM_ID] - The endpoint program public key.\n     * @param {PublicKey} [ulnProgram=UlnProgram.PROGRAM_ID] - The ULN program public key.\n     * @param {PublicKey} [simpleMsgLibProgram=SimpleMessageLibProgram.PROGRAM_ID] - The simple message library program public key.\n     */\n    constructor(\n        public readonly endpointProgram: PublicKey = EndpointProgram.PROGRAM_ID,\n        public readonly ulnProgram: PublicKey = UlnProgram.PROGRAM_ID,\n        public readonly simpleMsgLibProgram: PublicKey = SimpleMessageLibProgram.PROGRAM_ID\n    ) {\n        this.endpoint = new EndpointProgram.Endpoint(endpointProgram)\n        this.uln = new UlnProgram.Uln(ulnProgram)\n        this.simpleMsgLib = new SimpleMessageLibProgram.SimpleMessageLib(simpleMsgLibProgram)\n    }\n\n    /**\n     * Fetches multiple account information.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey[]} keys - The public keys of the accounts.\n     * @param {Commitment | GetAccountInfoConfig} [commitment] - The commitment level or account info configuration.\n     * @returns {Promise<(AccountInfo<Buffer> | null)[]>} A promise that resolves to an array of account information.\n     */\n    private async getMultipleAccountsInfo(\n        connection: Connection,\n        keys: PublicKey[],\n        commitment?: Commitment | GetAccountInfoConfig\n    ): Promise<(AccountInfo<Buffer> | null)[]> {\n        // check if all accounts are already fetched\n        const missingKeys = keys.filter((key) => !this.accounts.has(key.toBase58()))\n\n        // fetch missing accounts\n        if (missingKeys.length > 0) {\n            const infos = await connection.getMultipleAccountsInfo(missingKeys, commitment)\n            infos.forEach((info, i) => {\n                this.accounts.set(missingKeys[i].toBase58(), info)\n            })\n        }\n\n        // return all accounts\n        return keys.map((key) => this.accounts.get(key.toBase58())!)\n    }\n\n    /**\n     * Gets the account metadata for the quote instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {string} receiver - The receiver address.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getQuoteAccounts(\n        connection: Connection,\n        payer: PublicKey,\n        sender: PublicKey,\n        dstEid: number,\n        receiver: string,\n        commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const [sendLibConfig] = this.endpoint.deriver.sendLibraryConfig(sender, dstEid)\n        const [defaultSendLibConfig] = this.endpoint.deriver.defaultSendLibraryConfig(dstEid)\n        const [simpleMsgLib] = this.simpleMsgLib.deriver.messageLib()\n        const [uln] = this.uln.deriver.messageLib()\n        const [ulnDefaultSendConfig] = this.uln.deriver.defaultSendConfig(dstEid)\n        const [ulnSendConfig] = this.uln.deriver.sendConfig(dstEid, sender)\n        const [\n            sendLibConfigBuf,\n            defaultSendLibConfigBuf,\n            _simpleMsgLibBuf,\n            ulnBuf,\n            ulnDefaultSendConfigBuf,\n            ulnSendConfigBuf,\n        ] = await this.getMultipleAccountsInfo(\n            connection,\n            [sendLibConfig, defaultSendLibConfig, simpleMsgLib, uln, ulnDefaultSendConfig, ulnSendConfig],\n            commitmentOrConfig\n        )\n        invariant(defaultSendLibConfigBuf && sendLibConfigBuf, 'endpoint send library not initialized')\n        const [sendLibConfigInfo] = EndpointProgram.accounts.SendLibraryConfig.fromAccountInfo(sendLibConfigBuf, 0)\n        const [defaultSendLibConfigInfo] = EndpointProgram.accounts.SendLibraryConfig.fromAccountInfo(\n            defaultSendLibConfigBuf,\n            0\n        )\n        const msgLib =\n            sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultSendLibConfigInfo.messageLib\n                : sendLibConfigInfo.messageLib\n\n        let msgLibProgram = this.ulnProgram\n        if (msgLib.toBase58() === this.simpleMsgLib.deriver.messageLib()[0].toBase58()) {\n            msgLibProgram = this.simpleMsgLibProgram\n            return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Quote).concat(\n                this.getSimpleMsgLibAccounts(payer, QuoteOrSend.Quote)\n            )\n        }\n        if (msgLib.toBase58() !== this.uln.deriver.messageLib()[0].toBase58()) {\n            throw new Error('Invalid message library')\n        }\n\n        return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Quote).concat(\n            await this.getUlnAccounts(\n                connection,\n                payer,\n                {\n                    accountId: uln,\n                    accountInfo: ulnBuf,\n                },\n                {\n                    accountId: ulnDefaultSendConfig,\n                    accountInfo: ulnDefaultSendConfigBuf,\n                },\n                {\n                    accountId: ulnSendConfig,\n                    accountInfo: ulnSendConfigBuf,\n                },\n                QuoteOrSend.Quote,\n                commitmentOrConfig\n            )\n        )\n    }\n\n    /**\n     * Gets the account metadata for the send instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {string} receiver - The receiver address.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getSendAccounts(\n        connection: Connection,\n        payer: PublicKey,\n        sender: PublicKey,\n        dstEid: number,\n        receiver: string,\n        commitmentOrConfig: Commitment | GetAccountInfoConfig = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const [sendLibConfig] = this.endpoint.deriver.sendLibraryConfig(sender, dstEid)\n        const [defaultSendLibConfig] = this.endpoint.deriver.defaultSendLibraryConfig(dstEid)\n        const [simpleMsgLib] = this.simpleMsgLib.deriver.messageLib()\n        const [uln] = this.uln.deriver.messageLib()\n        const [ulnDefaultSendConfig] = this.uln.deriver.defaultSendConfig(dstEid)\n        const [ulnSendConfig] = this.uln.deriver.sendConfig(dstEid, sender)\n        const [\n            sendLibConfigBuf,\n            defaultSendLibConfigBuf,\n            _simpleMsgLibBuf,\n            ulnBuf,\n            ulnDefaultSendConfigBuf,\n            ulnSendConfigBuf,\n        ] = await this.getMultipleAccountsInfo(\n            connection,\n            [sendLibConfig, defaultSendLibConfig, simpleMsgLib, uln, ulnDefaultSendConfig, ulnSendConfig],\n            commitmentOrConfig\n        )\n        invariant(defaultSendLibConfigBuf && sendLibConfigBuf, 'endpoint send library not initialized')\n        const [sendLibConfigInfo] = EndpointProgram.accounts.SendLibraryConfig.fromAccountInfo(sendLibConfigBuf, 0)\n        const [defaultSendLibConfigInfo] = EndpointProgram.accounts.SendLibraryConfig.fromAccountInfo(\n            defaultSendLibConfigBuf,\n            0\n        )\n        const msgLib =\n            sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultSendLibConfigInfo.messageLib\n                : sendLibConfigInfo.messageLib\n\n        let msgLibProgram = this.ulnProgram\n        if (msgLib.toBase58() === this.simpleMsgLib.deriver.messageLib()[0].toBase58()) {\n            msgLibProgram = this.simpleMsgLibProgram\n            return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Send).concat(\n                this.getSimpleMsgLibAccounts(payer, QuoteOrSend.Send)\n            )\n        }\n        if (msgLib.toBase58() !== this.uln.deriver.messageLib()[0].toBase58()) {\n            throw new Error('Invalid message library')\n        }\n        return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Send).concat(\n            await this.getUlnAccounts(\n                connection,\n                payer,\n                {\n                    accountId: uln,\n                    accountInfo: ulnBuf,\n                },\n                {\n                    accountId: ulnDefaultSendConfig,\n                    accountInfo: ulnDefaultSendConfigBuf,\n                },\n                {\n                    accountId: ulnSendConfig,\n                    accountInfo: ulnSendConfigBuf,\n                },\n                QuoteOrSend.Send,\n                commitmentOrConfig\n            )\n        )\n    }\n\n    /**\n     * Gets the account metadata for the endpoint.\n     *\n     * @param {PublicKey} msgLibProgram - The message library program public key.\n     * @param {PublicKey} msgLib - The message library public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {string} receiver - The receiver address.\n     * @param {QuoteOrSend} quoteOrSend - The quote or send action.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    private getEndpointAccounts(\n        msgLibProgram: PublicKey,\n        msgLib: PublicKey,\n        sender: PublicKey,\n        dstEid: number,\n        receiver: string,\n        quoteOrSend: QuoteOrSend\n    ): AccountMeta[] {\n        const [sendLibraryConfig] = this.endpoint.deriver.sendLibraryConfig(sender, dstEid)\n        const [defaultSendLibraryConfig] = this.endpoint.deriver.defaultSendLibraryConfig(dstEid)\n        const [sendLibraryInfo] = this.endpoint.deriver.messageLibraryInfo(msgLib)\n        const [nonce] = this.endpoint.deriver.nonce(sender, dstEid, addressToBytes32(receiver))\n        let accounts: AccountMeta[]\n        if (quoteOrSend === QuoteOrSend.Quote) {\n            accounts = EndpointProgram.instructions.createQuoteInstructionAccounts(\n                {\n                    sendLibraryProgram: msgLibProgram,\n                    sendLibraryConfig,\n                    defaultSendLibraryConfig,\n                    sendLibraryInfo,\n                    endpoint: this.endpoint.deriver.setting()[0],\n                    nonce,\n                } satisfies EndpointProgram.instructions.QuoteInstructionAccounts,\n                this.endpointProgram\n            )\n        } else {\n            accounts = EndpointProgram.instructions.createSendInstructionAccounts(\n                {\n                    sender, //signer\n                    sendLibraryProgram: msgLibProgram,\n                    sendLibraryConfig,\n                    defaultSendLibraryConfig,\n                    sendLibraryInfo,\n                    endpoint: this.endpoint.deriver.setting()[0],\n                    nonce,\n                    program: this.endpointProgram,\n                    eventAuthority: this.endpoint.eventAuthorityPDA,\n                } satisfies EndpointProgram.instructions.SendInstructionAccounts,\n                this.endpoint.program\n            )\n        }\n\n        accounts.forEach((item: AccountMeta) => {\n            item.isSigner = false\n        })\n        return [\n            {\n                pubkey: this.endpoint.program,\n                isSigner: false,\n                isWritable: false,\n            },\n        ].concat(accounts)\n    }\n\n    /**\n     * Gets the account metadata for the simple message library.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {QuoteOrSend} quoteOrSend - The quote or send action.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    private getSimpleMsgLibAccounts(payer: PublicKey, quoteOrSend: QuoteOrSend): AccountMeta[] {\n        const [msgLib] = this.simpleMsgLib.deriver.messageLib()\n        let accounts: AccountMeta[]\n        if (quoteOrSend === QuoteOrSend.Quote) {\n            accounts = SimpleMessageLibProgram.instructions.createQuoteInstructionAccounts(\n                {\n                    endpoint: PublicKey.default, // useless\n                    messageLib: msgLib,\n                } satisfies SimpleMessageLibProgram.instructions.QuoteInstructionAccounts,\n                this.simpleMsgLibProgram\n            )\n        } else {\n            accounts = SimpleMessageLibProgram.instructions.createSendInstructionAccounts(\n                {\n                    endpoint: PublicKey.default, // useless\n                    messageLib: msgLib,\n                    payer,\n                } satisfies SimpleMessageLibProgram.instructions.SendInstructionAccounts,\n                this.simpleMsgLibProgram\n            )\n        }\n        accounts.forEach((key) => {\n            if (!payer.equals(key.pubkey)) {\n                key.isSigner = false\n            }\n        })\n        return accounts.slice(1)\n    }\n\n    /**\n     * Gets the account metadata for the ULN.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {KeyedAccountInfo} ulnInfo - The ULN account information.\n     * @param {KeyedAccountInfo} ulnDefaultSendConfigInfo - The ULN default send configuration account information.\n     * @param {KeyedAccountInfo} ulnSendConfigInfo - The ULN send configuration account information.\n     * @param {QuoteOrSend} quoteOrSend - The quote or send action.\n     * @param {Commitment | GetAccountInfoConfig} [commitment] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    private async getUlnAccounts(\n        connection: Connection,\n        payer: PublicKey,\n        ulnInfo: KeyedAccountInfo,\n        ulnDefaultSendConfigInfo: KeyedAccountInfo,\n        ulnSendConfigInfo: KeyedAccountInfo,\n        quoteOrSend: QuoteOrSend,\n        commitment?: Commitment | GetAccountInfoConfig\n    ): Promise<AccountMeta[]> {\n        invariant(ulnInfo.accountInfo && ulnDefaultSendConfigInfo.accountInfo, 'uln send library not initialized')\n        const [ulnState] = UlnProgram.accounts.UlnSettings.fromAccountInfo(ulnInfo.accountInfo, 0)\n        const [defaultSendConfigState] = UlnProgram.accounts.SendConfig.fromAccountInfo(\n            ulnDefaultSendConfigInfo.accountInfo,\n            0\n        )\n        const sendConfigState = ulnSendConfigInfo.accountInfo\n            ? UlnProgram.accounts.SendConfig.fromAccountInfo(ulnSendConfigInfo.accountInfo)[0]\n            : null\n\n        let {\n            executor,\n            uln: { requiredDvns, optionalDvns },\n        } = defaultSendConfigState\n\n        // if the executor is set in the send config, use it\n        if (sendConfigState?.executor && !sendConfigState.executor.executor.equals(PublicKey.default)) {\n            ;({ executor } = sendConfigState)\n        }\n\n        // if the requiredDvns is set in the send config, use it\n        if (sendConfigState && sendConfigState.uln.requiredDvns.length > 0) {\n            requiredDvns = sendConfigState.uln.requiredDvns.filter((p) => {\n                return !p.equals(PublicKey.default)\n            })\n        }\n\n        // if the optionalDvns is set in the send config, use it\n        if (sendConfigState && sendConfigState.uln.optionalDvns.length > 0) {\n            optionalDvns = sendConfigState.uln.optionalDvns.filter((p) => {\n                return !p.equals(PublicKey.default)\n            })\n        }\n\n        const dvnsKey = requiredDvns.concat(optionalDvns)\n        const [executorBuf, ...dvnBuf] = await this.getMultipleAccountsInfo(\n            connection,\n            [executor.executor, ...dvnsKey],\n            commitment\n        )\n        invariant(executorBuf, `executor:${executor.executor.toBase58()} not initialized`)\n\n        let executorAccounts: AccountMeta[], dvnAccounts: AccountMeta[]\n        {\n            const executor = {\n                config: ExecutorAccounts.ExecutorConfig.fromAccountInfo(executorBuf)[0],\n                owner: executorBuf.owner,\n            }\n            const dvns = dvnBuf.map((dvn, i) => {\n                invariant(dvn, `dvn:${dvnsKey[i].toBase58()} not initialized`)\n                return {\n                    config: DvnAccounts.DvnConfig.fromAccountInfo(dvn)[0],\n                    owner: dvn.owner,\n                }\n            })\n\n            const priceFeeds = new Array<PublicKey>()\n            ;[executor.config, ...dvns.map((dvn) => dvn.config)].forEach((config) => {\n                priceFeeds.push(config.priceFeed)\n            })\n            const priceFeedInfos = await this.getMultipleAccountsInfo(connection, priceFeeds, commitment)\n            priceFeedInfos.forEach((info, i) => {\n                invariant(info, `priceFeed:${priceFeeds[i].toBase58()} not initialized`)\n            })\n            executorAccounts = new Executor(executor.owner).getQuoteIXAccountMetaForCPI(\n                executor.config.priceFeed,\n                // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n                (await this.getMultipleAccountsInfo(connection, [executor.config.priceFeed], commitment))[0]!.owner,\n                quoteOrSend === QuoteOrSend.Send\n            )\n            dvnAccounts = (\n                await Promise.all(\n                    dvns.map(async (p, i) => {\n                        return new DVN(p.owner).getQuoteIXAccountMetaForCPI(\n                            p.config.priceFeed,\n                            // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n                            (await this.getMultipleAccountsInfo(connection, [p.config.priceFeed], commitment))[0]!\n                                .owner,\n                            quoteOrSend === QuoteOrSend.Send\n                        )\n                    })\n                )\n            ).flat()\n        }\n\n        const treasury = ulnState.treasury?.nativeReceiver\n        let accounts: AccountMeta[]\n        if (quoteOrSend === QuoteOrSend.Quote) {\n            accounts = UlnProgram.instructions.createQuoteInstructionAccounts(\n                {\n                    endpoint: PublicKey.default, // useless\n                    uln: this.uln.deriver.setting()[0],\n                    sendConfig: ulnSendConfigInfo.accountId,\n                    defaultSendConfig: ulnDefaultSendConfigInfo.accountId,\n                    anchorRemainingAccounts: executorAccounts.concat(dvnAccounts),\n                } satisfies UlnProgram.instructions.QuoteInstructionAccounts,\n                this.ulnProgram\n            )\n        } else {\n            accounts = UlnProgram.instructions.createSendInstructionAccounts(\n                {\n                    endpoint: PublicKey.default, // useless\n                    uln: this.uln.deriver.setting()[0],\n                    sendConfig: ulnSendConfigInfo.accountId,\n                    defaultSendConfig: ulnDefaultSendConfigInfo.accountId,\n                    payer,\n                    treasury,\n                    eventAuthority: this.uln.eventAuthorityPDA,\n                    program: this.uln.program,\n                    anchorRemainingAccounts: executorAccounts.concat(dvnAccounts),\n                } satisfies UlnProgram.instructions.SendInstructionAccounts,\n                this.ulnProgram\n            )\n            if (treasury) {\n                const treasuryIndex = accounts.findIndex((k) => k.pubkey.toBase58() == treasury.toBase58())\n                accounts[treasuryIndex].isWritable = true // treasury account\n            }\n        }\n        accounts.forEach((key) => {\n            if (!payer.equals(key.pubkey)) {\n                key.isSigner = false\n            }\n        })\n        return accounts.slice(1)\n    }\n}\n","import { AccountMeta, Commitment, PublicKey, RpcInterface } from '@metaplex-foundation/umi'\n\nexport * from './pda'\nexport * as EndpointProgram from './endpoint'\nexport * as SimpleMessageLibProgram from './simple-message-lib'\nexport * as UlnProgram from './uln'\nexport * as ExecutorProgram from './executor'\nexport * as PriceFeedProgram from './pricefeed'\nexport * as DVNProgram from './dvn'\n\nexport * from './utility'\nexport * from './config'\nexport * from './receive'\nexport * from './receive-types-v1'\nexport * from './receive-types-v2'\nexport * from './compose-types-v1'\nexport * from './compose-types-v2'\nexport * from './types'\nexport * from './deployment'\nexport * from './next_nonce'\n\nexport * as BlockedMessageLibProgram from './generated/kinobi/blocked_messagelib'\nexport * as DvnProgram from './generated/kinobi/dvn'\nexport * from './send-helper'\n\n/**\n * Enum representing different configuration types.\n */\nexport enum SetConfigType {\n    /**\n     * Executor configuration type.\n     */\n    EXECUTOR = 1,\n\n    /**\n     * Send ULN configuration type.\n     */\n    SEND_ULN = 2,\n\n    /**\n     * Receive ULN configuration type.\n     */\n    RECEIVE_ULN = 3,\n}\n\nexport interface SolanaPacketPath {\n    sender: PublicKey\n    dstEid: number\n    receiver: Uint8Array // length 32\n}\n\n/**\n * Interface representing the Message Library.\n */\nexport interface MessageLibInterface {\n    programId: PublicKey\n\n    /**\n     * Gets the account metadata for a quote instruction.\n     *\n     * @param {Connection} connection - The Solana connection.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {Commitment} [commitment] - The commitment level.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    getQuoteIXAccountMetaForCPI(\n        rpc: RpcInterface,\n        payer: PublicKey,\n        path: SolanaPacketPath,\n        commitment?: Commitment\n    ): Promise<AccountMeta[]>\n\n    getSendIXAccountMetaForCPI(rpc: RpcInterface, payer: PublicKey, path: SolanaPacketPath): Promise<AccountMeta[]>\n\n    getSendWithLzTokenIXAccountMetaForCPI(\n        rpc: RpcInterface,\n        accounts: {\n            payer: PublicKey\n            tokenMint: PublicKey\n            tokenSource: PublicKey\n        },\n        path: SolanaPacketPath,\n        programs: {\n            tokenProgram?: PublicKey\n            associatedTokenProgram?: PublicKey\n        },\n        commitment: Commitment\n    ): Promise<AccountMeta[]>\n    /**\n     * Gets the account metadata for an init config instruction.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oappID - The OAPP ID.\n     * @param {number} eid - The endpoint ID.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getInitConfigIXAccountMetaForCPI(payer: PublicKey, oapp: PublicKey, eid: number): AccountMeta[]\n\n    /**\n     * Gets the account metadata for a set config instruction.\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} oappID - The OAPP ID.\n     * @param {number} eid - The endpoint ID.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    getSetConfigIXAccountMetaForCPI(oapp: PublicKey, eid: number, endpointProgram?: PublicKey): AccountMeta[]\n}\n","import { Pda, PublicKey, defaultPublicKey, publicKeyBytes } from '@metaplex-foundation/umi'\nimport { Endian, u16, u32, u64, u8 } from '@metaplex-foundation/umi/serializers'\nimport { createWeb3JsEddsa } from '@metaplex-foundation/umi-eddsa-web3js'\n\nexport const PEER_SEED = 'Peer'\n\nexport const MINT_SEED = 'Mint'\n\nexport const ENFORCED_OPTIONS_SEED = 'EnforcedOptions'\n\nexport const EDDSA = createWeb3JsEddsa()\n\n/**\n * derive address for endpoint program\n */\nexport class EndpointPDA {\n    static ENDPOINT_SEED = 'Endpoint'\n    static SEND_LIBRARY_CONFIG_SEED = 'SendLibraryConfig'\n    static RECEIVE_LIBRARY_CONFIG_SEED = 'ReceiveLibraryConfig'\n    static NONCE_SEED = 'Nonce'\n    static PENDING_NONCE_SEED = 'PendingNonce'\n    static OAPP_SEED = 'OApp'\n    static PAYLOAD_HASH_SEED = 'PayloadHash'\n    static COMPOSED_MESSAGE_HASH_SEED = 'ComposedMessageHash'\n\n    program: PublicKey\n\n    constructor(program: PublicKey) {\n        this.program = program\n    }\n\n    setting(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(EndpointPDA.ENDPOINT_SEED, 'utf8')])\n    }\n\n    defaultSendLibraryConfig(dstEndpointId: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(EndpointPDA.SEND_LIBRARY_CONFIG_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(dstEndpointId),\n            // new BN(dstEndpointId).toArrayLike(Buffer, 'be', 4),\n        ])\n    }\n\n    sendLibraryConfig(sender: PublicKey, dstEndpointId: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(EndpointPDA.SEND_LIBRARY_CONFIG_SEED, 'utf8'),\n            publicKeyBytes(sender),\n            u32({ endian: Endian.Big }).serialize(dstEndpointId),\n            // new BN(dstEndpointId).toArrayLike(Buffer, 'be', 4),\n        ])\n    }\n\n    /**\n     * @param messageLibrary PDA(derive by message lib program)\n     */\n    messageLibraryInfo(messageLibrary: PublicKey): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(MessageLibPDA.MESSAGE_LIB_SEED, 'utf8'),\n            publicKeyBytes(messageLibrary),\n        ])\n    }\n\n    defaultReceiveLibraryConfig(srcEndpointId: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(EndpointPDA.RECEIVE_LIBRARY_CONFIG_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(srcEndpointId),\n            // new BN(srcEndpointId).toArrayLike(Buffer, 'be', 4),\n        ])\n    }\n\n    receiveLibraryConfig(receiver: PublicKey, srcEndpointId: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(EndpointPDA.RECEIVE_LIBRARY_CONFIG_SEED, 'utf8'),\n            publicKeyBytes(receiver),\n            u32({ endian: Endian.Big }).serialize(srcEndpointId),\n            // new BN(srcEndpointId).toArrayLike(Buffer, 'be', 4),\n        ])\n    }\n\n    receiveLibraryTimeout(_dstEndpointId: number): [PublicKey, number] {\n        // todo: @zzz find the address of receive library timeout config\n        // if it is default config, then get the address of default timeout config\n        // otherwise, get the address of the custom one\n        return [this.program, 0]\n    }\n\n    defaultMessageLib(): Pda {\n        // return this.messageLibraryInfo(PublicKey.default)\n        return this.messageLibraryInfo(defaultPublicKey())\n    }\n\n    blockMessageLib(blockMsgLib: PublicKey): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(MessageLibPDA.MESSAGE_LIB_SEED, 'utf8'),\n            publicKeyBytes(blockMsgLib),\n        ])\n    }\n\n    /**\n     * @param oapp\n     * @param remoteChainId\n     * @param remoteOapp\n     */\n    nonce(oapp: PublicKey, remoteChainId: number, remoteOapp: Uint8Array): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(EndpointPDA.NONCE_SEED, 'utf8'),\n            publicKeyBytes(oapp),\n            u32({ endian: Endian.Big }).serialize(remoteChainId),\n            // new BN(remoteChainId).toArrayLike(Buffer, 'be', 4),\n            remoteOapp,\n        ])\n    }\n\n    pendingNonce(oapp: PublicKey, remoteChainId: number, remoteOapp: Uint8Array): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(EndpointPDA.PENDING_NONCE_SEED, 'utf8'),\n            publicKeyBytes(oapp),\n            u32({ endian: Endian.Big }).serialize(remoteChainId),\n            remoteOapp,\n        ])\n    }\n\n    oappRegistry(oapp: PublicKey): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(EndpointPDA.OAPP_SEED, 'utf8'), publicKeyBytes(oapp)])\n    }\n\n    /***\n     * @param receiver\n     * @param srcEid\n     * @param sender\n     * @param nonce\n     * @param payloadHash\n     * @srcChainId u32 to big endian Uint8Array\n     * @sender [u8; 32] sender Address\n     * @nonce u64 to big endian Uint8Array\n     * @payloadHash [u8; 32]\n     */\n    payloadHash(receiver: PublicKey, srcEid: number, sender: Uint8Array, nonce: number | bigint): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(EndpointPDA.PAYLOAD_HASH_SEED, 'utf8'),\n            publicKeyBytes(receiver),\n            u32({ endian: Endian.Big }).serialize(srcEid),\n            sender,\n            u64({ endian: Endian.Big }).serialize(nonce),\n        ])\n    }\n\n    composedMessage(from: PublicKey, guid: Uint8Array, index: number, to: PublicKey, messageHash: Uint8Array): Pda {\n        return EDDSA.findPda(\n            this.program,\n            [\n                Buffer.from(EndpointPDA.COMPOSED_MESSAGE_HASH_SEED, 'utf8'),\n                publicKeyBytes(from),\n                publicKeyBytes(to),\n                guid,\n                u16({ endian: Endian.Big }).serialize(index),\n                messageHash,\n            ]\n            // this.program\n        )\n    }\n}\n\n/***\n * derive address by message lib program\n */\nexport class MessageLibPDA {\n    static SEND_CONFIG_SEED = 'SendConfig'\n    static RECEIVE_CONFIG_SEED = 'ReceiveConfig'\n    static MESSAGE_LIB_SEED = 'MessageLib'\n\n    program: PublicKey\n\n    constructor(program: PublicKey) {\n        this.program = program\n    }\n\n    messageLib(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(MessageLibPDA.MESSAGE_LIB_SEED, 'utf8')])\n    }\n\n    sendConfig(eid: number, oapp: PublicKey): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(MessageLibPDA.SEND_CONFIG_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(eid),\n            publicKeyBytes(oapp),\n            // oapp.toBuffer(),\n        ])\n    }\n\n    receiveConfig(eid: number, oapp: PublicKey): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(MessageLibPDA.RECEIVE_CONFIG_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(eid),\n            publicKeyBytes(oapp),\n        ])\n    }\n}\n\nexport class UlnPDA extends MessageLibPDA {\n    static ULN_SEED = MessageLibPDA.MESSAGE_LIB_SEED\n    static ULN_CONFIG_SEED = 'UlnConfig'\n    static OPTIONS_SEED = 'Options'\n    static CONFIRMATIONS_SEED = 'Confirmations'\n    static WORKER_SEED = 'Worker'\n\n    setting(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(UlnPDA.ULN_SEED, 'utf8')])\n    }\n\n    config(eid: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(UlnPDA.ULN_CONFIG_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(eid),\n        ])\n    }\n\n    defaultSendConfig(eid: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(MessageLibPDA.SEND_CONFIG_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(eid),\n        ])\n    }\n\n    defaultReceiveConfig(eid: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(MessageLibPDA.RECEIVE_CONFIG_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(eid),\n        ])\n    }\n\n    options(eit: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(UlnPDA.OPTIONS_SEED, 'utf8'),\n            u32({ endian: Endian.Big }).serialize(eit),\n        ])\n    }\n\n    workerConfig(worker: PublicKey): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(UlnPDA.WORKER_SEED, 'utf8'), publicKeyBytes(worker)])\n    }\n\n    confirmations(headerHash: Uint8Array, payloadHash: Uint8Array, dvn: PublicKey): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(UlnPDA.CONFIRMATIONS_SEED, 'utf8'),\n            headerHash,\n            payloadHash,\n            publicKeyBytes(dvn),\n        ])\n    }\n}\n\n/**\n * derive address by base oapp program\n */\nexport class OmniAppPDA {\n    static PEER_SEED = 'Peer'\n    static LZ_RECEIVE_TYPES_SEED = 'LzReceiveTypes'\n    static LZ_COMPOSE_TYPES_SEED = 'LzComposeTypes'\n\n    constructor(public readonly programId: PublicKey) {}\n\n    oapp(): Pda {\n        throw new Error('Method not implemented.')\n    }\n\n    lzReceiveTypesAccounts(receiver?: PublicKey): Pda {\n        return EDDSA.findPda(this.programId, [\n            Buffer.from(OmniAppPDA.LZ_RECEIVE_TYPES_SEED, 'utf8'),\n            publicKeyBytes(receiver ?? this.oapp()[0]),\n        ])\n    }\n\n    lzComposeTypesAccounts(to?: PublicKey): Pda {\n        return EDDSA.findPda(this.programId, [\n            Buffer.from(OmniAppPDA.LZ_COMPOSE_TYPES_SEED, 'utf8'),\n            publicKeyBytes(to ?? this.oapp()[0]),\n        ])\n    }\n}\n\nexport class DvnPDA {\n    static DVN_CONFIG_SEED = 'DvnConfig'\n\n    constructor(public program: PublicKey) {}\n\n    authority(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from('dvn', 'utf8')])\n    }\n\n    config(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(DvnPDA.DVN_CONFIG_SEED, 'utf8')])\n    }\n\n    executeHash(digestHash: Buffer): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from('ExecuteHash', 'utf8'), digestHash])\n    }\n}\n\nexport class EventPDA {\n    static EVENT_SEED = '__event_authority'\n\n    constructor(public program: PublicKey) {}\n\n    eventAuthority(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(EventPDA.EVENT_SEED, 'utf8')])\n    }\n}\n\nexport class ExecutorPDA {\n    static EXECUTOR_CONFIG_SEED = 'ExecutorConfig'\n    static EXECUTION_CONTEXT_SEED = 'ExecutionContext'\n\n    constructor(public program: PublicKey) {}\n\n    config(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(ExecutorPDA.EXECUTOR_CONFIG_SEED, 'utf8')])\n    }\n\n    context(executor: PublicKey, version: number): Pda {\n        return EDDSA.findPda(this.program, [\n            Buffer.from(ExecutorPDA.EXECUTION_CONTEXT_SEED, 'utf8'),\n            publicKeyBytes(executor),\n            u8().serialize(version),\n        ])\n    }\n}\n\nexport class PriceFeedPDA {\n    static PRICE_FEED_SEED = 'PriceFeed'\n\n    constructor(public program: PublicKey) {}\n\n    priceFeed(): Pda {\n        return EDDSA.findPda(this.program, [Buffer.from(PriceFeedPDA.PRICE_FEED_SEED, 'utf8')])\n    }\n}\n","import {\n    AccountMeta,\n    Cluster,\n    ClusterFilter,\n    Commitment,\n    Program,\n    ProgramError,\n    ProgramRepositoryInterface,\n    PublicKey,\n    RpcInterface,\n    Signer,\n    TransactionBuilder,\n    WrappedInstruction,\n    createNoopSigner,\n    createNullRpc,\n    defaultPublicKey,\n    isSome,\n    publicKey,\n    some,\n} from '@metaplex-foundation/umi'\nimport { createDefaultProgramRepository } from '@metaplex-foundation/umi-program-repository'\nimport { toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\nimport { TransactionInstruction } from '@solana/web3.js'\nimport invariant from 'tiny-invariant'\n\nimport { keccak_256 } from '@layerzerolabs/lz-foundation'\nimport { arrayify } from '@layerzerolabs/lz-utilities'\nimport { PacketV1Codec, addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport {\n    BlockedMessageLibProgram,\n    MessageLibInterface,\n    SetConfigType,\n    SimpleMessageLibProgram,\n    SolanaPacketPath,\n    UlnProgram,\n    simulateWeb3JsTransaction,\n} from '.'\nimport { ENDPOINT_PROGRAM_ID } from './generated/kinobi/endpoint'\nimport * as accounts from './generated/kinobi/endpoint/accounts'\nimport * as errors from './generated/kinobi/endpoint/errors'\nimport * as events from './generated/kinobi/endpoint/events'\nimport * as instructions from './generated/kinobi/endpoint/instructions'\nimport * as types from './generated/kinobi/endpoint/types'\nimport { SIMPLE_MESSAGELIB_PROGRAM_ID, Version } from './generated/kinobi/simple_messagelib'\nimport { EndpointPDA, EventPDA, MessageLibPDA } from './pda'\n\nexport { accounts, instructions, types, events, errors }\nexport { ENDPOINT_PROGRAM_ID } from './generated/kinobi/endpoint'\n\n// https://github.com/coral-xyz/anchor/blob/c7ccbb8f620aed3ffecf8ab2f9c9007946f0f5cc/lang/src/event.rs#L2\nexport const EventEmitDiscriminator = 'e445a52e51cb9a1d' // Sha256(anchor:event)[..8] then evert\n\nexport const DefaultMessageLib = defaultPublicKey() // [0u8; 32]\n\n/**\n * Class representing an Endpoint.\n */\nexport class Endpoint {\n    public readonly pda: EndpointPDA\n    public readonly eventAuthority: PublicKey\n    public readonly programRepo: ProgramRepositoryInterface\n\n    constructor(\n        public programId: PublicKey = ENDPOINT_PROGRAM_ID,\n        rpc?: RpcInterface\n    ) {\n        this.pda = new EndpointPDA(programId)\n        if (rpc === undefined) {\n            rpc = createNullRpc()\n            rpc.getCluster = (): Cluster => 'custom'\n        }\n        this.programRepo = createDefaultProgramRepository({ rpc: rpc }, [\n            {\n                name: 'endpoint',\n                publicKey: programId,\n                getErrorFromCode(code: number, cause?: Error): ProgramError | null {\n                    return errors.getEndpointErrorFromCode(code, this, cause)\n                },\n                getErrorFromName(name: string, cause?: Error): ProgramError | null {\n                    return errors.getEndpointErrorFromName(name, this, cause)\n                },\n                isOnCluster(): boolean {\n                    return true\n                },\n            } satisfies Program,\n        ])\n        this.eventAuthority = new EventPDA(programId).eventAuthority()[0]\n    }\n\n    getProgram(clusterFilter: ClusterFilter = 'custom'): Program {\n        return this.programRepo.get('endpoint', clusterFilter)\n    }\n\n    /**\n     * Initializes the endpoint settings, including eid and admin, and registers the blocked message library.\n     *\n     * @param {number} endpointId - The endpoint ID.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} admin - The admin public key.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initEndpoint(payer: Signer, params: { eid: number; admin: PublicKey }): WrappedInstruction {\n        const txBuilder = instructions.initEndpoint(\n            {\n                programs: this.programRepo,\n                payer,\n            },\n            {\n                payer,\n                endpoint: this.pda.setting(),\n                eid: params.eid,\n                admin: params.admin,\n            }\n        )\n        return txBuilder.items[0]\n    }\n\n    /**\n     * Registers a library.\n     * call this function after endpoint initialized. Only admin can call this function.\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {types.MessageLibType} [libType=types.MessageLibType.SendAndReceive] - The library type.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    registerLibrary(\n        admin: Signer,\n        params: { messageLibProgram: PublicKey; libType?: types.MessageLibType }\n    ): WrappedInstruction {\n        const [msgLib] = new MessageLibPDA(params.messageLibProgram).messageLib()\n        return instructions.registerLibrary(\n            {\n                programs: this.programRepo,\n            },\n            {\n                admin,\n                endpoint: this.pda.setting(),\n                messageLibInfo: this.pda.messageLibraryInfo(msgLib),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                libProgram: params.messageLibProgram,\n                libType: params.libType ?? types.MessageLibType.SendAndReceive,\n            }\n        ).items[0]\n    }\n\n    /**\n     * Sets the default send library for a given remote endpoint.\n     * This function configures the default message library for sending messages to a specified remote endpoint.\n     * It requires administrative privileges to execute.\n     *\n     * @param {RpcInterface} rpc - The connection to the Solana cluster.\n     * @param {Signer} admin - The admin public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     * This method initializes or updates the default send library configuration for a specified remote endpoint.\n     * If the configuration does not exist, it initializes it. Otherwise, it updates the existing configuration.\n     */\n    async setDefaultSendLibrary(\n        rpc: RpcInterface,\n        admin: Signer,\n        params: { messageLibProgram: PublicKey; remote: number }\n    ): Promise<WrappedInstruction> {\n        const [msgLib] = new MessageLibPDA(params.messageLibProgram).messageLib()\n        const [defaultSendLibConfig] = this.pda.defaultSendLibraryConfig(params.remote)\n        const [setting] = this.pda.setting()\n        const [msgLibInfo] = this.pda.messageLibraryInfo(msgLib)\n\n        const defaultSendLibConfigInfo = await rpc.getAccount(defaultSendLibConfig, {\n            commitment: 'confirmed',\n        })\n        let txBuilder: TransactionBuilder\n        if (!defaultSendLibConfigInfo.exists) {\n            txBuilder = instructions.initDefaultSendLibrary(\n                { programs: this.programRepo },\n                {\n                    admin,\n                    endpoint: setting,\n                    defaultSendLibraryConfig: defaultSendLibConfig,\n                    messageLibInfo: msgLibInfo,\n                    program: this.programId,\n                    eventAuthority: this.eventAuthority,\n                    // params\n                    eid: params.remote,\n                    newLib: msgLib,\n                }\n            )\n        } else {\n            // need to check if the new lib is the same as the current one\n            // if (defaultSendLibConfigInfo.messageLib === msgLib) {\n            //     return null\n            // }\n            txBuilder = instructions.setDefaultSendLibrary(\n                {\n                    programs: this.programRepo,\n                },\n                {\n                    admin,\n                    endpoint: setting,\n                    defaultSendLibraryConfig: defaultSendLibConfig,\n                    messageLibInfo: msgLibInfo,\n                    program: this.programId,\n                    eventAuthority: this.eventAuthority,\n                    // params\n                    eid: params.remote,\n                    newLib: msgLib,\n                }\n            )\n        }\n        return txBuilder.items[0]\n    }\n\n    /**\n     * Sets the default receive library for a given endpoint.\n     * This function configures the default message library for receiving messages at a specified endpoint.\n     * It requires administrative privileges to execute.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     * This method initializes or updates the default receive library configuration for a specified remote endpoint.\n     * If the configuration does not exist, it initializes it. Otherwise, it updates the existing configuration.\n     */\n    async setDefaultReceiveLibrary(\n        rpc: RpcInterface,\n        admin: Signer,\n        params: { messageLibProgram: PublicKey; remote: number; gracePeriod?: bigint | number }\n    ): Promise<WrappedInstruction> {\n        const [msgLib] = new MessageLibPDA(params.messageLibProgram).messageLib()\n        const [defaultReceiveLibConfig] = this.pda.defaultReceiveLibraryConfig(params.remote)\n        const [setting] = this.pda.setting()\n        const [defaultMsgLibInfo] = this.pda.messageLibraryInfo(msgLib)\n        const defaultReceiveLibConfigInfo = await rpc.getAccount(defaultReceiveLibConfig, { commitment: 'confirmed' })\n        let txBuilder: TransactionBuilder\n        if (!defaultReceiveLibConfigInfo.exists) {\n            txBuilder = instructions.initDefaultReceiveLibrary(\n                { programs: this.programRepo },\n                {\n                    admin,\n                    endpoint: setting,\n                    defaultReceiveLibraryConfig: defaultReceiveLibConfig,\n                    messageLibInfo: defaultMsgLibInfo,\n                    program: this.programId,\n                    eventAuthority: this.eventAuthority,\n                    // param\n                    eid: params.remote,\n                    newLib: msgLib,\n                }\n            )\n        } else {\n            // need to check if the new lib is the same as the current one\n            // if (defaultReceiveLibConfigInfo.messageLib === msgLib) {\n            //     return null\n            // }\n            txBuilder = instructions.setDefaultReceiveLibrary(\n                { programs: this.programRepo },\n                {\n                    admin,\n                    endpoint: setting,\n                    defaultReceiveLibraryConfig: defaultReceiveLibConfig,\n                    messageLibInfo: defaultMsgLibInfo,\n                    program: this.programId,\n                    eventAuthority: this.eventAuthority,\n\n                    // param\n                    eid: params.remote,\n                    newLib: msgLib,\n                    gracePeriod: params.gracePeriod ?? 0,\n                }\n            )\n        }\n        return txBuilder.items[0]\n    }\n\n    /**\n     * Sets the default receive library timeout for a given message library program and remote endpoint.\n     *\n     * @param admin - The signer who has administrative privileges to set the timeout.\n     * @param param - An object containing the following properties:\n     *   @param param.msgLibProgram - The public key of the message library program.\n     *   @param param.remote - The remote endpoint identifier.\n     *   @param param.expiry - The expiry time for the timeout, can be a bigint or number.\n     * @returns A WrappedInstruction object representing the instruction to set the default receive library timeout.\n     */\n    setDefaultReceiveLibraryTimeout(\n        admin: Signer,\n        params: { msgLibProgram: PublicKey; remote: number; expiry: bigint | number }\n    ): WrappedInstruction {\n        const [msgLib] = new MessageLibPDA(params.msgLibProgram).messageLib()\n        return instructions.setDefaultReceiveLibraryTimeout(\n            { programs: this.programRepo },\n            {\n                admin,\n                endpoint: this.pda.setting(),\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n                defaultReceiveLibraryConfig: this.pda.defaultReceiveLibraryConfig(params.remote),\n                messageLibInfo: this.pda.messageLibraryInfo(msgLib),\n                // param\n                eid: params.remote,\n                lib: msgLib,\n                expiry: params.expiry,\n            }\n        ).items[0]\n    }\n\n    setLzToken(admin: Signer, lzToken: PublicKey | null): WrappedInstruction {\n        return instructions.setLzToken(\n            { programs: this.programRepo },\n            {\n                admin: admin,\n                endpoint: this.pda.setting(),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                lzToken: lzToken == null ? null : some(lzToken),\n            }\n        ).items[0]\n    }\n\n    withdrawRent(admin: Signer, params: { amount: bigint; receiver: PublicKey }): WrappedInstruction {\n        const { amount, receiver } = params\n        return instructions.withdrawRent(\n            { programs: this.programRepo },\n            {\n                admin: admin,\n                endpoint: this.pda.setting(),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                // param\n                amount,\n                receiver,\n            }\n        ).items[0]\n    }\n\n    /**\n     * Initializes the OApp configuration.\n     *\n     * @param accounts - The accounts object.\n     * @param accounts.delegate - The delegate public key.\n     * @param accounts.payer - The payer public key.\n     * @param params - The parameters object.\n     *  @param params.msgLibSDK - The message library SDK.\n     *  @param params.oapp - The OApp ID public key.\n     *  @param params.remote - The endpoint ID.\n     * @returns A WrappedInstruction object representing the instruction to initialize the OApp configuration.\n     */\n    initOAppConfig(\n        accounts: { delegate: Signer; payer: PublicKey },\n        params: {\n            msgLibSDK: MessageLibInterface\n            oapp: PublicKey // this is the PDA of the oapp\n            remote: number\n        }\n    ): WrappedInstruction {\n        const [msgLib] = new MessageLibPDA(params.msgLibSDK.programId).messageLib()\n        // if (!(await uln.getOappConfig(connection, oappID, eid, commitmentOrConfig))) {\n        // init oapp config\n        const txBuilder = instructions.initConfig(\n            { programs: this.programRepo },\n            {\n                delegate: accounts.delegate,\n                oappRegistry: this.pda.oappRegistry(params.oapp),\n                messageLib: msgLib,\n                messageLibInfo: this.pda.messageLibraryInfo(msgLib),\n                messageLibProgram: params.msgLibSDK.programId,\n                // param\n                eid: params.remote,\n                oapp: params.oapp,\n            }\n        )\n        return txBuilder.addRemainingAccounts(\n            params.msgLibSDK.getInitConfigIXAccountMetaForCPI(accounts.payer, params.oapp, params.remote)\n        ).items[0]\n    }\n\n    /**\n     * Initializes the OApp nonce.\n     *\n     * @param {PublicKey} delegate - The delegate public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {Uint8Array} remoteOappAddr - The remote OApp address.\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initOAppNonce(\n        delegate: Signer, // the delegate of the oapp\n        params: {\n            localOApp: PublicKey\n            remote: number\n            remoteOApp: Uint8Array\n        }\n    ): WrappedInstruction {\n        const txBuilder = instructions.initNonce(\n            { programs: this.programRepo },\n            {\n                nonce: this.pda.nonce(params.localOApp, params.remote, params.remoteOApp),\n                pendingInboundNonce: this.pda.pendingNonce(params.localOApp, params.remote, params.remoteOApp),\n                oappRegistry: this.pda.oappRegistry(params.localOApp),\n                delegate: delegate,\n                // param\n                localOapp: params.localOApp,\n                remoteOapp: params.remoteOApp,\n                remoteEid: params.remote,\n            }\n        )\n        return txBuilder.items[0]\n    }\n\n    initOAppSendLibrary(delegate: Signer, params: { sender: PublicKey; remote: number }): WrappedInstruction {\n        return instructions.initSendLibrary(\n            { programs: this.programRepo },\n            {\n                delegate: delegate,\n                oappRegistry: this.pda.oappRegistry(params.sender),\n                sendLibraryConfig: this.pda.sendLibraryConfig(params.sender, params.remote),\n                // param\n                sender: params.sender,\n                eid: params.remote,\n            }\n        ).items[0]\n    }\n\n    setOAppSendLibrary(\n        delegate: Signer,\n        params: { sender: PublicKey; remote: number; msgLibProgram: PublicKey }\n    ): WrappedInstruction {\n        const { sender, remote, msgLibProgram } = params\n        const [newSendLib] = new MessageLibPDA(msgLibProgram).messageLib()\n        return instructions.setSendLibrary(\n            { programs: this.programRepo },\n            {\n                signer: delegate,\n                sendLibraryConfig: this.pda.sendLibraryConfig(sender, remote),\n                messageLibInfo:\n                    msgLibProgram === DefaultMessageLib ? undefined : this.pda.messageLibraryInfo(newSendLib),\n                oappRegistry: this.pda.oappRegistry(sender),\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n                //param\n                sender: sender,\n                eid: remote,\n                newLib: msgLibProgram === DefaultMessageLib ? DefaultMessageLib : newSendLib,\n            }\n        ).items[0]\n    }\n\n    initOAppReceiveLibrary(delegate: Signer, params: { receiver: PublicKey; remote: number }): WrappedInstruction {\n        const { receiver, remote } = params\n        return instructions.initReceiveLibrary(\n            { programs: this.programRepo },\n            {\n                delegate: delegate,\n                oappRegistry: this.pda.oappRegistry(receiver),\n                receiveLibraryConfig: this.pda.receiveLibraryConfig(receiver, remote),\n                // param\n                receiver: receiver,\n                eid: remote,\n            }\n        ).items[0]\n    }\n\n    setOAppReceiveLibrary(\n        delegate: Signer,\n        params: { receiver: PublicKey; remote: number; msgLibProgram: PublicKey; gracePeriod?: bigint | number }\n    ): WrappedInstruction {\n        const { receiver, remote, msgLibProgram, gracePeriod } = params\n        const [newReceiveLib] = new MessageLibPDA(msgLibProgram).messageLib()\n        return instructions.setReceiveLibrary(\n            { programs: this.programRepo },\n            {\n                signer: delegate,\n                receiveLibraryConfig: this.pda.receiveLibraryConfig(receiver, remote),\n                messageLibInfo:\n                    msgLibProgram === DefaultMessageLib ? undefined : this.pda.messageLibraryInfo(newReceiveLib),\n                oappRegistry: this.pda.oappRegistry(receiver),\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n                // param\n                receiver: receiver,\n                eid: remote,\n                newLib: msgLibProgram === DefaultMessageLib ? DefaultMessageLib : newReceiveLib,\n                gracePeriod: gracePeriod ?? 0,\n            }\n        ).items[0]\n    }\n\n    setOAppReceiveLibraryTimeout(\n        delegate: Signer,\n        params: { receiver: PublicKey; msgLibProgram: PublicKey; remote: number; expiry: bigint | number }\n    ): WrappedInstruction {\n        const { receiver, remote, msgLibProgram, expiry } = params\n        const [receiveLib] = new MessageLibPDA(msgLibProgram).messageLib()\n        return instructions.setReceiveLibraryTimeout(\n            { programs: this.programRepo },\n            {\n                signer: delegate,\n                oappRegistry: this.pda.oappRegistry(receiver),\n                receiveLibraryConfig: this.pda.receiveLibraryConfig(receiver, remote),\n                messageLibInfo: this.pda.messageLibraryInfo(receiveLib),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                // param\n                receiver: receiver,\n                eid: remote,\n                lib: receiveLib,\n                expiry,\n            }\n        ).items[0]\n    }\n\n    async setOAppConfig(\n        rpc: RpcInterface,\n        delegate: Signer,\n        params: {\n            oapp: PublicKey // this is the PDA of the oapp\n            eid: number\n            config: {\n                configType: SetConfigType\n                value: UlnProgram.types.ExecutorConfig | UlnProgram.types.UlnConfig\n            }\n            msgLibProgram: PublicKey\n            msgLibVersion?: Version\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<WrappedInstruction> {\n        const { oapp, eid, config, msgLibProgram } = params\n        const [msgLib] = new MessageLibPDA(msgLibProgram).messageLib()\n\n        const msgLibVersion =\n            params.msgLibVersion ??\n            (await this.getMessageLibVersion(rpc, delegate.publicKey, msgLibProgram, commitment))\n        let msgLibClient: MessageLibInterface\n        if (msgLibVersion.major === 0n && msgLibVersion.minor == 0 && msgLibVersion.endpointVersion == 2) {\n            msgLibClient = new SimpleMessageLibProgram.SimpleMessageLib(msgLibProgram)\n        } else if (msgLibVersion.major === 3n && msgLibVersion.minor == 0 && msgLibVersion.endpointVersion == 2) {\n            msgLibClient = new UlnProgram.Uln(msgLibProgram)\n        } else {\n            throw new Error(\n                `unsupported message lib version ${msgLibVersion.major.toString()}.${msgLibVersion.minor.toString()}`\n            )\n        }\n\n        const txBuilder = instructions.setConfig(\n            { programs: this.programRepo },\n            {\n                signer: delegate,\n                messageLibInfo: this.pda.messageLibraryInfo(msgLib),\n                messageLib: msgLib,\n                messageLibProgram: msgLibProgram,\n                oappRegistry: this.pda.oappRegistry(oapp),\n                // param\n                eid,\n                configType: config.configType,\n                config:\n                    msgLibProgram === SIMPLE_MESSAGELIB_PROGRAM_ID\n                        ? new Uint8Array(10).fill(0)\n                        : UlnProgram.Uln.constructSetConfigData(config.configType, config.value),\n                oapp: oapp,\n            }\n        )\n        return txBuilder.addRemainingAccounts(msgLibClient.getSetConfigIXAccountMetaForCPI(oapp, eid)).items[0]\n    }\n\n    oAppNilify(delegate: Signer, args: instructions.NilifyInstructionArgs): WrappedInstruction {\n        const { receiver, srcEid, sender, nonce } = args\n        return instructions.nilify(\n            { programs: this.programRepo },\n            {\n                signer: delegate,\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                oappRegistry: this.pda.oappRegistry(receiver),\n                nonce: this.pda.nonce(receiver, srcEid, sender),\n                pendingInboundNonce: this.pda.pendingNonce(receiver, srcEid, sender),\n                payloadHash: this.pda.payloadHash(receiver, srcEid, sender, nonce),\n            },\n            args\n        ).items[0]\n    }\n\n    oAppBurnNonce(delegate: Signer, args: instructions.BurnInstructionArgs): WrappedInstruction {\n        const { receiver, srcEid, sender, nonce } = args\n        return instructions.burn(\n            { programs: this.programRepo },\n            {\n                signer: delegate,\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                oappRegistry: this.pda.oappRegistry(receiver),\n                nonce: this.pda.nonce(receiver, srcEid, sender),\n                payloadHash: this.pda.payloadHash(receiver, srcEid, sender, nonce),\n                endpoint: this.pda.setting(),\n            },\n            args\n        ).items[0]\n    }\n\n    /// send a simulated transaction to the endpoint to get the fee for sending a message\n    /**\n     *\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the quote instruction.\n     *\n     * caculate the fee for sending a message with ULN:\n     *  1. executorFee: feeForGas + feeForOptionType\n     *      * feeForGas: ((gas + gasForCalldata) * gasPriceInUnit * priceRatio / priceRatioDenominator) * multiplier_bps / 10000\n     *      * feeForOptionType: nativeDrop/lzReceive/lzCompose\n     *  2. oracleFee: feeForGas\n     *      * feeForGas: same above\n     *\n     *  The priceRatioDenominator is 10^20\n     *  totalFee = executorFee + oracleFee * numOracles(requiredOracles + optionalOracles)\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {MessageLibInterface} msgLibProgram - The message library program.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     * @throws {Error} If the default send library is not initialized or the message library is blocked.\n     */\n    async getQuoteIXAccountMetaForCPI(\n        rpc: RpcInterface,\n        payer: PublicKey,\n        params: {\n            path: SolanaPacketPath\n            msgLibProgram: MessageLibInterface\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { path, msgLibProgram } = params\n        const { sender, dstEid, receiver } = path\n        const sendLibInfo = await this.getSendLibrary(rpc, sender, dstEid, commitment)\n        const { msgLib, programId: owner } = sendLibInfo\n        const txBuilder = instructions.quote(\n            { programs: this.programRepo },\n            {\n                sendLibraryConfig: this.pda.sendLibraryConfig(sender, dstEid),\n                sendLibraryProgram: owner,\n                defaultSendLibraryConfig: this.pda.defaultSendLibraryConfig(dstEid),\n                endpoint: this.pda.setting(),\n                nonce: this.pda.nonce(sender, dstEid, receiver),\n                sendLibraryInfo: this.pda.messageLibraryInfo(msgLib),\n\n                // param\n                sender: defaultPublicKey(),\n                dstEid: 0,\n                receiver: new Uint8Array(32),\n                message: new Uint8Array(32),\n                options: new Uint8Array(32),\n                payInLzToken: false,\n            }\n        )\n        const remainingAccounts = await msgLibProgram.getQuoteIXAccountMetaForCPI(rpc, payer, path)\n        return [\n            { pubkey: this.programId, isSigner: false, isWritable: false },\n            ...txBuilder.addRemainingAccounts(remainingAccounts).getInstructions()[0].keys,\n        ]\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the send instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {MessageLibInterface} msgLibProgram - The message library program.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     * @throws {Error} If the default send library is not initialized or the message library is blocked.\n     */\n    async getSendIXAccountMetaForCPI(\n        rpc: RpcInterface,\n        payerOrAccounts: PublicKey | { payer: PublicKey; tokenMint: PublicKey; tokenSource: PublicKey },\n        params: {\n            path: SolanaPacketPath\n            msgLibProgram: MessageLibInterface\n            tokenProgram?: PublicKey\n            associatedTokenProgram?: PublicKey\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { path, msgLibProgram } = params\n        const { sender, dstEid, receiver } = path\n        const info = await this.getSendLibrary(rpc, sender, dstEid, commitment)\n        const sendLibrary = info.msgLib\n        const txBuilder = instructions.send(\n            { programs: this.programRepo },\n            {\n                sender: createNoopSigner(sender),\n                /// this account should be derived from message lib\n                sendLibraryProgram: info.programId,\n                sendLibraryConfig: this.pda.sendLibraryConfig(sender, dstEid),\n                defaultSendLibraryConfig: this.pda.defaultSendLibraryConfig(dstEid),\n                sendLibraryInfo: this.pda.messageLibraryInfo(sendLibrary),\n                endpoint: this.pda.setting(),\n                program: this.programId,\n                nonce: this.pda.nonce(sender, dstEid, receiver),\n                eventAuthority: this.eventAuthority,\n\n                // param\n                dstEid: 0,\n                receiver: new Uint8Array(32),\n                message: new Uint8Array(32),\n                options: new Uint8Array(32),\n                nativeFee: 0,\n                lzTokenFee: 0,\n            }\n        )\n        let remainingAccounts\n        if (typeof payerOrAccounts === 'object') {\n            remainingAccounts = await msgLibProgram.getSendWithLzTokenIXAccountMetaForCPI(\n                rpc,\n                payerOrAccounts,\n                path,\n                {\n                    tokenProgram: params.tokenProgram,\n                    associatedTokenProgram: params.associatedTokenProgram,\n                },\n                commitment\n            )\n        } else {\n            remainingAccounts = await msgLibProgram.getSendIXAccountMetaForCPI(rpc, payerOrAccounts, path)\n        }\n\n        return [\n            { pubkey: this.programId, isSigner: false, isWritable: false },\n            ...txBuilder\n                .addRemainingAccounts(remainingAccounts)\n                .getInstructions()[0]\n                .keys.map((key) => {\n                    key.isSigner = false\n                    return key\n                }),\n        ]\n    }\n\n    /**\n     * Skips a message.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {string} nonce - The nonce.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    skip(payer: Signer, params: instructions.SkipInstructionDataArgs): WrappedInstruction {\n        const { sender, receiver, srcEid, nonce } = params\n        // get the delegate from endpoint\n        return instructions.skip(\n            { programs: this.programRepo },\n            {\n                signer: payer,\n                oappRegistry: this.pda.oappRegistry(receiver),\n                nonce: this.pda.nonce(receiver, srcEid, sender),\n                pendingInboundNonce: this.pda.pendingNonce(receiver, srcEid, sender),\n                payloadHash: this.pda.payloadHash(receiver, srcEid, sender, nonce),\n                endpoint: this.pda.setting()[0],\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n            },\n            params\n        ).items[0]\n    }\n\n    /**\n     * Initializes the verification process.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {string} nonce - The nonce.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    initVerify(payer: Signer, params: instructions.InitVerifyInstructionArgs): WrappedInstruction {\n        const { sender, receiver, srcEid, nonce } = params\n\n        return instructions.initVerify(\n            { programs: this.programRepo, payer },\n            {\n                payer,\n                nonce: this.pda.nonce(receiver, srcEid, sender),\n                payloadHash: this.pda.payloadHash(receiver, srcEid, sender, parseInt(nonce.toString())),\n            },\n            params\n        ).items[0]\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the verify instruction.\n     *\n     * @param {PacketV1Codec} packet - The packet.\n     * @param {PublicKey} receiveLibrary - The receive library public key.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getVerifyIXAccountMetaForCPI(packet: PacketV1Codec, receiveLibrary: PublicKey): AccountMeta[] {\n        const receiver = publicKey(Buffer.from(packet.receiver().slice(2), 'hex'))\n        const srcEid = packet.srcEid()\n        const sender = addressToBytes32(packet.sender())\n\n        const txBuilder = instructions.verify(\n            { programs: this.programRepo },\n            {\n                receiveLibrary: createNoopSigner(receiveLibrary),\n                receiveLibraryConfig: this.pda.receiveLibraryConfig(receiver, srcEid),\n                defaultReceiveLibraryConfig: this.pda.defaultReceiveLibraryConfig(srcEid),\n                nonce: this.pda.nonce(receiver, srcEid, sender),\n                pendingInboundNonce: this.pda.pendingNonce(receiver, srcEid, sender),\n                payloadHash: this.pda.payloadHash(receiver, srcEid, sender, parseInt(packet.nonce())),\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            },\n            {\n                srcEid: 0,\n                sender: new Uint8Array(32),\n                receiver: defaultPublicKey(),\n                nonce: 0,\n                payloadHash: new Uint8Array(32),\n            }\n        )\n        const program: AccountMeta = {\n            pubkey: this.programId,\n            isSigner: false,\n            isWritable: false,\n        }\n        return [program, ...txBuilder.getInstructions()[0].keys.map((key) => ({ ...key, isSigner: false }))]\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the register OApp instruction.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oapp - The OApp public key.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getRegisterOappIxAccountMetaForCPI(payer: PublicKey, oapp: PublicKey): AccountMeta[] {\n        const txBuilder = instructions.registerOapp(\n            { programs: this.programRepo, payer: createNoopSigner(payer) },\n            {\n                payer: createNoopSigner(payer),\n                oapp: createNoopSigner(oapp),\n                oappRegistry: this.pda.oappRegistry(oapp),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                // param\n                delegate: payer,\n            }\n        )\n        return [\n            {\n                pubkey: this.programId,\n                isSigner: false,\n                isWritable: false,\n            },\n            ...txBuilder.getInstructions()[0].keys.map((key) => ({ ...key, isSigner: false })),\n        ]\n    }\n\n    getSetDelegateIxAccountMetaForCPI(oapp: PublicKey): AccountMeta[] {\n        const txBuilder = instructions.setDelegate(\n            { programs: this.programRepo },\n            {\n                oapp: createNoopSigner(oapp),\n                oappRegistry: this.pda.oappRegistry(oapp),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                // param\n                delegate: defaultPublicKey(),\n            }\n        )\n        return [\n            {\n                pubkey: this.programId,\n                isSigner: false,\n                isWritable: false,\n            },\n            ...txBuilder.getInstructions()[0].keys.map((key) => ({ ...key, isSigner: false })),\n        ]\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the skip instruction.\n     *\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {Uint8Array} sender - The sender address.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {number} nonce - The nonce.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getSkipIxAccountMetaForCPI(\n        receiver: PublicKey,\n        sender: Uint8Array,\n        srcEid: number,\n        nonce: number | bigint\n    ): AccountMeta[] {\n        const txBuilder = instructions.skip(\n            { programs: this.programRepo },\n            {\n                signer: createNoopSigner(receiver),\n                oappRegistry: this.pda.oappRegistry(receiver),\n                nonce: this.pda.nonce(receiver, srcEid, sender),\n                pendingInboundNonce: this.pda.pendingNonce(receiver, srcEid, sender),\n                payloadHash: this.pda.payloadHash(receiver, srcEid, sender, nonce),\n                endpoint: this.pda.setting(),\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            },\n            {\n                receiver: defaultPublicKey(),\n                srcEid: 0,\n                sender: new Uint8Array(32),\n                nonce: 0,\n            }\n        )\n        return [\n            {\n                pubkey: this.programId,\n                isSigner: false,\n                isWritable: false,\n            },\n            ...txBuilder.getInstructions()[0].keys.map((key) => ({ ...key, isSigner: false })),\n        ]\n    }\n\n    /**\n     * Checks if the given message library program is the default send library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<boolean>} A promise that resolves to true if the message library program is the default send library, false otherwise.\n     */\n    async isDefaultSendLibrary(\n        rpc: RpcInterface,\n        messageLibProgram: PublicKey,\n        dstEid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<boolean> {\n        const [msgLib] = new MessageLibPDA(messageLibProgram).messageLib()\n        const info = await this.getDefaultSendLibrary(rpc, dstEid, commitment)\n        if (info) {\n            return info.msgLib === msgLib\n        }\n        return false\n    }\n\n    /**\n     * Checks if the given message library program is the default receive library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<boolean>} A promise that resolves to true if the message library program is the default receive library, false otherwise.\n     */\n    async isDefaultReceiveLibrary(\n        rpc: RpcInterface,\n        messageLibProgram: PublicKey,\n        srcEid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<boolean> {\n        const [msgLib] = new MessageLibPDA(messageLibProgram).messageLib()\n        const info = await this.getDefaultReceiveLibrary(rpc, srcEid, commitment)\n        if (info) {\n            return info.msgLib === msgLib\n        }\n        return false\n    }\n\n    // all of below functions are retrieving accounts state\n    /**\n     * Gets the endpoint settings.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<EndpointSettings | null>} A promise that resolves to the endpoint settings or null if not found.\n     */\n    async getSetting(\n        rpc: RpcInterface,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.EndpointSettings | null> {\n        const [setting] = this.pda.setting()\n        return accounts.safeFetchEndpointSettings({ rpc }, setting, { commitment })\n    }\n\n    /**\n     * Gets the message library information.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} messageLibProgram - The message library program public key, It is a PDA of the message library program\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<MessageLibInfo | null>} A promise that resolves to the message library information or null if not found.\n     */\n    async getMessageLibInfo(\n        rpc: RpcInterface,\n        messageLibProgram: PublicKey,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.MessageLibInfo | null> {\n        const [msgLib] = new MessageLibPDA(messageLibProgram).messageLib()\n        const [messageLibInfo] = this.pda.messageLibraryInfo(msgLib)\n        return accounts.safeFetchMessageLibInfo({ rpc }, messageLibInfo, { commitment })\n    }\n\n    /**\n     * Gets the default receive library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; owner: PublicKey } | null>} A promise that resolves to the default receive library or null if not found.\n     */\n    async getDefaultReceiveLibrary(\n        rpc: RpcInterface,\n        srcEid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<{ msgLib: PublicKey; owner: PublicKey } | null> {\n        const [defaultReceiveLibConfig] = this.pda.defaultReceiveLibraryConfig(srcEid)\n\n        const defaultInfo = await accounts.safeFetchReceiveLibraryConfig({ rpc }, defaultReceiveLibConfig, {\n            commitment,\n        })\n        if (defaultInfo == null) {\n            return null\n        }\n\n        let msgLibProgram: PublicKey | undefined\n\n        if (Endpoint.checkIfBlockedMessageLib(defaultInfo.messageLib)) {\n            msgLibProgram = BlockedMessageLibProgram.BLOCKED_MESSAGELIB_PROGRAM_ID\n        } else {\n            const messageLibInfo = await rpc.getAccount(defaultInfo.messageLib, { commitment })\n            invariant(messageLibInfo.exists, 'messageLibInfo should not be null')\n            msgLibProgram = messageLibInfo.owner\n        }\n        return {\n            owner: msgLibProgram,\n            msgLib: defaultInfo.messageLib,\n        }\n    }\n\n    /**\n     * Gets the default send library.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; owner: PublicKey } | null>} A promise that resolves to the default send library or null if not found.\n     */\n    async getDefaultSendLibrary(\n        rpc: RpcInterface,\n        dstEid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<{ msgLib: PublicKey; owner: PublicKey } | null> {\n        const [defaultSendLibConfig] = this.pda.defaultSendLibraryConfig(dstEid)\n\n        const defaultInfo = await accounts.safeFetchSendLibraryConfig({ rpc }, defaultSendLibConfig, { commitment })\n        if (defaultInfo == null) {\n            return null\n        }\n        let msgLibProgram: PublicKey | undefined\n        if (Endpoint.checkIfBlockedMessageLib(defaultInfo.messageLib)) {\n            msgLibProgram = BlockedMessageLibProgram.BLOCKED_MESSAGELIB_PROGRAM_ID\n        } else {\n            const messageLibInfo = await rpc.getAccount(defaultInfo.messageLib, { commitment })\n            invariant(messageLibInfo.exists, 'messageLibInfo should not be null')\n            msgLibProgram = messageLibInfo.owner\n        }\n        return {\n            owner: msgLibProgram,\n            msgLib: defaultInfo.messageLib,\n        }\n    }\n\n    /**\n     * Gets the configured send library for the app.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappPda - The OApp PDA.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; programId: PublicKey; isDefault: boolean } | null>} A promise that resolves to the configured send library or null if not found.\n     */\n    async getSendLibrary(\n        rpc: RpcInterface,\n        oappPda: PublicKey,\n        dstEid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<{ msgLib: PublicKey; programId: PublicKey; isDefault: boolean }> {\n        const [sendLibConfig] = this.pda.sendLibraryConfig(oappPda, dstEid)\n        const [defaultSendLibConfig] = this.pda.defaultSendLibraryConfig(dstEid)\n        const [defaultSendLibConfigBuf, sendLibConfigBuf] = await rpc.getAccounts(\n            [defaultSendLibConfig, sendLibConfig],\n            { commitment }\n        )\n        if (!defaultSendLibConfigBuf.exists || !sendLibConfigBuf.exists) {\n            throw new Error(\n                `Unable to find defaultSendLibraryConfig/sendLibraryConfig account at ${defaultSendLibConfig}/${sendLibConfig}`\n            )\n        }\n        const sendLibConfigInfo = accounts.deserializeSendLibraryConfig(sendLibConfigBuf)\n        const defaultSendLibConfigInfo = accounts.deserializeSendLibraryConfig(defaultSendLibConfigBuf)\n        const msgLib =\n            sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultSendLibConfigInfo.messageLib\n                : sendLibConfigInfo.messageLib\n        const isDefault = sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n        let msgLibProgram: PublicKey | undefined\n        if (Endpoint.checkIfBlockedMessageLib(msgLib)) {\n            msgLibProgram = BlockedMessageLibProgram.BLOCKED_MESSAGELIB_PROGRAM_ID\n        } else {\n            const msgLibInfo = await rpc.getAccount(msgLib, { commitment })\n            invariant(msgLibInfo.exists, 'msgLibInfo should not be null')\n            msgLibProgram = msgLibInfo.owner\n        }\n        return {\n            programId: msgLibProgram,\n            msgLib,\n            isDefault,\n        }\n    }\n\n    /**\n     * Gets the configured receive library for the app.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappPda - The OApp PDA.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<{ msgLib: PublicKey; programId: PublicKey; isDefault: boolean; timeout: { msgLib: PublicKey; expiry: bigint } | null } | null>} A promise that resolves to the configured receive library or null if not found.\n     */\n    async getReceiveLibrary(\n        rpc: RpcInterface,\n        oappPda: PublicKey,\n        srcEid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<{\n        msgLib: PublicKey\n        programId: PublicKey\n        isDefault: boolean\n        timeout?: { msgLib: PublicKey; expiry: bigint }\n    }> {\n        const [receiveLibConfig] = this.pda.receiveLibraryConfig(oappPda, srcEid)\n        const [defaultReceiveLibConfig] = this.pda.defaultReceiveLibraryConfig(srcEid)\n        const [defaultReceiveLibConfigBuf, receiveLibConfigBuf] = await rpc.getAccounts(\n            [defaultReceiveLibConfig, receiveLibConfig],\n            { commitment }\n        )\n        if (!defaultReceiveLibConfigBuf.exists || !receiveLibConfigBuf.exists) {\n            throw new Error(\n                `Unable to find defaultReceiveLibraryConfig/receiveLibraryConfig account at ${defaultReceiveLibConfig}/${receiveLibConfig}`\n            )\n        }\n        const receiveLibConfigInfo = accounts.deserializeReceiveLibraryConfig(receiveLibConfigBuf)\n        const defaultReceiveLibConfigInfo = accounts.deserializeReceiveLibraryConfig(defaultReceiveLibConfigBuf)\n        const finalReceiveLibConfigInfo =\n            receiveLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultReceiveLibConfigInfo\n                : receiveLibConfigInfo\n        const msgLib = finalReceiveLibConfigInfo.messageLib\n        const isDefault = receiveLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n        let msgLibProgram: PublicKey | undefined\n        if (Endpoint.checkIfBlockedMessageLib(msgLib)) {\n            msgLibProgram = BlockedMessageLibProgram.BLOCKED_MESSAGELIB_PROGRAM_ID\n        } else {\n            const msgLibInfo = await rpc.getAccount(msgLib, { commitment })\n            invariant(msgLibInfo.exists, 'msgLibInfo should not be null')\n            msgLibProgram = msgLibInfo.owner\n        }\n        const receiveTimeout = isSome(finalReceiveLibConfigInfo.timeout)\n            ? {\n                  msgLib: finalReceiveLibConfigInfo.timeout.value.messageLib,\n                  expiry: finalReceiveLibConfigInfo.timeout.value.expiry,\n              }\n            : undefined\n\n        return {\n            programId: msgLibProgram,\n            msgLib,\n            isDefault,\n            timeout: receiveTimeout,\n        }\n    }\n\n    // rename to a more generic name\n    /**\n     * Gets the inbound payload hash.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} srcEid - The source endpoint ID.\n     * @param {Uint8Array} sender - The sender address.\n     * @param {number} nonce - The nonce.\n     * @param {Uint8Array} _payloadHash - The payload hash.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<PayloadHash | null>} A promise that resolves to the payload hash or null if not found.\n     */\n    async getInboundPayloadHash(\n        rpc: RpcInterface,\n        receiver: PublicKey,\n        srcEid: number,\n        sender: Uint8Array,\n        nonce: number,\n        _payloadHash: Uint8Array,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.PayloadHash | null> {\n        const [payloadHashPDA] = this.pda.payloadHash(receiver, srcEid, sender, nonce)\n        return accounts.safeFetchPayloadHash({ rpc }, payloadHashPDA, { commitment })\n    }\n\n    /**\n     * Gets the composed message state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} from - The sender public key.\n     * @param {types.SendComposeParams} params - The send compose parameters.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<ComposeMessageState | null>} A promise that resolves to the composed message state or null if not found.\n     */\n    async getComposedMessageState(\n        rpc: RpcInterface,\n        from: PublicKey,\n        params: instructions.SendComposeInstructionArgs,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.ComposeMessageState | null> {\n        const message = arrayify(keccak_256(params.message))\n        const [composedMessagePDA] = this.pda.composedMessage(from, params.guid, params.index, params.to, message)\n        return accounts.safeFetchComposeMessageState({ rpc }, composedMessagePDA, { commitment })\n    }\n\n    /**\n     * Gets the nonce.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {number} remoteEid - The remote endpoint ID.\n     * @param {Uint8Array} remoteOappAddr - The remote OApp address.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.Nonce | null>} A promise that resolves to the nonce or null if not found.\n     */\n    async getNonce(\n        rpc: RpcInterface,\n        oappIDPDA: PublicKey,\n        remoteEid: number,\n        remoteOappAddr: Uint8Array,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.Nonce | null> {\n        const [nonce] = this.pda.nonce(oappIDPDA, remoteEid, remoteOappAddr)\n        return accounts.safeFetchNonce({ rpc }, nonce, { commitment })\n    }\n\n    /**\n     * Gets the pending inbound nonce.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} oappIDPDA - The OApp ID PDA.\n     * @param {number} remoteEid - The remote endpoint ID.\n     * @param {Uint8Array} remoteOappAddr - The remote OApp address.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.PendingInboundNonce | null>} A promise that resolves to the pending inbound nonce or null if not found.\n     */\n    async getPendingInboundNonce(\n        rpc: RpcInterface,\n        oappIDPDA: PublicKey,\n        remoteEid: number,\n        remoteOappAddr: Uint8Array,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.PendingInboundNonce | null> {\n        const [nonce] = this.pda.pendingNonce(oappIDPDA, remoteEid, remoteOappAddr)\n        return accounts.safeFetchPendingInboundNonce({ rpc }, nonce, { commitment })\n    }\n\n    /**\n     * Gets the message library version.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} messageLibProgram - The message library program public key.\n     * @param {Commitment} [commitment='confirmed'] - The commitment level.\n     * @returns {Promise<Version | null>} A promise that resolves to the version or null if not found.\n     */\n    async getMessageLibVersion(\n        rpc: RpcInterface,\n        payer: PublicKey,\n        messageLibProgram: PublicKey,\n        commitment: Commitment = 'confirmed'\n    ): Promise<Version> {\n        const msgLibProgramInWeb3Js = toWeb3JsPublicKey(messageLibProgram)\n        const version = await simulateWeb3JsTransaction(\n            rpc.getEndpoint(),\n            [\n                new TransactionInstruction({\n                    keys: [{ pubkey: msgLibProgramInWeb3Js, isSigner: false, isWritable: false }],\n                    data: Buffer.from(\n                        SimpleMessageLibProgram.instructions.getVersionInstructionDataSerializer().serialize({})\n                    ),\n                    programId: msgLibProgramInWeb3Js,\n                }),\n            ],\n            msgLibProgramInWeb3Js,\n            toWeb3JsPublicKey(payer),\n            SimpleMessageLibProgram.types.getVersionSerializer(),\n            commitment\n        )\n        return version\n    }\n\n    /**\n     * Transfers the admin role to a new admin.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The current admin public key.\n     * @param {PublicKey} newAdmin - The new admin public key.\n     * @param {Commitment} [commitment='confirmed'] - The commitment level.\n     * @returns {Promise<TransactionInstruction | null>} A promise that resolves to the transaction instruction or null if not needed.\n     */\n    transferAdmin(admin: Signer, newAdmin: PublicKey): WrappedInstruction {\n        return instructions.transferAdmin(\n            { programs: this.programRepo },\n            {\n                admin,\n                endpoint: this.pda.setting(),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n            },\n            {\n                admin: newAdmin,\n            }\n        ).items[0]\n    }\n\n    static checkIfBlockedMessageLib(msgLib: PublicKey): boolean {\n        const [blockedMessageLib] = new MessageLibPDA(\n            BlockedMessageLibProgram.BLOCKED_MESSAGELIB_PROGRAM_ID\n        ).messageLib()\n        return msgLib.toString() === blockedMessageLib.toString()\n    }\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './composeMessageState';\nexport * from './endpointSettings';\nexport * from './messageLibInfo';\nexport * from './nonce';\nexport * from './oAppRegistry';\nexport * from './payloadHash';\nexport * from './pendingInboundNonce';\nexport * from './receiveLibraryConfig';\nexport * from './sendLibraryConfig';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bool,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ComposeMessageState = Account<ComposeMessageStateAccountData>;\n\nexport type ComposeMessageStateAccountData = {\n  discriminator: Uint8Array;\n  received: boolean;\n  bump: number;\n};\n\nexport type ComposeMessageStateAccountDataArgs = {\n  received: boolean;\n  bump: number;\n};\n\nexport function getComposeMessageStateAccountDataSerializer(): Serializer<\n  ComposeMessageStateAccountDataArgs,\n  ComposeMessageStateAccountData\n> {\n  return mapSerializer<\n    ComposeMessageStateAccountDataArgs,\n    any,\n    ComposeMessageStateAccountData\n  >(\n    struct<ComposeMessageStateAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['received', bool()],\n        ['bump', u8()],\n      ],\n      { description: 'ComposeMessageStateAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([55, 107, 79, 254, 243, 22, 172, 240]),\n    })\n  ) as Serializer<\n    ComposeMessageStateAccountDataArgs,\n    ComposeMessageStateAccountData\n  >;\n}\n\nexport function deserializeComposeMessageState(\n  rawAccount: RpcAccount\n): ComposeMessageState {\n  return deserializeAccount(\n    rawAccount,\n    getComposeMessageStateAccountDataSerializer()\n  );\n}\n\nexport async function fetchComposeMessageState(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ComposeMessageState> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ComposeMessageState');\n  return deserializeComposeMessageState(maybeAccount);\n}\n\nexport async function safeFetchComposeMessageState(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ComposeMessageState | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists\n    ? deserializeComposeMessageState(maybeAccount)\n    : null;\n}\n\nexport async function fetchAllComposeMessageState(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ComposeMessageState[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ComposeMessageState');\n    return deserializeComposeMessageState(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllComposeMessageState(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ComposeMessageState[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeComposeMessageState(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getComposeMessageStateGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      received: boolean;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      received: [8, bool()],\n      bump: [9, u8()],\n    })\n    .deserializeUsing<ComposeMessageState>((account) =>\n      deserializeComposeMessageState(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([55, 107, 79, 254, 243, 22, 172, 240])\n    );\n}\n\nexport function getComposeMessageStateSize(): number {\n  return 10;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type EndpointSettings = Account<EndpointSettingsAccountData>;\n\nexport type EndpointSettingsAccountData = {\n  discriminator: Uint8Array;\n  eid: number;\n  bump: number;\n  admin: PublicKey;\n  lzTokenMint: Option<PublicKey>;\n};\n\nexport type EndpointSettingsAccountDataArgs = {\n  eid: number;\n  bump: number;\n  admin: PublicKey;\n  lzTokenMint: OptionOrNullable<PublicKey>;\n};\n\nexport function getEndpointSettingsAccountDataSerializer(): Serializer<\n  EndpointSettingsAccountDataArgs,\n  EndpointSettingsAccountData\n> {\n  return mapSerializer<\n    EndpointSettingsAccountDataArgs,\n    any,\n    EndpointSettingsAccountData\n  >(\n    struct<EndpointSettingsAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['bump', u8()],\n        ['admin', publicKeySerializer()],\n        ['lzTokenMint', option(publicKeySerializer())],\n      ],\n      { description: 'EndpointSettingsAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([221, 232, 73, 56, 10, 66, 72, 14]),\n    })\n  ) as Serializer<EndpointSettingsAccountDataArgs, EndpointSettingsAccountData>;\n}\n\nexport function deserializeEndpointSettings(\n  rawAccount: RpcAccount\n): EndpointSettings {\n  return deserializeAccount(\n    rawAccount,\n    getEndpointSettingsAccountDataSerializer()\n  );\n}\n\nexport async function fetchEndpointSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<EndpointSettings> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'EndpointSettings');\n  return deserializeEndpointSettings(maybeAccount);\n}\n\nexport async function safeFetchEndpointSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<EndpointSettings | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeEndpointSettings(maybeAccount) : null;\n}\n\nexport async function fetchAllEndpointSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<EndpointSettings[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'EndpointSettings');\n    return deserializeEndpointSettings(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllEndpointSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<EndpointSettings[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeEndpointSettings(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getEndpointSettingsGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      eid: number;\n      bump: number;\n      admin: PublicKey;\n      lzTokenMint: OptionOrNullable<PublicKey>;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      eid: [8, u32()],\n      bump: [12, u8()],\n      admin: [13, publicKeySerializer()],\n      lzTokenMint: [45, option(publicKeySerializer())],\n    })\n    .deserializeUsing<EndpointSettings>((account) =>\n      deserializeEndpointSettings(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([221, 232, 73, 56, 10, 66, 72, 14])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './messageLibType';\nexport * from './messagingFee';\nexport * from './messagingReceipt';\nexport * from './receiveLibraryTimeout';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, scalarEnum } from '@metaplex-foundation/umi/serializers';\n\nexport enum MessageLibType {\n  Send,\n  Receive,\n  SendAndReceive,\n}\n\nexport type MessageLibTypeArgs = MessageLibType;\n\nexport function getMessageLibTypeSerializer(): Serializer<\n  MessageLibTypeArgs,\n  MessageLibType\n> {\n  return scalarEnum<MessageLibType>(MessageLibType, {\n    description: 'MessageLibType',\n  }) as Serializer<MessageLibTypeArgs, MessageLibType>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, struct, u64 } from '@metaplex-foundation/umi/serializers';\n\nexport type MessagingFee = { nativeFee: bigint; lzTokenFee: bigint };\n\nexport type MessagingFeeArgs = {\n  nativeFee: number | bigint;\n  lzTokenFee: number | bigint;\n};\n\nexport function getMessagingFeeSerializer(): Serializer<\n  MessagingFeeArgs,\n  MessagingFee\n> {\n  return struct<MessagingFee>(\n    [\n      ['nativeFee', u64()],\n      ['lzTokenFee', u64()],\n    ],\n    { description: 'MessagingFee' }\n  ) as Serializer<MessagingFeeArgs, MessagingFee>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  bytes,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport { MessagingFee, MessagingFeeArgs, getMessagingFeeSerializer } from '.';\n\nexport type MessagingReceipt = {\n  guid: Uint8Array;\n  nonce: bigint;\n  fee: MessagingFee;\n};\n\nexport type MessagingReceiptArgs = {\n  guid: Uint8Array;\n  nonce: number | bigint;\n  fee: MessagingFeeArgs;\n};\n\nexport function getMessagingReceiptSerializer(): Serializer<\n  MessagingReceiptArgs,\n  MessagingReceipt\n> {\n  return struct<MessagingReceipt>(\n    [\n      ['guid', bytes({ size: 32 })],\n      ['nonce', u64()],\n      ['fee', getMessagingFeeSerializer()],\n    ],\n    { description: 'MessagingReceipt' }\n  ) as Serializer<MessagingReceiptArgs, MessagingReceipt>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ReceiveLibraryTimeout = { messageLib: PublicKey; expiry: bigint };\n\nexport type ReceiveLibraryTimeoutArgs = {\n  messageLib: PublicKey;\n  expiry: number | bigint;\n};\n\nexport function getReceiveLibraryTimeoutSerializer(): Serializer<\n  ReceiveLibraryTimeoutArgs,\n  ReceiveLibraryTimeout\n> {\n  return struct<ReceiveLibraryTimeout>(\n    [\n      ['messageLib', publicKeySerializer()],\n      ['expiry', u64()],\n    ],\n    { description: 'ReceiveLibraryTimeout' }\n  ) as Serializer<ReceiveLibraryTimeoutArgs, ReceiveLibraryTimeout>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  MessageLibType,\n  MessageLibTypeArgs,\n  getMessageLibTypeSerializer,\n} from '../types';\n\nexport type MessageLibInfo = Account<MessageLibInfoAccountData>;\n\nexport type MessageLibInfoAccountData = {\n  discriminator: Uint8Array;\n  messageLibType: MessageLibType;\n  bump: number;\n  messageLibBump: number;\n};\n\nexport type MessageLibInfoAccountDataArgs = {\n  messageLibType: MessageLibTypeArgs;\n  bump: number;\n  messageLibBump: number;\n};\n\nexport function getMessageLibInfoAccountDataSerializer(): Serializer<\n  MessageLibInfoAccountDataArgs,\n  MessageLibInfoAccountData\n> {\n  return mapSerializer<\n    MessageLibInfoAccountDataArgs,\n    any,\n    MessageLibInfoAccountData\n  >(\n    struct<MessageLibInfoAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['messageLibType', getMessageLibTypeSerializer()],\n        ['bump', u8()],\n        ['messageLibBump', u8()],\n      ],\n      { description: 'MessageLibInfoAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([103, 102, 218, 28, 204, 135, 71, 14]),\n    })\n  ) as Serializer<MessageLibInfoAccountDataArgs, MessageLibInfoAccountData>;\n}\n\nexport function deserializeMessageLibInfo(\n  rawAccount: RpcAccount\n): MessageLibInfo {\n  return deserializeAccount(\n    rawAccount,\n    getMessageLibInfoAccountDataSerializer()\n  );\n}\n\nexport async function fetchMessageLibInfo(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<MessageLibInfo> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'MessageLibInfo');\n  return deserializeMessageLibInfo(maybeAccount);\n}\n\nexport async function safeFetchMessageLibInfo(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<MessageLibInfo | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeMessageLibInfo(maybeAccount) : null;\n}\n\nexport async function fetchAllMessageLibInfo(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<MessageLibInfo[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'MessageLibInfo');\n    return deserializeMessageLibInfo(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllMessageLibInfo(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<MessageLibInfo[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeMessageLibInfo(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getMessageLibInfoGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      messageLibType: MessageLibTypeArgs;\n      bump: number;\n      messageLibBump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      messageLibType: [8, getMessageLibTypeSerializer()],\n      bump: [9, u8()],\n      messageLibBump: [10, u8()],\n    })\n    .deserializeUsing<MessageLibInfo>((account) =>\n      deserializeMessageLibInfo(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([103, 102, 218, 28, 204, 135, 71, 14])\n    );\n}\n\nexport function getMessageLibInfoSize(): number {\n  return 11;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Nonce = Account<NonceAccountData>;\n\nexport type NonceAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  outboundNonce: bigint;\n  inboundNonce: bigint;\n};\n\nexport type NonceAccountDataArgs = {\n  bump: number;\n  outboundNonce: number | bigint;\n  inboundNonce: number | bigint;\n};\n\nexport function getNonceAccountDataSerializer(): Serializer<\n  NonceAccountDataArgs,\n  NonceAccountData\n> {\n  return mapSerializer<NonceAccountDataArgs, any, NonceAccountData>(\n    struct<NonceAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['outboundNonce', u64()],\n        ['inboundNonce', u64()],\n      ],\n      { description: 'NonceAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([143, 197, 147, 95, 106, 165, 50, 43]),\n    })\n  ) as Serializer<NonceAccountDataArgs, NonceAccountData>;\n}\n\nexport function deserializeNonce(rawAccount: RpcAccount): Nonce {\n  return deserializeAccount(rawAccount, getNonceAccountDataSerializer());\n}\n\nexport async function fetchNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<Nonce> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'Nonce');\n  return deserializeNonce(maybeAccount);\n}\n\nexport async function safeFetchNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<Nonce | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeNonce(maybeAccount) : null;\n}\n\nexport async function fetchAllNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<Nonce[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'Nonce');\n    return deserializeNonce(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<Nonce[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeNonce(maybeAccount as RpcAccount));\n}\n\nexport function getNonceGpaBuilder(context: Pick<Context, 'rpc' | 'programs'>) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      outboundNonce: number | bigint;\n      inboundNonce: number | bigint;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      outboundNonce: [9, u64()],\n      inboundNonce: [17, u64()],\n    })\n    .deserializeUsing<Nonce>((account) => deserializeNonce(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([143, 197, 147, 95, 106, 165, 50, 43])\n    );\n}\n\nexport function getNonceSize(): number {\n  return 25;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type OAppRegistry = Account<OAppRegistryAccountData>;\n\nexport type OAppRegistryAccountData = {\n  discriminator: Uint8Array;\n  delegate: PublicKey;\n  bump: number;\n};\n\nexport type OAppRegistryAccountDataArgs = { delegate: PublicKey; bump: number };\n\nexport function getOAppRegistryAccountDataSerializer(): Serializer<\n  OAppRegistryAccountDataArgs,\n  OAppRegistryAccountData\n> {\n  return mapSerializer<\n    OAppRegistryAccountDataArgs,\n    any,\n    OAppRegistryAccountData\n  >(\n    struct<OAppRegistryAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['delegate', publicKeySerializer()],\n        ['bump', u8()],\n      ],\n      { description: 'OAppRegistryAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([6, 152, 199, 30, 217, 50, 69, 149]),\n    })\n  ) as Serializer<OAppRegistryAccountDataArgs, OAppRegistryAccountData>;\n}\n\nexport function deserializeOAppRegistry(rawAccount: RpcAccount): OAppRegistry {\n  return deserializeAccount(rawAccount, getOAppRegistryAccountDataSerializer());\n}\n\nexport async function fetchOAppRegistry(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<OAppRegistry> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'OAppRegistry');\n  return deserializeOAppRegistry(maybeAccount);\n}\n\nexport async function safeFetchOAppRegistry(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<OAppRegistry | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeOAppRegistry(maybeAccount) : null;\n}\n\nexport async function fetchAllOAppRegistry(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<OAppRegistry[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'OAppRegistry');\n    return deserializeOAppRegistry(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllOAppRegistry(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<OAppRegistry[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeOAppRegistry(maybeAccount as RpcAccount));\n}\n\nexport function getOAppRegistryGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      delegate: PublicKey;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      delegate: [8, publicKeySerializer()],\n      bump: [40, u8()],\n    })\n    .deserializeUsing<OAppRegistry>((account) =>\n      deserializeOAppRegistry(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([6, 152, 199, 30, 217, 50, 69, 149])\n    );\n}\n\nexport function getOAppRegistrySize(): number {\n  return 41;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PayloadHash = Account<PayloadHashAccountData>;\n\nexport type PayloadHashAccountData = {\n  discriminator: Uint8Array;\n  hash: Uint8Array;\n  bump: number;\n};\n\nexport type PayloadHashAccountDataArgs = { hash: Uint8Array; bump: number };\n\nexport function getPayloadHashAccountDataSerializer(): Serializer<\n  PayloadHashAccountDataArgs,\n  PayloadHashAccountData\n> {\n  return mapSerializer<PayloadHashAccountDataArgs, any, PayloadHashAccountData>(\n    struct<PayloadHashAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['hash', bytes({ size: 32 })],\n        ['bump', u8()],\n      ],\n      { description: 'PayloadHashAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([96, 28, 106, 145, 103, 32, 186, 70]),\n    })\n  ) as Serializer<PayloadHashAccountDataArgs, PayloadHashAccountData>;\n}\n\nexport function deserializePayloadHash(rawAccount: RpcAccount): PayloadHash {\n  return deserializeAccount(rawAccount, getPayloadHashAccountDataSerializer());\n}\n\nexport async function fetchPayloadHash(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<PayloadHash> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'PayloadHash');\n  return deserializePayloadHash(maybeAccount);\n}\n\nexport async function safeFetchPayloadHash(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<PayloadHash | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializePayloadHash(maybeAccount) : null;\n}\n\nexport async function fetchAllPayloadHash(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<PayloadHash[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'PayloadHash');\n    return deserializePayloadHash(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllPayloadHash(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<PayloadHash[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializePayloadHash(maybeAccount as RpcAccount));\n}\n\nexport function getPayloadHashGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      hash: Uint8Array;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      hash: [8, bytes({ size: 32 })],\n      bump: [40, u8()],\n    })\n    .deserializeUsing<PayloadHash>((account) => deserializePayloadHash(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([96, 28, 106, 145, 103, 32, 186, 70])\n    );\n}\n\nexport function getPayloadHashSize(): number {\n  return 41;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PendingInboundNonce = Account<PendingInboundNonceAccountData>;\n\nexport type PendingInboundNonceAccountData = {\n  discriminator: Uint8Array;\n  nonces: Array<bigint>;\n  bump: number;\n};\n\nexport type PendingInboundNonceAccountDataArgs = {\n  nonces: Array<number | bigint>;\n  bump: number;\n};\n\nexport function getPendingInboundNonceAccountDataSerializer(): Serializer<\n  PendingInboundNonceAccountDataArgs,\n  PendingInboundNonceAccountData\n> {\n  return mapSerializer<\n    PendingInboundNonceAccountDataArgs,\n    any,\n    PendingInboundNonceAccountData\n  >(\n    struct<PendingInboundNonceAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['nonces', array(u64())],\n        ['bump', u8()],\n      ],\n      { description: 'PendingInboundNonceAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([170, 176, 95, 240, 120, 231, 241, 218]),\n    })\n  ) as Serializer<\n    PendingInboundNonceAccountDataArgs,\n    PendingInboundNonceAccountData\n  >;\n}\n\nexport function deserializePendingInboundNonce(\n  rawAccount: RpcAccount\n): PendingInboundNonce {\n  return deserializeAccount(\n    rawAccount,\n    getPendingInboundNonceAccountDataSerializer()\n  );\n}\n\nexport async function fetchPendingInboundNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<PendingInboundNonce> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'PendingInboundNonce');\n  return deserializePendingInboundNonce(maybeAccount);\n}\n\nexport async function safeFetchPendingInboundNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<PendingInboundNonce | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists\n    ? deserializePendingInboundNonce(maybeAccount)\n    : null;\n}\n\nexport async function fetchAllPendingInboundNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<PendingInboundNonce[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'PendingInboundNonce');\n    return deserializePendingInboundNonce(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllPendingInboundNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<PendingInboundNonce[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializePendingInboundNonce(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getPendingInboundNonceGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      nonces: Array<number | bigint>;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      nonces: [8, array(u64())],\n      bump: [null, u8()],\n    })\n    .deserializeUsing<PendingInboundNonce>((account) =>\n      deserializePendingInboundNonce(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([170, 176, 95, 240, 120, 231, 241, 218])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ReceiveLibraryTimeout,\n  ReceiveLibraryTimeoutArgs,\n  getReceiveLibraryTimeoutSerializer,\n} from '../types';\n\nexport type ReceiveLibraryConfig = Account<ReceiveLibraryConfigAccountData>;\n\nexport type ReceiveLibraryConfigAccountData = {\n  discriminator: Uint8Array;\n  messageLib: PublicKey;\n  timeout: Option<ReceiveLibraryTimeout>;\n  bump: number;\n};\n\nexport type ReceiveLibraryConfigAccountDataArgs = {\n  messageLib: PublicKey;\n  timeout: OptionOrNullable<ReceiveLibraryTimeoutArgs>;\n  bump: number;\n};\n\nexport function getReceiveLibraryConfigAccountDataSerializer(): Serializer<\n  ReceiveLibraryConfigAccountDataArgs,\n  ReceiveLibraryConfigAccountData\n> {\n  return mapSerializer<\n    ReceiveLibraryConfigAccountDataArgs,\n    any,\n    ReceiveLibraryConfigAccountData\n  >(\n    struct<ReceiveLibraryConfigAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['messageLib', publicKeySerializer()],\n        ['timeout', option(getReceiveLibraryTimeoutSerializer())],\n        ['bump', u8()],\n      ],\n      { description: 'ReceiveLibraryConfigAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([142, 226, 251, 138, 1, 206, 91, 193]),\n    })\n  ) as Serializer<\n    ReceiveLibraryConfigAccountDataArgs,\n    ReceiveLibraryConfigAccountData\n  >;\n}\n\nexport function deserializeReceiveLibraryConfig(\n  rawAccount: RpcAccount\n): ReceiveLibraryConfig {\n  return deserializeAccount(\n    rawAccount,\n    getReceiveLibraryConfigAccountDataSerializer()\n  );\n}\n\nexport async function fetchReceiveLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveLibraryConfig> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ReceiveLibraryConfig');\n  return deserializeReceiveLibraryConfig(maybeAccount);\n}\n\nexport async function safeFetchReceiveLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveLibraryConfig | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists\n    ? deserializeReceiveLibraryConfig(maybeAccount)\n    : null;\n}\n\nexport async function fetchAllReceiveLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveLibraryConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ReceiveLibraryConfig');\n    return deserializeReceiveLibraryConfig(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllReceiveLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveLibraryConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeReceiveLibraryConfig(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getReceiveLibraryConfigGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      messageLib: PublicKey;\n      timeout: OptionOrNullable<ReceiveLibraryTimeoutArgs>;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      messageLib: [8, publicKeySerializer()],\n      timeout: [40, option(getReceiveLibraryTimeoutSerializer())],\n      bump: [null, u8()],\n    })\n    .deserializeUsing<ReceiveLibraryConfig>((account) =>\n      deserializeReceiveLibraryConfig(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([142, 226, 251, 138, 1, 206, 91, 193])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\n/** the reason for not using Option::None to indicate default is to respect the spec on evm */\nexport type SendLibraryConfig = Account<SendLibraryConfigAccountData>;\n\nexport type SendLibraryConfigAccountData = {\n  discriminator: Uint8Array;\n  messageLib: PublicKey;\n  bump: number;\n};\n\nexport type SendLibraryConfigAccountDataArgs = {\n  messageLib: PublicKey;\n  bump: number;\n};\n\nexport function getSendLibraryConfigAccountDataSerializer(): Serializer<\n  SendLibraryConfigAccountDataArgs,\n  SendLibraryConfigAccountData\n> {\n  return mapSerializer<\n    SendLibraryConfigAccountDataArgs,\n    any,\n    SendLibraryConfigAccountData\n  >(\n    struct<SendLibraryConfigAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['messageLib', publicKeySerializer()],\n        ['bump', u8()],\n      ],\n      { description: 'SendLibraryConfigAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([61, 238, 31, 72, 251, 117, 66, 176]),\n    })\n  ) as Serializer<\n    SendLibraryConfigAccountDataArgs,\n    SendLibraryConfigAccountData\n  >;\n}\n\nexport function deserializeSendLibraryConfig(\n  rawAccount: RpcAccount\n): SendLibraryConfig {\n  return deserializeAccount(\n    rawAccount,\n    getSendLibraryConfigAccountDataSerializer()\n  );\n}\n\nexport async function fetchSendLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<SendLibraryConfig> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'SendLibraryConfig');\n  return deserializeSendLibraryConfig(maybeAccount);\n}\n\nexport async function safeFetchSendLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<SendLibraryConfig | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists\n    ? deserializeSendLibraryConfig(maybeAccount)\n    : null;\n}\n\nexport async function fetchAllSendLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<SendLibraryConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'SendLibraryConfig');\n    return deserializeSendLibraryConfig(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllSendLibraryConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<SendLibraryConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeSendLibraryConfig(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getSendLibraryConfigGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      messageLib: PublicKey;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      messageLib: [8, publicKeySerializer()],\n      bump: [40, u8()],\n    })\n    .deserializeUsing<SendLibraryConfig>((account) =>\n      deserializeSendLibraryConfig(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([61, 238, 31, 72, 251, 117, 66, 176])\n    );\n}\n\nexport function getSendLibraryConfigSize(): number {\n  return 41;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './endpoint';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Program, ProgramError } from '@metaplex-foundation/umi';\n\ntype ProgramErrorConstructor = new (\n  program: Program,\n  cause?: Error\n) => ProgramError;\nconst codeToErrorMap: Map<number, ProgramErrorConstructor> = new Map();\nconst nameToErrorMap: Map<string, ProgramErrorConstructor> = new Map();\n\n/** InvalidSendLibrary */\nexport class InvalidSendLibraryError extends ProgramError {\n  override readonly name: string = 'InvalidSendLibrary';\n\n  readonly code: number = 0x1770; // 6000\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1770, InvalidSendLibraryError);\nnameToErrorMap.set('InvalidSendLibrary', InvalidSendLibraryError);\n\n/** InvalidReceiveLibrary */\nexport class InvalidReceiveLibraryError extends ProgramError {\n  override readonly name: string = 'InvalidReceiveLibrary';\n\n  readonly code: number = 0x1771; // 6001\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1771, InvalidReceiveLibraryError);\nnameToErrorMap.set('InvalidReceiveLibrary', InvalidReceiveLibraryError);\n\n/** SameValue */\nexport class SameValueError extends ProgramError {\n  override readonly name: string = 'SameValue';\n\n  readonly code: number = 0x1772; // 6002\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1772, SameValueError);\nnameToErrorMap.set('SameValue', SameValueError);\n\n/** AccountNotFound */\nexport class AccountNotFoundError extends ProgramError {\n  override readonly name: string = 'AccountNotFound';\n\n  readonly code: number = 0x1773; // 6003\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1773, AccountNotFoundError);\nnameToErrorMap.set('AccountNotFound', AccountNotFoundError);\n\n/** OnlySendLib */\nexport class OnlySendLibError extends ProgramError {\n  override readonly name: string = 'OnlySendLib';\n\n  readonly code: number = 0x1774; // 6004\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1774, OnlySendLibError);\nnameToErrorMap.set('OnlySendLib', OnlySendLibError);\n\n/** OnlyReceiveLib */\nexport class OnlyReceiveLibError extends ProgramError {\n  override readonly name: string = 'OnlyReceiveLib';\n\n  readonly code: number = 0x1775; // 6005\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1775, OnlyReceiveLibError);\nnameToErrorMap.set('OnlyReceiveLib', OnlyReceiveLibError);\n\n/** InvalidExpiry */\nexport class InvalidExpiryError extends ProgramError {\n  override readonly name: string = 'InvalidExpiry';\n\n  readonly code: number = 0x1776; // 6006\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1776, InvalidExpiryError);\nnameToErrorMap.set('InvalidExpiry', InvalidExpiryError);\n\n/** OnlyNonDefaultLib */\nexport class OnlyNonDefaultLibError extends ProgramError {\n  override readonly name: string = 'OnlyNonDefaultLib';\n\n  readonly code: number = 0x1777; // 6007\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1777, OnlyNonDefaultLibError);\nnameToErrorMap.set('OnlyNonDefaultLib', OnlyNonDefaultLibError);\n\n/** InvalidAmount */\nexport class InvalidAmountError extends ProgramError {\n  override readonly name: string = 'InvalidAmount';\n\n  readonly code: number = 0x1778; // 6008\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1778, InvalidAmountError);\nnameToErrorMap.set('InvalidAmount', InvalidAmountError);\n\n/** InvalidNonce */\nexport class InvalidNonceError extends ProgramError {\n  override readonly name: string = 'InvalidNonce';\n\n  readonly code: number = 0x1779; // 6009\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1779, InvalidNonceError);\nnameToErrorMap.set('InvalidNonce', InvalidNonceError);\n\n/** Unauthorized */\nexport class UnauthorizedError extends ProgramError {\n  override readonly name: string = 'Unauthorized';\n\n  readonly code: number = 0x177a; // 6010\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177a, UnauthorizedError);\nnameToErrorMap.set('Unauthorized', UnauthorizedError);\n\n/** PayloadHashNotFound */\nexport class PayloadHashNotFoundError extends ProgramError {\n  override readonly name: string = 'PayloadHashNotFound';\n\n  readonly code: number = 0x177b; // 6011\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177b, PayloadHashNotFoundError);\nnameToErrorMap.set('PayloadHashNotFound', PayloadHashNotFoundError);\n\n/** ComposeNotFound */\nexport class ComposeNotFoundError extends ProgramError {\n  override readonly name: string = 'ComposeNotFound';\n\n  readonly code: number = 0x177c; // 6012\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177c, ComposeNotFoundError);\nnameToErrorMap.set('ComposeNotFound', ComposeNotFoundError);\n\n/** InvalidPayloadHash */\nexport class InvalidPayloadHashError extends ProgramError {\n  override readonly name: string = 'InvalidPayloadHash';\n\n  readonly code: number = 0x177d; // 6013\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177d, InvalidPayloadHashError);\nnameToErrorMap.set('InvalidPayloadHash', InvalidPayloadHashError);\n\n/** LzTokenUnavailable */\nexport class LzTokenUnavailableError extends ProgramError {\n  override readonly name: string = 'LzTokenUnavailable';\n\n  readonly code: number = 0x177e; // 6014\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177e, LzTokenUnavailableError);\nnameToErrorMap.set('LzTokenUnavailable', LzTokenUnavailableError);\n\n/** ReadOnlyAccount */\nexport class ReadOnlyAccountError extends ProgramError {\n  override readonly name: string = 'ReadOnlyAccount';\n\n  readonly code: number = 0x177f; // 6015\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177f, ReadOnlyAccountError);\nnameToErrorMap.set('ReadOnlyAccount', ReadOnlyAccountError);\n\n/** InvalidMessageLib */\nexport class InvalidMessageLibError extends ProgramError {\n  override readonly name: string = 'InvalidMessageLib';\n\n  readonly code: number = 0x1780; // 6016\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1780, InvalidMessageLibError);\nnameToErrorMap.set('InvalidMessageLib', InvalidMessageLibError);\n\n/** WritableAccountNotAllowed */\nexport class WritableAccountNotAllowedError extends ProgramError {\n  override readonly name: string = 'WritableAccountNotAllowed';\n\n  readonly code: number = 0x1781; // 6017\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1781, WritableAccountNotAllowedError);\nnameToErrorMap.set('WritableAccountNotAllowed', WritableAccountNotAllowedError);\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n */\nexport function getEndpointErrorFromCode(\n  code: number,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = codeToErrorMap.get(code);\n  return constructor ? new constructor(program, cause) : null;\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n */\nexport function getEndpointErrorFromName(\n  name: string,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = nameToErrorMap.get(name);\n  return constructor ? new constructor(program, cause) : null;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './burn';\nexport * from './clear';\nexport * from './clearCompose';\nexport * from './initConfig';\nexport * from './initDefaultReceiveLibrary';\nexport * from './initDefaultSendLibrary';\nexport * from './initEndpoint';\nexport * from './initNonce';\nexport * from './initReceiveLibrary';\nexport * from './initSendLibrary';\nexport * from './initVerify';\nexport * from './lzComposeAlert';\nexport * from './lzReceiveAlert';\nexport * from './nilify';\nexport * from './quote';\nexport * from './registerLibrary';\nexport * from './registerOapp';\nexport * from './send';\nexport * from './sendCompose';\nexport * from './setConfig';\nexport * from './setDefaultReceiveLibrary';\nexport * from './setDefaultReceiveLibraryTimeout';\nexport * from './setDefaultSendLibrary';\nexport * from './setDelegate';\nexport * from './setLzToken';\nexport * from './setReceiveLibrary';\nexport * from './setReceiveLibraryTimeout';\nexport * from './setSendLibrary';\nexport * from './skip';\nexport * from './transferAdmin';\nexport * from './verify';\nexport * from './withdrawRent';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  AccountMeta,\n  isSigner,\n  Pda,\n  publicKey,\n  PublicKey,\n  Signer,\n  isPda,\n} from '@metaplex-foundation/umi';\n\n/**\n * Transforms the given object such that the given keys are optional.\n * @internal\n */\nexport type PickPartial<T, K extends keyof T> = Omit<T, K> &\n  Partial<Pick<T, K>>;\n\n/**\n * Asserts that the given value is not null or undefined.\n * @internal\n */\nexport function expectSome<T>(value: T | null | undefined): T {\n  if (value == null) {\n    throw new Error('Expected a value but received null or undefined.');\n  }\n  return value;\n}\n\n/**\n * Asserts that the given value is a PublicKey.\n * @internal\n */\nexport function expectPublicKey(\n  value: PublicKey | Pda | Signer | null | undefined\n): PublicKey {\n  if (!value) {\n    throw new Error('Expected a PublicKey.');\n  }\n  return publicKey(value, false);\n}\n\n/**\n * Asserts that the given value is a PDA.\n * @internal\n */\nexport function expectPda(\n  value: PublicKey | Pda | Signer | null | undefined\n): Pda {\n  if (!value || !Array.isArray(value) || !isPda(value)) {\n    throw new Error('Expected a PDA.');\n  }\n  return value;\n}\n\n/**\n * Defines an instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccount<T = PublicKey | Pda | Signer | null> = {\n  isWritable: boolean;\n  value: T;\n};\n\n/**\n * Defines a set of instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccounts = Record<string, ResolvedAccount>;\n\n/**\n * Defines a set of instruction account to resolve with their indices.\n * @internal\n */\nexport type ResolvedAccountsWithIndices = Record<\n  string,\n  ResolvedAccount & { index: number }\n>;\n\n/**\n * Get account metas and signers from resolved accounts.\n * @internal\n */\nexport function getAccountMetasAndSigners(\n  accounts: ResolvedAccount[],\n  optionalAccountStrategy: 'omitted' | 'programId',\n  programId: PublicKey\n): [AccountMeta[], Signer[]] {\n  const keys: AccountMeta[] = [];\n  const signers: Signer[] = [];\n\n  accounts.forEach((account) => {\n    if (!account.value) {\n      if (optionalAccountStrategy === 'omitted') return;\n      keys.push({ pubkey: programId, isSigner: false, isWritable: false });\n      return;\n    }\n\n    if (isSigner(account.value)) {\n      signers.push(account.value);\n    }\n    keys.push({\n      pubkey: publicKey(account.value, false),\n      isSigner: isSigner(account.value),\n      isWritable: account.isWritable,\n    });\n  });\n\n  return [keys, signers];\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type BurnInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n  /** close the account and return the lamports to endpoint settings account */\n  payloadHash: PublicKey | Pda;\n  endpoint: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type BurnInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  payloadHash: Uint8Array;\n};\n\nexport type BurnInstructionDataArgs = {\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  payloadHash: Uint8Array;\n};\n\nexport function getBurnInstructionDataSerializer(): Serializer<\n  BurnInstructionDataArgs,\n  BurnInstructionData\n> {\n  return mapSerializer<BurnInstructionDataArgs, any, BurnInstructionData>(\n    struct<BurnInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['nonce', u64()],\n        ['payloadHash', bytes({ size: 32 })],\n      ],\n      { description: 'BurnInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([116, 110, 29, 56, 107, 219, 42, 93]),\n    })\n  ) as Serializer<BurnInstructionDataArgs, BurnInstructionData>;\n}\n\n// Args.\nexport type BurnInstructionArgs = BurnInstructionDataArgs;\n\n// Instruction.\nexport function burn(\n  context: Pick<Context, 'programs'>,\n  accounts: BurnInstructionAccounts,\n  args: BurnInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.oappRegistry ?? null,\n    },\n    nonce: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.nonce ?? null,\n    },\n    payloadHash: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n    endpoint: {\n      index: 4,\n      isWritable: true as boolean,\n      value: accounts.endpoint ?? null,\n    },\n    eventAuthority: {\n      index: 5,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 6,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: BurnInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getBurnInstructionDataSerializer().serialize(\n    resolvedArgs as BurnInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type ClearInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n  /** close the account and return the lamports to endpoint settings account */\n  payloadHash: PublicKey | Pda;\n  endpoint: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type ClearInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  guid: Uint8Array;\n  message: Uint8Array;\n};\n\nexport type ClearInstructionDataArgs = {\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  guid: Uint8Array;\n  message: Uint8Array;\n};\n\nexport function getClearInstructionDataSerializer(): Serializer<\n  ClearInstructionDataArgs,\n  ClearInstructionData\n> {\n  return mapSerializer<ClearInstructionDataArgs, any, ClearInstructionData>(\n    struct<ClearInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['nonce', u64()],\n        ['guid', bytes({ size: 32 })],\n        ['message', bytes({ size: u32() })],\n      ],\n      { description: 'ClearInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([250, 39, 28, 213, 123, 163, 133, 5]),\n    })\n  ) as Serializer<ClearInstructionDataArgs, ClearInstructionData>;\n}\n\n// Args.\nexport type ClearInstructionArgs = ClearInstructionDataArgs;\n\n// Instruction.\nexport function clear(\n  context: Pick<Context, 'programs'>,\n  accounts: ClearInstructionAccounts,\n  args: ClearInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.oappRegistry ?? null,\n    },\n    nonce: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.nonce ?? null,\n    },\n    payloadHash: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n    endpoint: {\n      index: 4,\n      isWritable: true as boolean,\n      value: accounts.endpoint ?? null,\n    },\n    eventAuthority: {\n      index: 5,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 6,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: ClearInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getClearInstructionDataSerializer().serialize(\n    resolvedArgs as ClearInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type ClearComposeInstructionAccounts = {\n  to: Signer;\n  composeMessage: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type ClearComposeInstructionData = {\n  discriminator: Uint8Array;\n  from: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  message: Uint8Array;\n};\n\nexport type ClearComposeInstructionDataArgs = {\n  from: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  message: Uint8Array;\n};\n\nexport function getClearComposeInstructionDataSerializer(): Serializer<\n  ClearComposeInstructionDataArgs,\n  ClearComposeInstructionData\n> {\n  return mapSerializer<\n    ClearComposeInstructionDataArgs,\n    any,\n    ClearComposeInstructionData\n  >(\n    struct<ClearComposeInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['from', publicKeySerializer()],\n        ['guid', bytes({ size: 32 })],\n        ['index', u16()],\n        ['message', bytes({ size: u32() })],\n      ],\n      { description: 'ClearComposeInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([118, 1, 18, 142, 95, 175, 21, 125]),\n    })\n  ) as Serializer<ClearComposeInstructionDataArgs, ClearComposeInstructionData>;\n}\n\n// Args.\nexport type ClearComposeInstructionArgs = ClearComposeInstructionDataArgs;\n\n// Instruction.\nexport function clearCompose(\n  context: Pick<Context, 'programs'>,\n  input: ClearComposeInstructionAccounts & ClearComposeInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    to: { index: 0, isWritable: false as boolean, value: input.to ?? null },\n    composeMessage: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.composeMessage ?? null,\n    },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: ClearComposeInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getClearComposeInstructionDataSerializer().serialize(\n    resolvedArgs as ClearComposeInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitConfigInstructionAccounts = {\n  /** only the delegate can initialize the config accounts */\n  delegate: Signer;\n  oappRegistry: PublicKey | Pda;\n  /** The PDA signer to the message lib when the endpoint calls the message lib program. */\n  messageLibInfo: PublicKey | Pda;\n  /** the pda of the message_lib_program */\n  messageLib: PublicKey | Pda;\n  messageLibProgram: PublicKey | Pda;\n};\n\n// Data.\nexport type InitConfigInstructionData = {\n  discriminator: Uint8Array;\n  oapp: PublicKey;\n  eid: number;\n};\n\nexport type InitConfigInstructionDataArgs = { oapp: PublicKey; eid: number };\n\nexport function getInitConfigInstructionDataSerializer(): Serializer<\n  InitConfigInstructionDataArgs,\n  InitConfigInstructionData\n> {\n  return mapSerializer<\n    InitConfigInstructionDataArgs,\n    any,\n    InitConfigInstructionData\n  >(\n    struct<InitConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['oapp', publicKeySerializer()],\n        ['eid', u32()],\n      ],\n      { description: 'InitConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([23, 235, 115, 232, 168, 96, 1, 231]),\n    })\n  ) as Serializer<InitConfigInstructionDataArgs, InitConfigInstructionData>;\n}\n\n// Args.\nexport type InitConfigInstructionArgs = InitConfigInstructionDataArgs;\n\n// Instruction.\nexport function initConfig(\n  context: Pick<Context, 'programs'>,\n  input: InitConfigInstructionAccounts & InitConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    delegate: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.delegate ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    messageLibInfo: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    messageLib: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLib ?? null,\n    },\n    messageLibProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.messageLibProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitConfigInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitConfigInstructionDataSerializer().serialize(\n    resolvedArgs as InitConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitDefaultReceiveLibraryInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  defaultReceiveLibraryConfig: PublicKey | Pda;\n  messageLibInfo: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type InitDefaultReceiveLibraryInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport type InitDefaultReceiveLibraryInstructionDataArgs = {\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport function getInitDefaultReceiveLibraryInstructionDataSerializer(): Serializer<\n  InitDefaultReceiveLibraryInstructionDataArgs,\n  InitDefaultReceiveLibraryInstructionData\n> {\n  return mapSerializer<\n    InitDefaultReceiveLibraryInstructionDataArgs,\n    any,\n    InitDefaultReceiveLibraryInstructionData\n  >(\n    struct<InitDefaultReceiveLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['newLib', publicKeySerializer()],\n      ],\n      { description: 'InitDefaultReceiveLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([32, 202, 76, 22, 42, 249, 227, 109]),\n    })\n  ) as Serializer<\n    InitDefaultReceiveLibraryInstructionDataArgs,\n    InitDefaultReceiveLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type InitDefaultReceiveLibraryInstructionArgs =\n  InitDefaultReceiveLibraryInstructionDataArgs;\n\n// Instruction.\nexport function initDefaultReceiveLibrary(\n  context: Pick<Context, 'programs'>,\n  input: InitDefaultReceiveLibraryInstructionAccounts &\n    InitDefaultReceiveLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    defaultReceiveLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.defaultReceiveLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    systemProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 6,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitDefaultReceiveLibraryInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data =\n    getInitDefaultReceiveLibraryInstructionDataSerializer().serialize(\n      resolvedArgs as InitDefaultReceiveLibraryInstructionDataArgs\n    );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitDefaultSendLibraryInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  defaultSendLibraryConfig: PublicKey | Pda;\n  messageLibInfo: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type InitDefaultSendLibraryInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport type InitDefaultSendLibraryInstructionDataArgs = {\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport function getInitDefaultSendLibraryInstructionDataSerializer(): Serializer<\n  InitDefaultSendLibraryInstructionDataArgs,\n  InitDefaultSendLibraryInstructionData\n> {\n  return mapSerializer<\n    InitDefaultSendLibraryInstructionDataArgs,\n    any,\n    InitDefaultSendLibraryInstructionData\n  >(\n    struct<InitDefaultSendLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['newLib', publicKeySerializer()],\n      ],\n      { description: 'InitDefaultSendLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([120, 187, 15, 31, 174, 97, 138, 58]),\n    })\n  ) as Serializer<\n    InitDefaultSendLibraryInstructionDataArgs,\n    InitDefaultSendLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type InitDefaultSendLibraryInstructionArgs =\n  InitDefaultSendLibraryInstructionDataArgs;\n\n// Instruction.\nexport function initDefaultSendLibrary(\n  context: Pick<Context, 'programs'>,\n  input: InitDefaultSendLibraryInstructionAccounts &\n    InitDefaultSendLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    defaultSendLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.defaultSendLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    systemProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 6,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitDefaultSendLibraryInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitDefaultSendLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as InitDefaultSendLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitEndpointInstructionAccounts = {\n  payer?: Signer;\n  endpoint: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitEndpointInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  admin: PublicKey;\n};\n\nexport type InitEndpointInstructionDataArgs = { eid: number; admin: PublicKey };\n\nexport function getInitEndpointInstructionDataSerializer(): Serializer<\n  InitEndpointInstructionDataArgs,\n  InitEndpointInstructionData\n> {\n  return mapSerializer<\n    InitEndpointInstructionDataArgs,\n    any,\n    InitEndpointInstructionData\n  >(\n    struct<InitEndpointInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['admin', publicKeySerializer()],\n      ],\n      { description: 'InitEndpointInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([178, 30, 29, 207, 120, 225, 246, 134]),\n    })\n  ) as Serializer<InitEndpointInstructionDataArgs, InitEndpointInstructionData>;\n}\n\n// Args.\nexport type InitEndpointInstructionArgs = InitEndpointInstructionDataArgs;\n\n// Instruction.\nexport function initEndpoint(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitEndpointInstructionAccounts & InitEndpointInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.endpoint ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitEndpointInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitEndpointInstructionDataSerializer().serialize(\n    resolvedArgs as InitEndpointInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitNonceInstructionAccounts = {\n  /** only the delegate can initialize the nonce accounts */\n  delegate: Signer;\n  oappRegistry: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n  pendingInboundNonce: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitNonceInstructionData = {\n  discriminator: Uint8Array;\n  localOapp: PublicKey;\n  remoteEid: number;\n  remoteOapp: Uint8Array;\n};\n\nexport type InitNonceInstructionDataArgs = {\n  localOapp: PublicKey;\n  remoteEid: number;\n  remoteOapp: Uint8Array;\n};\n\nexport function getInitNonceInstructionDataSerializer(): Serializer<\n  InitNonceInstructionDataArgs,\n  InitNonceInstructionData\n> {\n  return mapSerializer<\n    InitNonceInstructionDataArgs,\n    any,\n    InitNonceInstructionData\n  >(\n    struct<InitNonceInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['localOapp', publicKeySerializer()],\n        ['remoteEid', u32()],\n        ['remoteOapp', bytes({ size: 32 })],\n      ],\n      { description: 'InitNonceInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([204, 171, 16, 214, 182, 191, 27, 196]),\n    })\n  ) as Serializer<InitNonceInstructionDataArgs, InitNonceInstructionData>;\n}\n\n// Args.\nexport type InitNonceInstructionArgs = InitNonceInstructionDataArgs;\n\n// Instruction.\nexport function initNonce(\n  context: Pick<Context, 'programs'>,\n  input: InitNonceInstructionAccounts & InitNonceInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    delegate: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.delegate ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    nonce: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.nonce ?? null,\n    },\n    pendingInboundNonce: {\n      index: 3,\n      isWritable: true as boolean,\n      value: input.pendingInboundNonce ?? null,\n    },\n    systemProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitNonceInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitNonceInstructionDataSerializer().serialize(\n    resolvedArgs as InitNonceInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitReceiveLibraryInstructionAccounts = {\n  /** only the delegate can initialize the send_library_config */\n  delegate: Signer;\n  oappRegistry: PublicKey | Pda;\n  receiveLibraryConfig: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitReceiveLibraryInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  eid: number;\n};\n\nexport type InitReceiveLibraryInstructionDataArgs = {\n  receiver: PublicKey;\n  eid: number;\n};\n\nexport function getInitReceiveLibraryInstructionDataSerializer(): Serializer<\n  InitReceiveLibraryInstructionDataArgs,\n  InitReceiveLibraryInstructionData\n> {\n  return mapSerializer<\n    InitReceiveLibraryInstructionDataArgs,\n    any,\n    InitReceiveLibraryInstructionData\n  >(\n    struct<InitReceiveLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['eid', u32()],\n      ],\n      { description: 'InitReceiveLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([197, 114, 81, 100, 45, 233, 36, 230]),\n    })\n  ) as Serializer<\n    InitReceiveLibraryInstructionDataArgs,\n    InitReceiveLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type InitReceiveLibraryInstructionArgs =\n  InitReceiveLibraryInstructionDataArgs;\n\n// Instruction.\nexport function initReceiveLibrary(\n  context: Pick<Context, 'programs'>,\n  input: InitReceiveLibraryInstructionAccounts &\n    InitReceiveLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    delegate: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.delegate ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    receiveLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.receiveLibraryConfig ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitReceiveLibraryInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitReceiveLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as InitReceiveLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitSendLibraryInstructionAccounts = {\n  /** only the delegate can initialize the send_library_config */\n  delegate: Signer;\n  oappRegistry: PublicKey | Pda;\n  sendLibraryConfig: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitSendLibraryInstructionData = {\n  discriminator: Uint8Array;\n  sender: PublicKey;\n  eid: number;\n};\n\nexport type InitSendLibraryInstructionDataArgs = {\n  sender: PublicKey;\n  eid: number;\n};\n\nexport function getInitSendLibraryInstructionDataSerializer(): Serializer<\n  InitSendLibraryInstructionDataArgs,\n  InitSendLibraryInstructionData\n> {\n  return mapSerializer<\n    InitSendLibraryInstructionDataArgs,\n    any,\n    InitSendLibraryInstructionData\n  >(\n    struct<InitSendLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['sender', publicKeySerializer()],\n        ['eid', u32()],\n      ],\n      { description: 'InitSendLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([156, 24, 235, 120, 73, 193, 144, 19]),\n    })\n  ) as Serializer<\n    InitSendLibraryInstructionDataArgs,\n    InitSendLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type InitSendLibraryInstructionArgs = InitSendLibraryInstructionDataArgs;\n\n// Instruction.\nexport function initSendLibrary(\n  context: Pick<Context, 'programs'>,\n  input: InitSendLibraryInstructionAccounts & InitSendLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    delegate: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.delegate ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    sendLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.sendLibraryConfig ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitSendLibraryInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitSendLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as InitSendLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitVerifyInstructionAccounts = {\n  payer?: Signer;\n  nonce: PublicKey | Pda;\n  payloadHash: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitVerifyInstructionData = {\n  discriminator: Uint8Array;\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: bigint;\n};\n\nexport type InitVerifyInstructionDataArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: number | bigint;\n};\n\nexport function getInitVerifyInstructionDataSerializer(): Serializer<\n  InitVerifyInstructionDataArgs,\n  InitVerifyInstructionData\n> {\n  return mapSerializer<\n    InitVerifyInstructionDataArgs,\n    any,\n    InitVerifyInstructionData\n  >(\n    struct<InitVerifyInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['receiver', publicKeySerializer()],\n        ['nonce', u64()],\n      ],\n      { description: 'InitVerifyInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([76, 246, 244, 124, 115, 17, 235, 91]),\n    })\n  ) as Serializer<InitVerifyInstructionDataArgs, InitVerifyInstructionData>;\n}\n\n// Args.\nexport type InitVerifyInstructionArgs = InitVerifyInstructionDataArgs;\n\n// Instruction.\nexport function initVerify(\n  context: Pick<Context, 'payer' | 'programs'>,\n  accounts: InitVerifyInstructionAccounts,\n  args: InitVerifyInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: accounts.payer ?? null,\n    },\n    nonce: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.nonce ?? null,\n    },\n    payloadHash: {\n      index: 2,\n      isWritable: true as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: accounts.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitVerifyInstructionArgs = { ...args };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitVerifyInstructionDataSerializer().serialize(\n    resolvedArgs as InitVerifyInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type LzComposeAlertInstructionAccounts = {\n  executor: Signer;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type LzComposeAlertInstructionData = {\n  discriminator: Uint8Array;\n  from: PublicKey;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  computeUnits: bigint;\n  value: bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport type LzComposeAlertInstructionDataArgs = {\n  from: PublicKey;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  computeUnits: number | bigint;\n  value: number | bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport function getLzComposeAlertInstructionDataSerializer(): Serializer<\n  LzComposeAlertInstructionDataArgs,\n  LzComposeAlertInstructionData\n> {\n  return mapSerializer<\n    LzComposeAlertInstructionDataArgs,\n    any,\n    LzComposeAlertInstructionData\n  >(\n    struct<LzComposeAlertInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['from', publicKeySerializer()],\n        ['to', publicKeySerializer()],\n        ['guid', bytes({ size: 32 })],\n        ['index', u16()],\n        ['computeUnits', u64()],\n        ['value', u64()],\n        ['message', bytes({ size: u32() })],\n        ['extraData', bytes({ size: u32() })],\n        ['reason', bytes({ size: u32() })],\n      ],\n      { description: 'LzComposeAlertInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([27, 91, 198, 77, 66, 92, 122, 167]),\n    })\n  ) as Serializer<\n    LzComposeAlertInstructionDataArgs,\n    LzComposeAlertInstructionData\n  >;\n}\n\n// Args.\nexport type LzComposeAlertInstructionArgs = LzComposeAlertInstructionDataArgs;\n\n// Instruction.\nexport function lzComposeAlert(\n  context: Pick<Context, 'programs'>,\n  input: LzComposeAlertInstructionAccounts & LzComposeAlertInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executor: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.executor ?? null,\n    },\n    eventAuthority: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: LzComposeAlertInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getLzComposeAlertInstructionDataSerializer().serialize(\n    resolvedArgs as LzComposeAlertInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type LzReceiveAlertInstructionAccounts = {\n  executor: Signer;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type LzReceiveAlertInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  guid: Uint8Array;\n  computeUnits: bigint;\n  value: bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport type LzReceiveAlertInstructionDataArgs = {\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  guid: Uint8Array;\n  computeUnits: number | bigint;\n  value: number | bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport function getLzReceiveAlertInstructionDataSerializer(): Serializer<\n  LzReceiveAlertInstructionDataArgs,\n  LzReceiveAlertInstructionData\n> {\n  return mapSerializer<\n    LzReceiveAlertInstructionDataArgs,\n    any,\n    LzReceiveAlertInstructionData\n  >(\n    struct<LzReceiveAlertInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['nonce', u64()],\n        ['guid', bytes({ size: 32 })],\n        ['computeUnits', u64()],\n        ['value', u64()],\n        ['message', bytes({ size: u32() })],\n        ['extraData', bytes({ size: u32() })],\n        ['reason', bytes({ size: u32() })],\n      ],\n      { description: 'LzReceiveAlertInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([131, 141, 48, 222, 15, 235, 141, 160]),\n    })\n  ) as Serializer<\n    LzReceiveAlertInstructionDataArgs,\n    LzReceiveAlertInstructionData\n  >;\n}\n\n// Args.\nexport type LzReceiveAlertInstructionArgs = LzReceiveAlertInstructionDataArgs;\n\n// Instruction.\nexport function lzReceiveAlert(\n  context: Pick<Context, 'programs'>,\n  input: LzReceiveAlertInstructionAccounts & LzReceiveAlertInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executor: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.executor ?? null,\n    },\n    eventAuthority: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: LzReceiveAlertInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getLzReceiveAlertInstructionDataSerializer().serialize(\n    resolvedArgs as LzReceiveAlertInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type NilifyInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n  pendingInboundNonce: PublicKey | Pda;\n  payloadHash: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type NilifyInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  payloadHash: Uint8Array;\n};\n\nexport type NilifyInstructionDataArgs = {\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  payloadHash: Uint8Array;\n};\n\nexport function getNilifyInstructionDataSerializer(): Serializer<\n  NilifyInstructionDataArgs,\n  NilifyInstructionData\n> {\n  return mapSerializer<NilifyInstructionDataArgs, any, NilifyInstructionData>(\n    struct<NilifyInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['nonce', u64()],\n        ['payloadHash', bytes({ size: 32 })],\n      ],\n      { description: 'NilifyInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([143, 136, 129, 199, 36, 35, 160, 85]),\n    })\n  ) as Serializer<NilifyInstructionDataArgs, NilifyInstructionData>;\n}\n\n// Args.\nexport type NilifyInstructionArgs = NilifyInstructionDataArgs;\n\n// Instruction.\nexport function nilify(\n  context: Pick<Context, 'programs'>,\n  accounts: NilifyInstructionAccounts,\n  args: NilifyInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.oappRegistry ?? null,\n    },\n    nonce: {\n      index: 2,\n      isWritable: true as boolean,\n      value: accounts.nonce ?? null,\n    },\n    pendingInboundNonce: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.pendingInboundNonce ?? null,\n    },\n    payloadHash: {\n      index: 4,\n      isWritable: true as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n    eventAuthority: {\n      index: 5,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 6,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: NilifyInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getNilifyInstructionDataSerializer().serialize(\n    resolvedArgs as NilifyInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bool,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type QuoteInstructionAccounts = {\n  sendLibraryProgram: PublicKey | Pda;\n  sendLibraryConfig: PublicKey | Pda;\n  defaultSendLibraryConfig: PublicKey | Pda;\n  /** The PDA signer to the send library when the endpoint calls the send library. */\n  sendLibraryInfo: PublicKey | Pda;\n  endpoint: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n};\n\n// Data.\nexport type QuoteInstructionData = {\n  discriminator: Uint8Array;\n  sender: PublicKey;\n  dstEid: number;\n  receiver: Uint8Array;\n  message: Uint8Array;\n  options: Uint8Array;\n  payInLzToken: boolean;\n};\n\nexport type QuoteInstructionDataArgs = {\n  sender: PublicKey;\n  dstEid: number;\n  receiver: Uint8Array;\n  message: Uint8Array;\n  options: Uint8Array;\n  payInLzToken: boolean;\n};\n\nexport function getQuoteInstructionDataSerializer(): Serializer<\n  QuoteInstructionDataArgs,\n  QuoteInstructionData\n> {\n  return mapSerializer<QuoteInstructionDataArgs, any, QuoteInstructionData>(\n    struct<QuoteInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['sender', publicKeySerializer()],\n        ['dstEid', u32()],\n        ['receiver', bytes({ size: 32 })],\n        ['message', bytes({ size: u32() })],\n        ['options', bytes({ size: u32() })],\n        ['payInLzToken', bool()],\n      ],\n      { description: 'QuoteInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([149, 42, 109, 247, 134, 146, 213, 123]),\n    })\n  ) as Serializer<QuoteInstructionDataArgs, QuoteInstructionData>;\n}\n\n// Args.\nexport type QuoteInstructionArgs = QuoteInstructionDataArgs;\n\n// Instruction.\nexport function quote(\n  context: Pick<Context, 'programs'>,\n  input: QuoteInstructionAccounts & QuoteInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    sendLibraryProgram: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.sendLibraryProgram ?? null,\n    },\n    sendLibraryConfig: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.sendLibraryConfig ?? null,\n    },\n    defaultSendLibraryConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.defaultSendLibraryConfig ?? null,\n    },\n    sendLibraryInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.sendLibraryInfo ?? null,\n    },\n    endpoint: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    nonce: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.nonce ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: QuoteInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getQuoteInstructionDataSerializer().serialize(\n    resolvedArgs as QuoteInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  MessageLibType,\n  MessageLibTypeArgs,\n  getMessageLibTypeSerializer,\n} from '../types';\n\n// Accounts.\nexport type RegisterLibraryInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  messageLibInfo: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type RegisterLibraryInstructionData = {\n  discriminator: Uint8Array;\n  libProgram: PublicKey;\n  libType: MessageLibType;\n};\n\nexport type RegisterLibraryInstructionDataArgs = {\n  libProgram: PublicKey;\n  libType: MessageLibTypeArgs;\n};\n\nexport function getRegisterLibraryInstructionDataSerializer(): Serializer<\n  RegisterLibraryInstructionDataArgs,\n  RegisterLibraryInstructionData\n> {\n  return mapSerializer<\n    RegisterLibraryInstructionDataArgs,\n    any,\n    RegisterLibraryInstructionData\n  >(\n    struct<RegisterLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['libProgram', publicKeySerializer()],\n        ['libType', getMessageLibTypeSerializer()],\n      ],\n      { description: 'RegisterLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([23, 171, 28, 116, 111, 193, 238, 142]),\n    })\n  ) as Serializer<\n    RegisterLibraryInstructionDataArgs,\n    RegisterLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type RegisterLibraryInstructionArgs = RegisterLibraryInstructionDataArgs;\n\n// Instruction.\nexport function registerLibrary(\n  context: Pick<Context, 'programs'>,\n  input: RegisterLibraryInstructionAccounts & RegisterLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    messageLibInfo: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: RegisterLibraryInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getRegisterLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as RegisterLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type RegisterOappInstructionAccounts = {\n  payer?: Signer;\n  /** The PDA of the OApp */\n  oapp: Signer;\n  oappRegistry: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type RegisterOappInstructionData = {\n  discriminator: Uint8Array;\n  delegate: PublicKey;\n};\n\nexport type RegisterOappInstructionDataArgs = { delegate: PublicKey };\n\nexport function getRegisterOappInstructionDataSerializer(): Serializer<\n  RegisterOappInstructionDataArgs,\n  RegisterOappInstructionData\n> {\n  return mapSerializer<\n    RegisterOappInstructionDataArgs,\n    any,\n    RegisterOappInstructionData\n  >(\n    struct<RegisterOappInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['delegate', publicKeySerializer()],\n      ],\n      { description: 'RegisterOappInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([129, 89, 71, 68, 11, 82, 210, 125]),\n    })\n  ) as Serializer<RegisterOappInstructionDataArgs, RegisterOappInstructionData>;\n}\n\n// Args.\nexport type RegisterOappInstructionArgs = RegisterOappInstructionDataArgs;\n\n// Instruction.\nexport function registerOapp(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: RegisterOappInstructionAccounts & RegisterOappInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    oapp: { index: 1, isWritable: false as boolean, value: input.oapp ?? null },\n    oappRegistry: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: RegisterOappInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getRegisterOappInstructionDataSerializer().serialize(\n    resolvedArgs as RegisterOappInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SendInstructionAccounts = {\n  sender: Signer;\n  sendLibraryProgram: PublicKey | Pda;\n  sendLibraryConfig: PublicKey | Pda;\n  defaultSendLibraryConfig: PublicKey | Pda;\n  /** The PDA signer to the send library when the endpoint calls the send library. */\n  sendLibraryInfo: PublicKey | Pda;\n  endpoint: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SendInstructionData = {\n  discriminator: Uint8Array;\n  dstEid: number;\n  receiver: Uint8Array;\n  message: Uint8Array;\n  options: Uint8Array;\n  nativeFee: bigint;\n  lzTokenFee: bigint;\n};\n\nexport type SendInstructionDataArgs = {\n  dstEid: number;\n  receiver: Uint8Array;\n  message: Uint8Array;\n  options: Uint8Array;\n  nativeFee: number | bigint;\n  lzTokenFee: number | bigint;\n};\n\nexport function getSendInstructionDataSerializer(): Serializer<\n  SendInstructionDataArgs,\n  SendInstructionData\n> {\n  return mapSerializer<SendInstructionDataArgs, any, SendInstructionData>(\n    struct<SendInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['dstEid', u32()],\n        ['receiver', bytes({ size: 32 })],\n        ['message', bytes({ size: u32() })],\n        ['options', bytes({ size: u32() })],\n        ['nativeFee', u64()],\n        ['lzTokenFee', u64()],\n      ],\n      { description: 'SendInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([102, 251, 20, 187, 65, 75, 12, 69]),\n    })\n  ) as Serializer<SendInstructionDataArgs, SendInstructionData>;\n}\n\n// Args.\nexport type SendInstructionArgs = SendInstructionDataArgs;\n\n// Instruction.\nexport function send(\n  context: Pick<Context, 'programs'>,\n  input: SendInstructionAccounts & SendInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    sender: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.sender ?? null,\n    },\n    sendLibraryProgram: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.sendLibraryProgram ?? null,\n    },\n    sendLibraryConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.sendLibraryConfig ?? null,\n    },\n    defaultSendLibraryConfig: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.defaultSendLibraryConfig ?? null,\n    },\n    sendLibraryInfo: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.sendLibraryInfo ?? null,\n    },\n    endpoint: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    nonce: {\n      index: 6,\n      isWritable: true as boolean,\n      value: input.nonce ?? null,\n    },\n    eventAuthority: {\n      index: 7,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 8,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SendInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSendInstructionDataSerializer().serialize(\n    resolvedArgs as SendInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SendComposeInstructionAccounts = {\n  from: Signer;\n  payer?: Signer;\n  composeMessage: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SendComposeInstructionData = {\n  discriminator: Uint8Array;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  message: Uint8Array;\n};\n\nexport type SendComposeInstructionDataArgs = {\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  message: Uint8Array;\n};\n\nexport function getSendComposeInstructionDataSerializer(): Serializer<\n  SendComposeInstructionDataArgs,\n  SendComposeInstructionData\n> {\n  return mapSerializer<\n    SendComposeInstructionDataArgs,\n    any,\n    SendComposeInstructionData\n  >(\n    struct<SendComposeInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['to', publicKeySerializer()],\n        ['guid', bytes({ size: 32 })],\n        ['index', u16()],\n        ['message', bytes({ size: u32() })],\n      ],\n      { description: 'SendComposeInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([75, 38, 228, 168, 43, 39, 238, 229]),\n    })\n  ) as Serializer<SendComposeInstructionDataArgs, SendComposeInstructionData>;\n}\n\n// Args.\nexport type SendComposeInstructionArgs = SendComposeInstructionDataArgs;\n\n// Instruction.\nexport function sendCompose(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: SendComposeInstructionAccounts & SendComposeInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    from: { index: 0, isWritable: false as boolean, value: input.from ?? null },\n    payer: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    composeMessage: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.composeMessage ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SendComposeInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSendComposeInstructionDataSerializer().serialize(\n    resolvedArgs as SendComposeInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetConfigInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  /** The PDA signer to the message lib when the endpoint calls the message lib program */\n  messageLibInfo: PublicKey | Pda;\n  /** the pda of the message_lib_program */\n  messageLib: PublicKey | Pda;\n  messageLibProgram: PublicKey | Pda;\n};\n\n// Data.\nexport type SetConfigInstructionData = {\n  discriminator: Uint8Array;\n  oapp: PublicKey;\n  eid: number;\n  configType: number;\n  config: Uint8Array;\n};\n\nexport type SetConfigInstructionDataArgs = {\n  oapp: PublicKey;\n  eid: number;\n  configType: number;\n  config: Uint8Array;\n};\n\nexport function getSetConfigInstructionDataSerializer(): Serializer<\n  SetConfigInstructionDataArgs,\n  SetConfigInstructionData\n> {\n  return mapSerializer<\n    SetConfigInstructionDataArgs,\n    any,\n    SetConfigInstructionData\n  >(\n    struct<SetConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['oapp', publicKeySerializer()],\n        ['eid', u32()],\n        ['configType', u32()],\n        ['config', bytes({ size: u32() })],\n      ],\n      { description: 'SetConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([108, 158, 154, 175, 212, 98, 52, 66]),\n    })\n  ) as Serializer<SetConfigInstructionDataArgs, SetConfigInstructionData>;\n}\n\n// Args.\nexport type SetConfigInstructionArgs = SetConfigInstructionDataArgs;\n\n// Instruction.\nexport function setConfig(\n  context: Pick<Context, 'programs'>,\n  input: SetConfigInstructionAccounts & SetConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    messageLibInfo: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    messageLib: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLib ?? null,\n    },\n    messageLibProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.messageLibProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetConfigInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetConfigInstructionDataSerializer().serialize(\n    resolvedArgs as SetConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetDefaultReceiveLibraryInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  defaultReceiveLibraryConfig: PublicKey | Pda;\n  messageLibInfo: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetDefaultReceiveLibraryInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  newLib: PublicKey;\n  gracePeriod: bigint;\n};\n\nexport type SetDefaultReceiveLibraryInstructionDataArgs = {\n  eid: number;\n  newLib: PublicKey;\n  gracePeriod: number | bigint;\n};\n\nexport function getSetDefaultReceiveLibraryInstructionDataSerializer(): Serializer<\n  SetDefaultReceiveLibraryInstructionDataArgs,\n  SetDefaultReceiveLibraryInstructionData\n> {\n  return mapSerializer<\n    SetDefaultReceiveLibraryInstructionDataArgs,\n    any,\n    SetDefaultReceiveLibraryInstructionData\n  >(\n    struct<SetDefaultReceiveLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['newLib', publicKeySerializer()],\n        ['gracePeriod', u64()],\n      ],\n      { description: 'SetDefaultReceiveLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([14, 162, 167, 212, 13, 20, 151, 129]),\n    })\n  ) as Serializer<\n    SetDefaultReceiveLibraryInstructionDataArgs,\n    SetDefaultReceiveLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type SetDefaultReceiveLibraryInstructionArgs =\n  SetDefaultReceiveLibraryInstructionDataArgs;\n\n// Instruction.\nexport function setDefaultReceiveLibrary(\n  context: Pick<Context, 'programs'>,\n  input: SetDefaultReceiveLibraryInstructionAccounts &\n    SetDefaultReceiveLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    defaultReceiveLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.defaultReceiveLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetDefaultReceiveLibraryInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetDefaultReceiveLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as SetDefaultReceiveLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetDefaultReceiveLibraryTimeoutInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  defaultReceiveLibraryConfig: PublicKey | Pda;\n  messageLibInfo: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetDefaultReceiveLibraryTimeoutInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  lib: PublicKey;\n  expiry: bigint;\n};\n\nexport type SetDefaultReceiveLibraryTimeoutInstructionDataArgs = {\n  eid: number;\n  lib: PublicKey;\n  expiry: number | bigint;\n};\n\nexport function getSetDefaultReceiveLibraryTimeoutInstructionDataSerializer(): Serializer<\n  SetDefaultReceiveLibraryTimeoutInstructionDataArgs,\n  SetDefaultReceiveLibraryTimeoutInstructionData\n> {\n  return mapSerializer<\n    SetDefaultReceiveLibraryTimeoutInstructionDataArgs,\n    any,\n    SetDefaultReceiveLibraryTimeoutInstructionData\n  >(\n    struct<SetDefaultReceiveLibraryTimeoutInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['lib', publicKeySerializer()],\n        ['expiry', u64()],\n      ],\n      { description: 'SetDefaultReceiveLibraryTimeoutInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([118, 32, 94, 51, 25, 247, 16, 232]),\n    })\n  ) as Serializer<\n    SetDefaultReceiveLibraryTimeoutInstructionDataArgs,\n    SetDefaultReceiveLibraryTimeoutInstructionData\n  >;\n}\n\n// Args.\nexport type SetDefaultReceiveLibraryTimeoutInstructionArgs =\n  SetDefaultReceiveLibraryTimeoutInstructionDataArgs;\n\n// Instruction.\nexport function setDefaultReceiveLibraryTimeout(\n  context: Pick<Context, 'programs'>,\n  input: SetDefaultReceiveLibraryTimeoutInstructionAccounts &\n    SetDefaultReceiveLibraryTimeoutInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    defaultReceiveLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.defaultReceiveLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetDefaultReceiveLibraryTimeoutInstructionArgs = {\n    ...input,\n  };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data =\n    getSetDefaultReceiveLibraryTimeoutInstructionDataSerializer().serialize(\n      resolvedArgs as SetDefaultReceiveLibraryTimeoutInstructionDataArgs\n    );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetDefaultSendLibraryInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  defaultSendLibraryConfig: PublicKey | Pda;\n  messageLibInfo: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetDefaultSendLibraryInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport type SetDefaultSendLibraryInstructionDataArgs = {\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport function getSetDefaultSendLibraryInstructionDataSerializer(): Serializer<\n  SetDefaultSendLibraryInstructionDataArgs,\n  SetDefaultSendLibraryInstructionData\n> {\n  return mapSerializer<\n    SetDefaultSendLibraryInstructionDataArgs,\n    any,\n    SetDefaultSendLibraryInstructionData\n  >(\n    struct<SetDefaultSendLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['newLib', publicKeySerializer()],\n      ],\n      { description: 'SetDefaultSendLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([220, 215, 110, 127, 237, 178, 215, 170]),\n    })\n  ) as Serializer<\n    SetDefaultSendLibraryInstructionDataArgs,\n    SetDefaultSendLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type SetDefaultSendLibraryInstructionArgs =\n  SetDefaultSendLibraryInstructionDataArgs;\n\n// Instruction.\nexport function setDefaultSendLibrary(\n  context: Pick<Context, 'programs'>,\n  input: SetDefaultSendLibraryInstructionAccounts &\n    SetDefaultSendLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    defaultSendLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.defaultSendLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetDefaultSendLibraryInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetDefaultSendLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as SetDefaultSendLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetDelegateInstructionAccounts = {\n  /** The PDA of the OApp */\n  oapp: Signer;\n  oappRegistry: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetDelegateInstructionData = {\n  discriminator: Uint8Array;\n  delegate: PublicKey;\n};\n\nexport type SetDelegateInstructionDataArgs = { delegate: PublicKey };\n\nexport function getSetDelegateInstructionDataSerializer(): Serializer<\n  SetDelegateInstructionDataArgs,\n  SetDelegateInstructionData\n> {\n  return mapSerializer<\n    SetDelegateInstructionDataArgs,\n    any,\n    SetDelegateInstructionData\n  >(\n    struct<SetDelegateInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['delegate', publicKeySerializer()],\n      ],\n      { description: 'SetDelegateInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([242, 30, 46, 76, 108, 235, 128, 181]),\n    })\n  ) as Serializer<SetDelegateInstructionDataArgs, SetDelegateInstructionData>;\n}\n\n// Args.\nexport type SetDelegateInstructionArgs = SetDelegateInstructionDataArgs;\n\n// Instruction.\nexport function setDelegate(\n  context: Pick<Context, 'programs'>,\n  input: SetDelegateInstructionAccounts & SetDelegateInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    oapp: { index: 0, isWritable: false as boolean, value: input.oapp ?? null },\n    oappRegistry: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetDelegateInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetDelegateInstructionDataSerializer().serialize(\n    resolvedArgs as SetDelegateInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetLzTokenInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetLzTokenInstructionData = {\n  discriminator: Uint8Array;\n  lzToken: Option<PublicKey>;\n};\n\nexport type SetLzTokenInstructionDataArgs = {\n  lzToken: OptionOrNullable<PublicKey>;\n};\n\nexport function getSetLzTokenInstructionDataSerializer(): Serializer<\n  SetLzTokenInstructionDataArgs,\n  SetLzTokenInstructionData\n> {\n  return mapSerializer<\n    SetLzTokenInstructionDataArgs,\n    any,\n    SetLzTokenInstructionData\n  >(\n    struct<SetLzTokenInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['lzToken', option(publicKeySerializer())],\n      ],\n      { description: 'SetLzTokenInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([22, 151, 112, 174, 213, 225, 223, 72]),\n    })\n  ) as Serializer<SetLzTokenInstructionDataArgs, SetLzTokenInstructionData>;\n}\n\n// Args.\nexport type SetLzTokenInstructionArgs = SetLzTokenInstructionDataArgs;\n\n// Instruction.\nexport function setLzToken(\n  context: Pick<Context, 'programs'>,\n  input: SetLzTokenInstructionAccounts & SetLzTokenInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.endpoint ?? null,\n    },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetLzTokenInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetLzTokenInstructionDataSerializer().serialize(\n    resolvedArgs as SetLzTokenInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetReceiveLibraryInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  receiveLibraryConfig: PublicKey | Pda;\n  messageLibInfo?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetReceiveLibraryInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  eid: number;\n  newLib: PublicKey;\n  gracePeriod: bigint;\n};\n\nexport type SetReceiveLibraryInstructionDataArgs = {\n  receiver: PublicKey;\n  eid: number;\n  newLib: PublicKey;\n  gracePeriod: number | bigint;\n};\n\nexport function getSetReceiveLibraryInstructionDataSerializer(): Serializer<\n  SetReceiveLibraryInstructionDataArgs,\n  SetReceiveLibraryInstructionData\n> {\n  return mapSerializer<\n    SetReceiveLibraryInstructionDataArgs,\n    any,\n    SetReceiveLibraryInstructionData\n  >(\n    struct<SetReceiveLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['eid', u32()],\n        ['newLib', publicKeySerializer()],\n        ['gracePeriod', u64()],\n      ],\n      { description: 'SetReceiveLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([223, 172, 180, 105, 165, 161, 147, 228]),\n    })\n  ) as Serializer<\n    SetReceiveLibraryInstructionDataArgs,\n    SetReceiveLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type SetReceiveLibraryInstructionArgs =\n  SetReceiveLibraryInstructionDataArgs;\n\n// Instruction.\nexport function setReceiveLibrary(\n  context: Pick<Context, 'programs'>,\n  input: SetReceiveLibraryInstructionAccounts & SetReceiveLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    receiveLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.receiveLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetReceiveLibraryInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetReceiveLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as SetReceiveLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetReceiveLibraryTimeoutInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  receiveLibraryConfig: PublicKey | Pda;\n  messageLibInfo: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetReceiveLibraryTimeoutInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  eid: number;\n  lib: PublicKey;\n  expiry: bigint;\n};\n\nexport type SetReceiveLibraryTimeoutInstructionDataArgs = {\n  receiver: PublicKey;\n  eid: number;\n  lib: PublicKey;\n  expiry: number | bigint;\n};\n\nexport function getSetReceiveLibraryTimeoutInstructionDataSerializer(): Serializer<\n  SetReceiveLibraryTimeoutInstructionDataArgs,\n  SetReceiveLibraryTimeoutInstructionData\n> {\n  return mapSerializer<\n    SetReceiveLibraryTimeoutInstructionDataArgs,\n    any,\n    SetReceiveLibraryTimeoutInstructionData\n  >(\n    struct<SetReceiveLibraryTimeoutInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['eid', u32()],\n        ['lib', publicKeySerializer()],\n        ['expiry', u64()],\n      ],\n      { description: 'SetReceiveLibraryTimeoutInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([33, 159, 29, 53, 218, 156, 41, 192]),\n    })\n  ) as Serializer<\n    SetReceiveLibraryTimeoutInstructionDataArgs,\n    SetReceiveLibraryTimeoutInstructionData\n  >;\n}\n\n// Args.\nexport type SetReceiveLibraryTimeoutInstructionArgs =\n  SetReceiveLibraryTimeoutInstructionDataArgs;\n\n// Instruction.\nexport function setReceiveLibraryTimeout(\n  context: Pick<Context, 'programs'>,\n  input: SetReceiveLibraryTimeoutInstructionAccounts &\n    SetReceiveLibraryTimeoutInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    receiveLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.receiveLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetReceiveLibraryTimeoutInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetReceiveLibraryTimeoutInstructionDataSerializer().serialize(\n    resolvedArgs as SetReceiveLibraryTimeoutInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetSendLibraryInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  sendLibraryConfig: PublicKey | Pda;\n  messageLibInfo?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetSendLibraryInstructionData = {\n  discriminator: Uint8Array;\n  sender: PublicKey;\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport type SetSendLibraryInstructionDataArgs = {\n  sender: PublicKey;\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport function getSetSendLibraryInstructionDataSerializer(): Serializer<\n  SetSendLibraryInstructionDataArgs,\n  SetSendLibraryInstructionData\n> {\n  return mapSerializer<\n    SetSendLibraryInstructionDataArgs,\n    any,\n    SetSendLibraryInstructionData\n  >(\n    struct<SetSendLibraryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['sender', publicKeySerializer()],\n        ['eid', u32()],\n        ['newLib', publicKeySerializer()],\n      ],\n      { description: 'SetSendLibraryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([251, 118, 78, 158, 134, 149, 129, 5]),\n    })\n  ) as Serializer<\n    SetSendLibraryInstructionDataArgs,\n    SetSendLibraryInstructionData\n  >;\n}\n\n// Args.\nexport type SetSendLibraryInstructionArgs = SetSendLibraryInstructionDataArgs;\n\n// Instruction.\nexport function setSendLibrary(\n  context: Pick<Context, 'programs'>,\n  input: SetSendLibraryInstructionAccounts & SetSendLibraryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.oappRegistry ?? null,\n    },\n    sendLibraryConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.sendLibraryConfig ?? null,\n    },\n    messageLibInfo: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.messageLibInfo ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetSendLibraryInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetSendLibraryInstructionDataSerializer().serialize(\n    resolvedArgs as SetSendLibraryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SkipInstructionAccounts = {\n  /** The PDA of the OApp or delegate */\n  signer: Signer;\n  oappRegistry: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n  pendingInboundNonce: PublicKey | Pda;\n  /**\n   * the payload hash needs to be initialized before it can be skipped and closed, in order to prevent someone\n   * from skipping a payload hash that has been initialized and can be re-verified and executed after skipping\n   */\n\n  payloadHash: PublicKey | Pda;\n  endpoint: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SkipInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n};\n\nexport type SkipInstructionDataArgs = {\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n};\n\nexport function getSkipInstructionDataSerializer(): Serializer<\n  SkipInstructionDataArgs,\n  SkipInstructionData\n> {\n  return mapSerializer<SkipInstructionDataArgs, any, SkipInstructionData>(\n    struct<SkipInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['nonce', u64()],\n      ],\n      { description: 'SkipInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([154, 63, 181, 53, 19, 26, 117, 45]),\n    })\n  ) as Serializer<SkipInstructionDataArgs, SkipInstructionData>;\n}\n\n// Args.\nexport type SkipInstructionArgs = SkipInstructionDataArgs;\n\n// Instruction.\nexport function skip(\n  context: Pick<Context, 'programs'>,\n  accounts: SkipInstructionAccounts,\n  args: SkipInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.signer ?? null,\n    },\n    oappRegistry: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.oappRegistry ?? null,\n    },\n    nonce: {\n      index: 2,\n      isWritable: true as boolean,\n      value: accounts.nonce ?? null,\n    },\n    pendingInboundNonce: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.pendingInboundNonce ?? null,\n    },\n    payloadHash: {\n      index: 4,\n      isWritable: true as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n    endpoint: {\n      index: 5,\n      isWritable: true as boolean,\n      value: accounts.endpoint ?? null,\n    },\n    eventAuthority: {\n      index: 6,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 7,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SkipInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSkipInstructionDataSerializer().serialize(\n    resolvedArgs as SkipInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type TransferAdminInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type TransferAdminInstructionData = {\n  discriminator: Uint8Array;\n  admin: PublicKey;\n};\n\nexport type TransferAdminInstructionDataArgs = { admin: PublicKey };\n\nexport function getTransferAdminInstructionDataSerializer(): Serializer<\n  TransferAdminInstructionDataArgs,\n  TransferAdminInstructionData\n> {\n  return mapSerializer<\n    TransferAdminInstructionDataArgs,\n    any,\n    TransferAdminInstructionData\n  >(\n    struct<TransferAdminInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['admin', publicKeySerializer()],\n      ],\n      { description: 'TransferAdminInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([42, 242, 66, 106, 228, 10, 111, 156]),\n    })\n  ) as Serializer<\n    TransferAdminInstructionDataArgs,\n    TransferAdminInstructionData\n  >;\n}\n\n// Args.\nexport type TransferAdminInstructionArgs = TransferAdminInstructionDataArgs;\n\n// Instruction.\nexport function transferAdmin(\n  context: Pick<Context, 'programs'>,\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: true as boolean,\n      value: accounts.endpoint ?? null,\n    },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: TransferAdminInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getTransferAdminInstructionDataSerializer().serialize(\n    resolvedArgs as TransferAdminInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type VerifyInstructionAccounts = {\n  /** The PDA of the receive library. */\n  receiveLibrary: Signer;\n  receiveLibraryConfig: PublicKey | Pda;\n  defaultReceiveLibraryConfig: PublicKey | Pda;\n  nonce: PublicKey | Pda;\n  pendingInboundNonce: PublicKey | Pda;\n  payloadHash: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type VerifyInstructionData = {\n  discriminator: Uint8Array;\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: bigint;\n  payloadHash: Uint8Array;\n};\n\nexport type VerifyInstructionDataArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: number | bigint;\n  payloadHash: Uint8Array;\n};\n\nexport function getVerifyInstructionDataSerializer(): Serializer<\n  VerifyInstructionDataArgs,\n  VerifyInstructionData\n> {\n  return mapSerializer<VerifyInstructionDataArgs, any, VerifyInstructionData>(\n    struct<VerifyInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['receiver', publicKeySerializer()],\n        ['nonce', u64()],\n        ['payloadHash', bytes({ size: 32 })],\n      ],\n      { description: 'VerifyInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([133, 161, 141, 48, 120, 198, 88, 150]),\n    })\n  ) as Serializer<VerifyInstructionDataArgs, VerifyInstructionData>;\n}\n\n// Args.\nexport type VerifyInstructionArgs = VerifyInstructionDataArgs;\n\n// Instruction.\nexport function verify(\n  context: Pick<Context, 'programs'>,\n  accounts: VerifyInstructionAccounts,\n  args: VerifyInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    receiveLibrary: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.receiveLibrary ?? null,\n    },\n    receiveLibraryConfig: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.receiveLibraryConfig ?? null,\n    },\n    defaultReceiveLibraryConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.defaultReceiveLibraryConfig ?? null,\n    },\n    nonce: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.nonce ?? null,\n    },\n    pendingInboundNonce: {\n      index: 4,\n      isWritable: true as boolean,\n      value: accounts.pendingInboundNonce ?? null,\n    },\n    payloadHash: {\n      index: 5,\n      isWritable: true as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n    eventAuthority: {\n      index: 6,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 7,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: VerifyInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getVerifyInstructionDataSerializer().serialize(\n    resolvedArgs as VerifyInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type WithdrawRentInstructionAccounts = {\n  admin: Signer;\n  endpoint: PublicKey | Pda;\n  receiver: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type WithdrawRentInstructionData = {\n  discriminator: Uint8Array;\n  amount: bigint;\n};\n\nexport type WithdrawRentInstructionDataArgs = { amount: number | bigint };\n\nexport function getWithdrawRentInstructionDataSerializer(): Serializer<\n  WithdrawRentInstructionDataArgs,\n  WithdrawRentInstructionData\n> {\n  return mapSerializer<\n    WithdrawRentInstructionDataArgs,\n    any,\n    WithdrawRentInstructionData\n  >(\n    struct<WithdrawRentInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['amount', u64()],\n      ],\n      { description: 'WithdrawRentInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([226, 7, 41, 158, 173, 111, 192, 107]),\n    })\n  ) as Serializer<WithdrawRentInstructionDataArgs, WithdrawRentInstructionData>;\n}\n\n// Args.\nexport type WithdrawRentInstructionArgs = WithdrawRentInstructionDataArgs;\n\n// Instruction.\nexport function withdrawRent(\n  context: Pick<Context, 'programs'>,\n  input: WithdrawRentInstructionAccounts & WithdrawRentInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'endpoint',\n    '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    endpoint: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.endpoint ?? null,\n    },\n    receiver: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.receiver ?? null,\n    },\n    eventAuthority: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: WithdrawRentInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getWithdrawRentInstructionDataSerializer().serialize(\n    resolvedArgs as WithdrawRentInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  ClusterFilter,\n  Context,\n  Program,\n  PublicKey,\n} from '@metaplex-foundation/umi';\nimport { getEndpointErrorFromCode, getEndpointErrorFromName } from '../errors';\n\nexport const ENDPOINT_PROGRAM_ID =\n  '76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6' as PublicKey<'76y77prsiCMvXMjuoZ5VRrhG5qYBrUMYTE5WgHqgjEn6'>;\n\nexport function createEndpointProgram(): Program {\n  return {\n    name: 'endpoint',\n    publicKey: ENDPOINT_PROGRAM_ID,\n    getErrorFromCode(code: number, cause?: Error) {\n      return getEndpointErrorFromCode(code, this, cause);\n    },\n    getErrorFromName(name: string, cause?: Error) {\n      return getEndpointErrorFromName(name, this, cause);\n    },\n    isOnCluster() {\n      return true;\n    },\n  };\n}\n\nexport function getEndpointProgram<T extends Program = Program>(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): T {\n  return context.programs.get<T>('endpoint', clusterFilter);\n}\n\nexport function getEndpointProgramId(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): PublicKey {\n  return context.programs.getPublicKey(\n    'endpoint',\n    ENDPOINT_PROGRAM_ID,\n    clusterFilter\n  );\n}\n","export * from './adminTransferredEvent';\nexport * from './composeDeliveredEvent';\nexport * from './composeSentEvent';\nexport * from './defaultReceiveLibrarySetEvent';\nexport * from './defaultReceiveLibraryTimeoutSetEvent';\nexport * from './defaultSendLibrarySetEvent';\nexport * from './delegateSetEvent';\nexport * from './inboundNonceSkippedEvent';\nexport * from './libraryRegisteredEvent';\nexport * from './lzComposeAlertEvent';\nexport * from './lzReceiveAlertEvent';\nexport * from './lzTokenSetEvent';\nexport * from './oAppRegisteredEvent';\nexport * from './packetBurntEvent';\nexport * from './packetDeliveredEvent';\nexport * from './packetNilifiedEvent';\nexport * from './packetSentEvent';\nexport * from './packetVerifiedEvent';\nexport * from './receiveLibrarySetEvent';\nexport * from './receiveLibraryTimeoutSetEvent';\nexport * from './rentWithdrawnEvent';\nexport * from './sendLibrarySetEvent';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type AdminTransferredEvent = { newAdmin: PublicKey };\n\nexport type AdminTransferredEventArgs = AdminTransferredEvent;\n\nexport function getAdminTransferredEventSerializer(): Serializer<\n  AdminTransferredEventArgs,\n  AdminTransferredEvent\n> {\n  return struct<AdminTransferredEvent>([['newAdmin', publicKeySerializer()]], {\n    description: 'AdminTransferredEvent',\n  }) as Serializer<AdminTransferredEventArgs, AdminTransferredEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ComposeDeliveredEvent = {\n  from: PublicKey;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n};\n\nexport type ComposeDeliveredEventArgs = ComposeDeliveredEvent;\n\nexport function getComposeDeliveredEventSerializer(): Serializer<\n  ComposeDeliveredEventArgs,\n  ComposeDeliveredEvent\n> {\n  return struct<ComposeDeliveredEvent>(\n    [\n      ['from', publicKeySerializer()],\n      ['to', publicKeySerializer()],\n      ['guid', bytes({ size: 32 })],\n      ['index', u16()],\n    ],\n    { description: 'ComposeDeliveredEvent' }\n  ) as Serializer<ComposeDeliveredEventArgs, ComposeDeliveredEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ComposeSentEvent = {\n  from: PublicKey;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  message: Uint8Array;\n};\n\nexport type ComposeSentEventArgs = ComposeSentEvent;\n\nexport function getComposeSentEventSerializer(): Serializer<\n  ComposeSentEventArgs,\n  ComposeSentEvent\n> {\n  return struct<ComposeSentEvent>(\n    [\n      ['from', publicKeySerializer()],\n      ['to', publicKeySerializer()],\n      ['guid', bytes({ size: 32 })],\n      ['index', u16()],\n      ['message', bytes({ size: u32() })],\n    ],\n    { description: 'ComposeSentEvent' }\n  ) as Serializer<ComposeSentEventArgs, ComposeSentEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type DefaultReceiveLibrarySetEvent = { eid: number; newLib: PublicKey };\n\nexport type DefaultReceiveLibrarySetEventArgs = DefaultReceiveLibrarySetEvent;\n\nexport function getDefaultReceiveLibrarySetEventSerializer(): Serializer<\n  DefaultReceiveLibrarySetEventArgs,\n  DefaultReceiveLibrarySetEvent\n> {\n  return struct<DefaultReceiveLibrarySetEvent>(\n    [\n      ['eid', u32()],\n      ['newLib', publicKeySerializer()],\n    ],\n    { description: 'DefaultReceiveLibrarySetEvent' }\n  ) as Serializer<\n    DefaultReceiveLibrarySetEventArgs,\n    DefaultReceiveLibrarySetEvent\n  >;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ReceiveLibraryTimeout,\n  ReceiveLibraryTimeoutArgs,\n  getReceiveLibraryTimeoutSerializer,\n} from '../types';\n\nexport type DefaultReceiveLibraryTimeoutSetEvent = {\n  eid: number;\n  timeout: Option<ReceiveLibraryTimeout>;\n};\n\nexport type DefaultReceiveLibraryTimeoutSetEventArgs = {\n  eid: number;\n  timeout: OptionOrNullable<ReceiveLibraryTimeoutArgs>;\n};\n\nexport function getDefaultReceiveLibraryTimeoutSetEventSerializer(): Serializer<\n  DefaultReceiveLibraryTimeoutSetEventArgs,\n  DefaultReceiveLibraryTimeoutSetEvent\n> {\n  return struct<DefaultReceiveLibraryTimeoutSetEvent>(\n    [\n      ['eid', u32()],\n      ['timeout', option(getReceiveLibraryTimeoutSerializer())],\n    ],\n    { description: 'DefaultReceiveLibraryTimeoutSetEvent' }\n  ) as Serializer<\n    DefaultReceiveLibraryTimeoutSetEventArgs,\n    DefaultReceiveLibraryTimeoutSetEvent\n  >;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type DefaultSendLibrarySetEvent = { eid: number; newLib: PublicKey };\n\nexport type DefaultSendLibrarySetEventArgs = DefaultSendLibrarySetEvent;\n\nexport function getDefaultSendLibrarySetEventSerializer(): Serializer<\n  DefaultSendLibrarySetEventArgs,\n  DefaultSendLibrarySetEvent\n> {\n  return struct<DefaultSendLibrarySetEvent>(\n    [\n      ['eid', u32()],\n      ['newLib', publicKeySerializer()],\n    ],\n    { description: 'DefaultSendLibrarySetEvent' }\n  ) as Serializer<DefaultSendLibrarySetEventArgs, DefaultSendLibrarySetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type DelegateSetEvent = { newDelegate: PublicKey };\n\nexport type DelegateSetEventArgs = DelegateSetEvent;\n\nexport function getDelegateSetEventSerializer(): Serializer<\n  DelegateSetEventArgs,\n  DelegateSetEvent\n> {\n  return struct<DelegateSetEvent>([['newDelegate', publicKeySerializer()]], {\n    description: 'DelegateSetEvent',\n  }) as Serializer<DelegateSetEventArgs, DelegateSetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type InboundNonceSkippedEvent = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: bigint;\n};\n\nexport type InboundNonceSkippedEventArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: number | bigint;\n};\n\nexport function getInboundNonceSkippedEventSerializer(): Serializer<\n  InboundNonceSkippedEventArgs,\n  InboundNonceSkippedEvent\n> {\n  return struct<InboundNonceSkippedEvent>(\n    [\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['receiver', publicKeySerializer()],\n      ['nonce', u64()],\n    ],\n    { description: 'InboundNonceSkippedEvent' }\n  ) as Serializer<InboundNonceSkippedEventArgs, InboundNonceSkippedEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LibraryRegisteredEvent = {\n  newLib: PublicKey;\n  newLibProgram: PublicKey;\n};\n\nexport type LibraryRegisteredEventArgs = LibraryRegisteredEvent;\n\nexport function getLibraryRegisteredEventSerializer(): Serializer<\n  LibraryRegisteredEventArgs,\n  LibraryRegisteredEvent\n> {\n  return struct<LibraryRegisteredEvent>(\n    [\n      ['newLib', publicKeySerializer()],\n      ['newLibProgram', publicKeySerializer()],\n    ],\n    { description: 'LibraryRegisteredEvent' }\n  ) as Serializer<LibraryRegisteredEventArgs, LibraryRegisteredEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzComposeAlertEvent = {\n  executor: PublicKey;\n  from: PublicKey;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  computeUnits: bigint;\n  value: bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport type LzComposeAlertEventArgs = {\n  executor: PublicKey;\n  from: PublicKey;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  computeUnits: number | bigint;\n  value: number | bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport function getLzComposeAlertEventSerializer(): Serializer<\n  LzComposeAlertEventArgs,\n  LzComposeAlertEvent\n> {\n  return struct<LzComposeAlertEvent>(\n    [\n      ['executor', publicKeySerializer()],\n      ['from', publicKeySerializer()],\n      ['to', publicKeySerializer()],\n      ['guid', bytes({ size: 32 })],\n      ['index', u16()],\n      ['computeUnits', u64()],\n      ['value', u64()],\n      ['message', bytes({ size: u32() })],\n      ['extraData', bytes({ size: u32() })],\n      ['reason', bytes({ size: u32() })],\n    ],\n    { description: 'LzComposeAlertEvent' }\n  ) as Serializer<LzComposeAlertEventArgs, LzComposeAlertEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzReceiveAlertEvent = {\n  receiver: PublicKey;\n  executor: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  guid: Uint8Array;\n  computeUnits: bigint;\n  value: bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport type LzReceiveAlertEventArgs = {\n  receiver: PublicKey;\n  executor: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  guid: Uint8Array;\n  computeUnits: number | bigint;\n  value: number | bigint;\n  message: Uint8Array;\n  extraData: Uint8Array;\n  reason: Uint8Array;\n};\n\nexport function getLzReceiveAlertEventSerializer(): Serializer<\n  LzReceiveAlertEventArgs,\n  LzReceiveAlertEvent\n> {\n  return struct<LzReceiveAlertEvent>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['executor', publicKeySerializer()],\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['nonce', u64()],\n      ['guid', bytes({ size: 32 })],\n      ['computeUnits', u64()],\n      ['value', u64()],\n      ['message', bytes({ size: u32() })],\n      ['extraData', bytes({ size: u32() })],\n      ['reason', bytes({ size: u32() })],\n    ],\n    { description: 'LzReceiveAlertEvent' }\n  ) as Serializer<LzReceiveAlertEventArgs, LzReceiveAlertEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable, PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzTokenSetEvent = { token: Option<PublicKey> };\n\nexport type LzTokenSetEventArgs = { token: OptionOrNullable<PublicKey> };\n\nexport function getLzTokenSetEventSerializer(): Serializer<\n  LzTokenSetEventArgs,\n  LzTokenSetEvent\n> {\n  return struct<LzTokenSetEvent>([['token', option(publicKeySerializer())]], {\n    description: 'LzTokenSetEvent',\n  }) as Serializer<LzTokenSetEventArgs, LzTokenSetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type OAppRegisteredEvent = { oapp: PublicKey; delegate: PublicKey };\n\nexport type OAppRegisteredEventArgs = OAppRegisteredEvent;\n\nexport function getOAppRegisteredEventSerializer(): Serializer<\n  OAppRegisteredEventArgs,\n  OAppRegisteredEvent\n> {\n  return struct<OAppRegisteredEvent>(\n    [\n      ['oapp', publicKeySerializer()],\n      ['delegate', publicKeySerializer()],\n    ],\n    { description: 'OAppRegisteredEvent' }\n  ) as Serializer<OAppRegisteredEventArgs, OAppRegisteredEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PacketBurntEvent = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: bigint;\n  payloadHash: Uint8Array;\n};\n\nexport type PacketBurntEventArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: number | bigint;\n  payloadHash: Uint8Array;\n};\n\nexport function getPacketBurntEventSerializer(): Serializer<\n  PacketBurntEventArgs,\n  PacketBurntEvent\n> {\n  return struct<PacketBurntEvent>(\n    [\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['receiver', publicKeySerializer()],\n      ['nonce', u64()],\n      ['payloadHash', bytes({ size: 32 })],\n    ],\n    { description: 'PacketBurntEvent' }\n  ) as Serializer<PacketBurntEventArgs, PacketBurntEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PacketDeliveredEvent = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: bigint;\n};\n\nexport type PacketDeliveredEventArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: number | bigint;\n};\n\nexport function getPacketDeliveredEventSerializer(): Serializer<\n  PacketDeliveredEventArgs,\n  PacketDeliveredEvent\n> {\n  return struct<PacketDeliveredEvent>(\n    [\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['receiver', publicKeySerializer()],\n      ['nonce', u64()],\n    ],\n    { description: 'PacketDeliveredEvent' }\n  ) as Serializer<PacketDeliveredEventArgs, PacketDeliveredEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PacketNilifiedEvent = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: bigint;\n  payloadHash: Uint8Array;\n};\n\nexport type PacketNilifiedEventArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: number | bigint;\n  payloadHash: Uint8Array;\n};\n\nexport function getPacketNilifiedEventSerializer(): Serializer<\n  PacketNilifiedEventArgs,\n  PacketNilifiedEvent\n> {\n  return struct<PacketNilifiedEvent>(\n    [\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['receiver', publicKeySerializer()],\n      ['nonce', u64()],\n      ['payloadHash', bytes({ size: 32 })],\n    ],\n    { description: 'PacketNilifiedEvent' }\n  ) as Serializer<PacketNilifiedEventArgs, PacketNilifiedEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PacketSentEvent = {\n  encodedPacket: Uint8Array;\n  options: Uint8Array;\n  sendLibrary: PublicKey;\n};\n\nexport type PacketSentEventArgs = PacketSentEvent;\n\nexport function getPacketSentEventSerializer(): Serializer<\n  PacketSentEventArgs,\n  PacketSentEvent\n> {\n  return struct<PacketSentEvent>(\n    [\n      ['encodedPacket', bytes({ size: u32() })],\n      ['options', bytes({ size: u32() })],\n      ['sendLibrary', publicKeySerializer()],\n    ],\n    { description: 'PacketSentEvent' }\n  ) as Serializer<PacketSentEventArgs, PacketSentEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PacketVerifiedEvent = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: bigint;\n  payloadHash: Uint8Array;\n};\n\nexport type PacketVerifiedEventArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  receiver: PublicKey;\n  nonce: number | bigint;\n  payloadHash: Uint8Array;\n};\n\nexport function getPacketVerifiedEventSerializer(): Serializer<\n  PacketVerifiedEventArgs,\n  PacketVerifiedEvent\n> {\n  return struct<PacketVerifiedEvent>(\n    [\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['receiver', publicKeySerializer()],\n      ['nonce', u64()],\n      ['payloadHash', bytes({ size: 32 })],\n    ],\n    { description: 'PacketVerifiedEvent' }\n  ) as Serializer<PacketVerifiedEventArgs, PacketVerifiedEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ReceiveLibrarySetEvent = {\n  receiver: PublicKey;\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport type ReceiveLibrarySetEventArgs = ReceiveLibrarySetEvent;\n\nexport function getReceiveLibrarySetEventSerializer(): Serializer<\n  ReceiveLibrarySetEventArgs,\n  ReceiveLibrarySetEvent\n> {\n  return struct<ReceiveLibrarySetEvent>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['eid', u32()],\n      ['newLib', publicKeySerializer()],\n    ],\n    { description: 'ReceiveLibrarySetEvent' }\n  ) as Serializer<ReceiveLibrarySetEventArgs, ReceiveLibrarySetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable, PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ReceiveLibraryTimeout,\n  ReceiveLibraryTimeoutArgs,\n  getReceiveLibraryTimeoutSerializer,\n} from '../types';\n\nexport type ReceiveLibraryTimeoutSetEvent = {\n  receiver: PublicKey;\n  eid: number;\n  timeout: Option<ReceiveLibraryTimeout>;\n};\n\nexport type ReceiveLibraryTimeoutSetEventArgs = {\n  receiver: PublicKey;\n  eid: number;\n  timeout: OptionOrNullable<ReceiveLibraryTimeoutArgs>;\n};\n\nexport function getReceiveLibraryTimeoutSetEventSerializer(): Serializer<\n  ReceiveLibraryTimeoutSetEventArgs,\n  ReceiveLibraryTimeoutSetEvent\n> {\n  return struct<ReceiveLibraryTimeoutSetEvent>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['eid', u32()],\n      ['timeout', option(getReceiveLibraryTimeoutSerializer())],\n    ],\n    { description: 'ReceiveLibraryTimeoutSetEvent' }\n  ) as Serializer<\n    ReceiveLibraryTimeoutSetEventArgs,\n    ReceiveLibraryTimeoutSetEvent\n  >;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type RentWithdrawnEvent = { receiver: PublicKey; amount: bigint };\n\nexport type RentWithdrawnEventArgs = {\n  receiver: PublicKey;\n  amount: number | bigint;\n};\n\nexport function getRentWithdrawnEventSerializer(): Serializer<\n  RentWithdrawnEventArgs,\n  RentWithdrawnEvent\n> {\n  return struct<RentWithdrawnEvent>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['amount', u64()],\n    ],\n    { description: 'RentWithdrawnEvent' }\n  ) as Serializer<RentWithdrawnEventArgs, RentWithdrawnEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type SendLibrarySetEvent = {\n  sender: PublicKey;\n  eid: number;\n  newLib: PublicKey;\n};\n\nexport type SendLibrarySetEventArgs = SendLibrarySetEvent;\n\nexport function getSendLibrarySetEventSerializer(): Serializer<\n  SendLibrarySetEventArgs,\n  SendLibrarySetEvent\n> {\n  return struct<SendLibrarySetEvent>(\n    [\n      ['sender', publicKeySerializer()],\n      ['eid', u32()],\n      ['newLib', publicKeySerializer()],\n    ],\n    { description: 'SendLibrarySetEvent' }\n  ) as Serializer<SendLibrarySetEventArgs, SendLibrarySetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './messageLib';\nexport * from './receiveConfigStore';\nexport * from './sendConfigStore';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type MessageLib = Account<MessageLibAccountData>;\n\nexport type MessageLibAccountData = {\n  discriminator: Uint8Array;\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  bump: number;\n  admin: PublicKey;\n  fee: bigint;\n  lzTokenFee: bigint;\n  wlCaller: PublicKey;\n};\n\nexport type MessageLibAccountDataArgs = {\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  bump: number;\n  admin: PublicKey;\n  fee: number | bigint;\n  lzTokenFee: number | bigint;\n  wlCaller: PublicKey;\n};\n\nexport function getMessageLibAccountDataSerializer(): Serializer<\n  MessageLibAccountDataArgs,\n  MessageLibAccountData\n> {\n  return mapSerializer<MessageLibAccountDataArgs, any, MessageLibAccountData>(\n    struct<MessageLibAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['endpoint', publicKeySerializer()],\n        ['endpointProgram', publicKeySerializer()],\n        ['bump', u8()],\n        ['admin', publicKeySerializer()],\n        ['fee', u64()],\n        ['lzTokenFee', u64()],\n        ['wlCaller', publicKeySerializer()],\n      ],\n      { description: 'MessageLibAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([141, 191, 244, 48, 52, 174, 199, 209]),\n    })\n  ) as Serializer<MessageLibAccountDataArgs, MessageLibAccountData>;\n}\n\nexport function deserializeMessageLib(rawAccount: RpcAccount): MessageLib {\n  return deserializeAccount(rawAccount, getMessageLibAccountDataSerializer());\n}\n\nexport async function fetchMessageLib(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<MessageLib> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'MessageLib');\n  return deserializeMessageLib(maybeAccount);\n}\n\nexport async function safeFetchMessageLib(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<MessageLib | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeMessageLib(maybeAccount) : null;\n}\n\nexport async function fetchAllMessageLib(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<MessageLib[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'MessageLib');\n    return deserializeMessageLib(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllMessageLib(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<MessageLib[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeMessageLib(maybeAccount as RpcAccount));\n}\n\nexport function getMessageLibGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      eid: number;\n      endpoint: PublicKey;\n      endpointProgram: PublicKey;\n      bump: number;\n      admin: PublicKey;\n      fee: number | bigint;\n      lzTokenFee: number | bigint;\n      wlCaller: PublicKey;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      eid: [8, u32()],\n      endpoint: [12, publicKeySerializer()],\n      endpointProgram: [44, publicKeySerializer()],\n      bump: [76, u8()],\n      admin: [77, publicKeySerializer()],\n      fee: [109, u64()],\n      lzTokenFee: [117, u64()],\n      wlCaller: [125, publicKeySerializer()],\n    })\n    .deserializeUsing<MessageLib>((account) => deserializeMessageLib(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([141, 191, 244, 48, 52, 174, 199, 209])\n    );\n}\n\nexport function getMessageLibSize(): number {\n  return 157;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ReceiveConfigStore = Account<ReceiveConfigStoreAccountData>;\n\nexport type ReceiveConfigStoreAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  data: Uint8Array;\n};\n\nexport type ReceiveConfigStoreAccountDataArgs = {\n  bump: number;\n  data: Uint8Array;\n};\n\nexport function getReceiveConfigStoreAccountDataSerializer(): Serializer<\n  ReceiveConfigStoreAccountDataArgs,\n  ReceiveConfigStoreAccountData\n> {\n  return mapSerializer<\n    ReceiveConfigStoreAccountDataArgs,\n    any,\n    ReceiveConfigStoreAccountData\n  >(\n    struct<ReceiveConfigStoreAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['data', bytes({ size: u32() })],\n      ],\n      { description: 'ReceiveConfigStoreAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([70, 73, 30, 1, 248, 48, 93, 125]),\n    })\n  ) as Serializer<\n    ReceiveConfigStoreAccountDataArgs,\n    ReceiveConfigStoreAccountData\n  >;\n}\n\nexport function deserializeReceiveConfigStore(\n  rawAccount: RpcAccount\n): ReceiveConfigStore {\n  return deserializeAccount(\n    rawAccount,\n    getReceiveConfigStoreAccountDataSerializer()\n  );\n}\n\nexport async function fetchReceiveConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveConfigStore> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ReceiveConfigStore');\n  return deserializeReceiveConfigStore(maybeAccount);\n}\n\nexport async function safeFetchReceiveConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveConfigStore | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists\n    ? deserializeReceiveConfigStore(maybeAccount)\n    : null;\n}\n\nexport async function fetchAllReceiveConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveConfigStore[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ReceiveConfigStore');\n    return deserializeReceiveConfigStore(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllReceiveConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveConfigStore[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeReceiveConfigStore(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getReceiveConfigStoreGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      data: Uint8Array;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      data: [9, bytes({ size: u32() })],\n    })\n    .deserializeUsing<ReceiveConfigStore>((account) =>\n      deserializeReceiveConfigStore(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([70, 73, 30, 1, 248, 48, 93, 125])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type SendConfigStore = Account<SendConfigStoreAccountData>;\n\nexport type SendConfigStoreAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  data: Uint8Array;\n};\n\nexport type SendConfigStoreAccountDataArgs = { bump: number; data: Uint8Array };\n\nexport function getSendConfigStoreAccountDataSerializer(): Serializer<\n  SendConfigStoreAccountDataArgs,\n  SendConfigStoreAccountData\n> {\n  return mapSerializer<\n    SendConfigStoreAccountDataArgs,\n    any,\n    SendConfigStoreAccountData\n  >(\n    struct<SendConfigStoreAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['data', bytes({ size: u32() })],\n      ],\n      { description: 'SendConfigStoreAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([246, 55, 104, 200, 90, 164, 50, 196]),\n    })\n  ) as Serializer<SendConfigStoreAccountDataArgs, SendConfigStoreAccountData>;\n}\n\nexport function deserializeSendConfigStore(\n  rawAccount: RpcAccount\n): SendConfigStore {\n  return deserializeAccount(\n    rawAccount,\n    getSendConfigStoreAccountDataSerializer()\n  );\n}\n\nexport async function fetchSendConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<SendConfigStore> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'SendConfigStore');\n  return deserializeSendConfigStore(maybeAccount);\n}\n\nexport async function safeFetchSendConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<SendConfigStore | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeSendConfigStore(maybeAccount) : null;\n}\n\nexport async function fetchAllSendConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<SendConfigStore[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'SendConfigStore');\n    return deserializeSendConfigStore(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllSendConfigStore(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<SendConfigStore[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeSendConfigStore(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getSendConfigStoreGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      data: Uint8Array;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      data: [9, bytes({ size: u32() })],\n    })\n    .deserializeUsing<SendConfigStore>((account) =>\n      deserializeSendConfigStore(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([246, 55, 104, 200, 90, 164, 50, 196])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './simpleMessagelib';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Program, ProgramError } from '@metaplex-foundation/umi';\n\ntype ProgramErrorConstructor = new (\n  program: Program,\n  cause?: Error\n) => ProgramError;\nconst codeToErrorMap: Map<number, ProgramErrorConstructor> = new Map();\nconst nameToErrorMap: Map<string, ProgramErrorConstructor> = new Map();\n\n/** OnlyWhitelistedCaller */\nexport class OnlyWhitelistedCallerError extends ProgramError {\n  override readonly name: string = 'OnlyWhitelistedCaller';\n\n  readonly code: number = 0x1770; // 6000\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1770, OnlyWhitelistedCallerError);\nnameToErrorMap.set('OnlyWhitelistedCaller', OnlyWhitelistedCallerError);\n\n/** InsufficientFee */\nexport class InsufficientFeeError extends ProgramError {\n  override readonly name: string = 'InsufficientFee';\n\n  readonly code: number = 0x1771; // 6001\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1771, InsufficientFeeError);\nnameToErrorMap.set('InsufficientFee', InsufficientFeeError);\n\n/** InvalidAmount */\nexport class InvalidAmountError extends ProgramError {\n  override readonly name: string = 'InvalidAmount';\n\n  readonly code: number = 0x1772; // 6002\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1772, InvalidAmountError);\nnameToErrorMap.set('InvalidAmount', InvalidAmountError);\n\n/** InvalidConfigType */\nexport class InvalidConfigTypeError extends ProgramError {\n  override readonly name: string = 'InvalidConfigType';\n\n  readonly code: number = 0x1773; // 6003\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1773, InvalidConfigTypeError);\nnameToErrorMap.set('InvalidConfigType', InvalidConfigTypeError);\n\n/** InvalidLzTokenMint */\nexport class InvalidLzTokenMintError extends ProgramError {\n  override readonly name: string = 'InvalidLzTokenMint';\n\n  readonly code: number = 0x1774; // 6004\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1774, InvalidLzTokenMintError);\nnameToErrorMap.set('InvalidLzTokenMint', InvalidLzTokenMintError);\n\n/** LzTokenUnavailable */\nexport class LzTokenUnavailableError extends ProgramError {\n  override readonly name: string = 'LzTokenUnavailable';\n\n  readonly code: number = 0x1775; // 6005\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1775, LzTokenUnavailableError);\nnameToErrorMap.set('LzTokenUnavailable', LzTokenUnavailableError);\n\n/** SendReentrancy */\nexport class SendReentrancyError extends ProgramError {\n  override readonly name: string = 'SendReentrancy';\n\n  readonly code: number = 0x1776; // 6006\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1776, SendReentrancyError);\nnameToErrorMap.set('SendReentrancy', SendReentrancyError);\n\n/** OnlyRevert */\nexport class OnlyRevertError extends ProgramError {\n  override readonly name: string = 'OnlyRevert';\n\n  readonly code: number = 0x1777; // 6007\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1777, OnlyRevertError);\nnameToErrorMap.set('OnlyRevert', OnlyRevertError);\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n */\nexport function getSimpleMessagelibErrorFromCode(\n  code: number,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = codeToErrorMap.get(code);\n  return constructor ? new constructor(program, cause) : null;\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n */\nexport function getSimpleMessagelibErrorFromName(\n  name: string,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = nameToErrorMap.get(name);\n  return constructor ? new constructor(program, cause) : null;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './initConfig';\nexport * from './initDefaultConfig';\nexport * from './initMessageLib';\nexport * from './quote';\nexport * from './revertCall';\nexport * from './send';\nexport * from './sendWithLzToken';\nexport * from './setConfig';\nexport * from './setDefaultConfig';\nexport * from './setFee';\nexport * from './setWlCaller';\nexport * from './transferAdmin';\nexport * from './validatePacket';\nexport * from './version';\nexport * from './withdrawFees';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  AccountMeta,\n  isSigner,\n  Pda,\n  publicKey,\n  PublicKey,\n  Signer,\n  isPda,\n} from '@metaplex-foundation/umi';\n\n/**\n * Transforms the given object such that the given keys are optional.\n * @internal\n */\nexport type PickPartial<T, K extends keyof T> = Omit<T, K> &\n  Partial<Pick<T, K>>;\n\n/**\n * Asserts that the given value is not null or undefined.\n * @internal\n */\nexport function expectSome<T>(value: T | null | undefined): T {\n  if (value == null) {\n    throw new Error('Expected a value but received null or undefined.');\n  }\n  return value;\n}\n\n/**\n * Asserts that the given value is a PublicKey.\n * @internal\n */\nexport function expectPublicKey(\n  value: PublicKey | Pda | Signer | null | undefined\n): PublicKey {\n  if (!value) {\n    throw new Error('Expected a PublicKey.');\n  }\n  return publicKey(value, false);\n}\n\n/**\n * Asserts that the given value is a PDA.\n * @internal\n */\nexport function expectPda(\n  value: PublicKey | Pda | Signer | null | undefined\n): Pda {\n  if (!value || !Array.isArray(value) || !isPda(value)) {\n    throw new Error('Expected a PDA.');\n  }\n  return value;\n}\n\n/**\n * Defines an instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccount<T = PublicKey | Pda | Signer | null> = {\n  isWritable: boolean;\n  value: T;\n};\n\n/**\n * Defines a set of instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccounts = Record<string, ResolvedAccount>;\n\n/**\n * Defines a set of instruction account to resolve with their indices.\n * @internal\n */\nexport type ResolvedAccountsWithIndices = Record<\n  string,\n  ResolvedAccount & { index: number }\n>;\n\n/**\n * Get account metas and signers from resolved accounts.\n * @internal\n */\nexport function getAccountMetasAndSigners(\n  accounts: ResolvedAccount[],\n  optionalAccountStrategy: 'omitted' | 'programId',\n  programId: PublicKey\n): [AccountMeta[], Signer[]] {\n  const keys: AccountMeta[] = [];\n  const signers: Signer[] = [];\n\n  accounts.forEach((account) => {\n    if (!account.value) {\n      if (optionalAccountStrategy === 'omitted') return;\n      keys.push({ pubkey: programId, isSigner: false, isWritable: false });\n      return;\n    }\n\n    if (isSigner(account.value)) {\n      signers.push(account.value);\n    }\n    keys.push({\n      pubkey: publicKey(account.value, false),\n      isSigner: isSigner(account.value),\n      isWritable: account.isWritable,\n    });\n  });\n\n  return [keys, signers];\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitConfigInstructionAccounts = {\n  endpoint: Signer;\n  payer?: Signer;\n  messageLib: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitConfigInstructionData = {\n  discriminator: Uint8Array;\n  oapp: PublicKey;\n  eid: number;\n};\n\nexport type InitConfigInstructionDataArgs = { oapp: PublicKey; eid: number };\n\nexport function getInitConfigInstructionDataSerializer(): Serializer<\n  InitConfigInstructionDataArgs,\n  InitConfigInstructionData\n> {\n  return mapSerializer<\n    InitConfigInstructionDataArgs,\n    any,\n    InitConfigInstructionData\n  >(\n    struct<InitConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['oapp', publicKeySerializer()],\n        ['eid', u32()],\n      ],\n      { description: 'InitConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([23, 235, 115, 232, 168, 96, 1, 231]),\n    })\n  ) as Serializer<InitConfigInstructionDataArgs, InitConfigInstructionData>;\n}\n\n// Args.\nexport type InitConfigInstructionArgs = InitConfigInstructionDataArgs;\n\n// Instruction.\nexport function initConfig(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitConfigInstructionAccounts & InitConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    payer: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    messageLib: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.messageLib ?? null,\n    },\n    sendConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: input.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 4,\n      isWritable: true as boolean,\n      value: input.receiveConfig ?? null,\n    },\n    systemProgram: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitConfigInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitConfigInstructionDataSerializer().serialize(\n    resolvedArgs as InitConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitDefaultConfigInstructionAccounts = {\n  admin: Signer;\n  messageLib: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitDefaultConfigInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  sendConfig: Option<Uint8Array>;\n  receiveConfig: Option<Uint8Array>;\n};\n\nexport type InitDefaultConfigInstructionDataArgs = {\n  eid: number;\n  sendConfig: OptionOrNullable<Uint8Array>;\n  receiveConfig: OptionOrNullable<Uint8Array>;\n};\n\nexport function getInitDefaultConfigInstructionDataSerializer(): Serializer<\n  InitDefaultConfigInstructionDataArgs,\n  InitDefaultConfigInstructionData\n> {\n  return mapSerializer<\n    InitDefaultConfigInstructionDataArgs,\n    any,\n    InitDefaultConfigInstructionData\n  >(\n    struct<InitDefaultConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['sendConfig', option(bytes({ size: u32() }))],\n        ['receiveConfig', option(bytes({ size: u32() }))],\n      ],\n      { description: 'InitDefaultConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([98, 218, 197, 194, 173, 179, 112, 21]),\n    })\n  ) as Serializer<\n    InitDefaultConfigInstructionDataArgs,\n    InitDefaultConfigInstructionData\n  >;\n}\n\n// Args.\nexport type InitDefaultConfigInstructionArgs =\n  InitDefaultConfigInstructionDataArgs;\n\n// Instruction.\nexport function initDefaultConfig(\n  context: Pick<Context, 'programs'>,\n  accounts: InitDefaultConfigInstructionAccounts,\n  args: InitDefaultConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: accounts.admin ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.messageLib ?? null,\n    },\n    sendConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: accounts.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.receiveConfig ?? null,\n    },\n    systemProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: accounts.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitDefaultConfigInstructionArgs = { ...args };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitDefaultConfigInstructionDataSerializer().serialize(\n    resolvedArgs as InitDefaultConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitMessageLibInstructionAccounts = {\n  payer?: Signer;\n  messageLib: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitMessageLibInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  admin: PublicKey;\n  fee: bigint;\n  lzTokenFee: bigint;\n};\n\nexport type InitMessageLibInstructionDataArgs = {\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  admin: PublicKey;\n  fee: number | bigint;\n  lzTokenFee: number | bigint;\n};\n\nexport function getInitMessageLibInstructionDataSerializer(): Serializer<\n  InitMessageLibInstructionDataArgs,\n  InitMessageLibInstructionData\n> {\n  return mapSerializer<\n    InitMessageLibInstructionDataArgs,\n    any,\n    InitMessageLibInstructionData\n  >(\n    struct<InitMessageLibInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['endpoint', publicKeySerializer()],\n        ['endpointProgram', publicKeySerializer()],\n        ['admin', publicKeySerializer()],\n        ['fee', u64()],\n        ['lzTokenFee', u64()],\n      ],\n      { description: 'InitMessageLibInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([184, 93, 59, 206, 98, 238, 225, 54]),\n    })\n  ) as Serializer<\n    InitMessageLibInstructionDataArgs,\n    InitMessageLibInstructionData\n  >;\n}\n\n// Args.\nexport type InitMessageLibInstructionArgs = InitMessageLibInstructionDataArgs;\n\n// Instruction.\nexport function initMessageLib(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitMessageLibInstructionAccounts & InitMessageLibInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.messageLib ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitMessageLibInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitMessageLibInstructionDataSerializer().serialize(\n    resolvedArgs as InitMessageLibInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './messagingFee';\nexport * from './packet';\nexport * from './version';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, struct, u64 } from '@metaplex-foundation/umi/serializers';\n\nexport type MessagingFee = { nativeFee: bigint; lzTokenFee: bigint };\n\nexport type MessagingFeeArgs = {\n  nativeFee: number | bigint;\n  lzTokenFee: number | bigint;\n};\n\nexport function getMessagingFeeSerializer(): Serializer<\n  MessagingFeeArgs,\n  MessagingFee\n> {\n  return struct<MessagingFee>(\n    [\n      ['nativeFee', u64()],\n      ['lzTokenFee', u64()],\n    ],\n    { description: 'MessagingFee' }\n  ) as Serializer<MessagingFeeArgs, MessagingFee>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Packet = {\n  nonce: bigint;\n  srcEid: number;\n  sender: PublicKey;\n  dstEid: number;\n  receiver: Uint8Array;\n  guid: Uint8Array;\n  message: Uint8Array;\n};\n\nexport type PacketArgs = {\n  nonce: number | bigint;\n  srcEid: number;\n  sender: PublicKey;\n  dstEid: number;\n  receiver: Uint8Array;\n  guid: Uint8Array;\n  message: Uint8Array;\n};\n\nexport function getPacketSerializer(): Serializer<PacketArgs, Packet> {\n  return struct<Packet>(\n    [\n      ['nonce', u64()],\n      ['srcEid', u32()],\n      ['sender', publicKeySerializer()],\n      ['dstEid', u32()],\n      ['receiver', bytes({ size: 32 })],\n      ['guid', bytes({ size: 32 })],\n      ['message', bytes({ size: u32() })],\n    ],\n    { description: 'Packet' }\n  ) as Serializer<PacketArgs, Packet>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Version = { major: bigint; minor: number; endpointVersion: number };\n\nexport type VersionArgs = {\n  major: number | bigint;\n  minor: number;\n  endpointVersion: number;\n};\n\nexport function getVersionSerializer(): Serializer<VersionArgs, Version> {\n  return struct<Version>(\n    [\n      ['major', u64()],\n      ['minor', u8()],\n      ['endpointVersion', u8()],\n    ],\n    { description: 'Version' }\n  ) as Serializer<VersionArgs, Version>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bool,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { Packet, PacketArgs, getPacketSerializer } from '../types';\n\n// Accounts.\nexport type QuoteInstructionAccounts = {\n  /** The message lib authority of the endpoint */\n  endpoint: Signer;\n  messageLib: PublicKey | Pda;\n};\n\n// Data.\nexport type QuoteInstructionData = {\n  discriminator: Uint8Array;\n  packet: Packet;\n  options: Uint8Array;\n  payInLzToken: boolean;\n};\n\nexport type QuoteInstructionDataArgs = {\n  packet: PacketArgs;\n  options: Uint8Array;\n  payInLzToken: boolean;\n};\n\nexport function getQuoteInstructionDataSerializer(): Serializer<\n  QuoteInstructionDataArgs,\n  QuoteInstructionData\n> {\n  return mapSerializer<QuoteInstructionDataArgs, any, QuoteInstructionData>(\n    struct<QuoteInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packet', getPacketSerializer()],\n        ['options', bytes({ size: u32() })],\n        ['payInLzToken', bool()],\n      ],\n      { description: 'QuoteInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([149, 42, 109, 247, 134, 146, 213, 123]),\n    })\n  ) as Serializer<QuoteInstructionDataArgs, QuoteInstructionData>;\n}\n\n// Args.\nexport type QuoteInstructionArgs = QuoteInstructionDataArgs;\n\n// Instruction.\nexport function quote(\n  context: Pick<Context, 'programs'>,\n  input: QuoteInstructionAccounts & QuoteInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.messageLib ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: QuoteInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getQuoteInstructionDataSerializer().serialize(\n    resolvedArgs as QuoteInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Data.\nexport type RevertCallInstructionData = { discriminator: Uint8Array };\n\nexport type RevertCallInstructionDataArgs = {};\n\nexport function getRevertCallInstructionDataSerializer(): Serializer<\n  RevertCallInstructionDataArgs,\n  RevertCallInstructionData\n> {\n  return mapSerializer<\n    RevertCallInstructionDataArgs,\n    any,\n    RevertCallInstructionData\n  >(\n    struct<RevertCallInstructionData>([['discriminator', bytes({ size: 8 })]], {\n      description: 'RevertCallInstructionData',\n    }),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([124, 243, 145, 116, 106, 203, 93, 114]),\n    })\n  ) as Serializer<RevertCallInstructionDataArgs, RevertCallInstructionData>;\n}\n\n// Instruction.\nexport function revertCall(\n  context: Pick<Context, 'programs'>\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {} satisfies ResolvedAccountsWithIndices;\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts as ResolvedAccountsWithIndices\n  );\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getRevertCallInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { Packet, PacketArgs, getPacketSerializer } from '../types';\n\n// Accounts.\nexport type SendInstructionAccounts = {\n  /** The message lib authority of the endpoint */\n  endpoint: Signer;\n  /** receive the native fee */\n  messageLib: PublicKey | Pda;\n  /** pay for the native fee */\n  payer?: Signer;\n  /** for native fee transfer */\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type SendInstructionData = {\n  discriminator: Uint8Array;\n  packet: Packet;\n  options: Uint8Array;\n  nativeFee: bigint;\n};\n\nexport type SendInstructionDataArgs = {\n  packet: PacketArgs;\n  options: Uint8Array;\n  nativeFee: number | bigint;\n};\n\nexport function getSendInstructionDataSerializer(): Serializer<\n  SendInstructionDataArgs,\n  SendInstructionData\n> {\n  return mapSerializer<SendInstructionDataArgs, any, SendInstructionData>(\n    struct<SendInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packet', getPacketSerializer()],\n        ['options', bytes({ size: u32() })],\n        ['nativeFee', u64()],\n      ],\n      { description: 'SendInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([102, 251, 20, 187, 65, 75, 12, 69]),\n    })\n  ) as Serializer<SendInstructionDataArgs, SendInstructionData>;\n}\n\n// Args.\nexport type SendInstructionArgs = SendInstructionDataArgs;\n\n// Instruction.\nexport function send(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: SendInstructionAccounts & SendInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.messageLib ?? null,\n    },\n    payer: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SendInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSendInstructionDataSerializer().serialize(\n    resolvedArgs as SendInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { Packet, PacketArgs, getPacketSerializer } from '../types';\n\n// Accounts.\nexport type SendWithLzTokenInstructionAccounts = {\n  /** The message lib authority of the endpoint */\n  endpoint: Signer;\n  /** receive the native fee */\n  messageLib: PublicKey | Pda;\n  messageLibLzToken: PublicKey | Pda;\n  /** pay for the native fee */\n  payer?: Signer;\n  /** The token account to pay the lz token fee */\n  lzTokenSource: PublicKey | Pda;\n  lzTokenMint: PublicKey | Pda;\n  tokenProgram?: PublicKey | Pda;\n  /** for native fee transfer */\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type SendWithLzTokenInstructionData = {\n  discriminator: Uint8Array;\n  packet: Packet;\n  options: Uint8Array;\n  nativeFee: bigint;\n  lzTokenFee: bigint;\n  lzTokenMint: PublicKey;\n};\n\nexport type SendWithLzTokenInstructionDataArgs = {\n  packet: PacketArgs;\n  options: Uint8Array;\n  nativeFee: number | bigint;\n  lzTokenFee: number | bigint;\n  lzTokenMint: PublicKey;\n};\n\nexport function getSendWithLzTokenInstructionDataSerializer(): Serializer<\n  SendWithLzTokenInstructionDataArgs,\n  SendWithLzTokenInstructionData\n> {\n  return mapSerializer<\n    SendWithLzTokenInstructionDataArgs,\n    any,\n    SendWithLzTokenInstructionData\n  >(\n    struct<SendWithLzTokenInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packet', getPacketSerializer()],\n        ['options', bytes({ size: u32() })],\n        ['nativeFee', u64()],\n        ['lzTokenFee', u64()],\n        ['lzTokenMint', publicKeySerializer()],\n      ],\n      { description: 'SendWithLzTokenInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([165, 161, 84, 48, 129, 26, 193, 19]),\n    })\n  ) as Serializer<\n    SendWithLzTokenInstructionDataArgs,\n    SendWithLzTokenInstructionData\n  >;\n}\n\n// Args.\nexport type SendWithLzTokenInstructionArgs = SendWithLzTokenInstructionDataArgs;\n\n// Instruction.\nexport function sendWithLzToken(\n  context: Pick<Context, 'payer' | 'programs'>,\n  accounts: SendWithLzTokenInstructionAccounts,\n  args: SendWithLzTokenInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.endpoint ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: true as boolean,\n      value: accounts.messageLib ?? null,\n    },\n    messageLibLzToken: {\n      index: 2,\n      isWritable: true as boolean,\n      value: accounts.messageLibLzToken ?? null,\n    },\n    payer: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.payer ?? null,\n    },\n    lzTokenSource: {\n      index: 4,\n      isWritable: true as boolean,\n      value: accounts.lzTokenSource ?? null,\n    },\n    lzTokenMint: {\n      index: 5,\n      isWritable: false as boolean,\n      value: accounts.lzTokenMint ?? null,\n    },\n    tokenProgram: {\n      index: 6,\n      isWritable: false as boolean,\n      value: accounts.tokenProgram ?? null,\n    },\n    systemProgram: {\n      index: 7,\n      isWritable: false as boolean,\n      value: accounts.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SendWithLzTokenInstructionArgs = { ...args };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.tokenProgram.value) {\n    resolvedAccounts.tokenProgram.value = context.programs.getPublicKey(\n      'splToken',\n      'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'\n    );\n    resolvedAccounts.tokenProgram.isWritable = false;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSendWithLzTokenInstructionDataSerializer().serialize(\n    resolvedArgs as SendWithLzTokenInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetConfigInstructionAccounts = {\n  endpoint: Signer;\n  messageLib: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n};\n\n// Data.\nexport type SetConfigInstructionData = {\n  discriminator: Uint8Array;\n  oapp: PublicKey;\n  eid: number;\n  configType: number;\n  config: Uint8Array;\n};\n\nexport type SetConfigInstructionDataArgs = {\n  oapp: PublicKey;\n  eid: number;\n  configType: number;\n  config: Uint8Array;\n};\n\nexport function getSetConfigInstructionDataSerializer(): Serializer<\n  SetConfigInstructionDataArgs,\n  SetConfigInstructionData\n> {\n  return mapSerializer<\n    SetConfigInstructionDataArgs,\n    any,\n    SetConfigInstructionData\n  >(\n    struct<SetConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['oapp', publicKeySerializer()],\n        ['eid', u32()],\n        ['configType', u32()],\n        ['config', bytes({ size: u32() })],\n      ],\n      { description: 'SetConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([108, 158, 154, 175, 212, 98, 52, 66]),\n    })\n  ) as Serializer<SetConfigInstructionDataArgs, SetConfigInstructionData>;\n}\n\n// Args.\nexport type SetConfigInstructionArgs = SetConfigInstructionDataArgs;\n\n// Instruction.\nexport function setConfig(\n  context: Pick<Context, 'programs'>,\n  input: SetConfigInstructionAccounts & SetConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.messageLib ?? null,\n    },\n    sendConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: input.receiveConfig ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetConfigInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetConfigInstructionDataSerializer().serialize(\n    resolvedArgs as SetConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetDefaultConfigInstructionAccounts = {\n  admin: Signer;\n  messageLib: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type SetDefaultConfigInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  sendConfig: Option<Uint8Array>;\n  receiveConfig: Option<Uint8Array>;\n};\n\nexport type SetDefaultConfigInstructionDataArgs = {\n  eid: number;\n  sendConfig: OptionOrNullable<Uint8Array>;\n  receiveConfig: OptionOrNullable<Uint8Array>;\n};\n\nexport function getSetDefaultConfigInstructionDataSerializer(): Serializer<\n  SetDefaultConfigInstructionDataArgs,\n  SetDefaultConfigInstructionData\n> {\n  return mapSerializer<\n    SetDefaultConfigInstructionDataArgs,\n    any,\n    SetDefaultConfigInstructionData\n  >(\n    struct<SetDefaultConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['sendConfig', option(bytes({ size: u32() }))],\n        ['receiveConfig', option(bytes({ size: u32() }))],\n      ],\n      { description: 'SetDefaultConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([111, 228, 17, 75, 5, 76, 213, 169]),\n    })\n  ) as Serializer<\n    SetDefaultConfigInstructionDataArgs,\n    SetDefaultConfigInstructionData\n  >;\n}\n\n// Args.\nexport type SetDefaultConfigInstructionArgs =\n  SetDefaultConfigInstructionDataArgs;\n\n// Instruction.\nexport function setDefaultConfig(\n  context: Pick<Context, 'programs'>,\n  accounts: SetDefaultConfigInstructionAccounts,\n  args: SetDefaultConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.admin ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.messageLib ?? null,\n    },\n    sendConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: accounts.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: accounts.receiveConfig ?? null,\n    },\n    systemProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: accounts.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetDefaultConfigInstructionArgs = { ...args };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetDefaultConfigInstructionDataSerializer().serialize(\n    resolvedArgs as SetDefaultConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetFeeInstructionAccounts = {\n  admin: Signer;\n  messageLib: PublicKey | Pda;\n};\n\n// Data.\nexport type SetFeeInstructionData = {\n  discriminator: Uint8Array;\n  fee: bigint;\n  lzTokenFee: bigint;\n};\n\nexport type SetFeeInstructionDataArgs = {\n  fee: number | bigint;\n  lzTokenFee: number | bigint;\n};\n\nexport function getSetFeeInstructionDataSerializer(): Serializer<\n  SetFeeInstructionDataArgs,\n  SetFeeInstructionData\n> {\n  return mapSerializer<SetFeeInstructionDataArgs, any, SetFeeInstructionData>(\n    struct<SetFeeInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['fee', u64()],\n        ['lzTokenFee', u64()],\n      ],\n      { description: 'SetFeeInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([18, 154, 24, 18, 237, 214, 19, 80]),\n    })\n  ) as Serializer<SetFeeInstructionDataArgs, SetFeeInstructionData>;\n}\n\n// Args.\nexport type SetFeeInstructionArgs = SetFeeInstructionDataArgs;\n\n// Instruction.\nexport function setFee(\n  context: Pick<Context, 'programs'>,\n  input: SetFeeInstructionAccounts & SetFeeInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.messageLib ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetFeeInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetFeeInstructionDataSerializer().serialize(\n    resolvedArgs as SetFeeInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetWlCallerInstructionAccounts = {\n  admin: Signer;\n  messageLib: PublicKey | Pda;\n};\n\n// Data.\nexport type SetWlCallerInstructionData = {\n  discriminator: Uint8Array;\n  newCaller: PublicKey;\n};\n\nexport type SetWlCallerInstructionDataArgs = { newCaller: PublicKey };\n\nexport function getSetWlCallerInstructionDataSerializer(): Serializer<\n  SetWlCallerInstructionDataArgs,\n  SetWlCallerInstructionData\n> {\n  return mapSerializer<\n    SetWlCallerInstructionDataArgs,\n    any,\n    SetWlCallerInstructionData\n  >(\n    struct<SetWlCallerInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['newCaller', publicKeySerializer()],\n      ],\n      { description: 'SetWlCallerInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([153, 41, 240, 37, 126, 107, 14, 253]),\n    })\n  ) as Serializer<SetWlCallerInstructionDataArgs, SetWlCallerInstructionData>;\n}\n\n// Args.\nexport type SetWlCallerInstructionArgs = SetWlCallerInstructionDataArgs;\n\n// Instruction.\nexport function setWlCaller(\n  context: Pick<Context, 'programs'>,\n  input: SetWlCallerInstructionAccounts & SetWlCallerInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.messageLib ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetWlCallerInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetWlCallerInstructionDataSerializer().serialize(\n    resolvedArgs as SetWlCallerInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type TransferAdminInstructionAccounts = {\n  admin: Signer;\n  messageLib: PublicKey | Pda;\n};\n\n// Data.\nexport type TransferAdminInstructionData = {\n  discriminator: Uint8Array;\n  admin: PublicKey;\n};\n\nexport type TransferAdminInstructionDataArgs = { admin: PublicKey };\n\nexport function getTransferAdminInstructionDataSerializer(): Serializer<\n  TransferAdminInstructionDataArgs,\n  TransferAdminInstructionData\n> {\n  return mapSerializer<\n    TransferAdminInstructionDataArgs,\n    any,\n    TransferAdminInstructionData\n  >(\n    struct<TransferAdminInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['admin', publicKeySerializer()],\n      ],\n      { description: 'TransferAdminInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([42, 242, 66, 106, 228, 10, 111, 156]),\n    })\n  ) as Serializer<\n    TransferAdminInstructionDataArgs,\n    TransferAdminInstructionData\n  >;\n}\n\n// Args.\nexport type TransferAdminInstructionArgs = TransferAdminInstructionDataArgs;\n\n// Instruction.\nexport function transferAdmin(\n  context: Pick<Context, 'programs'>,\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.admin ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: true as boolean,\n      value: accounts.messageLib ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: TransferAdminInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getTransferAdminInstructionDataSerializer().serialize(\n    resolvedArgs as TransferAdminInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type ValidatePacketInstructionAccounts = {\n  payer?: Signer;\n  receiveLibrary: PublicKey | Pda;\n};\n\n// Data.\nexport type ValidatePacketInstructionData = {\n  discriminator: Uint8Array;\n  packet: Uint8Array;\n};\n\nexport type ValidatePacketInstructionDataArgs = { packet: Uint8Array };\n\nexport function getValidatePacketInstructionDataSerializer(): Serializer<\n  ValidatePacketInstructionDataArgs,\n  ValidatePacketInstructionData\n> {\n  return mapSerializer<\n    ValidatePacketInstructionDataArgs,\n    any,\n    ValidatePacketInstructionData\n  >(\n    struct<ValidatePacketInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packet', bytes({ size: u32() })],\n      ],\n      { description: 'ValidatePacketInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([34, 146, 107, 76, 157, 98, 105, 211]),\n    })\n  ) as Serializer<\n    ValidatePacketInstructionDataArgs,\n    ValidatePacketInstructionData\n  >;\n}\n\n// Args.\nexport type ValidatePacketInstructionArgs = ValidatePacketInstructionDataArgs;\n\n// Instruction.\nexport function validatePacket(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: ValidatePacketInstructionAccounts & ValidatePacketInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.payer ?? null,\n    },\n    receiveLibrary: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.receiveLibrary ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: ValidatePacketInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getValidatePacketInstructionDataSerializer().serialize(\n    resolvedArgs as ValidatePacketInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Data.\nexport type VersionInstructionData = { discriminator: Uint8Array };\n\nexport type VersionInstructionDataArgs = {};\n\nexport function getVersionInstructionDataSerializer(): Serializer<\n  VersionInstructionDataArgs,\n  VersionInstructionData\n> {\n  return mapSerializer<VersionInstructionDataArgs, any, VersionInstructionData>(\n    struct<VersionInstructionData>([['discriminator', bytes({ size: 8 })]], {\n      description: 'VersionInstructionData',\n    }),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([118, 65, 195, 198, 129, 216, 252, 192]),\n    })\n  ) as Serializer<VersionInstructionDataArgs, VersionInstructionData>;\n}\n\n// Instruction.\nexport function version(\n  context: Pick<Context, 'programs'>\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {} satisfies ResolvedAccountsWithIndices;\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts as ResolvedAccountsWithIndices\n  );\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getVersionInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type WithdrawFeesInstructionAccounts = {\n  admin: Signer;\n  messageLib: PublicKey | Pda;\n  receiver: PublicKey | Pda;\n};\n\n// Data.\nexport type WithdrawFeesInstructionData = {\n  discriminator: Uint8Array;\n  amount: bigint;\n};\n\nexport type WithdrawFeesInstructionDataArgs = { amount: number | bigint };\n\nexport function getWithdrawFeesInstructionDataSerializer(): Serializer<\n  WithdrawFeesInstructionDataArgs,\n  WithdrawFeesInstructionData\n> {\n  return mapSerializer<\n    WithdrawFeesInstructionDataArgs,\n    any,\n    WithdrawFeesInstructionData\n  >(\n    struct<WithdrawFeesInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['amount', u64()],\n      ],\n      { description: 'WithdrawFeesInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([198, 212, 171, 109, 144, 215, 174, 89]),\n    })\n  ) as Serializer<WithdrawFeesInstructionDataArgs, WithdrawFeesInstructionData>;\n}\n\n// Args.\nexport type WithdrawFeesInstructionArgs = WithdrawFeesInstructionDataArgs;\n\n// Instruction.\nexport function withdrawFees(\n  context: Pick<Context, 'programs'>,\n  input: WithdrawFeesInstructionAccounts & WithdrawFeesInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'simpleMessagelib',\n    '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    messageLib: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.messageLib ?? null,\n    },\n    receiver: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.receiver ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: WithdrawFeesInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getWithdrawFeesInstructionDataSerializer().serialize(\n    resolvedArgs as WithdrawFeesInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  ClusterFilter,\n  Context,\n  Program,\n  PublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  getSimpleMessagelibErrorFromCode,\n  getSimpleMessagelibErrorFromName,\n} from '../errors';\n\nexport const SIMPLE_MESSAGELIB_PROGRAM_ID =\n  '6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy' as PublicKey<'6GsmxMTHAAiFKfemuM4zBjumTjNSX5CAiw4xSSXM2Toy'>;\n\nexport function createSimpleMessagelibProgram(): Program {\n  return {\n    name: 'simpleMessagelib',\n    publicKey: SIMPLE_MESSAGELIB_PROGRAM_ID,\n    getErrorFromCode(code: number, cause?: Error) {\n      return getSimpleMessagelibErrorFromCode(code, this, cause);\n    },\n    getErrorFromName(name: string, cause?: Error) {\n      return getSimpleMessagelibErrorFromName(name, this, cause);\n    },\n    isOnCluster() {\n      return true;\n    },\n  };\n}\n\nexport function getSimpleMessagelibProgram<T extends Program = Program>(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): T {\n  return context.programs.get<T>('simpleMessagelib', clusterFilter);\n}\n\nexport function getSimpleMessagelibProgramId(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): PublicKey {\n  return context.programs.getPublicKey(\n    'simpleMessagelib',\n    SIMPLE_MESSAGELIB_PROGRAM_ID,\n    clusterFilter\n  );\n}\n","import {\n    AccountMeta,\n    Cluster,\n    ClusterFilter,\n    Commitment,\n    Program,\n    ProgramError,\n    ProgramRepositoryInterface,\n    PublicKey,\n    RpcInterface,\n    Signer,\n    WrappedInstruction,\n    createNoopSigner,\n    createNullRpc,\n    defaultPublicKey,\n} from '@metaplex-foundation/umi'\nimport { createDefaultProgramRepository } from '@metaplex-foundation/umi-program-repository'\nimport { fromWeb3JsPublicKey, toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\nimport { ASSOCIATED_TOKEN_PROGRAM_ID, TOKEN_PROGRAM_ID, getAssociatedTokenAddress } from '@solana/spl-token'\n\nimport { PacketV1Codec } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EndpointProgram, MessageLibInterface, SolanaPacketPath } from '.'\nimport { ENDPOINT_PROGRAM_ID } from './endpoint'\nimport { SIMPLE_MESSAGELIB_PROGRAM_ID } from './generated/kinobi/simple_messagelib'\nimport * as accounts from './generated/kinobi/simple_messagelib/accounts'\nimport * as errors from './generated/kinobi/simple_messagelib/errors'\nimport * as instructions from './generated/kinobi/simple_messagelib/instructions'\nimport * as types from './generated/kinobi/simple_messagelib/types'\nimport { EndpointPDA, MessageLibPDA } from './pda'\n\nexport { SIMPLE_MESSAGELIB_PROGRAM_ID } from './generated/kinobi/simple_messagelib'\nexport { accounts, instructions, types, errors }\n\n/**\n * Class representing the SimpleMessageLib.\n * @see {@link MessageLibInterface}\n */\nexport class SimpleMessageLib implements MessageLibInterface {\n    public readonly pda: MessageLibPDA\n    public readonly programRepo: ProgramRepositoryInterface\n\n    constructor(\n        public programId: PublicKey = SIMPLE_MESSAGELIB_PROGRAM_ID,\n        rpc?: RpcInterface\n    ) {\n        this.pda = new MessageLibPDA(programId)\n        if (rpc === undefined) {\n            rpc = createNullRpc()\n            rpc.getCluster = (): Cluster => 'custom'\n        }\n        this.programRepo = createDefaultProgramRepository({ rpc }, [\n            {\n                name: 'simpleMessagelib',\n                publicKey: programId,\n                getErrorFromCode(code: number, cause?: Error): ProgramError | null {\n                    return errors.getSimpleMessagelibErrorFromCode(code, this, cause)\n                },\n                getErrorFromName(name: string, cause?: Error): ProgramError | null {\n                    return errors.getSimpleMessagelibErrorFromName(name, this, cause)\n                },\n                isOnCluster(): boolean {\n                    return true\n                },\n            } satisfies Program,\n        ])\n    }\n\n    getProgram(clusterFilter: ClusterFilter = 'custom'): Program {\n        return this.programRepo.get('simpleMessagelib', clusterFilter)\n    }\n\n    /**\n     * Initializes the SimpleMessageLib.\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {number} nativeFee - The native fee.\n     * @param {number} [lzTokenFee=0] - The LayerZero token fee.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    initSimpleMessageLib(\n        payer: Signer,\n        param: {\n            endpointProgram?: PublicKey\n            admin: PublicKey\n            eid: number\n            nativeFee: number\n            lzTokenFee: number\n        }\n    ): WrappedInstruction {\n        const [messageLib] = this.pda.messageLib()\n        const { endpointProgram, admin, eid, nativeFee, lzTokenFee } = param\n        const [endpointAuth] = new EndpointPDA(endpointProgram ?? ENDPOINT_PROGRAM_ID).messageLibraryInfo(messageLib)\n        return instructions.initMessageLib(\n            { payer, programs: this.programRepo },\n            {\n                payer,\n                messageLib: messageLib,\n\n                // param\n                endpointProgram: endpointProgram ?? ENDPOINT_PROGRAM_ID,\n                endpoint: endpointAuth,\n                eid,\n                admin,\n                fee: nativeFee,\n                lzTokenFee,\n            }\n        ).items[0]\n    }\n\n    /**\n     * Sets the whitelist caller.\n     *\n     * @param {Signer} admin - The admin public key.\n     * @param {PublicKey} newCaller - The new caller public key.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    setWhitelistCaller(admin: Signer, newCaller: PublicKey): WrappedInstruction {\n        const [messageLibPDA] = this.pda.messageLib()\n        return instructions.setWlCaller(\n            { programs: this.programRepo },\n            {\n                admin,\n                messageLib: messageLibPDA,\n                newCaller,\n            }\n        ).items[0]\n    }\n\n    /**\n     * Checks if a caller is whitelisted.\n     *\n     * @param {RpcInterface} rpc - The connection object.\n     * @param {PublicKey} caller - The caller public key.\n     *\n     * @returns {Promise<boolean>} A promise that resolves to true if the caller is whitelisted, false otherwise.\n     */\n    async isWhiteListed(rpc: RpcInterface, caller: PublicKey): Promise<boolean> {\n        try {\n            const exceptedCaller = await this.getWhiteListCaller(rpc)\n            return exceptedCaller === caller\n        } catch (e) {\n            return false\n        }\n    }\n\n    /**\n     * Gets the whitelisted caller.\n     *\n     * @param {RpcInterface} rpc - The connection object.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment or config.\n     *\n     * @returns {Promise<PublicKey>} A promise that resolves to the whitelisted caller public key.\n     */\n    async getWhiteListCaller(rpc: RpcInterface): Promise<PublicKey> {\n        const [messageLib] = this.pda.messageLib()\n        const messageLibInfo = await accounts.fetchMessageLib({ rpc }, messageLib, {})\n        return messageLibInfo.wlCaller\n    }\n\n    /**\n     * Validates a packet.\n     *\n     * @param {Signer} payer - The payer public key.\n     * @param {Uint8Array} encodedPacket - The encoded packet.\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     *\n     * @returns {TransactionInstruction} The transaction instruction.\n     */\n    validatePacket(payer: Signer, encodedPacket: Uint8Array, endpointProgram?: PublicKey): WrappedInstruction {\n        const packet = PacketV1Codec.fromBytes(encodedPacket)\n        const [receiveLibrary] = this.pda.messageLib()\n        const endpoint = new EndpointProgram.Endpoint(endpointProgram ?? ENDPOINT_PROGRAM_ID)\n\n        const txBuilder = instructions.validatePacket(\n            { programs: this.programRepo, payer: payer },\n            {\n                receiveLibrary,\n                packet: encodedPacket,\n            }\n        )\n        return txBuilder.addRemainingAccounts(endpoint.getVerifyIXAccountMetaForCPI(packet, receiveLibrary)).items[0]\n    }\n\n    /**\n     * Gets the account meta of the send instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {RpcInterface} _rpc - The connection object.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {SolanaPacketPath} _path - The packet path.\n     *\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account meta.\n     */\n    async getSendIXAccountMetaForCPI(\n        _rpc: RpcInterface,\n        payer: PublicKey,\n        _path: SolanaPacketPath\n    ): Promise<AccountMeta[]> {\n        const [msgLib] = this.pda.messageLib()\n        const txBuilder = instructions.send(\n            { payer: createNoopSigner(payer), programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()), // useless\n                messageLib: msgLib,\n                payer: createNoopSigner(payer),\n\n                //param\n                packet: {\n                    nonce: 0,\n                    srcEid: 0,\n                    sender: defaultPublicKey(),\n                    dstEid: 0,\n                    receiver: new Uint8Array(32),\n                    guid: new Uint8Array(32),\n                    message: new Uint8Array(0),\n                },\n                options: new Uint8Array([0, 0, 0, 0]),\n                nativeFee: 0,\n            }\n        )\n        const cpiAccounts = txBuilder.getInstructions()[0].keys.map((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n            return key\n        })\n        return Promise.resolve(cpiAccounts.slice(1))\n    }\n\n    /***\n     * Get the account meta of the send instruction for CPI(Cross-Program Invocation ) with lzToken\n     */\n    async getSendWithLzTokenIXAccountMetaForCPI(\n        _rpc: RpcInterface,\n        accounts: {\n            payer: PublicKey\n            tokenMint: PublicKey\n            tokenSource: PublicKey\n        },\n        _path: SolanaPacketPath,\n        programs: {\n            tokenProgram?: PublicKey\n            associatedTokenProgram?: PublicKey\n        } = {\n            tokenProgram: fromWeb3JsPublicKey(TOKEN_PROGRAM_ID),\n            associatedTokenProgram: fromWeb3JsPublicKey(ASSOCIATED_TOKEN_PROGRAM_ID),\n        },\n        _commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { payer, tokenMint, tokenSource } = accounts\n        const [msgLib] = this.pda.messageLib()\n        const {\n            tokenProgram = fromWeb3JsPublicKey(TOKEN_PROGRAM_ID),\n            associatedTokenProgram = fromWeb3JsPublicKey(ASSOCIATED_TOKEN_PROGRAM_ID),\n        } = programs\n        const messageLibLzToken = await getAssociatedTokenAddress(\n            toWeb3JsPublicKey(tokenMint),\n            toWeb3JsPublicKey(msgLib),\n            true,\n            toWeb3JsPublicKey(tokenProgram),\n            toWeb3JsPublicKey(associatedTokenProgram)\n        )\n        const txBuilder = instructions.sendWithLzToken(\n            { payer: createNoopSigner(payer), programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()),\n                messageLib: msgLib,\n                payer: createNoopSigner(payer),\n                messageLibLzToken: fromWeb3JsPublicKey(messageLibLzToken),\n                lzTokenSource: tokenSource,\n                lzTokenMint: tokenMint,\n            },\n            {\n                //param\n                packet: {\n                    nonce: 0,\n                    srcEid: 0,\n                    sender: defaultPublicKey(),\n                    dstEid: 0,\n                    receiver: new Uint8Array(32),\n                    guid: new Uint8Array(32),\n                    message: new Uint8Array(0),\n                },\n                options: new Uint8Array([0, 0, 0, 0]),\n                nativeFee: 0,\n                lzTokenFee: 0,\n                lzTokenMint: tokenMint,\n            }\n        )\n        const cpiAccounts = txBuilder.getInstructions()[0].keys.map((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n            return key\n        })\n        return Promise.resolve(cpiAccounts.slice(1))\n    }\n\n    /**\n     * Gets the account meta of the quote instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {Connection} _connection - The connection object.\n     * @param {PublicKey} _payer - The payer public key.\n     * @param {PacketPath} _path - The packet path.\n     * @param {Commitment} [commitment] - The commitment.\n     *\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account meta.\n     */\n    async getQuoteIXAccountMetaForCPI(\n        _rpc: RpcInterface,\n        _payer: PublicKey,\n        _path: SolanaPacketPath,\n        _commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const [msgLib] = this.pda.messageLib()\n        const txBuilder = instructions.quote(\n            { programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()), // useless\n                messageLib: msgLib,\n                //param\n                packet: {\n                    nonce: 0,\n                    srcEid: 0,\n                    sender: defaultPublicKey(),\n                    dstEid: 0,\n                    receiver: new Uint8Array(32),\n                    guid: new Uint8Array(32),\n                    message: new Uint8Array(0),\n                },\n                options: new Uint8Array([0, 0, 0, 0]),\n                payInLzToken: false,\n            }\n        )\n        return Promise.resolve(txBuilder.getInstructions()[0].keys.slice(1))\n    }\n\n    /**\n     * Gets the account meta of the init config instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oapp - The oapp ID public key.\n     * @param {number} eid - The endpoint ID.\n     *\n     * @returns {AccountMeta[]} An array of account meta.\n     */\n    getInitConfigIXAccountMetaForCPI(payer: PublicKey, oapp: PublicKey, eid: number): AccountMeta[] {\n        const [sendConfig] = this.pda.sendConfig(eid, oapp)\n        const [receiveConfig] = this.pda.receiveConfig(eid, oapp)\n        const [messageLib] = this.pda.messageLib()\n        const txBuilder = instructions.initConfig(\n            { payer: createNoopSigner(payer), programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()),\n                payer: createNoopSigner(payer),\n                messageLib,\n                sendConfig,\n                receiveConfig,\n                // param\n                oapp,\n                eid,\n            }\n        )\n        const cpiAccounts = txBuilder.getInstructions()[0].keys.map((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n            return key\n        })\n        return cpiAccounts.slice(1)\n    }\n\n    /**\n     * Gets the account meta of the set config instruction for CPI (Cross-Program Invocation).\n     *\n     * @param {PublicKey} oapp - The oapp ID public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {PublicKey} _endpointProgram - The endpoint program public key.\n     *\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account meta.\n     */\n    getSetConfigIXAccountMetaForCPI(\n        oapp: PublicKey,\n        eid: number,\n        _endpointProgram: PublicKey = ENDPOINT_PROGRAM_ID\n    ): AccountMeta[] {\n        const [sendConfig] = this.pda.sendConfig(eid, oapp)\n        const [receiveConfig] = this.pda.receiveConfig(eid, oapp)\n        const [msgLib] = this.pda.messageLib()\n        const txBuilder = instructions.setConfig(\n            { programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(ENDPOINT_PROGRAM_ID), // useless\n                sendConfig,\n                receiveConfig,\n                messageLib: msgLib,\n                // param\n                oapp: oapp,\n                eid: 0,\n                configType: 0,\n                config: new Uint8Array(0),\n            }\n        )\n        return txBuilder.getInstructions()[0].keys.slice(1)\n    }\n}\n","import {\n    AccountMeta,\n    Cluster,\n    ClusterFilter,\n    Commitment,\n    Option,\n    Program,\n    ProgramError,\n    ProgramRepositoryInterface,\n    PublicKey,\n    RpcInterface,\n    Signer,\n    WrappedInstruction,\n    createNoopSigner,\n    createNullRpc,\n    defaultPublicKey,\n    isSome,\n    publicKey,\n} from '@metaplex-foundation/umi'\nimport { createDefaultProgramRepository } from '@metaplex-foundation/umi-program-repository'\nimport { fromWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\nimport { TOKEN_PROGRAM_ID } from '@solana/spl-token'\nimport invariant from 'tiny-invariant'\n\nimport { arrayify } from '@layerzerolabs/lz-utilities'\nimport { PacketV1Codec } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EndpointProgram, MessageLibInterface, SetConfigType, SolanaPacketPath } from '.'\nimport { DVN, accounts as DvnAccounts } from './dvn'\nimport { ENDPOINT_PROGRAM_ID } from './endpoint'\nimport { Executor, accounts as ExecutorAccounts } from './executor'\nimport { ULN_PROGRAM_ID } from './generated/kinobi/uln'\nimport * as accounts from './generated/kinobi/uln/accounts'\nimport * as errors from './generated/kinobi/uln/errors'\nimport * as events from './generated/kinobi/uln/events'\nimport * as instructions from './generated/kinobi/uln/instructions'\nimport * as types from './generated/kinobi/uln/types'\nimport { EndpointPDA, EventPDA, UlnPDA } from './pda'\n\nexport { ULN_PROGRAM_ID } from './generated/kinobi/uln'\nexport { accounts, instructions, types, events, errors }\n\n/**\n * Interface representing the maximum message size.\n */\nexport interface MaxMessageSize {\n    /**\n     * The size of the message.\n     */\n    size: number\n\n    /**\n     * The kind of the message size.\n     */\n    __kind: 'MaxMessageSize'\n}\n\n/**\n * Interface representing the outbound confirmations.\n */\nexport interface OutboundConfirmations {\n    /**\n     * The number of confirmations.\n     */\n    confirmations: number\n\n    /**\n     * The kind of the outbound confirmations.\n     */\n    __kind: 'OutboundConfirmations'\n}\n\n/**\n * Interface representing the inbound confirmations.\n */\nexport interface InboundConfirmations {\n    /**\n     * The number of confirmations.\n     */\n    confirmations: number\n\n    /**\n     * The kind of the inbound confirmations.\n     */\n    __kind: 'InboundConfirmations'\n}\n\n/**\n * Interface representing the oracles.\n */\nexport interface Oracles {\n    /**\n     * Indicates if custom oracles are used.\n     */\n    useCustomOracles: boolean\n\n    /**\n     * The array of oracle public keys.\n     */\n    oracles: PublicKey[]\n\n    /**\n     * The kind of the oracles.\n     */\n    __kind: 'Oracles'\n}\n\n/**\n * Interface representing the optional oracles.\n */\nexport interface OptionalOracles {\n    /**\n     * Indicates if custom optional oracles are used.\n     */\n    useCustomOptionalOracles: boolean\n\n    /**\n     * The array of optional oracle public keys.\n     */\n    optionalOracles: PublicKey[]\n\n    /**\n     * The threshold for the optional oracles.\n     */\n    threshold: number\n\n    /**\n     * The kind of the optional oracles.\n     */\n    __kind: 'OptionalOracles'\n}\n\n/**\n * Class representing the ULN (Ultra Light Node).\n * @see {@link MessageLibInterface}\n */\nexport class Uln implements MessageLibInterface {\n    public readonly pda: UlnPDA\n    public readonly programRepo: ProgramRepositoryInterface\n    public readonly eventAuthority: PublicKey\n\n    /**\n     * Creates an instance of the Uln class.\n     *\n     * @param {PublicKey} programId - The program public key.\n     */\n    constructor(\n        public programId: PublicKey = ULN_PROGRAM_ID,\n        rpc?: RpcInterface\n    ) {\n        this.pda = new UlnPDA(programId)\n        if (rpc === undefined) {\n            rpc = createNullRpc()\n            rpc.getCluster = (): Cluster => 'custom'\n        }\n        this.programRepo = createDefaultProgramRepository({ rpc }, [\n            {\n                name: 'uln',\n                publicKey: programId,\n                getErrorFromCode(code: number, cause?: Error): ProgramError | null {\n                    return errors.getUlnErrorFromCode(code, this, cause)\n                },\n                getErrorFromName(name: string, cause?: Error): ProgramError | null {\n                    return errors.getUlnErrorFromName(name, this, cause)\n                },\n                isOnCluster(): boolean {\n                    return true\n                },\n            } satisfies Program,\n        ])\n\n        this.eventAuthority = new EventPDA(programId).eventAuthority()[0]\n    }\n\n    getProgram(clusterFilter: ClusterFilter = 'custom'): Program {\n        return this.programRepo.get('uln', clusterFilter)\n    }\n\n    initUln(payer: Signer, param: { admin: PublicKey; eid: number; endpointProgram?: PublicKey }): WrappedInstruction {\n        const { admin, eid, endpointProgram } = param\n        const [msgLib] = this.pda.messageLib()\n        const [endpointAuth] = new EndpointPDA(endpointProgram ?? ENDPOINT_PROGRAM_ID).messageLibraryInfo(msgLib)\n        return instructions.initUln(\n            { programs: this.programRepo, payer },\n            {\n                payer,\n                uln: this.pda.setting(),\n                // param\n                eid,\n                admin,\n                endpoint: endpointAuth,\n                endpointProgram: endpointProgram ?? ENDPOINT_PROGRAM_ID,\n            }\n        ).items[0]\n    }\n\n    /**\n     * Initializes or updates the default configuration.\n     * before calling this function, you should call initUln to initialize the uln\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} admin - The admin public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {types.UlnConfig} sendUlnConfig - The send ULN configuration.\n     * @param {types.UlnConfig} receiveUlnConfig - The receive ULN configuration.\n     * @param {types.ExecutorConfig} executorConfig - The executor configuration.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    async initOrUpdateDefaultConfig(\n        rpc: RpcInterface,\n        admin: Signer,\n        param: {\n            remote: number\n            sendUlnConfig: Option<types.UlnConfig>\n            receiveUlnConfig: Option<types.UlnConfig>\n            executorConfig: Option<types.ExecutorConfig>\n        }\n    ): Promise<WrappedInstruction> {\n        const { remote, sendUlnConfig, receiveUlnConfig, executorConfig } = param\n        const [setting] = this.pda.setting()\n        const [sendConfig] = this.pda.defaultSendConfig(remote)\n        const [receiveConfigPDA] = this.pda.defaultReceiveConfig(remote)\n        const sendConfigExists = await rpc.accountExists(sendConfig, { commitment: 'confirmed' })\n        if (sendConfigExists) {\n            // update default config\n            return instructions.setDefaultConfig(\n                { programs: this.programRepo },\n                {\n                    admin,\n                    uln: setting,\n                    sendConfig: sendConfig,\n                    receiveConfig: receiveConfigPDA,\n                    eventAuthority: this.eventAuthority,\n                    program: this.programId,\n                    // param\n                    eid: remote,\n                    sendUlnConfig,\n                    receiveUlnConfig,\n                    executorConfig,\n                }\n            ).items[0]\n        } else {\n            invariant(isSome(sendUlnConfig), 'sendUlnConfig is required')\n            invariant(isSome(receiveUlnConfig), 'receiveUlnConfig is required')\n            invariant(isSome(executorConfig), 'executorConfig is required')\n\n            // init default config\n            return instructions.initDefaultConfig(\n                { programs: this.programRepo },\n                {\n                    admin,\n                    uln: setting,\n                    sendConfig: sendConfig,\n                    receiveConfig: receiveConfigPDA,\n                    eventAuthority: this.eventAuthority,\n                    program: this.programId,\n                    // param\n                    eid: remote,\n                    sendUlnConfig: sendUlnConfig.value,\n                    receiveUlnConfig: receiveUlnConfig.value,\n                    executorConfig: executorConfig.value,\n                }\n            ).items[0]\n        }\n    }\n\n    // msg_lib -> msg_lib_program ->\n    /**\n     * Sets the treasury.\n     * before calling this function, you should call initUln to initialize the uln\n     *\n     * @param {PublicKey} admin - The admin public key.\n     * @param {object} treasury - The treasury object.\n     * @param {PublicKey} treasury.admin - The treasury admin public key.\n     * @param {PublicKey} treasury.nativeReceiver - The native receiver public key.\n     * @param {number} treasury.nativeFeeBps - The native fee basis points.\n     * @param {object} treasury.lzToken - The LZ token object.\n     * @param {PublicKey} treasury.lzToken.receiver - The LZ token receiver public key.\n     * @param {number} treasury.lzToken.fee - The LZ token fee.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    setTreasury(\n        admin: Signer,\n        treasury: {\n            admin: PublicKey\n            nativeReceiver: PublicKey\n            nativeFeeBps: number\n            lzToken: { receiver: PublicKey; fee: number } | null\n        } | null\n    ): WrappedInstruction {\n        return instructions.setTreasury(\n            { programs: this.programRepo },\n            {\n                signer: admin,\n                uln: this.pda.setting(),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                // param\n                treasury,\n            }\n        ).items[0]\n    }\n\n    transferAdmin(admin: Signer, newAdmin: PublicKey): WrappedInstruction {\n        return instructions.transferAdmin(\n            { programs: this.programRepo },\n            {\n                admin,\n                uln: this.pda.setting(),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n            },\n            { admin: newAdmin }\n        ).items[0]\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the quote instruction.\n     *\n     * @param {RpcInterface} rpc - The connection to the Solana cluster.\n     * @param {PublicKey} _payer - The payer public key.\n     * @param {SolanaPacketPath} path - The packet path.\n     * @param {Commitment} [commitment] - The commitment level.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getQuoteIXAccountMetaForCPI(\n        rpc: RpcInterface,\n        _payer: PublicKey,\n        path: SolanaPacketPath,\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { sender, dstEid } = path\n        // const sender = publicKey(arrayify(sender_))\n        const txBuilder = instructions.quote(\n            { programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()),\n                uln: this.pda.setting(),\n                sendConfig: this.pda.sendConfig(dstEid, sender),\n                defaultSendConfig: this.pda.defaultSendConfig(dstEid),\n\n                packet: {\n                    nonce: 0,\n                    srcEid: 0,\n                    sender: defaultPublicKey(),\n                    dstEid: 0,\n                    receiver: new Uint8Array(32),\n                    guid: new Uint8Array(32),\n                    message: new Uint8Array(4),\n                },\n                options: new Uint8Array(4),\n                payInLzToken: false,\n            }\n        )\n        return txBuilder\n            .addRemainingAccounts(await this.getSendIxRemainingAccounts(rpc, sender, dstEid, false, commitment))\n            .getInstructions()[0]\n            .keys.slice(1)\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the send instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {Commitment} [commitment='confirmed'] - The commitment level.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getSendIXAccountMetaForCPI(\n        rpc: RpcInterface,\n        payer: PublicKey,\n        path: SolanaPacketPath,\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { sender, dstEid } = path\n\n        const ulnState = await this.getSetting(rpc, commitment)\n        let treasury: PublicKey | undefined\n        if (ulnState !== null && isSome(ulnState.treasury)) {\n            treasury = ulnState.treasury.value.nativeReceiver\n        }\n\n        let txBuilder = instructions.send(\n            { payer: createNoopSigner(payer), programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()),\n                payer: createNoopSigner(payer),\n                uln: this.pda.setting(),\n                sendConfig: this.pda.sendConfig(dstEid, sender),\n                defaultSendConfig: this.pda.defaultSendConfig(dstEid),\n                treasury,\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n\n                // param\n                packet: {\n                    nonce: 0,\n                    srcEid: 0,\n                    sender: defaultPublicKey(),\n                    dstEid: 0,\n                    receiver: new Uint8Array(32),\n                    guid: new Uint8Array(32),\n                    message: new Uint8Array(4),\n                },\n                options: new Uint8Array(4),\n                nativeFee: 0,\n            }\n        )\n        txBuilder = txBuilder.addRemainingAccounts(\n            await this.getSendIxRemainingAccounts(rpc, sender, dstEid, true, commitment)\n        )\n        const accounts = txBuilder.getInstructions()[0].keys.map((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n            if (treasury !== undefined && key.pubkey === treasury) {\n                key.isWritable = true\n            }\n            return key\n        })\n        return accounts.slice(1)\n    }\n\n    /***\n     * Get the account meta of the send instruction for CPI(Cross-Program Invocation ) with lzToken\n     */\n    async getSendWithLzTokenIXAccountMetaForCPI(\n        rpc: RpcInterface,\n        accounts: {\n            payer: PublicKey\n            tokenMint: PublicKey\n            tokenSource: PublicKey\n        },\n        path: SolanaPacketPath,\n        programs: {\n            tokenProgram?: PublicKey\n            associatedTokenProgram?: PublicKey\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { payer, tokenMint, tokenSource } = accounts\n        const { sender, dstEid } = path\n\n        const ulnState = await this.getSetting(rpc, commitment)\n        invariant(ulnState !== null, 'ULN not initialized')\n        invariant(isSome(ulnState.treasury), 'treasury not set')\n        invariant(isSome(ulnState.treasury.value.lzToken), 'lzToken treasury not set')\n        const lzTokenTreasury = ulnState.treasury.value.lzToken.value.receiver\n\n        let txBuilder = instructions.sendWithLzToken(\n            { payer: createNoopSigner(payer), programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()),\n                payer: createNoopSigner(payer),\n                uln: this.pda.setting(),\n                sendConfig: this.pda.sendConfig(dstEid, sender),\n                defaultSendConfig: this.pda.defaultSendConfig(dstEid),\n                lzTokenTreasury,\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                lzTokenSource: tokenSource,\n                lzTokenMint: tokenMint,\n                tokenProgram: programs.tokenProgram ?? fromWeb3JsPublicKey(TOKEN_PROGRAM_ID),\n            },\n            {\n                packet: {\n                    nonce: 0,\n                    srcEid: 0,\n                    sender: defaultPublicKey(),\n                    dstEid: 0,\n                    receiver: new Uint8Array(32),\n                    guid: new Uint8Array(32),\n                    message: new Uint8Array(4),\n                },\n                options: new Uint8Array(4),\n                nativeFee: 0,\n                lzTokenFee: 0,\n                lzTokenMint: tokenMint,\n            }\n        )\n        txBuilder = txBuilder.addRemainingAccounts(\n            await this.getSendIxRemainingAccounts(rpc, sender, dstEid, true, commitment)\n        )\n        const keys = txBuilder.getInstructions()[0].keys.map((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n            if (key.pubkey === lzTokenTreasury) {\n                key.isWritable = true\n            }\n            return key\n        })\n        return keys.slice(1)\n    }\n\n    // 3 RPC requests\n    /**\n     * Gets the remaining accounts for the send instruction.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {boolean} payment - Indicates if payment is required.\n     * @param {Commitment | GetAccountInfoConfig} [commitment='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    async getSendIxRemainingAccounts(\n        rpc: RpcInterface,\n        sender: PublicKey,\n        dstEid: number,\n        payment: boolean,\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { executor, dvns } = await this.getWorkers(rpc, sender, dstEid)\n\n        const priceFeeds = new Array<PublicKey>()\n        ;[executor.config, ...dvns.map((dvn) => dvn.config)].forEach((config) => {\n            if (!priceFeeds.find((p) => p === config.priceFeed)) {\n                priceFeeds.push(config.priceFeed)\n            }\n        })\n        const priceFeedInfos = await rpc.getAccounts(priceFeeds, { commitment })\n        const priceFeedDict = priceFeedInfos.reduce((acc, info, i) => {\n            invariant(info.exists, `priceFeed:${priceFeeds[i]} not initialized`)\n            acc.set(priceFeeds[i], info.owner)\n            return acc\n        }, new Map<PublicKey, PublicKey>())\n        const executorAccounts = new Executor(executor.owner).getQuoteIXAccountMetaForCPI(\n            executor.config.priceFeed,\n            // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n            priceFeedDict.get(executor.config.priceFeed)!,\n            payment\n        )\n        const dvnAccounts = dvns.map((p, i) => {\n            return new DVN(p.owner).getQuoteIXAccountMetaForCPI(\n                p.config.priceFeed,\n                // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n                priceFeedDict.get(p.config.priceFeed)!,\n                payment\n            )\n        })\n        return executorAccounts.concat(dvnAccounts.flat())\n    }\n\n    /**\n     * Gets all workers (executor and DVN).\n     * 2 RPC requests\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitment='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<{ executor: { config: ExecutorAccounts.ExecutorConfig; owner: PublicKey }; dvns: { config: DvnAccounts.DvnConfig; owner: PublicKey }[] }>} A promise that resolves to an object containing the executor and DVN configurations.\n     */\n    async getWorkers(\n        rpc: RpcInterface,\n        sender: PublicKey,\n        eid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<{\n        executor: { config: ExecutorAccounts.ExecutorConfig; owner: PublicKey }\n        dvns: { config: DvnAccounts.DvnConfig; owner: PublicKey }[]\n    }> {\n        const [defaultSendConfig] = this.pda.defaultSendConfig(eid)\n        const [sendConfig] = this.pda.sendConfig(eid, sender)\n        const [defaultSendConfigBuf, sendConfigBuf] = await rpc.getAccounts([defaultSendConfig, sendConfig], {\n            commitment,\n        })\n        invariant(defaultSendConfigBuf.exists, 'defaultSendConfig not initialized')\n\n        const defaultSendConfigState = accounts.deserializeSendConfig(defaultSendConfigBuf)\n        const sendConfigState = sendConfigBuf.exists ? accounts.deserializeSendConfig(sendConfigBuf) : null\n\n        const finalConfigState = this.getUlnConfigState(defaultSendConfigState, sendConfigState)\n        const finalExecutorConfigState = this.getExecutorConfigState(defaultSendConfigState, sendConfigState)\n\n        const { requiredDvns, optionalDvns } = finalConfigState\n        const { executor } = finalExecutorConfigState\n        const dvns = requiredDvns.concat(optionalDvns)\n        const [executorBuf, ...dvnBuf] = await rpc.getAccounts([executor, ...dvns], {\n            commitment,\n        })\n        invariant(executorBuf.exists, `executor:${executor} not initialized`)\n\n        return {\n            executor: {\n                config: ExecutorAccounts.deserializeExecutorConfig(executorBuf),\n                owner: executorBuf.owner,\n            },\n            dvns: dvnBuf.map((dvn, i) => {\n                invariant(dvn.exists, `dvn:${dvns[i]} not initialized`)\n                return {\n                    config: DvnAccounts.deserializeDvnConfig(dvn),\n                    owner: dvn.owner,\n                }\n            }),\n        }\n    }\n\n    /**\n     * Initializes the verification process.\n     *\n     */\n    initVerify(payer: Signer, param: { dvn: PublicKey; packetBytes: Uint8Array }): WrappedInstruction {\n        const { dvn, packetBytes } = param\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        // const confirmationsInfo = await rpc.getAccount(confirmationsPDA, { commitment })\n        // if (confirmationsInfo.exists) {\n        //     // throw new Error('init verify already executed')\n        //     return null\n        // }\n        return instructions.initVerify(\n            { programs: this.programRepo, payer },\n            {\n                payer,\n                confirmations: this.pda.confirmations(headerHashBytes, payloadHashBytes, dvn),\n                // param\n                packetHeader: Array.from(Uint8Array.from(Buffer.from(packet.header().slice(2), 'hex'))),\n                payloadHash: payloadHashBytes,\n                dvn,\n            }\n        ).items[0]\n    }\n\n    verify(dvn: Signer, param: { packetBytes: Uint8Array; confirmations: number | bigint }): WrappedInstruction {\n        const { packetBytes, confirmations } = param\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        return instructions.verify(\n            { programs: this.programRepo },\n            {\n                dvn,\n                confirmations: this.pda.confirmations(headerHashBytes, payloadHashBytes, dvn.publicKey),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n            },\n            {\n                packetHeader: Array.from(Uint8Array.from(Buffer.from(packet.header().slice(2), 'hex'))),\n                payloadHash: payloadHashBytes,\n                confirmations: confirmations,\n            }\n        ).items[0]\n    }\n\n    closeVerify(dvn: Signer, param: { receiver: PublicKey; packetBytes: Uint8Array }): WrappedInstruction {\n        const { receiver, packetBytes } = param\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        return instructions.closeVerify(\n            { programs: this.programRepo },\n            {\n                dvn,\n                receiver,\n                confirmations: this.pda.confirmations(headerHashBytes, payloadHashBytes, dvn.publicKey),\n\n                // param\n                packetHeaderHash: headerHashBytes,\n                payloadHash: payloadHashBytes,\n            }\n        ).items[0]\n    }\n\n    /**\n     * Checks if the DVN is verified.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} dvn - The DVN public key.\n     * @param {Uint8Array} packetBytes - The packet bytes.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<boolean>} A promise that resolves to true if the DVN is verified, false otherwise.\n     */\n    async isDvnVerified(\n        rpc: RpcInterface,\n        endpointProgram: PublicKey,\n        dvn: PublicKey,\n        packetBytes: Uint8Array,\n        commitment: Commitment = 'confirmed'\n    ): Promise<boolean> {\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n        const payloadHash = packet.payloadHash()\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n        const [confirmationsPDA] = this.pda.confirmations(headerHashBytes, payloadHashBytes, dvn)\n        const endpoint = new EndpointProgram.Endpoint(endpointProgram)\n        const receiver = publicKey(arrayify(packet.receiver()))\n        const sender = arrayify(packet.sender())\n        const nonce = await endpoint.getNonce(rpc, receiver, packet.srcEid(), sender, commitment)\n        const pendingNonce = await endpoint.getPendingInboundNonce(rpc, receiver, packet.srcEid(), sender, commitment)\n        if (!nonce || !pendingNonce) {\n            return false\n        }\n\n        // after lzReceive, the inboundNonce is increased by 1\n        if (parseInt(nonce.inboundNonce.toString()) >= parseInt(packet.nonce())) {\n            return true\n        }\n        // after commitVerification, the nonce is added to pendingNonce\n        if (pendingNonce.nonces.find((n) => n.toString() === packet.nonce()) !== undefined) {\n            return true\n        }\n\n        // before commitVerification, should call initVerify and verify\n        const confirmation = await accounts.safeFetchConfirmations({ rpc }, confirmationsPDA, { commitment })\n        if (confirmation?.value == null) {\n            // initial value is null not verified\n            return false\n        } else {\n            // TODO check confirmation value\n            return true\n        }\n    }\n\n    /**\n     * Commits the verification process.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {Uint8Array} packetBytes - The packet bytes.\n     * @returns {Promise<TransactionInstruction>} A promise that resolves to the transaction instruction.\n     */\n    async commitVerification(\n        rpc: RpcInterface,\n        packetBytes: Uint8Array,\n        endpointProgram: PublicKey = ENDPOINT_PROGRAM_ID\n    ): Promise<WrappedInstruction> {\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const payloadHash = packet.payloadHash()\n        const srcEid = packet.srcEid()\n        const receiver = publicKey(arrayify(packet.receiver()))\n        const payloadHashBytes = Uint8Array.from(Buffer.from(payloadHash.slice(2), 'hex'))\n\n        const [msgLib] = this.pda.messageLib()\n        const receiveConfigState = await this.getFinalReceiveConfigState(rpc, receiver, srcEid)\n\n        const headerHash = packet.headerHash()\n        const headerHashBytes = Uint8Array.from(Buffer.from(headerHash.slice(2), 'hex'))\n\n        const confirmations: AccountMeta[] = receiveConfigState.requiredDvns\n            .concat(receiveConfigState.optionalDvns)\n            .map((p) => {\n                const [confirmationsPDA] = this.pda.confirmations(headerHashBytes, payloadHashBytes, p)\n                return {\n                    pubkey: confirmationsPDA,\n                    isSigner: false,\n                    isWritable: true,\n                }\n            })\n        const endpoint = new EndpointProgram.Endpoint(endpointProgram)\n        const verifyAccounts = endpoint.getVerifyIXAccountMetaForCPI(packet, msgLib)\n\n        const txBuilder = instructions.commitVerification(\n            { programs: this.programRepo },\n            {\n                uln: this.pda.setting(),\n                defaultReceiveConfig: this.pda.defaultReceiveConfig(srcEid),\n                receiveConfig: this.pda.receiveConfig(srcEid, receiver),\n\n                // param\n                packetHeader: Array.from(arrayify(packet.header())),\n                payloadHash: payloadHashBytes,\n            }\n        )\n        return txBuilder.addRemainingAccounts(confirmations.concat(verifyAccounts)).items[0]\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the init config instruction.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oappID - The OApp ID public key.\n     * @param {number} eid - The endpoint ID.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getInitConfigIXAccountMetaForCPI(payer: PublicKey, oappID: PublicKey, eid: number): AccountMeta[] {\n        const txBuilder = instructions.initConfig(\n            { payer: createNoopSigner(payer), programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(defaultPublicKey()),\n                payer: createNoopSigner(payer),\n                uln: this.pda.setting(),\n                sendConfig: this.pda.sendConfig(eid, oappID),\n                receiveConfig: this.pda.receiveConfig(eid, oappID),\n\n                // params\n                oapp: defaultPublicKey(),\n                eid: 0,\n            }\n        )\n        const accounts = txBuilder.getInstructions()[0].keys.map((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n            return key\n        })\n        return accounts.slice(1)\n    }\n\n    /**\n     * Constructs the set config data.\n     *\n     * @param {SetConfigType} configType - The configuration type.\n     * @param {types.ExecutorConfig | types.UlnConfig} configData - The configuration data.\n     * @returns {Uint8Array} The constructed set config data.\n     * @throws {Error} If the configuration type is invalid.\n     */\n    static constructSetConfigData(\n        configType: SetConfigType,\n        configData: types.ExecutorConfig | types.UlnConfig\n    ): Uint8Array {\n        switch (configType) {\n            case SetConfigType.EXECUTOR: {\n                return types.getExecutorConfigSerializer().serialize(configData as types.ExecutorConfig)\n            }\n            case SetConfigType.SEND_ULN:\n            case SetConfigType.RECEIVE_ULN: {\n                return types.getUlnConfigSerializer().serialize(configData as types.UlnConfig)\n            }\n            default:\n                throw new Error(`invalid config type: ${configType as number}`)\n        }\n    }\n\n    /**\n     * Gets the account metadata for the CPI (Cross-Program Invocation) of the set config instruction.\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} oappID - The OApp ID public key.\n     * @param {number} eid - The endpoint ID.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    getSetConfigIXAccountMetaForCPI(\n        oapp: PublicKey,\n        eid: number,\n        endpointProgram: PublicKey = ENDPOINT_PROGRAM_ID\n    ): AccountMeta[] {\n        const [msgLib] = this.pda.messageLib()\n        const [msgLibInfo] = new EndpointPDA(endpointProgram).messageLibraryInfo(msgLib)\n\n        const txBuilder = instructions.setConfig(\n            { programs: this.programRepo },\n            {\n                endpoint: createNoopSigner(msgLibInfo),\n                uln: this.pda.setting(),\n                sendConfig: this.pda.sendConfig(eid, oapp),\n                defaultSendConfig: this.pda.defaultSendConfig(eid),\n                defaultReceiveConfig: this.pda.defaultReceiveConfig(eid),\n                receiveConfig: this.pda.receiveConfig(eid, oapp),\n                eventAuthority: this.eventAuthority,\n                program: this.programId,\n                // param\n                oapp: defaultPublicKey(),\n                eid: 0,\n                configType: 0,\n                config: new Uint8Array(32),\n            }\n        )\n        return txBuilder.getInstructions()[0].keys.slice(1)\n    }\n\n    /**\n     * Gets the ULN settings.\n     *\n     * @param {RpcInterface} rpc - The connection to the Solana cluster.\n     * @param {Commitment} [commitment] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.UlnSettings | null>} A promise that resolves to the ULN settings or null if not found.\n     */\n    async getSetting(rpc: RpcInterface, commitment: Commitment = 'confirmed'): Promise<accounts.UlnSettings | null> {\n        const [setting] = this.pda.setting()\n        return accounts.safeFetchUlnSettings({ rpc }, setting, { commitment })\n    }\n\n    /**\n     * Gets the default send configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.SendConfig | null>} A promise that resolves to the default send configuration state or null if not found.\n     */\n    async getDefaultSendConfigState(\n        rpc: RpcInterface,\n        eid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.SendConfig | null> {\n        const [config] = this.pda.defaultSendConfig(eid)\n        return accounts.safeFetchSendConfig({ rpc }, config, { commitment })\n    }\n\n    /**\n     * Gets the send configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.SendConfig | null>} A promise that resolves to the send configuration state or null if not found.\n     */\n    async getSendConfigState(\n        rpc: RpcInterface,\n        sender: PublicKey,\n        eid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.SendConfig | null> {\n        const [config] = this.pda.sendConfig(eid, sender)\n        return accounts.safeFetchSendConfig({ rpc }, config, { commitment })\n    }\n\n    /**\n     * Gets the default receive configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.ReceiveConfig | null>} A promise that resolves to the default receive configuration state or null if not found.\n     */\n    async getDefaultReceiveConfigState(\n        rpc: RpcInterface,\n        eid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.ReceiveConfig | null> {\n        const [config] = this.pda.defaultReceiveConfig(eid)\n        return accounts.safeFetchReceiveConfig({ rpc }, config, { commitment })\n    }\n\n    /**\n     * Gets the receive configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.ReceiveConfig | null>} A promise that resolves to the receive configuration state or null if not found.\n     */\n    async getReceiveConfigState(\n        rpc: RpcInterface,\n        receiver: PublicKey,\n        eid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.ReceiveConfig | null> {\n        const [config] = this.pda.receiveConfig(eid, receiver)\n        return accounts.safeFetchReceiveConfig({ rpc }, config, { commitment })\n    }\n\n    /**\n     * Gets the final receive configuration state.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} receiver - The receiver public key.\n     * @param {number} eid - The endpoint ID.\n     * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n     * @returns {Promise<accounts.ReceiveConfig>} A promise that resolves to the final receive configuration state.\n     * @throws {Error} If no DVN is found.\n     */\n    async getFinalReceiveConfigState(\n        rpc: RpcInterface,\n        receiver: PublicKey,\n        eid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<types.UlnConfig> {\n        const [defaultConfig] = this.pda.defaultReceiveConfig(eid)\n        const [customConfig] = this.pda.receiveConfig(eid, receiver)\n\n        const [defaultConfigInfo, customConfigInfo] = await rpc.getAccounts([defaultConfig, customConfig], {\n            commitment,\n        })\n        if (!defaultConfigInfo.exists) {\n            throw new Error(`please init default receive config first. ${defaultConfig}`)\n        }\n        const defaultConfigState = accounts.deserializeReceiveConfig(defaultConfigInfo)\n        const customConfigState = customConfigInfo.exists ? accounts.deserializeReceiveConfig(customConfigInfo) : null\n        return this.getUlnConfigState(defaultConfigState, customConfigState)\n    }\n\n    async getFinalSendConfigState(\n        rpc: RpcInterface,\n        sender: PublicKey,\n        eid: number,\n        commitment: Commitment = 'confirmed'\n    ): Promise<types.UlnConfig> {\n        const [defaultConfig] = this.pda.defaultSendConfig(eid)\n        const [customConfig] = this.pda.sendConfig(eid, sender)\n\n        const [defaultConfigInfo, customConfigInfo] = await rpc.getAccounts([defaultConfig, customConfig], {\n            commitment,\n        })\n        if (!defaultConfigInfo.exists) {\n            throw new Error(`please init default send config first. ${defaultConfig}`)\n        }\n        const defaultConfigState = accounts.deserializeSendConfig(defaultConfigInfo)\n        const customConfigState = customConfigInfo.exists ? accounts.deserializeSendConfig(customConfigInfo) : null\n        return this.getUlnConfigState(defaultConfigState, customConfigState)\n    }\n\n    private getUlnConfigState(\n        defaultConfigState: accounts.ReceiveConfig | accounts.SendConfig,\n        customConfigState: accounts.ReceiveConfig | accounts.SendConfig | null\n    ): types.UlnConfig {\n        const NIL_CONFIRMATIONS = '18446744073709551615' // max uint64\n        const NIL_DVN_COUNT = '255'\n\n        const rtn_config: types.UlnConfig = {\n            confirmations: 0n,\n            requiredDvnCount: 0,\n            optionalDvnCount: 0,\n            optionalDvnThreshold: 0,\n            requiredDvns: [],\n            optionalDvns: [],\n        }\n\n        if (customConfigState == null || customConfigState.uln.confirmations === 0n) {\n            rtn_config.confirmations = defaultConfigState.uln.confirmations\n        } else if (customConfigState.uln.confirmations.toString() !== NIL_CONFIRMATIONS) {\n            rtn_config.confirmations = customConfigState.uln.confirmations\n        }\n\n        if (customConfigState == null || customConfigState.uln.requiredDvnCount == 0) {\n            if (defaultConfigState.uln.requiredDvnCount > 0) {\n                rtn_config.requiredDvns = defaultConfigState.uln.requiredDvns\n                rtn_config.requiredDvnCount = defaultConfigState.uln.requiredDvnCount\n            }\n        } else if (customConfigState.uln.requiredDvnCount.toString() !== NIL_DVN_COUNT) {\n            rtn_config.requiredDvns = customConfigState.uln.requiredDvns\n            rtn_config.requiredDvnCount = customConfigState.uln.requiredDvnCount\n        }\n\n        if (customConfigState == null || customConfigState.uln.optionalDvnCount == 0) {\n            if (defaultConfigState.uln.optionalDvnCount > 0) {\n                rtn_config.optionalDvns = defaultConfigState.uln.optionalDvns\n                rtn_config.optionalDvnCount = defaultConfigState.uln.optionalDvnCount\n                rtn_config.optionalDvnThreshold = defaultConfigState.uln.optionalDvnThreshold\n            }\n        } else if (customConfigState.uln.optionalDvnCount.toString() !== NIL_DVN_COUNT) {\n            rtn_config.optionalDvns = customConfigState.uln.optionalDvns\n            rtn_config.optionalDvnCount = customConfigState.uln.optionalDvnCount\n            rtn_config.optionalDvnThreshold = customConfigState.uln.optionalDvnThreshold\n        }\n\n        if (rtn_config.requiredDvnCount === 0 && rtn_config.optionalDvnCount === 0) {\n            throw new Error('no dvn')\n        }\n        return rtn_config\n    }\n\n    private getExecutorConfigState(\n        defaultConfigState: accounts.SendConfig,\n        customConfigState: accounts.SendConfig | null\n    ): types.ExecutorConfig {\n        const rtn_config: types.ExecutorConfig = {\n            maxMessageSize: 0,\n            executor: defaultPublicKey(),\n        }\n\n        if (customConfigState == null || customConfigState.executor.executor === defaultPublicKey()) {\n            rtn_config.executor = defaultConfigState.executor.executor\n        } else {\n            rtn_config.executor = customConfigState.executor.executor\n        }\n\n        if (customConfigState == null || customConfigState.executor.maxMessageSize === 0) {\n            rtn_config.maxMessageSize = defaultConfigState.executor.maxMessageSize\n        } else {\n            rtn_config.maxMessageSize = customConfigState.executor.maxMessageSize\n        }\n\n        return rtn_config\n    }\n}\n","import {\n    AccountMeta,\n    Cluster,\n    ClusterFilter,\n    Commitment,\n    Instruction,\n    Program,\n    ProgramError,\n    ProgramRepositoryInterface,\n    PublicKey,\n    RpcInterface,\n    Signer,\n    WrappedInstruction,\n    createNullRpc,\n    defaultPublicKey,\n    publicKey,\n} from '@metaplex-foundation/umi'\nimport { createDefaultProgramRepository } from '@metaplex-foundation/umi-program-repository'\n\nimport { HashSigner, keccak_256 } from '@layerzerolabs/lz-foundation'\nimport { PacketV1Codec, addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EndpointProgram, UlnProgram } from '.'\nimport * as accounts from './generated/kinobi/dvn/accounts'\nimport * as errors from './generated/kinobi/dvn/errors'\nimport * as events from './generated/kinobi/dvn/events'\nimport * as instructions from './generated/kinobi/dvn/instructions'\nimport { QuoteDvnInstructionArgs } from './generated/kinobi/dvn/instructions'\nimport * as types from './generated/kinobi/dvn/types'\nimport { DvnPDA, EndpointPDA, EventPDA, PriceFeedPDA } from './pda'\n\nexport { accounts, errors, instructions, types, events }\nexport { DVN_PROGRAM_ID } from './generated/kinobi/dvn'\n\nexport interface SignFunc {\n    sign(message: Buffer): Promise<\n        {\n            signature: Uint8Array\n            recoveryId: number\n        }[]\n    >\n}\n\nexport class SolanaSignerExt implements SignFunc {\n    private readonly signers: HashSigner[]\n\n    private constructor(signers: HashSigner[]) {\n        this.signers = signers\n    }\n\n    static from(signers: HashSigner[]): SolanaSignerExt {\n        return new SolanaSignerExt(signers)\n    }\n\n    async sign(message: Buffer): Promise<{ signature: Uint8Array; recoveryId: number }[]> {\n        return Promise.all(\n            this.signers.map(async (s) => {\n                const rv = await s.signHash(message)\n                return { signature: rv.slice(0, 64), recoveryId: rv[64] }\n            })\n        )\n    }\n}\n\nexport class DVN {\n    public readonly pda: DvnPDA\n    public readonly eventAuthority: PublicKey\n    public readonly programRepo: ProgramRepositoryInterface\n\n    constructor(\n        readonly programId: PublicKey,\n        rpc?: RpcInterface\n    ) {\n        this.pda = new DvnPDA(programId)\n        // this.vid = endpointId % 30000\n        this.eventAuthority = new EventPDA(programId).eventAuthority()[0]\n        if (rpc === undefined) {\n            rpc = createNullRpc()\n            rpc.getCluster = (): Cluster => 'custom'\n        }\n        this.programRepo = createDefaultProgramRepository({ rpc }, [\n            {\n                name: 'dvn',\n                publicKey: programId,\n                getErrorFromCode(code: number, cause?: Error): ProgramError | null {\n                    return errors.getDvnErrorFromCode(code, this, cause)\n                },\n                getErrorFromName(name: string, cause?: Error): ProgramError | null {\n                    return errors.getDvnErrorFromName(name, this, cause)\n                },\n                isOnCluster(): boolean {\n                    return true\n                },\n            } satisfies Program,\n        ])\n    }\n\n    getProgram(clusterFilter: ClusterFilter = 'custom'): Program {\n        return this.programRepo.get('dvn', clusterFilter)\n    }\n\n    async initDVN(\n        rpc: RpcInterface,\n        payer: Signer,\n        params: instructions.InitDvnInstructionArgs\n    ): Promise<WrappedInstruction> {\n        const [config] = this.pda.config()\n        const info = await rpc.getAccount(config)\n        if (info.exists) {\n            throw new Error('DVN already initialized')\n        }\n        return instructions.initDvn(\n            { programs: this.programRepo, payer: payer },\n            {\n                payer,\n                config,\n                //\n                ...params,\n            }\n        ).items[0]\n    }\n\n    getDigest(vid: number, instruction: Instruction, expiration: bigint): types.ExecuteTransactionDigest {\n        return {\n            vid,\n            programId: instruction.programId,\n            accounts: instruction.keys.map((key) => {\n                return {\n                    pubkey: key.pubkey,\n                    isSigner: key.isSigner,\n                    isWritable: key.isWritable,\n                }\n            }),\n            data: instruction.data,\n            expiration,\n        }\n    }\n\n    getExecuteHash(hashBytes: Buffer): PublicKey {\n        return this.pda.executeHash(hashBytes)[0]\n    }\n\n    getHashBytes(digest: types.ExecuteTransactionDigest): Buffer {\n        const digestBytes = types.getExecuteTransactionDigestSerializer().serialize(digest)\n        const hash = keccak_256(digestBytes)\n        return Buffer.from(hash)\n    }\n\n    async invoke(\n        rpc: RpcInterface,\n        payer: Signer,\n        params: {\n            vid: number\n            instruction: Instruction\n            expiration: bigint\n        },\n        sign: SignFunc\n    ): Promise<WrappedInstruction> {\n        const configState = await this.getConfigState(rpc, 'confirmed')\n        if (!configState) {\n            throw new Error('DVN not initialized')\n        }\n\n        const { vid, instruction, expiration } = params\n        const digest: types.ExecuteTransactionDigest = this.getDigest(vid, instruction, expiration)\n        const hashBytes = this.getHashBytes(digest)\n        const executeHash = this.getExecuteHash(hashBytes)\n        const signatures: number[][] = []\n        const signResult = await sign.sign(hashBytes)\n        signatures.push(...signResult.map((s) => Array.from(s.signature).concat([s.recoveryId])))\n\n        const txBuilder = instructions.invoke(\n            { programs: this.programRepo },\n            {\n                signer: payer,\n                config: this.pda.config(),\n                executeHash,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n\n                digest: digest,\n                signatures: signatures,\n            }\n        )\n        return txBuilder.addRemainingAccounts([\n            {\n                pubkey: instruction.programId,\n                isSigner: false,\n                isWritable: false,\n            },\n            ...instruction.keys.map((key) => {\n                key.isSigner = false\n                return key\n            }),\n        ]).items[0]\n    }\n\n    async setMultisigConfig(\n        rpc: RpcInterface,\n        payer: Signer,\n        params: {\n            vid: number\n            config: types.MultisigConfig\n            expiration: bigint\n        },\n        sign: SignFunc\n    ): Promise<[WrappedInstruction, Buffer]> {\n        const { vid, expiration } = params\n        const innerInstruction: Instruction = {\n            programId: this.programId,\n            keys: [],\n            data: Buffer.from(types.getMultisigConfigSerializer().serialize(params.config)),\n        }\n        const digest: types.ExecuteTransactionDigest = this.getDigest(vid, innerInstruction, expiration)\n        return [\n            await this.invoke(\n                rpc,\n                payer,\n                {\n                    vid: vid,\n                    instruction: innerInstruction,\n                    expiration,\n                },\n                sign\n            ),\n            this.getHashBytes(digest),\n        ]\n    }\n\n    // set admin config, can call by one of the admins\n    setConfig(admin: Signer, adminConfig: types.AdminConfigArgs): WrappedInstruction {\n        return instructions.setConfig(\n            { programs: this.programRepo },\n            {\n                admin,\n                config: this.pda.config(),\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n            },\n            {\n                config: adminConfig,\n            }\n        ).items[0]\n    }\n\n    setDstConfig(admin: Signer, dstConfigs: types.DstConfig[]): WrappedInstruction {\n        return this.setConfig(admin, {\n            __kind: 'DstConfigs',\n            fields: [dstConfigs],\n        })\n    }\n\n    setAdmins(admin: Signer, admins: PublicKey[]): WrappedInstruction {\n        return this.setConfig(admin, {\n            __kind: 'Admins',\n            fields: [admins],\n        })\n    }\n\n    setDefaultMultiplierBps(admin: Signer, defaultMultiplierBps: number): WrappedInstruction {\n        return this.setConfig(admin, {\n            __kind: 'DefaultMultiplierBps',\n            fields: [defaultMultiplierBps],\n        })\n    }\n\n    setPriceFeed(admin: Signer, priceFeedProgram: PublicKey): WrappedInstruction {\n        const [priceFeedPda] = new PriceFeedPDA(priceFeedProgram).priceFeed()\n        return this.setConfig(admin, {\n            fields: [priceFeedPda],\n            __kind: 'PriceFeed',\n        })\n    }\n\n    _getExpiration(): bigint {\n        return BigInt(new Date().getTime() / 1000 + 120)\n    }\n\n    withdrawFee(admin: Signer, param: { receiver: PublicKey; amount: number | bigint }): WrappedInstruction {\n        return instructions.withdrawFee(\n            { programs: this.programRepo },\n            {\n                admin,\n                config: this.pda.config(),\n                receiver: param.receiver,\n                program: this.programId,\n                eventAuthority: this.eventAuthority,\n                amount: param.amount,\n            }\n        ).items[0]\n    }\n\n    closeExecute(admin: Signer, digestHash: Buffer): WrappedInstruction {\n        return instructions.closeExecute(\n            { programs: this.programRepo },\n            {\n                admin,\n                config: this.pda.config(),\n                executeHash: this.pda.executeHash(digestHash),\n                digestHash,\n            }\n        ).items[0]\n    }\n\n    quoteDvn(param: { priceFeedProgram: PublicKey } & QuoteDvnInstructionArgs): WrappedInstruction {\n        const [priceFeed] = new PriceFeedPDA(param.priceFeedProgram).priceFeed()\n        return instructions.quoteDvn(\n            { programs: this.programRepo },\n            {\n                dvnConfig: this.pda.config(),\n                priceFeedConfig: priceFeed,\n                ...param,\n            }\n        ).items[0]\n    }\n\n    async verifiable(\n        rpc: RpcInterface,\n        params: {\n            packetBytes: Uint8Array\n            endpointProgram?: PublicKey\n            msgLibProgram?: PublicKey\n        }\n    ): Promise<WrappedInstruction> {\n        const { packetBytes } = params\n        const packet = PacketV1Codec.fromBytes(packetBytes)\n        const receiver = publicKey(Buffer.from(packet.receiver().slice(2), 'hex'))\n        const srcEid = packet.srcEid()\n        const sender = addressToBytes32(packet.sender())\n        const packetNonce = parseInt(packet.nonce())\n        const headerHashBytes = Uint8Array.from(Buffer.from(packet.headerHash().slice(2), 'hex'))\n        const payloadHashBytes = Uint8Array.from(Buffer.from(packet.payloadHash().slice(2), 'hex'))\n\n        const endpointPDA = new EndpointPDA(params.endpointProgram ?? EndpointProgram.ENDPOINT_PROGRAM_ID)\n        const ulnSDK = new UlnProgram.Uln(params.msgLibProgram ?? UlnProgram.ULN_PROGRAM_ID)\n\n        const finalReceiveConfig = await ulnSDK.getFinalReceiveConfigState(rpc, receiver, srcEid, 'confirmed')\n        const confirmations: AccountMeta[] = [\n            ...finalReceiveConfig.requiredDvns,\n            ...finalReceiveConfig.optionalDvns,\n        ].map((dvn) => {\n            return {\n                pubkey: ulnSDK.pda.confirmations(headerHashBytes, payloadHashBytes, dvn)[0],\n                isSigner: false,\n                isWritable: false,\n            }\n        })\n        return instructions\n            .verifiable(\n                { programs: this.programRepo },\n                {\n                    nonce: endpointPDA.nonce(receiver, srcEid, sender),\n                    payloadHash: endpointPDA.payloadHash(receiver, srcEid, sender, packetNonce),\n                    receiveConfig: ulnSDK.pda.receiveConfig(srcEid, receiver),\n                    defaultReceiveConfig: ulnSDK.pda.defaultReceiveConfig(srcEid),\n                },\n                {\n                    packetHeader: Array.from(Uint8Array.from(Buffer.from(packet.header().slice(2), 'hex'))),\n                    payloadHash: payloadHashBytes,\n                }\n            )\n            .addRemainingAccounts(confirmations).items[0]\n    }\n\n    getQuoteIXAccountMetaForCPI(\n        priceFeedConfig: PublicKey,\n        priceFeedProgram: PublicKey,\n        payment: boolean\n    ): AccountMeta[] {\n        const txBuilder = instructions.quoteDvn(\n            { programs: this.programRepo },\n            {\n                dvnConfig: this.pda.config(),\n                priceFeedConfig,\n                priceFeedProgram: priceFeedProgram,\n\n                // param\n                msglib: defaultPublicKey(),\n                dstEid: 0,\n                sender: defaultPublicKey(),\n                packetHeader: new Uint8Array(4),\n                payloadHash: new Uint8Array(32),\n                confirmations: 0,\n                options: [],\n            }\n        )\n        const { keys } = txBuilder.getInstructions()[0]\n        if (payment) {\n            // if payment is required, the first account is required to be writable to receive the payment\n            keys[0].isWritable = true\n        }\n        return [\n            {\n                pubkey: this.programId,\n                isWritable: false,\n                isSigner: false,\n            },\n        ].concat(keys)\n    }\n\n    async getConfigState(rpc: RpcInterface, commitment: Commitment = 'confirmed'): Promise<accounts.DvnConfig | null> {\n        const [config] = this.pda.config()\n        return accounts.safeFetchDvnConfig({ rpc }, config, { commitment })\n    }\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './dvnConfig';\nexport * from './executeHash';\nexport * from './receiveConfig';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './acl';\nexport * from './adminConfig';\nexport * from './dstConfig';\nexport * from './executeTransactionDigest';\nexport * from './lzOption';\nexport * from './multisig';\nexport * from './multisigConfig';\nexport * from './transactionAccount';\nexport * from './ulnConfig';\nexport * from './verificationState';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Acl = { allowList: Array<PublicKey>; denyList: Array<PublicKey> };\n\nexport type AclArgs = Acl;\n\nexport function getAclSerializer(): Serializer<AclArgs, Acl> {\n  return struct<Acl>(\n    [\n      ['allowList', array(publicKeySerializer())],\n      ['denyList', array(publicKeySerializer())],\n    ],\n    { description: 'Acl' }\n  ) as Serializer<AclArgs, Acl>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  GetDataEnumKind,\n  GetDataEnumKindContent,\n  Serializer,\n  array,\n  dataEnum,\n  publicKey as publicKeySerializer,\n  struct,\n  tuple,\n  u16,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport { DstConfig, DstConfigArgs, getDstConfigSerializer } from '.';\n\nexport type AdminConfig =\n  | { __kind: 'Admins'; fields: [Array<PublicKey>] }\n  | { __kind: 'DefaultMultiplierBps'; fields: [number] }\n  | { __kind: 'DstConfigs'; fields: [Array<DstConfig>] }\n  | { __kind: 'PriceFeed'; fields: [PublicKey] }\n  | { __kind: 'RemoveDstConfigs'; fields: [Array<number>] };\n\nexport type AdminConfigArgs =\n  | { __kind: 'Admins'; fields: [Array<PublicKey>] }\n  | { __kind: 'DefaultMultiplierBps'; fields: [number] }\n  | { __kind: 'DstConfigs'; fields: [Array<DstConfigArgs>] }\n  | { __kind: 'PriceFeed'; fields: [PublicKey] }\n  | { __kind: 'RemoveDstConfigs'; fields: [Array<number>] };\n\nexport function getAdminConfigSerializer(): Serializer<\n  AdminConfigArgs,\n  AdminConfig\n> {\n  return dataEnum<AdminConfig>(\n    [\n      [\n        'Admins',\n        struct<GetDataEnumKindContent<AdminConfig, 'Admins'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'DefaultMultiplierBps',\n        struct<GetDataEnumKindContent<AdminConfig, 'DefaultMultiplierBps'>>([\n          ['fields', tuple([u16()])],\n        ]),\n      ],\n      [\n        'DstConfigs',\n        struct<GetDataEnumKindContent<AdminConfig, 'DstConfigs'>>([\n          ['fields', tuple([array(getDstConfigSerializer())])],\n        ]),\n      ],\n      [\n        'PriceFeed',\n        struct<GetDataEnumKindContent<AdminConfig, 'PriceFeed'>>([\n          ['fields', tuple([publicKeySerializer()])],\n        ]),\n      ],\n      [\n        'RemoveDstConfigs',\n        struct<GetDataEnumKindContent<AdminConfig, 'RemoveDstConfigs'>>([\n          ['fields', tuple([array(u32())])],\n        ]),\n      ],\n    ],\n    { description: 'AdminConfig' }\n  ) as Serializer<AdminConfigArgs, AdminConfig>;\n}\n\n// Data Enum Helpers.\nexport function adminConfig(\n  kind: 'Admins',\n  data: GetDataEnumKindContent<AdminConfigArgs, 'Admins'>['fields']\n): GetDataEnumKind<AdminConfigArgs, 'Admins'>;\nexport function adminConfig(\n  kind: 'DefaultMultiplierBps',\n  data: GetDataEnumKindContent<\n    AdminConfigArgs,\n    'DefaultMultiplierBps'\n  >['fields']\n): GetDataEnumKind<AdminConfigArgs, 'DefaultMultiplierBps'>;\nexport function adminConfig(\n  kind: 'DstConfigs',\n  data: GetDataEnumKindContent<AdminConfigArgs, 'DstConfigs'>['fields']\n): GetDataEnumKind<AdminConfigArgs, 'DstConfigs'>;\nexport function adminConfig(\n  kind: 'PriceFeed',\n  data: GetDataEnumKindContent<AdminConfigArgs, 'PriceFeed'>['fields']\n): GetDataEnumKind<AdminConfigArgs, 'PriceFeed'>;\nexport function adminConfig(\n  kind: 'RemoveDstConfigs',\n  data: GetDataEnumKindContent<AdminConfigArgs, 'RemoveDstConfigs'>['fields']\n): GetDataEnumKind<AdminConfigArgs, 'RemoveDstConfigs'>;\nexport function adminConfig<K extends AdminConfigArgs['__kind']>(\n  kind: K,\n  data?: any\n): Extract<AdminConfigArgs, { __kind: K }> {\n  return Array.isArray(data)\n    ? { __kind: kind, fields: data }\n    : { __kind: kind, ...(data ?? {}) };\n}\nexport function isAdminConfig<K extends AdminConfig['__kind']>(\n  kind: K,\n  value: AdminConfig\n): value is AdminConfig & { __kind: K } {\n  return value.__kind === kind;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  struct,\n  u128,\n  u16,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type DstConfig = {\n  eid: number;\n  dstGas: number;\n  multiplierBps: Option<number>;\n  floorMarginUsd: Option<bigint>;\n};\n\nexport type DstConfigArgs = {\n  eid: number;\n  dstGas: number;\n  multiplierBps: OptionOrNullable<number>;\n  floorMarginUsd: OptionOrNullable<number | bigint>;\n};\n\nexport function getDstConfigSerializer(): Serializer<DstConfigArgs, DstConfig> {\n  return struct<DstConfig>(\n    [\n      ['eid', u32()],\n      ['dstGas', u32()],\n      ['multiplierBps', option(u16())],\n      ['floorMarginUsd', option(u128())],\n    ],\n    { description: 'DstConfig' }\n  ) as Serializer<DstConfigArgs, DstConfig>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  i64,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  TransactionAccount,\n  TransactionAccountArgs,\n  getTransactionAccountSerializer,\n} from '.';\n\nexport type ExecuteTransactionDigest = {\n  vid: number;\n  programId: PublicKey;\n  accounts: Array<TransactionAccount>;\n  data: Uint8Array;\n  expiration: bigint;\n};\n\nexport type ExecuteTransactionDigestArgs = {\n  vid: number;\n  programId: PublicKey;\n  accounts: Array<TransactionAccountArgs>;\n  data: Uint8Array;\n  expiration: number | bigint;\n};\n\nexport function getExecuteTransactionDigestSerializer(): Serializer<\n  ExecuteTransactionDigestArgs,\n  ExecuteTransactionDigest\n> {\n  return struct<ExecuteTransactionDigest>(\n    [\n      ['vid', u32()],\n      ['programId', publicKeySerializer()],\n      ['accounts', array(getTransactionAccountSerializer())],\n      ['data', bytes({ size: u32() })],\n      ['expiration', i64()],\n    ],\n    { description: 'ExecuteTransactionDigest' }\n  ) as Serializer<ExecuteTransactionDigestArgs, ExecuteTransactionDigest>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  bytes,\n  struct,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzOption = { optionType: number; params: Uint8Array };\n\nexport type LzOptionArgs = LzOption;\n\nexport function getLzOptionSerializer(): Serializer<LzOptionArgs, LzOption> {\n  return struct<LzOption>(\n    [\n      ['optionType', u8()],\n      ['params', bytes({ size: u32() })],\n    ],\n    { description: 'LzOption' }\n  ) as Serializer<LzOptionArgs, LzOption>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  array,\n  bytes,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Multisig = { signers: Array<Uint8Array>; quorum: number };\n\nexport type MultisigArgs = Multisig;\n\nexport function getMultisigSerializer(): Serializer<MultisigArgs, Multisig> {\n  return struct<Multisig>(\n    [\n      ['signers', array(bytes({ size: 64 }))],\n      ['quorum', u8()],\n    ],\n    { description: 'Multisig' }\n  ) as Serializer<MultisigArgs, Multisig>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  GetDataEnumKind,\n  GetDataEnumKindContent,\n  Serializer,\n  array,\n  bool,\n  bytes,\n  dataEnum,\n  publicKey as publicKeySerializer,\n  struct,\n  tuple,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type MultisigConfig =\n  | { __kind: 'Admins'; fields: [Array<PublicKey>] }\n  | { __kind: 'Allowlist'; fields: [Array<PublicKey>] }\n  | { __kind: 'Denylist'; fields: [Array<PublicKey>] }\n  | { __kind: 'Msglibs'; fields: [Array<PublicKey>] }\n  | { __kind: 'Paused'; fields: [boolean] }\n  | { __kind: 'Quorum'; fields: [number] }\n  | { __kind: 'Signers'; fields: [Array<Uint8Array>] };\n\nexport type MultisigConfigArgs = MultisigConfig;\n\nexport function getMultisigConfigSerializer(): Serializer<\n  MultisigConfigArgs,\n  MultisigConfig\n> {\n  return dataEnum<MultisigConfig>(\n    [\n      [\n        'Admins',\n        struct<GetDataEnumKindContent<MultisigConfig, 'Admins'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Allowlist',\n        struct<GetDataEnumKindContent<MultisigConfig, 'Allowlist'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Denylist',\n        struct<GetDataEnumKindContent<MultisigConfig, 'Denylist'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Msglibs',\n        struct<GetDataEnumKindContent<MultisigConfig, 'Msglibs'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Paused',\n        struct<GetDataEnumKindContent<MultisigConfig, 'Paused'>>([\n          ['fields', tuple([bool()])],\n        ]),\n      ],\n      [\n        'Quorum',\n        struct<GetDataEnumKindContent<MultisigConfig, 'Quorum'>>([\n          ['fields', tuple([u8()])],\n        ]),\n      ],\n      [\n        'Signers',\n        struct<GetDataEnumKindContent<MultisigConfig, 'Signers'>>([\n          ['fields', tuple([array(bytes({ size: 64 }))])],\n        ]),\n      ],\n    ],\n    { description: 'MultisigConfig' }\n  ) as Serializer<MultisigConfigArgs, MultisigConfig>;\n}\n\n// Data Enum Helpers.\nexport function multisigConfig(\n  kind: 'Admins',\n  data: GetDataEnumKindContent<MultisigConfigArgs, 'Admins'>['fields']\n): GetDataEnumKind<MultisigConfigArgs, 'Admins'>;\nexport function multisigConfig(\n  kind: 'Allowlist',\n  data: GetDataEnumKindContent<MultisigConfigArgs, 'Allowlist'>['fields']\n): GetDataEnumKind<MultisigConfigArgs, 'Allowlist'>;\nexport function multisigConfig(\n  kind: 'Denylist',\n  data: GetDataEnumKindContent<MultisigConfigArgs, 'Denylist'>['fields']\n): GetDataEnumKind<MultisigConfigArgs, 'Denylist'>;\nexport function multisigConfig(\n  kind: 'Msglibs',\n  data: GetDataEnumKindContent<MultisigConfigArgs, 'Msglibs'>['fields']\n): GetDataEnumKind<MultisigConfigArgs, 'Msglibs'>;\nexport function multisigConfig(\n  kind: 'Paused',\n  data: GetDataEnumKindContent<MultisigConfigArgs, 'Paused'>['fields']\n): GetDataEnumKind<MultisigConfigArgs, 'Paused'>;\nexport function multisigConfig(\n  kind: 'Quorum',\n  data: GetDataEnumKindContent<MultisigConfigArgs, 'Quorum'>['fields']\n): GetDataEnumKind<MultisigConfigArgs, 'Quorum'>;\nexport function multisigConfig(\n  kind: 'Signers',\n  data: GetDataEnumKindContent<MultisigConfigArgs, 'Signers'>['fields']\n): GetDataEnumKind<MultisigConfigArgs, 'Signers'>;\nexport function multisigConfig<K extends MultisigConfigArgs['__kind']>(\n  kind: K,\n  data?: any\n): Extract<MultisigConfigArgs, { __kind: K }> {\n  return Array.isArray(data)\n    ? { __kind: kind, fields: data }\n    : { __kind: kind, ...(data ?? {}) };\n}\nexport function isMultisigConfig<K extends MultisigConfig['__kind']>(\n  kind: K,\n  value: MultisigConfig\n): value is MultisigConfig & { __kind: K } {\n  return value.__kind === kind;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bool,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type TransactionAccount = {\n  pubkey: PublicKey;\n  isSigner: boolean;\n  isWritable: boolean;\n};\n\nexport type TransactionAccountArgs = TransactionAccount;\n\nexport function getTransactionAccountSerializer(): Serializer<\n  TransactionAccountArgs,\n  TransactionAccount\n> {\n  return struct<TransactionAccount>(\n    [\n      ['pubkey', publicKeySerializer()],\n      ['isSigner', bool()],\n      ['isWritable', bool()],\n    ],\n    { description: 'TransactionAccount' }\n  ) as Serializer<TransactionAccountArgs, TransactionAccount>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type UlnConfig = {\n  confirmations: bigint;\n  requiredDvnCount: number;\n  optionalDvnCount: number;\n  optionalDvnThreshold: number;\n  requiredDvns: Array<PublicKey>;\n  optionalDvns: Array<PublicKey>;\n};\n\nexport type UlnConfigArgs = {\n  confirmations: number | bigint;\n  requiredDvnCount: number;\n  optionalDvnCount: number;\n  optionalDvnThreshold: number;\n  requiredDvns: Array<PublicKey>;\n  optionalDvns: Array<PublicKey>;\n};\n\nexport function getUlnConfigSerializer(): Serializer<UlnConfigArgs, UlnConfig> {\n  return struct<UlnConfig>(\n    [\n      ['confirmations', u64()],\n      ['requiredDvnCount', u8()],\n      ['optionalDvnCount', u8()],\n      ['optionalDvnThreshold', u8()],\n      ['requiredDvns', array(publicKeySerializer())],\n      ['optionalDvns', array(publicKeySerializer())],\n    ],\n    { description: 'UlnConfig' }\n  ) as Serializer<UlnConfigArgs, UlnConfig>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, scalarEnum } from '@metaplex-foundation/umi/serializers';\n\nexport enum VerificationState {\n  Verifying,\n  Verifiable,\n  Verified,\n  NotInitializable,\n  VerifiableButCapExceeded,\n}\n\nexport type VerificationStateArgs = VerificationState;\n\nexport function getVerificationStateSerializer(): Serializer<\n  VerificationStateArgs,\n  VerificationState\n> {\n  return scalarEnum<VerificationState>(VerificationState, {\n    description: 'VerificationState',\n  }) as Serializer<VerificationStateArgs, VerificationState>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bool,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  Acl,\n  AclArgs,\n  DstConfig,\n  DstConfigArgs,\n  Multisig,\n  MultisigArgs,\n  getAclSerializer,\n  getDstConfigSerializer,\n  getMultisigSerializer,\n} from '../types';\n\nexport type DvnConfig = Account<DvnConfigAccountData>;\n\nexport type DvnConfigAccountData = {\n  discriminator: Uint8Array;\n  vid: number;\n  bump: number;\n  multisig: Multisig;\n  acl: Acl;\n  paused: boolean;\n  msglibs: Array<PublicKey>;\n  admins: Array<PublicKey>;\n  priceFeed: PublicKey;\n  dstConfigs: Array<DstConfig>;\n  defaultMultiplierBps: number;\n};\n\nexport type DvnConfigAccountDataArgs = {\n  vid: number;\n  bump: number;\n  multisig: MultisigArgs;\n  acl: AclArgs;\n  paused: boolean;\n  msglibs: Array<PublicKey>;\n  admins: Array<PublicKey>;\n  priceFeed: PublicKey;\n  dstConfigs: Array<DstConfigArgs>;\n  defaultMultiplierBps: number;\n};\n\nexport function getDvnConfigAccountDataSerializer(): Serializer<\n  DvnConfigAccountDataArgs,\n  DvnConfigAccountData\n> {\n  return mapSerializer<DvnConfigAccountDataArgs, any, DvnConfigAccountData>(\n    struct<DvnConfigAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['vid', u32()],\n        ['bump', u8()],\n        ['multisig', getMultisigSerializer()],\n        ['acl', getAclSerializer()],\n        ['paused', bool()],\n        ['msglibs', array(publicKeySerializer())],\n        ['admins', array(publicKeySerializer())],\n        ['priceFeed', publicKeySerializer()],\n        ['dstConfigs', array(getDstConfigSerializer())],\n        ['defaultMultiplierBps', u16()],\n      ],\n      { description: 'DvnConfigAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([49, 81, 33, 98, 234, 168, 93, 73]),\n    })\n  ) as Serializer<DvnConfigAccountDataArgs, DvnConfigAccountData>;\n}\n\nexport function deserializeDvnConfig(rawAccount: RpcAccount): DvnConfig {\n  return deserializeAccount(rawAccount, getDvnConfigAccountDataSerializer());\n}\n\nexport async function fetchDvnConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<DvnConfig> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'DvnConfig');\n  return deserializeDvnConfig(maybeAccount);\n}\n\nexport async function safeFetchDvnConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<DvnConfig | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeDvnConfig(maybeAccount) : null;\n}\n\nexport async function fetchAllDvnConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<DvnConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'DvnConfig');\n    return deserializeDvnConfig(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllDvnConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<DvnConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeDvnConfig(maybeAccount as RpcAccount));\n}\n\nexport function getDvnConfigGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      vid: number;\n      bump: number;\n      multisig: MultisigArgs;\n      acl: AclArgs;\n      paused: boolean;\n      msglibs: Array<PublicKey>;\n      admins: Array<PublicKey>;\n      priceFeed: PublicKey;\n      dstConfigs: Array<DstConfigArgs>;\n      defaultMultiplierBps: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      vid: [8, u32()],\n      bump: [12, u8()],\n      multisig: [13, getMultisigSerializer()],\n      acl: [null, getAclSerializer()],\n      paused: [null, bool()],\n      msglibs: [null, array(publicKeySerializer())],\n      admins: [null, array(publicKeySerializer())],\n      priceFeed: [null, publicKeySerializer()],\n      dstConfigs: [null, array(getDstConfigSerializer())],\n      defaultMultiplierBps: [null, u16()],\n    })\n    .deserializeUsing<DvnConfig>((account) => deserializeDvnConfig(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([49, 81, 33, 98, 234, 168, 93, 73])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  i64,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ExecuteHash = Account<ExecuteHashAccountData>;\n\nexport type ExecuteHashAccountData = {\n  discriminator: Uint8Array;\n  expiration: bigint;\n  bump: number;\n};\n\nexport type ExecuteHashAccountDataArgs = {\n  expiration: number | bigint;\n  bump: number;\n};\n\nexport function getExecuteHashAccountDataSerializer(): Serializer<\n  ExecuteHashAccountDataArgs,\n  ExecuteHashAccountData\n> {\n  return mapSerializer<ExecuteHashAccountDataArgs, any, ExecuteHashAccountData>(\n    struct<ExecuteHashAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['expiration', i64()],\n        ['bump', u8()],\n      ],\n      { description: 'ExecuteHashAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([34, 17, 137, 123, 62, 25, 205, 155]),\n    })\n  ) as Serializer<ExecuteHashAccountDataArgs, ExecuteHashAccountData>;\n}\n\nexport function deserializeExecuteHash(rawAccount: RpcAccount): ExecuteHash {\n  return deserializeAccount(rawAccount, getExecuteHashAccountDataSerializer());\n}\n\nexport async function fetchExecuteHash(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ExecuteHash> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ExecuteHash');\n  return deserializeExecuteHash(maybeAccount);\n}\n\nexport async function safeFetchExecuteHash(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ExecuteHash | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeExecuteHash(maybeAccount) : null;\n}\n\nexport async function fetchAllExecuteHash(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ExecuteHash[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ExecuteHash');\n    return deserializeExecuteHash(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllExecuteHash(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ExecuteHash[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeExecuteHash(maybeAccount as RpcAccount));\n}\n\nexport function getExecuteHashGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      expiration: number | bigint;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      expiration: [8, i64()],\n      bump: [16, u8()],\n    })\n    .deserializeUsing<ExecuteHash>((account) => deserializeExecuteHash(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([34, 17, 137, 123, 62, 25, 205, 155])\n    );\n}\n\nexport function getExecuteHashSize(): number {\n  return 17;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport { UlnConfig, UlnConfigArgs, getUlnConfigSerializer } from '../types';\n\nexport type ReceiveConfig = Account<ReceiveConfigAccountData>;\n\nexport type ReceiveConfigAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  uln: UlnConfig;\n};\n\nexport type ReceiveConfigAccountDataArgs = { bump: number; uln: UlnConfigArgs };\n\nexport function getReceiveConfigAccountDataSerializer(): Serializer<\n  ReceiveConfigAccountDataArgs,\n  ReceiveConfigAccountData\n> {\n  return mapSerializer<\n    ReceiveConfigAccountDataArgs,\n    any,\n    ReceiveConfigAccountData\n  >(\n    struct<ReceiveConfigAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['uln', getUlnConfigSerializer()],\n      ],\n      { description: 'ReceiveConfigAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([162, 159, 153, 188, 56, 65, 245, 58]),\n    })\n  ) as Serializer<ReceiveConfigAccountDataArgs, ReceiveConfigAccountData>;\n}\n\nexport function deserializeReceiveConfig(\n  rawAccount: RpcAccount\n): ReceiveConfig {\n  return deserializeAccount(\n    rawAccount,\n    getReceiveConfigAccountDataSerializer()\n  );\n}\n\nexport async function fetchReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveConfig> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ReceiveConfig');\n  return deserializeReceiveConfig(maybeAccount);\n}\n\nexport async function safeFetchReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveConfig | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeReceiveConfig(maybeAccount) : null;\n}\n\nexport async function fetchAllReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ReceiveConfig');\n    return deserializeReceiveConfig(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeReceiveConfig(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getReceiveConfigGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      uln: UlnConfigArgs;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      uln: [9, getUlnConfigSerializer()],\n    })\n    .deserializeUsing<ReceiveConfig>((account) =>\n      deserializeReceiveConfig(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([162, 159, 153, 188, 56, 65, 245, 58])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './dvn';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Program, ProgramError } from '@metaplex-foundation/umi';\n\ntype ProgramErrorConstructor = new (\n  program: Program,\n  cause?: Error\n) => ProgramError;\nconst codeToErrorMap: Map<number, ProgramErrorConstructor> = new Map();\nconst nameToErrorMap: Map<string, ProgramErrorConstructor> = new Map();\n\n/** InvalidSignatureLen */\nexport class InvalidSignatureLenError extends ProgramError {\n  override readonly name: string = 'InvalidSignatureLen';\n\n  readonly code: number = 0x1770; // 6000\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1770, InvalidSignatureLenError);\nnameToErrorMap.set('InvalidSignatureLen', InvalidSignatureLenError);\n\n/** NotAdmin */\nexport class NotAdminError extends ProgramError {\n  override readonly name: string = 'NotAdmin';\n\n  readonly code: number = 0x1771; // 6001\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1771, NotAdminError);\nnameToErrorMap.set('NotAdmin', NotAdminError);\n\n/** MsgLibNotAllowed */\nexport class MsgLibNotAllowedError extends ProgramError {\n  override readonly name: string = 'MsgLibNotAllowed';\n\n  readonly code: number = 0x1772; // 6002\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1772, MsgLibNotAllowedError);\nnameToErrorMap.set('MsgLibNotAllowed', MsgLibNotAllowedError);\n\n/** InvalidQuorum */\nexport class InvalidQuorumError extends ProgramError {\n  override readonly name: string = 'InvalidQuorum';\n\n  readonly code: number = 0x1773; // 6003\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1773, InvalidQuorumError);\nnameToErrorMap.set('InvalidQuorum', InvalidQuorumError);\n\n/** InvalidSignersLen */\nexport class InvalidSignersLenError extends ProgramError {\n  override readonly name: string = 'InvalidSignersLen';\n\n  readonly code: number = 0x1774; // 6004\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1774, InvalidSignersLenError);\nnameToErrorMap.set('InvalidSignersLen', InvalidSignersLenError);\n\n/** UniqueOwners */\nexport class UniqueOwnersError extends ProgramError {\n  override readonly name: string = 'UniqueOwners';\n\n  readonly code: number = 0x1775; // 6005\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1775, UniqueOwnersError);\nnameToErrorMap.set('UniqueOwners', UniqueOwnersError);\n\n/** SignatureError */\nexport class SignatureErrorError extends ProgramError {\n  override readonly name: string = 'SignatureError';\n\n  readonly code: number = 0x1776; // 6006\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1776, SignatureErrorError);\nnameToErrorMap.set('SignatureError', SignatureErrorError);\n\n/** SignerNotInCommittee */\nexport class SignerNotInCommitteeError extends ProgramError {\n  override readonly name: string = 'SignerNotInCommittee';\n\n  readonly code: number = 0x1777; // 6007\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1777, SignerNotInCommitteeError);\nnameToErrorMap.set('SignerNotInCommittee', SignerNotInCommitteeError);\n\n/** TooManyAdmins */\nexport class TooManyAdminsError extends ProgramError {\n  override readonly name: string = 'TooManyAdmins';\n\n  readonly code: number = 0x1778; // 6008\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1778, TooManyAdminsError);\nnameToErrorMap.set('TooManyAdmins', TooManyAdminsError);\n\n/** TooManyOptionTypes */\nexport class TooManyOptionTypesError extends ProgramError {\n  override readonly name: string = 'TooManyOptionTypes';\n\n  readonly code: number = 0x1779; // 6009\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1779, TooManyOptionTypesError);\nnameToErrorMap.set('TooManyOptionTypes', TooManyOptionTypesError);\n\n/** DuplicateSignature */\nexport class DuplicateSignatureError extends ProgramError {\n  override readonly name: string = 'DuplicateSignature';\n\n  readonly code: number = 0x177a; // 6010\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177a, DuplicateSignatureError);\nnameToErrorMap.set('DuplicateSignature', DuplicateSignatureError);\n\n/** Expired */\nexport class ExpiredError extends ProgramError {\n  override readonly name: string = 'Expired';\n\n  readonly code: number = 0x177b; // 6011\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177b, ExpiredError);\nnameToErrorMap.set('Expired', ExpiredError);\n\n/** InvalidVid */\nexport class InvalidVidError extends ProgramError {\n  override readonly name: string = 'InvalidVid';\n\n  readonly code: number = 0x177c; // 6012\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177c, InvalidVidError);\nnameToErrorMap.set('InvalidVid', InvalidVidError);\n\n/** Paused */\nexport class PausedError extends ProgramError {\n  override readonly name: string = 'Paused';\n\n  readonly code: number = 0x177d; // 6013\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177d, PausedError);\nnameToErrorMap.set('Paused', PausedError);\n\n/** UnexpiredExecuteHash */\nexport class UnexpiredExecuteHashError extends ProgramError {\n  override readonly name: string = 'UnexpiredExecuteHash';\n\n  readonly code: number = 0x177e; // 6014\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177e, UnexpiredExecuteHashError);\nnameToErrorMap.set('UnexpiredExecuteHash', UnexpiredExecuteHashError);\n\n/** InvalidAmount */\nexport class InvalidAmountError extends ProgramError {\n  override readonly name: string = 'InvalidAmount';\n\n  readonly code: number = 0x177f; // 6015\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177f, InvalidAmountError);\nnameToErrorMap.set('InvalidAmount', InvalidAmountError);\n\n/** EidNotSupported */\nexport class EidNotSupportedError extends ProgramError {\n  override readonly name: string = 'EidNotSupported';\n\n  readonly code: number = 0x1780; // 6016\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1780, EidNotSupportedError);\nnameToErrorMap.set('EidNotSupported', EidNotSupportedError);\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n */\nexport function getDvnErrorFromCode(\n  code: number,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = codeToErrorMap.get(code);\n  return constructor ? new constructor(program, cause) : null;\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n */\nexport function getDvnErrorFromName(\n  name: string,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = nameToErrorMap.get(name);\n  return constructor ? new constructor(program, cause) : null;\n}\n","export * from './adminConfigSetEvent';\nexport * from './feeWithdrawnEvent';\nexport * from './multisigConfigSetEvent';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, struct } from '@metaplex-foundation/umi/serializers';\nimport { AdminConfig, AdminConfigArgs, getAdminConfigSerializer } from '../types';\n\nexport type AdminConfigSetEvent = { config: AdminConfig };\n\nexport type AdminConfigSetEventArgs = { config: AdminConfigArgs };\n\nexport function getAdminConfigSetEventSerializer(): Serializer<\n  AdminConfigSetEventArgs,\n  AdminConfigSetEvent\n> {\n  return struct<AdminConfigSetEvent>([['config', getAdminConfigSerializer()]], {\n    description: 'AdminConfigSetEvent',\n  }) as Serializer<AdminConfigSetEventArgs, AdminConfigSetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type FeeWithdrawnEvent = { receiver: PublicKey; amount: bigint };\n\nexport type FeeWithdrawnEventArgs = {\n  receiver: PublicKey;\n  amount: number | bigint;\n};\n\nexport function getFeeWithdrawnEventSerializer(): Serializer<\n  FeeWithdrawnEventArgs,\n  FeeWithdrawnEvent\n> {\n  return struct<FeeWithdrawnEvent>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['amount', u64()],\n    ],\n    { description: 'FeeWithdrawnEvent' }\n  ) as Serializer<FeeWithdrawnEventArgs, FeeWithdrawnEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, struct } from '@metaplex-foundation/umi/serializers';\nimport {\n  MultisigConfig,\n  MultisigConfigArgs,\n  getMultisigConfigSerializer,\n} from '../types';\n\nexport type MultisigConfigSetEvent = { config: MultisigConfig };\n\nexport type MultisigConfigSetEventArgs = { config: MultisigConfigArgs };\n\nexport function getMultisigConfigSetEventSerializer(): Serializer<\n  MultisigConfigSetEventArgs,\n  MultisigConfigSetEvent\n> {\n  return struct<MultisigConfigSetEvent>(\n    [['config', getMultisigConfigSerializer()]],\n    { description: 'MultisigConfigSetEvent' }\n  ) as Serializer<MultisigConfigSetEventArgs, MultisigConfigSetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './closeExecute';\nexport * from './extendDvnConfig';\nexport * from './initDvn';\nexport * from './invoke';\nexport * from './quoteDvn';\nexport * from './setConfig';\nexport * from './verifiable';\nexport * from './withdrawFee';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  AccountMeta,\n  isSigner,\n  Pda,\n  publicKey,\n  PublicKey,\n  Signer,\n  isPda,\n} from '@metaplex-foundation/umi';\n\n/**\n * Transforms the given object such that the given keys are optional.\n * @internal\n */\nexport type PickPartial<T, K extends keyof T> = Omit<T, K> &\n  Partial<Pick<T, K>>;\n\n/**\n * Asserts that the given value is not null or undefined.\n * @internal\n */\nexport function expectSome<T>(value: T | null | undefined): T {\n  if (value == null) {\n    throw new Error('Expected a value but received null or undefined.');\n  }\n  return value;\n}\n\n/**\n * Asserts that the given value is a PublicKey.\n * @internal\n */\nexport function expectPublicKey(\n  value: PublicKey | Pda | Signer | null | undefined\n): PublicKey {\n  if (!value) {\n    throw new Error('Expected a PublicKey.');\n  }\n  return publicKey(value, false);\n}\n\n/**\n * Asserts that the given value is a PDA.\n * @internal\n */\nexport function expectPda(\n  value: PublicKey | Pda | Signer | null | undefined\n): Pda {\n  if (!value || !Array.isArray(value) || !isPda(value)) {\n    throw new Error('Expected a PDA.');\n  }\n  return value;\n}\n\n/**\n * Defines an instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccount<T = PublicKey | Pda | Signer | null> = {\n  isWritable: boolean;\n  value: T;\n};\n\n/**\n * Defines a set of instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccounts = Record<string, ResolvedAccount>;\n\n/**\n * Defines a set of instruction account to resolve with their indices.\n * @internal\n */\nexport type ResolvedAccountsWithIndices = Record<\n  string,\n  ResolvedAccount & { index: number }\n>;\n\n/**\n * Get account metas and signers from resolved accounts.\n * @internal\n */\nexport function getAccountMetasAndSigners(\n  accounts: ResolvedAccount[],\n  optionalAccountStrategy: 'omitted' | 'programId',\n  programId: PublicKey\n): [AccountMeta[], Signer[]] {\n  const keys: AccountMeta[] = [];\n  const signers: Signer[] = [];\n\n  accounts.forEach((account) => {\n    if (!account.value) {\n      if (optionalAccountStrategy === 'omitted') return;\n      keys.push({ pubkey: programId, isSigner: false, isWritable: false });\n      return;\n    }\n\n    if (isSigner(account.value)) {\n      signers.push(account.value);\n    }\n    keys.push({\n      pubkey: publicKey(account.value, false),\n      isSigner: isSigner(account.value),\n      isWritable: account.isWritable,\n    });\n  });\n\n  return [keys, signers];\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type CloseExecuteInstructionAccounts = {\n  admin: Signer;\n  config: PublicKey | Pda;\n  executeHash: PublicKey | Pda;\n};\n\n// Data.\nexport type CloseExecuteInstructionData = {\n  discriminator: Uint8Array;\n  digestHash: Uint8Array;\n};\n\nexport type CloseExecuteInstructionDataArgs = { digestHash: Uint8Array };\n\nexport function getCloseExecuteInstructionDataSerializer(): Serializer<\n  CloseExecuteInstructionDataArgs,\n  CloseExecuteInstructionData\n> {\n  return mapSerializer<\n    CloseExecuteInstructionDataArgs,\n    any,\n    CloseExecuteInstructionData\n  >(\n    struct<CloseExecuteInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['digestHash', bytes({ size: 32 })],\n      ],\n      { description: 'CloseExecuteInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([253, 220, 23, 127, 15, 171, 189, 226]),\n    })\n  ) as Serializer<CloseExecuteInstructionDataArgs, CloseExecuteInstructionData>;\n}\n\n// Args.\nexport type CloseExecuteInstructionArgs = CloseExecuteInstructionDataArgs;\n\n// Instruction.\nexport function closeExecute(\n  context: Pick<Context, 'programs'>,\n  input: CloseExecuteInstructionAccounts & CloseExecuteInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    executeHash: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.executeHash ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: CloseExecuteInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getCloseExecuteInstructionDataSerializer().serialize(\n    resolvedArgs as CloseExecuteInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type ExtendDvnConfigInstructionAccounts = {\n  admin: Signer;\n  config: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type ExtendDvnConfigInstructionData = { discriminator: Uint8Array };\n\nexport type ExtendDvnConfigInstructionDataArgs = {};\n\nexport function getExtendDvnConfigInstructionDataSerializer(): Serializer<\n  ExtendDvnConfigInstructionDataArgs,\n  ExtendDvnConfigInstructionData\n> {\n  return mapSerializer<\n    ExtendDvnConfigInstructionDataArgs,\n    any,\n    ExtendDvnConfigInstructionData\n  >(\n    struct<ExtendDvnConfigInstructionData>(\n      [['discriminator', bytes({ size: 8 })]],\n      { description: 'ExtendDvnConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([183, 248, 24, 49, 110, 229, 169, 66]),\n    })\n  ) as Serializer<\n    ExtendDvnConfigInstructionDataArgs,\n    ExtendDvnConfigInstructionData\n  >;\n}\n\n// Instruction.\nexport function extendDvnConfig(\n  context: Pick<Context, 'programs'>,\n  input: ExtendDvnConfigInstructionAccounts\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getExtendDvnConfigInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitDvnInstructionAccounts = {\n  payer?: Signer;\n  config: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitDvnInstructionData = {\n  discriminator: Uint8Array;\n  vid: number;\n  msglibs: Array<PublicKey>;\n  priceFeed: PublicKey;\n  signers: Array<Uint8Array>;\n  quorum: number;\n  admins: Array<PublicKey>;\n};\n\nexport type InitDvnInstructionDataArgs = {\n  vid: number;\n  msglibs: Array<PublicKey>;\n  priceFeed: PublicKey;\n  signers: Array<Uint8Array>;\n  quorum: number;\n  admins: Array<PublicKey>;\n};\n\nexport function getInitDvnInstructionDataSerializer(): Serializer<\n  InitDvnInstructionDataArgs,\n  InitDvnInstructionData\n> {\n  return mapSerializer<InitDvnInstructionDataArgs, any, InitDvnInstructionData>(\n    struct<InitDvnInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['vid', u32()],\n        ['msglibs', array(publicKeySerializer())],\n        ['priceFeed', publicKeySerializer()],\n        ['signers', array(bytes({ size: 64 }))],\n        ['quorum', u8()],\n        ['admins', array(publicKeySerializer())],\n      ],\n      { description: 'InitDvnInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([58, 108, 132, 12, 20, 10, 215, 210]),\n    })\n  ) as Serializer<InitDvnInstructionDataArgs, InitDvnInstructionData>;\n}\n\n// Args.\nexport type InitDvnInstructionArgs = InitDvnInstructionDataArgs;\n\n// Instruction.\nexport function initDvn(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitDvnInstructionAccounts & InitDvnInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitDvnInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitDvnInstructionDataSerializer().serialize(\n    resolvedArgs as InitDvnInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  ExecuteTransactionDigest,\n  ExecuteTransactionDigestArgs,\n  getExecuteTransactionDigestSerializer,\n} from '../types';\n\n// Accounts.\nexport type InvokeInstructionAccounts = {\n  signer: Signer;\n  config: PublicKey | Pda;\n  executeHash: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type InvokeInstructionData = {\n  discriminator: Uint8Array;\n  digest: ExecuteTransactionDigest;\n  signatures: Array<Array<number>>;\n};\n\nexport type InvokeInstructionDataArgs = {\n  digest: ExecuteTransactionDigestArgs;\n  signatures: Array<Array<number>>;\n};\n\nexport function getInvokeInstructionDataSerializer(): Serializer<\n  InvokeInstructionDataArgs,\n  InvokeInstructionData\n> {\n  return mapSerializer<InvokeInstructionDataArgs, any, InvokeInstructionData>(\n    struct<InvokeInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['digest', getExecuteTransactionDigestSerializer()],\n        ['signatures', array(array(u8(), { size: 65 }))],\n      ],\n      { description: 'InvokeInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([26, 16, 169, 7, 21, 202, 242, 25]),\n    })\n  ) as Serializer<InvokeInstructionDataArgs, InvokeInstructionData>;\n}\n\n// Args.\nexport type InvokeInstructionArgs = InvokeInstructionDataArgs;\n\n// Instruction.\nexport function invoke(\n  context: Pick<Context, 'programs'>,\n  input: InvokeInstructionAccounts & InvokeInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.signer ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    executeHash: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.executeHash ?? null,\n    },\n    systemProgram: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InvokeInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInvokeInstructionDataSerializer().serialize(\n    resolvedArgs as InvokeInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { LzOption, LzOptionArgs, getLzOptionSerializer } from '../types';\n\n// Accounts.\nexport type QuoteDvnInstructionAccounts = {\n  dvnConfig: PublicKey | Pda;\n  priceFeedProgram: PublicKey | Pda;\n  priceFeedConfig: PublicKey | Pda;\n};\n\n// Data.\nexport type QuoteDvnInstructionData = {\n  discriminator: Uint8Array;\n  msglib: PublicKey;\n  dstEid: number;\n  sender: PublicKey;\n  packetHeader: Uint8Array;\n  payloadHash: Uint8Array;\n  confirmations: bigint;\n  options: Array<LzOption>;\n};\n\nexport type QuoteDvnInstructionDataArgs = {\n  msglib: PublicKey;\n  dstEid: number;\n  sender: PublicKey;\n  packetHeader: Uint8Array;\n  payloadHash: Uint8Array;\n  confirmations: number | bigint;\n  options: Array<LzOptionArgs>;\n};\n\nexport function getQuoteDvnInstructionDataSerializer(): Serializer<\n  QuoteDvnInstructionDataArgs,\n  QuoteDvnInstructionData\n> {\n  return mapSerializer<\n    QuoteDvnInstructionDataArgs,\n    any,\n    QuoteDvnInstructionData\n  >(\n    struct<QuoteDvnInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['msglib', publicKeySerializer()],\n        ['dstEid', u32()],\n        ['sender', publicKeySerializer()],\n        ['packetHeader', bytes({ size: u32() })],\n        ['payloadHash', bytes({ size: 32 })],\n        ['confirmations', u64()],\n        ['options', array(getLzOptionSerializer())],\n      ],\n      { description: 'QuoteDvnInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([223, 98, 51, 200, 123, 133, 132, 194]),\n    })\n  ) as Serializer<QuoteDvnInstructionDataArgs, QuoteDvnInstructionData>;\n}\n\n// Args.\nexport type QuoteDvnInstructionArgs = QuoteDvnInstructionDataArgs;\n\n// Instruction.\nexport function quoteDvn(\n  context: Pick<Context, 'programs'>,\n  input: QuoteDvnInstructionAccounts & QuoteDvnInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    dvnConfig: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.dvnConfig ?? null,\n    },\n    priceFeedProgram: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.priceFeedProgram ?? null,\n    },\n    priceFeedConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.priceFeedConfig ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: QuoteDvnInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getQuoteDvnInstructionDataSerializer().serialize(\n    resolvedArgs as QuoteDvnInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  AdminConfig,\n  AdminConfigArgs,\n  getAdminConfigSerializer,\n} from '../types';\n\n// Accounts.\nexport type SetConfigInstructionAccounts = {\n  admin: Signer;\n  config: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetConfigInstructionData = {\n  discriminator: Uint8Array;\n  config: AdminConfig;\n};\n\nexport type SetConfigInstructionDataArgs = { config: AdminConfigArgs };\n\nexport function getSetConfigInstructionDataSerializer(): Serializer<\n  SetConfigInstructionDataArgs,\n  SetConfigInstructionData\n> {\n  return mapSerializer<\n    SetConfigInstructionDataArgs,\n    any,\n    SetConfigInstructionData\n  >(\n    struct<SetConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['config', getAdminConfigSerializer()],\n      ],\n      { description: 'SetConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([108, 158, 154, 175, 212, 98, 52, 66]),\n    })\n  ) as Serializer<SetConfigInstructionDataArgs, SetConfigInstructionData>;\n}\n\n// Args.\nexport type SetConfigInstructionArgs = SetConfigInstructionDataArgs;\n\n// Instruction.\nexport function setConfig(\n  context: Pick<Context, 'programs'>,\n  accounts: SetConfigInstructionAccounts,\n  args: SetConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.admin ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: accounts.config ?? null,\n    },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetConfigInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetConfigInstructionDataSerializer().serialize(\n    resolvedArgs as SetConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type VerifiableInstructionAccounts = {\n  nonce: PublicKey | Pda;\n  payloadHash: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  defaultReceiveConfig: PublicKey | Pda;\n};\n\n// Data.\nexport type VerifiableInstructionData = {\n  discriminator: Uint8Array;\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n};\n\nexport type VerifiableInstructionDataArgs = {\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n};\n\nexport function getVerifiableInstructionDataSerializer(): Serializer<\n  VerifiableInstructionDataArgs,\n  VerifiableInstructionData\n> {\n  return mapSerializer<\n    VerifiableInstructionDataArgs,\n    any,\n    VerifiableInstructionData\n  >(\n    struct<VerifiableInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packetHeader', array(u8(), { size: 81 })],\n        ['payloadHash', bytes({ size: 32 })],\n      ],\n      { description: 'VerifiableInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([249, 50, 227, 157, 238, 249, 211, 90]),\n    })\n  ) as Serializer<VerifiableInstructionDataArgs, VerifiableInstructionData>;\n}\n\n// Args.\nexport type VerifiableInstructionArgs = VerifiableInstructionDataArgs;\n\n// Instruction.\nexport function verifiable(\n  context: Pick<Context, 'programs'>,\n  accounts: VerifiableInstructionAccounts,\n  args: VerifiableInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    nonce: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.nonce ?? null,\n    },\n    payloadHash: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n    receiveConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.receiveConfig ?? null,\n    },\n    defaultReceiveConfig: {\n      index: 3,\n      isWritable: false as boolean,\n      value: accounts.defaultReceiveConfig ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: VerifiableInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getVerifiableInstructionDataSerializer().serialize(\n    resolvedArgs as VerifiableInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type WithdrawFeeInstructionAccounts = {\n  admin: Signer;\n  config: PublicKey | Pda;\n  receiver: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type WithdrawFeeInstructionData = {\n  discriminator: Uint8Array;\n  amount: bigint;\n};\n\nexport type WithdrawFeeInstructionDataArgs = { amount: number | bigint };\n\nexport function getWithdrawFeeInstructionDataSerializer(): Serializer<\n  WithdrawFeeInstructionDataArgs,\n  WithdrawFeeInstructionData\n> {\n  return mapSerializer<\n    WithdrawFeeInstructionDataArgs,\n    any,\n    WithdrawFeeInstructionData\n  >(\n    struct<WithdrawFeeInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['amount', u64()],\n      ],\n      { description: 'WithdrawFeeInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([14, 122, 231, 218, 31, 238, 223, 150]),\n    })\n  ) as Serializer<WithdrawFeeInstructionDataArgs, WithdrawFeeInstructionData>;\n}\n\n// Args.\nexport type WithdrawFeeInstructionArgs = WithdrawFeeInstructionDataArgs;\n\n// Instruction.\nexport function withdrawFee(\n  context: Pick<Context, 'programs'>,\n  input: WithdrawFeeInstructionAccounts & WithdrawFeeInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'dvn',\n    'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    receiver: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.receiver ?? null,\n    },\n    eventAuthority: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: WithdrawFeeInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getWithdrawFeeInstructionDataSerializer().serialize(\n    resolvedArgs as WithdrawFeeInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './accounts';\nexport * from './errors';\nexport * from './instructions';\nexport * from './programs';\nexport * from './shared';\nexport * from './types';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  ClusterFilter,\n  Context,\n  Program,\n  PublicKey,\n} from '@metaplex-foundation/umi';\nimport { getDvnErrorFromCode, getDvnErrorFromName } from '../errors';\n\nexport const DVN_PROGRAM_ID =\n  'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW' as PublicKey<'HtEYV4xB4wvsj5fgTkcfuChYpvGYzgzwvNhgDZQNh7wW'>;\n\nexport function createDvnProgram(): Program {\n  return {\n    name: 'dvn',\n    publicKey: DVN_PROGRAM_ID,\n    getErrorFromCode(code: number, cause?: Error) {\n      return getDvnErrorFromCode(code, this, cause);\n    },\n    getErrorFromName(name: string, cause?: Error) {\n      return getDvnErrorFromName(name, this, cause);\n    },\n    isOnCluster() {\n      return true;\n    },\n  };\n}\n\nexport function getDvnProgram<T extends Program = Program>(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): T {\n  return context.programs.get<T>('dvn', clusterFilter);\n}\n\nexport function getDvnProgramId(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): PublicKey {\n  return context.programs.getPublicKey('dvn', DVN_PROGRAM_ID, clusterFilter);\n}\n","import {\n    AccountMeta,\n    AddressLookupTableInput,\n    Cluster,\n    ClusterFilter,\n    Commitment,\n    Instruction,\n    Program,\n    ProgramError,\n    ProgramRepositoryInterface,\n    PublicKey,\n    RpcInterface,\n    Signer,\n    WrappedInstruction,\n    createNullRpc,\n    defaultPublicKey,\n} from '@metaplex-foundation/umi'\nimport { createDefaultProgramRepository } from '@metaplex-foundation/umi-program-repository'\n\nimport { Packet } from '@layerzerolabs/lz-v2-utilities'\n\nimport { ComposeSentEvent } from './generated/kinobi/endpoint/events'\nimport * as accounts from './generated/kinobi/executor/accounts'\nimport * as errors from './generated/kinobi/executor/errors'\nimport * as events from './generated/kinobi/executor/events'\nimport * as instructions from './generated/kinobi/executor/instructions'\nimport { NativeDropInstructionDataArgs, QuoteExecutorInstructionArgs } from './generated/kinobi/executor/instructions'\nimport { EXECUTOR_PROGRAM_ID } from './generated/kinobi/executor/programs'\nimport * as types from './generated/kinobi/executor/types'\nimport { EventPDA, ExecutorPDA, MessageLibPDA, PriceFeedPDA } from './pda'\nimport { lzCompose, lzReceive } from './receive'\n\nexport { EXECUTOR_PROGRAM_ID } from './generated/kinobi/executor/programs'\nexport { accounts, instructions, types, events, errors }\n\nexport class Executor {\n    public readonly pda: ExecutorPDA\n    public readonly programRepo: ProgramRepositoryInterface\n    public readonly eventAuthority: PublicKey\n\n    constructor(\n        public programId: PublicKey = EXECUTOR_PROGRAM_ID,\n        rpc?: RpcInterface\n    ) {\n        this.pda = new ExecutorPDA(this.programId)\n        if (rpc === undefined) {\n            rpc = createNullRpc()\n            rpc.getCluster = (): Cluster => 'custom'\n        }\n        this.programRepo = createDefaultProgramRepository({ rpc }, [\n            {\n                name: 'executor',\n                publicKey: programId,\n                getErrorFromCode(code: number, cause?: Error): ProgramError | null {\n                    return errors.getExecutorErrorFromCode(code, this, cause)\n                },\n                getErrorFromName(name: string, cause?: Error): ProgramError | null {\n                    return errors.getExecutorErrorFromName(name, this, cause)\n                },\n                isOnCluster(): boolean {\n                    return true\n                },\n            } satisfies Program,\n        ])\n\n        this.eventAuthority = new EventPDA(programId).eventAuthority()[0]\n    }\n\n    getProgram(clusterFilter: ClusterFilter = 'custom'): Program {\n        return this.programRepo.get('executor', clusterFilter)\n    }\n\n    // owner methods\n    initExecutor(payer: Signer, param: instructions.InitExecutorInstructionDataArgs): WrappedInstruction {\n        return instructions.initExecutor(\n            { programs: this.programRepo, payer },\n            {\n                payer,\n                config: this.pda.config(),\n                ...param,\n            }\n        ).items[0]\n    }\n\n    setOwner(owner: Signer, newOwner: PublicKey): WrappedInstruction {\n        return instructions.ownerSetConfig(\n            { programs: this.programRepo },\n            {\n                owner,\n                config: this.pda.config(),\n                params: {\n                    fields: [newOwner],\n                    __kind: 'Owner',\n                },\n            }\n        ).items[0]\n    }\n\n    setAdmins(owner: Signer, admins: PublicKey[]): WrappedInstruction {\n        return instructions.ownerSetConfig(\n            { programs: this.programRepo },\n            {\n                owner,\n                config: this.pda.config(),\n                params: {\n                    fields: [admins],\n                    __kind: 'Admins',\n                },\n            }\n        ).items[0]\n    }\n\n    setAllowList(owner: Signer, allowlist: PublicKey[]): WrappedInstruction {\n        return instructions.ownerSetConfig(\n            { programs: this.programRepo },\n            {\n                owner,\n                config: this.pda.config(),\n                params: {\n                    fields: [allowlist],\n                    __kind: 'Allowlist',\n                },\n            }\n        ).items[0]\n    }\n\n    setDenyList(owner: Signer, denylist: PublicKey[]): WrappedInstruction {\n        return instructions.ownerSetConfig(\n            { programs: this.programRepo },\n            {\n                owner,\n                config: this.pda.config(),\n                params: {\n                    fields: [denylist],\n                    __kind: 'Denylist',\n                },\n            }\n        ).items[0]\n    }\n\n    setPaused(owner: Signer, paused: boolean): WrappedInstruction {\n        return instructions.ownerSetConfig(\n            { programs: this.programRepo },\n            {\n                owner,\n                config: this.pda.config(),\n                params: {\n                    fields: [paused],\n                    __kind: 'Paused',\n                },\n            }\n        ).items[0]\n    }\n\n    setExecutors(owner: Signer, executors: PublicKey[]): WrappedInstruction {\n        return instructions.ownerSetConfig(\n            { programs: this.programRepo },\n            {\n                owner: owner,\n                config: this.pda.config(),\n                params: {\n                    fields: [executors],\n                    __kind: 'Executors',\n                },\n            }\n        ).items[0]\n    }\n\n    setMsglibByPrograms(owner: Signer, msglibPrograms: PublicKey[]): WrappedInstruction {\n        const msglibPdas = msglibPrograms.map((program) => {\n            return new MessageLibPDA(program).messageLib()[0]\n        })\n        return this.setMsglibByPDAs(owner, msglibPdas)\n    }\n\n    setMsglibByPDAs(owner: Signer, msglibPDAs: PublicKey[]): WrappedInstruction {\n        return instructions.ownerSetConfig(\n            { programs: this.programRepo },\n            {\n                owner,\n                config: this.pda.config(),\n                params: {\n                    fields: [msglibPDAs],\n                    __kind: 'Msglibs',\n                },\n            }\n        ).items[0]\n    }\n\n    // admin methods\n    setDefaultMultiplierBps(admin: Signer, defaultMultiplierBps: number): WrappedInstruction {\n        return instructions.adminSetConfig(\n            { programs: this.programRepo },\n            {\n                admin,\n                config: this.pda.config(),\n                params: {\n                    fields: [defaultMultiplierBps],\n                    __kind: 'DefaultMultiplierBps',\n                } satisfies types.AdminSetConfigParams,\n            }\n        ).items[0]\n    }\n\n    setDstConfig(admin: Signer, dstConfigs: types.DstConfig[]): WrappedInstruction {\n        return instructions.adminSetConfig(\n            { programs: this.programRepo },\n            {\n                admin,\n                config: this.pda.config(),\n                params: {\n                    fields: [dstConfigs],\n                    __kind: 'DstConfigs',\n                } satisfies types.AdminSetConfigParams,\n            }\n        ).items[0]\n    }\n\n    setPriceFeed(admin: Signer, priceFeedProgram: PublicKey): WrappedInstruction {\n        const [priceFeed] = new PriceFeedPDA(priceFeedProgram).priceFeed()\n        return instructions.adminSetConfig(\n            { programs: this.programRepo },\n            {\n                admin,\n                config: this.pda.config(),\n                params: {\n                    fields: [priceFeed],\n                    __kind: 'PriceFeed',\n                } satisfies types.AdminSetConfigParams,\n            }\n        ).items[0]\n    }\n\n    nativeDrop(executor: Signer, param: NativeDropInstructionDataArgs): WrappedInstruction {\n        const receivers: AccountMeta[] = param.nativeDropRequests.map((request) => {\n            return {\n                pubkey: request.receiver,\n                isSigner: false,\n                isWritable: true,\n            } satisfies AccountMeta\n        })\n        return instructions\n            .nativeDrop(\n                { programs: this.programRepo },\n                {\n                    executor: executor,\n                    config: this.pda.config(),\n                    eventAuthority: new EventPDA(this.programId).eventAuthority()[0],\n                    program: this.programId,\n                    ...param,\n                }\n            )\n            .addRemainingAccounts(receivers).items[0]\n    }\n\n    quoteExecutor(param: { priceFeedProgram: PublicKey } & QuoteExecutorInstructionArgs): WrappedInstruction {\n        const [priceFeed] = new PriceFeedPDA(param.priceFeedProgram).priceFeed()\n        return instructions.quoteExecutor(\n            { programs: this.programRepo },\n            {\n                executorConfig: this.pda.config(),\n                priceFeedConfig: priceFeed,\n                ...param,\n            }\n        ).items[0]\n    }\n\n    async getExecutorConfig(\n        rpc: RpcInterface,\n        commitment: Commitment = 'confirmed'\n    ): Promise<accounts.ExecutorConfig | null> {\n        const [configAccount] = this.pda.config()\n        const config = await accounts.safeFetchExecutorConfig({ rpc }, configAccount, { commitment })\n        return config\n    }\n\n    getQuoteIXAccountMetaForCPI(\n        priceFeedConfig: PublicKey,\n        priceFeedProgram: PublicKey,\n        payment: boolean\n    ): AccountMeta[] {\n        const txBuilder = instructions.quoteExecutor(\n            { programs: this.programRepo },\n            {\n                executorConfig: this.pda.config(),\n                priceFeedConfig,\n                priceFeedProgram: priceFeedProgram,\n                // param\n                msglib: defaultPublicKey(),\n                dstEid: 0,\n                sender: defaultPublicKey(),\n                calldataSize: 0,\n                options: [],\n            }\n        )\n        const ixAccounts = txBuilder.getInstructions()[0].keys\n        if (payment) {\n            // if payment is required, the first account is required to be writable to receive the payment\n            ixAccounts[0].isWritable = true\n        }\n        return [\n            {\n                pubkey: this.programId,\n                isWritable: false,\n                isSigner: false,\n            },\n        ].concat(ixAccounts)\n    }\n\n    async execute(\n        rpc: RpcInterface,\n        executor: Signer,\n        param: {\n            packet: Packet\n            extraData: Uint8Array\n            value?: bigint\n            computeUnits?: number\n            endpointProgram?: PublicKey\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<{ signers: Signer[]; instructions: Instruction[]; addressLookupTables: AddressLookupTableInput[] }> {\n        const { packet, extraData, value = 0n } = param\n        const payer = executor.publicKey\n        const lzReceiveResult = await lzReceive(rpc, payer, packet, extraData, this.programId, commitment)\n        const { contextVersion } = lzReceiveResult\n        const instructions: Instruction[] = [this.preExecute(executor, contextVersion, value).instruction]\n        const signers: Signer[] = []\n        const addressLookupTables: AddressLookupTableInput[] = []\n        // Handle both V1 (Instruction) and V2 ({signers, instructions})\n        if ('instruction' in lzReceiveResult) {\n            // V1: single instruction\n            instructions.push(lzReceiveResult.instruction)\n        } else {\n            // V2: multi-instruction\n            instructions.push(...lzReceiveResult.instructions)\n            signers.push(...lzReceiveResult.signers)\n            addressLookupTables.push(...lzReceiveResult.addressLookupTables)\n        }\n        instructions.push(this.postExecute(executor, contextVersion).instruction)\n        return { signers, instructions, addressLookupTables }\n    }\n\n    async compose(\n        rpc: RpcInterface,\n        executor: Signer,\n        param: {\n            event: ComposeSentEvent\n            extraData: Uint8Array\n            value?: bigint\n            endpointProgram?: PublicKey\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<{ signers: Signer[]; instructions: Instruction[]; addressLookupTables: AddressLookupTableInput[] }> {\n        const { event, extraData, value = 0n } = param\n        const payer = executor.publicKey\n        const lzComposeResult = await lzCompose(rpc, payer, event, extraData, this.programId, commitment)\n        const { contextVersion } = lzComposeResult\n        const instructions: Instruction[] = [this.preExecute(executor, contextVersion, value).instruction]\n        const signers: Signer[] = []\n        const addressLookupTables: AddressLookupTableInput[] = []\n        // Handle both V1 (Instruction) and V2 ({signers, instructions})\n        if ('instruction' in lzComposeResult) {\n            // V1: single instruction\n            instructions.push(lzComposeResult.instruction)\n        } else {\n            // V2: multi-instruction\n            instructions.push(...lzComposeResult.instructions)\n            signers.push(...lzComposeResult.signers)\n            addressLookupTables.push(...lzComposeResult.addressLookupTables)\n        }\n        instructions.push(this.postExecute(executor, contextVersion).instruction)\n        return { signers, instructions, addressLookupTables }\n    }\n\n    preExecute(executor: Signer, version: number, feeLimit: bigint): WrappedInstruction {\n        const context = this.pda.context(executor.publicKey, version)\n        return instructions.preExecute(\n            { programs: this.programRepo },\n            { executor, context, feeLimit, contextVersion: version }\n        ).items[0]\n    }\n\n    postExecute(executor: Signer, version: number): WrappedInstruction {\n        const context = this.pda.context(executor.publicKey, version)\n        return instructions.postExecute({ programs: this.programRepo }, { context, executor, contextVersion: version })\n            .items[0]\n    }\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './executionContextV1';\nexport * from './executorConfig';\nexport * from './nonce';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ExecutionContextV1 = Account<ExecutionContextV1AccountData>;\n\nexport type ExecutionContextV1AccountData = {\n  discriminator: Uint8Array;\n  initialPayerBalance: bigint;\n  /**\n   * The maximum total lamports allowed to be used by all instructions in this execution.\n   * This is a hard cap for the sum of lamports consumed by all instructions in the execution batch.\n   */\n  feeLimit: bigint;\n};\n\nexport type ExecutionContextV1AccountDataArgs = {\n  initialPayerBalance: number | bigint;\n  /**\n   * The maximum total lamports allowed to be used by all instructions in this execution.\n   * This is a hard cap for the sum of lamports consumed by all instructions in the execution batch.\n   */\n  feeLimit: number | bigint;\n};\n\nexport function getExecutionContextV1AccountDataSerializer(): Serializer<\n  ExecutionContextV1AccountDataArgs,\n  ExecutionContextV1AccountData\n> {\n  return mapSerializer<\n    ExecutionContextV1AccountDataArgs,\n    any,\n    ExecutionContextV1AccountData\n  >(\n    struct<ExecutionContextV1AccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['initialPayerBalance', u64()],\n        ['feeLimit', u64()],\n      ],\n      { description: 'ExecutionContextV1AccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([132, 92, 176, 59, 141, 186, 141, 137]),\n    })\n  ) as Serializer<\n    ExecutionContextV1AccountDataArgs,\n    ExecutionContextV1AccountData\n  >;\n}\n\nexport function deserializeExecutionContextV1(\n  rawAccount: RpcAccount\n): ExecutionContextV1 {\n  return deserializeAccount(\n    rawAccount,\n    getExecutionContextV1AccountDataSerializer()\n  );\n}\n\nexport async function fetchExecutionContextV1(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ExecutionContextV1> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ExecutionContextV1');\n  return deserializeExecutionContextV1(maybeAccount);\n}\n\nexport async function safeFetchExecutionContextV1(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ExecutionContextV1 | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists\n    ? deserializeExecutionContextV1(maybeAccount)\n    : null;\n}\n\nexport async function fetchAllExecutionContextV1(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ExecutionContextV1[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ExecutionContextV1');\n    return deserializeExecutionContextV1(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllExecutionContextV1(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ExecutionContextV1[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeExecutionContextV1(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getExecutionContextV1GpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      initialPayerBalance: number | bigint;\n      feeLimit: number | bigint;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      initialPayerBalance: [8, u64()],\n      feeLimit: [16, u64()],\n    })\n    .deserializeUsing<ExecutionContextV1>((account) =>\n      deserializeExecutionContextV1(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([132, 92, 176, 59, 141, 186, 141, 137])\n    );\n}\n\nexport function getExecutionContextV1Size(): number {\n  return 24;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './acl';\nexport * from './adminSetConfigParams';\nexport * from './dstConfig';\nexport * from './executionState';\nexport * from './lzComposeParams';\nexport * from './lzOption';\nexport * from './lzReceiveParams';\nexport * from './nativeDropRequest';\nexport * from './ownerSetConfigParams';\nexport * from './version';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Acl = { allowList: Array<PublicKey>; denyList: Array<PublicKey> };\n\nexport type AclArgs = Acl;\n\nexport function getAclSerializer(): Serializer<AclArgs, Acl> {\n  return struct<Acl>(\n    [\n      ['allowList', array(publicKeySerializer())],\n      ['denyList', array(publicKeySerializer())],\n    ],\n    { description: 'Acl' }\n  ) as Serializer<AclArgs, Acl>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  GetDataEnumKind,\n  GetDataEnumKindContent,\n  Serializer,\n  array,\n  dataEnum,\n  publicKey as publicKeySerializer,\n  struct,\n  tuple,\n  u16,\n} from '@metaplex-foundation/umi/serializers';\nimport { DstConfig, DstConfigArgs, getDstConfigSerializer } from '.';\n\nexport type AdminSetConfigParams =\n  | { __kind: 'PriceFeed'; fields: [PublicKey] }\n  | { __kind: 'DefaultMultiplierBps'; fields: [number] }\n  | { __kind: 'DstConfigs'; fields: [Array<DstConfig>] };\n\nexport type AdminSetConfigParamsArgs =\n  | { __kind: 'PriceFeed'; fields: [PublicKey] }\n  | { __kind: 'DefaultMultiplierBps'; fields: [number] }\n  | { __kind: 'DstConfigs'; fields: [Array<DstConfigArgs>] };\n\nexport function getAdminSetConfigParamsSerializer(): Serializer<\n  AdminSetConfigParamsArgs,\n  AdminSetConfigParams\n> {\n  return dataEnum<AdminSetConfigParams>(\n    [\n      [\n        'PriceFeed',\n        struct<GetDataEnumKindContent<AdminSetConfigParams, 'PriceFeed'>>([\n          ['fields', tuple([publicKeySerializer()])],\n        ]),\n      ],\n      [\n        'DefaultMultiplierBps',\n        struct<\n          GetDataEnumKindContent<AdminSetConfigParams, 'DefaultMultiplierBps'>\n        >([['fields', tuple([u16()])]]),\n      ],\n      [\n        'DstConfigs',\n        struct<GetDataEnumKindContent<AdminSetConfigParams, 'DstConfigs'>>([\n          ['fields', tuple([array(getDstConfigSerializer())])],\n        ]),\n      ],\n    ],\n    { description: 'AdminSetConfigParams' }\n  ) as Serializer<AdminSetConfigParamsArgs, AdminSetConfigParams>;\n}\n\n// Data Enum Helpers.\nexport function adminSetConfigParams(\n  kind: 'PriceFeed',\n  data: GetDataEnumKindContent<AdminSetConfigParamsArgs, 'PriceFeed'>['fields']\n): GetDataEnumKind<AdminSetConfigParamsArgs, 'PriceFeed'>;\nexport function adminSetConfigParams(\n  kind: 'DefaultMultiplierBps',\n  data: GetDataEnumKindContent<\n    AdminSetConfigParamsArgs,\n    'DefaultMultiplierBps'\n  >['fields']\n): GetDataEnumKind<AdminSetConfigParamsArgs, 'DefaultMultiplierBps'>;\nexport function adminSetConfigParams(\n  kind: 'DstConfigs',\n  data: GetDataEnumKindContent<AdminSetConfigParamsArgs, 'DstConfigs'>['fields']\n): GetDataEnumKind<AdminSetConfigParamsArgs, 'DstConfigs'>;\nexport function adminSetConfigParams<\n  K extends AdminSetConfigParamsArgs['__kind'],\n>(kind: K, data?: any): Extract<AdminSetConfigParamsArgs, { __kind: K }> {\n  return Array.isArray(data)\n    ? { __kind: kind, fields: data }\n    : { __kind: kind, ...(data ?? {}) };\n}\nexport function isAdminSetConfigParams<\n  K extends AdminSetConfigParams['__kind'],\n>(\n  kind: K,\n  value: AdminSetConfigParams\n): value is AdminSetConfigParams & { __kind: K } {\n  return value.__kind === kind;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  struct,\n  u128,\n  u16,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type DstConfig = {\n  eid: number;\n  lzReceiveBaseGas: number;\n  lzComposeBaseGas: number;\n  multiplierBps: Option<number>;\n  floorMarginUsd: Option<bigint>;\n  nativeDropCap: bigint;\n};\n\nexport type DstConfigArgs = {\n  eid: number;\n  lzReceiveBaseGas: number;\n  lzComposeBaseGas: number;\n  multiplierBps: OptionOrNullable<number>;\n  floorMarginUsd: OptionOrNullable<number | bigint>;\n  nativeDropCap: number | bigint;\n};\n\nexport function getDstConfigSerializer(): Serializer<DstConfigArgs, DstConfig> {\n  return struct<DstConfig>(\n    [\n      ['eid', u32()],\n      ['lzReceiveBaseGas', u32()],\n      ['lzComposeBaseGas', u32()],\n      ['multiplierBps', option(u16())],\n      ['floorMarginUsd', option(u128())],\n      ['nativeDropCap', u128()],\n    ],\n    { description: 'DstConfig' }\n  ) as Serializer<DstConfigArgs, DstConfig>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, scalarEnum } from '@metaplex-foundation/umi/serializers';\n\nexport enum ExecutionState {\n  NotExecutable,\n  VerifiedButNotExecutable,\n  Executable,\n  Executed,\n}\n\nexport type ExecutionStateArgs = ExecutionState;\n\nexport function getExecutionStateSerializer(): Serializer<\n  ExecutionStateArgs,\n  ExecutionState\n> {\n  return scalarEnum<ExecutionState>(ExecutionState, {\n    description: 'ExecutionState',\n  }) as Serializer<ExecutionStateArgs, ExecutionState>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzComposeParams = {\n  from: PublicKey;\n  to: PublicKey;\n  guid: Uint8Array;\n  index: number;\n  message: Uint8Array;\n  extraData: Uint8Array;\n};\n\nexport type LzComposeParamsArgs = LzComposeParams;\n\nexport function getLzComposeParamsSerializer(): Serializer<\n  LzComposeParamsArgs,\n  LzComposeParams\n> {\n  return struct<LzComposeParams>(\n    [\n      ['from', publicKeySerializer()],\n      ['to', publicKeySerializer()],\n      ['guid', bytes({ size: 32 })],\n      ['index', u16()],\n      ['message', bytes({ size: u32() })],\n      ['extraData', bytes({ size: u32() })],\n    ],\n    { description: 'LzComposeParams' }\n  ) as Serializer<LzComposeParamsArgs, LzComposeParams>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  bytes,\n  struct,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzOption = { optionType: number; params: Uint8Array };\n\nexport type LzOptionArgs = LzOption;\n\nexport function getLzOptionSerializer(): Serializer<LzOptionArgs, LzOption> {\n  return struct<LzOption>(\n    [\n      ['optionType', u8()],\n      ['params', bytes({ size: u32() })],\n    ],\n    { description: 'LzOption' }\n  ) as Serializer<LzOptionArgs, LzOption>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  bytes,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzReceiveParams = {\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  guid: Uint8Array;\n  message: Uint8Array;\n  extraData: Uint8Array;\n};\n\nexport type LzReceiveParamsArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  guid: Uint8Array;\n  message: Uint8Array;\n  extraData: Uint8Array;\n};\n\nexport function getLzReceiveParamsSerializer(): Serializer<\n  LzReceiveParamsArgs,\n  LzReceiveParams\n> {\n  return struct<LzReceiveParams>(\n    [\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['nonce', u64()],\n      ['guid', bytes({ size: 32 })],\n      ['message', bytes({ size: u32() })],\n      ['extraData', bytes({ size: u32() })],\n    ],\n    { description: 'LzReceiveParams' }\n  ) as Serializer<LzReceiveParamsArgs, LzReceiveParams>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type NativeDropRequest = { receiver: PublicKey; amount: bigint };\n\nexport type NativeDropRequestArgs = {\n  receiver: PublicKey;\n  amount: number | bigint;\n};\n\nexport function getNativeDropRequestSerializer(): Serializer<\n  NativeDropRequestArgs,\n  NativeDropRequest\n> {\n  return struct<NativeDropRequest>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['amount', u64()],\n    ],\n    { description: 'NativeDropRequest' }\n  ) as Serializer<NativeDropRequestArgs, NativeDropRequest>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  GetDataEnumKind,\n  GetDataEnumKindContent,\n  Serializer,\n  array,\n  bool,\n  dataEnum,\n  publicKey as publicKeySerializer,\n  struct,\n  tuple,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type OwnerSetConfigParams =\n  | { __kind: 'Admins'; fields: [Array<PublicKey>] }\n  | { __kind: 'Executors'; fields: [Array<PublicKey>] }\n  | { __kind: 'Msglibs'; fields: [Array<PublicKey>] }\n  | { __kind: 'Owner'; fields: [PublicKey] }\n  | { __kind: 'Paused'; fields: [boolean] }\n  | { __kind: 'Allowlist'; fields: [Array<PublicKey>] }\n  | { __kind: 'Denylist'; fields: [Array<PublicKey>] };\n\nexport type OwnerSetConfigParamsArgs = OwnerSetConfigParams;\n\nexport function getOwnerSetConfigParamsSerializer(): Serializer<\n  OwnerSetConfigParamsArgs,\n  OwnerSetConfigParams\n> {\n  return dataEnum<OwnerSetConfigParams>(\n    [\n      [\n        'Admins',\n        struct<GetDataEnumKindContent<OwnerSetConfigParams, 'Admins'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Executors',\n        struct<GetDataEnumKindContent<OwnerSetConfigParams, 'Executors'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Msglibs',\n        struct<GetDataEnumKindContent<OwnerSetConfigParams, 'Msglibs'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Owner',\n        struct<GetDataEnumKindContent<OwnerSetConfigParams, 'Owner'>>([\n          ['fields', tuple([publicKeySerializer()])],\n        ]),\n      ],\n      [\n        'Paused',\n        struct<GetDataEnumKindContent<OwnerSetConfigParams, 'Paused'>>([\n          ['fields', tuple([bool()])],\n        ]),\n      ],\n      [\n        'Allowlist',\n        struct<GetDataEnumKindContent<OwnerSetConfigParams, 'Allowlist'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n      [\n        'Denylist',\n        struct<GetDataEnumKindContent<OwnerSetConfigParams, 'Denylist'>>([\n          ['fields', tuple([array(publicKeySerializer())])],\n        ]),\n      ],\n    ],\n    { description: 'OwnerSetConfigParams' }\n  ) as Serializer<OwnerSetConfigParamsArgs, OwnerSetConfigParams>;\n}\n\n// Data Enum Helpers.\nexport function ownerSetConfigParams(\n  kind: 'Admins',\n  data: GetDataEnumKindContent<OwnerSetConfigParamsArgs, 'Admins'>['fields']\n): GetDataEnumKind<OwnerSetConfigParamsArgs, 'Admins'>;\nexport function ownerSetConfigParams(\n  kind: 'Executors',\n  data: GetDataEnumKindContent<OwnerSetConfigParamsArgs, 'Executors'>['fields']\n): GetDataEnumKind<OwnerSetConfigParamsArgs, 'Executors'>;\nexport function ownerSetConfigParams(\n  kind: 'Msglibs',\n  data: GetDataEnumKindContent<OwnerSetConfigParamsArgs, 'Msglibs'>['fields']\n): GetDataEnumKind<OwnerSetConfigParamsArgs, 'Msglibs'>;\nexport function ownerSetConfigParams(\n  kind: 'Owner',\n  data: GetDataEnumKindContent<OwnerSetConfigParamsArgs, 'Owner'>['fields']\n): GetDataEnumKind<OwnerSetConfigParamsArgs, 'Owner'>;\nexport function ownerSetConfigParams(\n  kind: 'Paused',\n  data: GetDataEnumKindContent<OwnerSetConfigParamsArgs, 'Paused'>['fields']\n): GetDataEnumKind<OwnerSetConfigParamsArgs, 'Paused'>;\nexport function ownerSetConfigParams(\n  kind: 'Allowlist',\n  data: GetDataEnumKindContent<OwnerSetConfigParamsArgs, 'Allowlist'>['fields']\n): GetDataEnumKind<OwnerSetConfigParamsArgs, 'Allowlist'>;\nexport function ownerSetConfigParams(\n  kind: 'Denylist',\n  data: GetDataEnumKindContent<OwnerSetConfigParamsArgs, 'Denylist'>['fields']\n): GetDataEnumKind<OwnerSetConfigParamsArgs, 'Denylist'>;\nexport function ownerSetConfigParams<\n  K extends OwnerSetConfigParamsArgs['__kind'],\n>(kind: K, data?: any): Extract<OwnerSetConfigParamsArgs, { __kind: K }> {\n  return Array.isArray(data)\n    ? { __kind: kind, fields: data }\n    : { __kind: kind, ...(data ?? {}) };\n}\nexport function isOwnerSetConfigParams<\n  K extends OwnerSetConfigParams['__kind'],\n>(\n  kind: K,\n  value: OwnerSetConfigParams\n): value is OwnerSetConfigParams & { __kind: K } {\n  return value.__kind === kind;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Version = { major: bigint; minor: number };\n\nexport type VersionArgs = { major: number | bigint; minor: number };\n\nexport function getVersionSerializer(): Serializer<VersionArgs, Version> {\n  return struct<Version>(\n    [\n      ['major', u64()],\n      ['minor', u8()],\n    ],\n    { description: 'Version' }\n  ) as Serializer<VersionArgs, Version>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bool,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u16,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  Acl,\n  AclArgs,\n  DstConfig,\n  DstConfigArgs,\n  getAclSerializer,\n  getDstConfigSerializer,\n} from '../types';\n\nexport type ExecutorConfig = Account<ExecutorConfigAccountData>;\n\nexport type ExecutorConfigAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  owner: PublicKey;\n  acl: Acl;\n  admins: Array<PublicKey>;\n  executors: Array<PublicKey>;\n  msglibs: Array<PublicKey>;\n  paused: boolean;\n  defaultMultiplierBps: number;\n  priceFeed: PublicKey;\n  dstConfigs: Array<DstConfig>;\n};\n\nexport type ExecutorConfigAccountDataArgs = {\n  bump: number;\n  owner: PublicKey;\n  acl: AclArgs;\n  admins: Array<PublicKey>;\n  executors: Array<PublicKey>;\n  msglibs: Array<PublicKey>;\n  paused: boolean;\n  defaultMultiplierBps: number;\n  priceFeed: PublicKey;\n  dstConfigs: Array<DstConfigArgs>;\n};\n\nexport function getExecutorConfigAccountDataSerializer(): Serializer<\n  ExecutorConfigAccountDataArgs,\n  ExecutorConfigAccountData\n> {\n  return mapSerializer<\n    ExecutorConfigAccountDataArgs,\n    any,\n    ExecutorConfigAccountData\n  >(\n    struct<ExecutorConfigAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['owner', publicKeySerializer()],\n        ['acl', getAclSerializer()],\n        ['admins', array(publicKeySerializer())],\n        ['executors', array(publicKeySerializer())],\n        ['msglibs', array(publicKeySerializer())],\n        ['paused', bool()],\n        ['defaultMultiplierBps', u16()],\n        ['priceFeed', publicKeySerializer()],\n        ['dstConfigs', array(getDstConfigSerializer())],\n      ],\n      { description: 'ExecutorConfigAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([134, 17, 226, 24, 10, 173, 157, 78]),\n    })\n  ) as Serializer<ExecutorConfigAccountDataArgs, ExecutorConfigAccountData>;\n}\n\nexport function deserializeExecutorConfig(\n  rawAccount: RpcAccount\n): ExecutorConfig {\n  return deserializeAccount(\n    rawAccount,\n    getExecutorConfigAccountDataSerializer()\n  );\n}\n\nexport async function fetchExecutorConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ExecutorConfig> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ExecutorConfig');\n  return deserializeExecutorConfig(maybeAccount);\n}\n\nexport async function safeFetchExecutorConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ExecutorConfig | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeExecutorConfig(maybeAccount) : null;\n}\n\nexport async function fetchAllExecutorConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ExecutorConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ExecutorConfig');\n    return deserializeExecutorConfig(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllExecutorConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ExecutorConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeExecutorConfig(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getExecutorConfigGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      owner: PublicKey;\n      acl: AclArgs;\n      admins: Array<PublicKey>;\n      executors: Array<PublicKey>;\n      msglibs: Array<PublicKey>;\n      paused: boolean;\n      defaultMultiplierBps: number;\n      priceFeed: PublicKey;\n      dstConfigs: Array<DstConfigArgs>;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      owner: [9, publicKeySerializer()],\n      acl: [41, getAclSerializer()],\n      admins: [null, array(publicKeySerializer())],\n      executors: [null, array(publicKeySerializer())],\n      msglibs: [null, array(publicKeySerializer())],\n      paused: [null, bool()],\n      defaultMultiplierBps: [null, u16()],\n      priceFeed: [null, publicKeySerializer()],\n      dstConfigs: [null, array(getDstConfigSerializer())],\n    })\n    .deserializeUsing<ExecutorConfig>((account) =>\n      deserializeExecutorConfig(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([134, 17, 226, 24, 10, 173, 157, 78])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Nonce = Account<NonceAccountData>;\n\nexport type NonceAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  outboundNonce: bigint;\n  inboundNonce: bigint;\n};\n\nexport type NonceAccountDataArgs = {\n  bump: number;\n  outboundNonce: number | bigint;\n  inboundNonce: number | bigint;\n};\n\nexport function getNonceAccountDataSerializer(): Serializer<\n  NonceAccountDataArgs,\n  NonceAccountData\n> {\n  return mapSerializer<NonceAccountDataArgs, any, NonceAccountData>(\n    struct<NonceAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['outboundNonce', u64()],\n        ['inboundNonce', u64()],\n      ],\n      { description: 'NonceAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([143, 197, 147, 95, 106, 165, 50, 43]),\n    })\n  ) as Serializer<NonceAccountDataArgs, NonceAccountData>;\n}\n\nexport function deserializeNonce(rawAccount: RpcAccount): Nonce {\n  return deserializeAccount(rawAccount, getNonceAccountDataSerializer());\n}\n\nexport async function fetchNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<Nonce> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'Nonce');\n  return deserializeNonce(maybeAccount);\n}\n\nexport async function safeFetchNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<Nonce | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeNonce(maybeAccount) : null;\n}\n\nexport async function fetchAllNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<Nonce[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'Nonce');\n    return deserializeNonce(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllNonce(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<Nonce[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeNonce(maybeAccount as RpcAccount));\n}\n\nexport function getNonceGpaBuilder(context: Pick<Context, 'rpc' | 'programs'>) {\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      outboundNonce: number | bigint;\n      inboundNonce: number | bigint;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      outboundNonce: [9, u64()],\n      inboundNonce: [17, u64()],\n    })\n    .deserializeUsing<Nonce>((account) => deserializeNonce(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([143, 197, 147, 95, 106, 165, 50, 43])\n    );\n}\n\nexport function getNonceSize(): number {\n  return 25;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './executor';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Program, ProgramError } from '@metaplex-foundation/umi';\n\ntype ProgramErrorConstructor = new (\n  program: Program,\n  cause?: Error\n) => ProgramError;\nconst codeToErrorMap: Map<number, ProgramErrorConstructor> = new Map();\nconst nameToErrorMap: Map<string, ProgramErrorConstructor> = new Map();\n\n/** InvalidSize */\nexport class InvalidSizeError extends ProgramError {\n  override readonly name: string = 'InvalidSize';\n\n  readonly code: number = 0x1770; // 6000\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1770, InvalidSizeError);\nnameToErrorMap.set('InvalidSize', InvalidSizeError);\n\n/** Paused */\nexport class PausedError extends ProgramError {\n  override readonly name: string = 'Paused';\n\n  readonly code: number = 0x1771; // 6001\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1771, PausedError);\nnameToErrorMap.set('Paused', PausedError);\n\n/** UnsupportedOptionType */\nexport class UnsupportedOptionTypeError extends ProgramError {\n  override readonly name: string = 'UnsupportedOptionType';\n\n  readonly code: number = 0x1772; // 6002\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1772, UnsupportedOptionTypeError);\nnameToErrorMap.set('UnsupportedOptionType', UnsupportedOptionTypeError);\n\n/** ZeroLzComposeGasProvided */\nexport class ZeroLzComposeGasProvidedError extends ProgramError {\n  override readonly name: string = 'ZeroLzComposeGasProvided';\n\n  readonly code: number = 0x1773; // 6003\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1773, ZeroLzComposeGasProvidedError);\nnameToErrorMap.set('ZeroLzComposeGasProvided', ZeroLzComposeGasProvidedError);\n\n/** ZeroLzReceiveGasProvided */\nexport class ZeroLzReceiveGasProvidedError extends ProgramError {\n  override readonly name: string = 'ZeroLzReceiveGasProvided';\n\n  readonly code: number = 0x1774; // 6004\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1774, ZeroLzReceiveGasProvidedError);\nnameToErrorMap.set('ZeroLzReceiveGasProvided', ZeroLzReceiveGasProvidedError);\n\n/** NativeAmountExceedsCap */\nexport class NativeAmountExceedsCapError extends ProgramError {\n  override readonly name: string = 'NativeAmountExceedsCap';\n\n  readonly code: number = 0x1775; // 6005\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1775, NativeAmountExceedsCapError);\nnameToErrorMap.set('NativeAmountExceedsCap', NativeAmountExceedsCapError);\n\n/** NotAdmin */\nexport class NotAdminError extends ProgramError {\n  override readonly name: string = 'NotAdmin';\n\n  readonly code: number = 0x1776; // 6006\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1776, NotAdminError);\nnameToErrorMap.set('NotAdmin', NotAdminError);\n\n/** NotExecutor */\nexport class NotExecutorError extends ProgramError {\n  override readonly name: string = 'NotExecutor';\n\n  readonly code: number = 0x1777; // 6007\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1777, NotExecutorError);\nnameToErrorMap.set('NotExecutor', NotExecutorError);\n\n/** MsgLibNotAllowed */\nexport class MsgLibNotAllowedError extends ProgramError {\n  override readonly name: string = 'MsgLibNotAllowed';\n\n  readonly code: number = 0x1778; // 6008\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1778, MsgLibNotAllowedError);\nnameToErrorMap.set('MsgLibNotAllowed', MsgLibNotAllowedError);\n\n/** TooManyAdmins */\nexport class TooManyAdminsError extends ProgramError {\n  override readonly name: string = 'TooManyAdmins';\n\n  readonly code: number = 0x1779; // 6009\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1779, TooManyAdminsError);\nnameToErrorMap.set('TooManyAdmins', TooManyAdminsError);\n\n/** TooManyExecutors */\nexport class TooManyExecutorsError extends ProgramError {\n  override readonly name: string = 'TooManyExecutors';\n\n  readonly code: number = 0x177a; // 6010\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177a, TooManyExecutorsError);\nnameToErrorMap.set('TooManyExecutors', TooManyExecutorsError);\n\n/** TooManyOptionTypes */\nexport class TooManyOptionTypesError extends ProgramError {\n  override readonly name: string = 'TooManyOptionTypes';\n\n  readonly code: number = 0x177b; // 6011\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177b, TooManyOptionTypesError);\nnameToErrorMap.set('TooManyOptionTypes', TooManyOptionTypesError);\n\n/** InvalidNativeDropRequestsLength */\nexport class InvalidNativeDropRequestsLengthError extends ProgramError {\n  override readonly name: string = 'InvalidNativeDropRequestsLength';\n\n  readonly code: number = 0x177c; // 6012\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177c, InvalidNativeDropRequestsLengthError);\nnameToErrorMap.set(\n  'InvalidNativeDropRequestsLength',\n  InvalidNativeDropRequestsLengthError\n);\n\n/** InvalidNativeDropReceiver */\nexport class InvalidNativeDropReceiverError extends ProgramError {\n  override readonly name: string = 'InvalidNativeDropReceiver';\n\n  readonly code: number = 0x177d; // 6013\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177d, InvalidNativeDropReceiverError);\nnameToErrorMap.set('InvalidNativeDropReceiver', InvalidNativeDropReceiverError);\n\n/** InsufficientBalance */\nexport class InsufficientBalanceError extends ProgramError {\n  override readonly name: string = 'InsufficientBalance';\n\n  readonly code: number = 0x177e; // 6014\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177e, InsufficientBalanceError);\nnameToErrorMap.set('InsufficientBalance', InsufficientBalanceError);\n\n/** EidNotSupported */\nexport class EidNotSupportedError extends ProgramError {\n  override readonly name: string = 'EidNotSupported';\n\n  readonly code: number = 0x177f; // 6015\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177f, EidNotSupportedError);\nnameToErrorMap.set('EidNotSupported', EidNotSupportedError);\n\n/** ExecutorIsAdmin */\nexport class ExecutorIsAdminError extends ProgramError {\n  override readonly name: string = 'ExecutorIsAdmin';\n\n  readonly code: number = 0x1780; // 6016\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1780, ExecutorIsAdminError);\nnameToErrorMap.set('ExecutorIsAdmin', ExecutorIsAdminError);\n\n/** InvalidOwner */\nexport class InvalidOwnerError extends ProgramError {\n  override readonly name: string = 'InvalidOwner';\n\n  readonly code: number = 0x1781; // 6017\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1781, InvalidOwnerError);\nnameToErrorMap.set('InvalidOwner', InvalidOwnerError);\n\n/** InvalidInstructionSequence */\nexport class InvalidInstructionSequenceError extends ProgramError {\n  override readonly name: string = 'InvalidInstructionSequence';\n\n  readonly code: number = 0x1782; // 6018\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1782, InvalidInstructionSequenceError);\nnameToErrorMap.set(\n  'InvalidInstructionSequence',\n  InvalidInstructionSequenceError\n);\n\n/** ContextAccountAlreadyInitialized */\nexport class ContextAccountAlreadyInitializedError extends ProgramError {\n  override readonly name: string = 'ContextAccountAlreadyInitialized';\n\n  readonly code: number = 0x1783; // 6019\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1783, ContextAccountAlreadyInitializedError);\nnameToErrorMap.set(\n  'ContextAccountAlreadyInitialized',\n  ContextAccountAlreadyInitializedError\n);\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n */\nexport function getExecutorErrorFromCode(\n  code: number,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = codeToErrorMap.get(code);\n  return constructor ? new constructor(program, cause) : null;\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n */\nexport function getExecutorErrorFromName(\n  name: string,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = nameToErrorMap.get(name);\n  return constructor ? new constructor(program, cause) : null;\n}\n","export * from './nativeDropAppliedEvent';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bool,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  NativeDropRequest,\n  NativeDropRequestArgs,\n  getNativeDropRequestSerializer,\n} from '../types';\n\nexport type NativeDropAppliedEvent = {\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  dstEid: number;\n  oapp: PublicKey;\n  nativeDropRequests: Array<NativeDropRequest>;\n  successes: Array<boolean>;\n};\n\nexport type NativeDropAppliedEventArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  dstEid: number;\n  oapp: PublicKey;\n  nativeDropRequests: Array<NativeDropRequestArgs>;\n  successes: Array<boolean>;\n};\n\nexport function getNativeDropAppliedEventSerializer(): Serializer<\n  NativeDropAppliedEventArgs,\n  NativeDropAppliedEvent\n> {\n  return struct<NativeDropAppliedEvent>(\n    [\n      ['srcEid', u32()],\n      ['sender', bytes({ size: 32 })],\n      ['nonce', u64()],\n      ['dstEid', u32()],\n      ['oapp', publicKeySerializer()],\n      ['nativeDropRequests', array(getNativeDropRequestSerializer())],\n      ['successes', array(bool())],\n    ],\n    { description: 'NativeDropAppliedEvent' }\n  ) as Serializer<NativeDropAppliedEventArgs, NativeDropAppliedEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './adminSetConfig';\nexport * from './compose';\nexport * from './executable';\nexport * from './execute';\nexport * from './extendExecutorConfig';\nexport * from './initExecutor';\nexport * from './nativeDrop';\nexport * from './ownerSetConfig';\nexport * from './postExecute';\nexport * from './preExecute';\nexport * from './quoteExecutor';\nexport * from './version';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  AccountMeta,\n  isSigner,\n  Pda,\n  publicKey,\n  PublicKey,\n  Signer,\n  isPda,\n} from '@metaplex-foundation/umi';\n\n/**\n * Transforms the given object such that the given keys are optional.\n * @internal\n */\nexport type PickPartial<T, K extends keyof T> = Omit<T, K> &\n  Partial<Pick<T, K>>;\n\n/**\n * Asserts that the given value is not null or undefined.\n * @internal\n */\nexport function expectSome<T>(value: T | null | undefined): T {\n  if (value == null) {\n    throw new Error('Expected a value but received null or undefined.');\n  }\n  return value;\n}\n\n/**\n * Asserts that the given value is a PublicKey.\n * @internal\n */\nexport function expectPublicKey(\n  value: PublicKey | Pda | Signer | null | undefined\n): PublicKey {\n  if (!value) {\n    throw new Error('Expected a PublicKey.');\n  }\n  return publicKey(value, false);\n}\n\n/**\n * Asserts that the given value is a PDA.\n * @internal\n */\nexport function expectPda(\n  value: PublicKey | Pda | Signer | null | undefined\n): Pda {\n  if (!value || !Array.isArray(value) || !isPda(value)) {\n    throw new Error('Expected a PDA.');\n  }\n  return value;\n}\n\n/**\n * Defines an instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccount<T = PublicKey | Pda | Signer | null> = {\n  isWritable: boolean;\n  value: T;\n};\n\n/**\n * Defines a set of instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccounts = Record<string, ResolvedAccount>;\n\n/**\n * Defines a set of instruction account to resolve with their indices.\n * @internal\n */\nexport type ResolvedAccountsWithIndices = Record<\n  string,\n  ResolvedAccount & { index: number }\n>;\n\n/**\n * Get account metas and signers from resolved accounts.\n * @internal\n */\nexport function getAccountMetasAndSigners(\n  accounts: ResolvedAccount[],\n  optionalAccountStrategy: 'omitted' | 'programId',\n  programId: PublicKey\n): [AccountMeta[], Signer[]] {\n  const keys: AccountMeta[] = [];\n  const signers: Signer[] = [];\n\n  accounts.forEach((account) => {\n    if (!account.value) {\n      if (optionalAccountStrategy === 'omitted') return;\n      keys.push({ pubkey: programId, isSigner: false, isWritable: false });\n      return;\n    }\n\n    if (isSigner(account.value)) {\n      signers.push(account.value);\n    }\n    keys.push({\n      pubkey: publicKey(account.value, false),\n      isSigner: isSigner(account.value),\n      isWritable: account.isWritable,\n    });\n  });\n\n  return [keys, signers];\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  AdminSetConfigParams,\n  AdminSetConfigParamsArgs,\n  getAdminSetConfigParamsSerializer,\n} from '../types';\n\n// Accounts.\nexport type AdminSetConfigInstructionAccounts = {\n  admin: Signer;\n  config: PublicKey | Pda;\n};\n\n// Data.\nexport type AdminSetConfigInstructionData = {\n  discriminator: Uint8Array;\n  params: AdminSetConfigParams;\n};\n\nexport type AdminSetConfigInstructionDataArgs = {\n  params: AdminSetConfigParamsArgs;\n};\n\nexport function getAdminSetConfigInstructionDataSerializer(): Serializer<\n  AdminSetConfigInstructionDataArgs,\n  AdminSetConfigInstructionData\n> {\n  return mapSerializer<\n    AdminSetConfigInstructionDataArgs,\n    any,\n    AdminSetConfigInstructionData\n  >(\n    struct<AdminSetConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['params', getAdminSetConfigParamsSerializer()],\n      ],\n      { description: 'AdminSetConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([35, 56, 160, 84, 132, 156, 27, 79]),\n    })\n  ) as Serializer<\n    AdminSetConfigInstructionDataArgs,\n    AdminSetConfigInstructionData\n  >;\n}\n\n// Args.\nexport type AdminSetConfigInstructionArgs = AdminSetConfigInstructionDataArgs;\n\n// Instruction.\nexport function adminSetConfig(\n  context: Pick<Context, 'programs'>,\n  input: AdminSetConfigInstructionAccounts & AdminSetConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: AdminSetConfigInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getAdminSetConfigInstructionDataSerializer().serialize(\n    resolvedArgs as AdminSetConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  LzComposeParams,\n  LzComposeParamsArgs,\n  getLzComposeParamsSerializer,\n} from '../types';\n\n// Accounts.\nexport type ComposeInstructionAccounts = {\n  executor: Signer;\n  config: PublicKey | Pda;\n  endpointProgram: PublicKey | Pda;\n  /** The authority for the endpoint program to emit events */\n  endpointEventAuthority: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type ComposeInstructionData = {\n  discriminator: Uint8Array;\n  lzCompose: LzComposeParams;\n  computeUnits: bigint;\n  value: bigint;\n};\n\nexport type ComposeInstructionDataArgs = {\n  lzCompose: LzComposeParamsArgs;\n  computeUnits: number | bigint;\n  value: number | bigint;\n};\n\nexport function getComposeInstructionDataSerializer(): Serializer<\n  ComposeInstructionDataArgs,\n  ComposeInstructionData\n> {\n  return mapSerializer<ComposeInstructionDataArgs, any, ComposeInstructionData>(\n    struct<ComposeInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['lzCompose', getLzComposeParamsSerializer()],\n        ['computeUnits', u64()],\n        ['value', u64()],\n      ],\n      { description: 'ComposeInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([106, 64, 131, 142, 7, 159, 42, 15]),\n    })\n  ) as Serializer<ComposeInstructionDataArgs, ComposeInstructionData>;\n}\n\n// Args.\nexport type ComposeInstructionArgs = ComposeInstructionDataArgs;\n\n// Instruction.\nexport function compose(\n  context: Pick<Context, 'programs'>,\n  input: ComposeInstructionAccounts & ComposeInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executor: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.executor ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.config ?? null,\n    },\n    endpointProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.endpointProgram ?? null,\n    },\n    endpointEventAuthority: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.endpointEventAuthority ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: ComposeInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getComposeInstructionDataSerializer().serialize(\n    resolvedArgs as ComposeInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type ExecutableInstructionAccounts = {\n  nonce: PublicKey | Pda;\n  payloadHash: PublicKey | Pda;\n};\n\n// Data.\nexport type ExecutableInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n};\n\nexport type ExecutableInstructionDataArgs = {\n  receiver: PublicKey;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n};\n\nexport function getExecutableInstructionDataSerializer(): Serializer<\n  ExecutableInstructionDataArgs,\n  ExecutableInstructionData\n> {\n  return mapSerializer<\n    ExecutableInstructionDataArgs,\n    any,\n    ExecutableInstructionData\n  >(\n    struct<ExecutableInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['nonce', u64()],\n      ],\n      { description: 'ExecutableInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([57, 165, 171, 234, 157, 191, 156, 25]),\n    })\n  ) as Serializer<ExecutableInstructionDataArgs, ExecutableInstructionData>;\n}\n\n// Args.\nexport type ExecutableInstructionArgs = ExecutableInstructionDataArgs;\n\n// Instruction.\nexport function executable(\n  context: Pick<Context, 'programs'>,\n  accounts: ExecutableInstructionAccounts,\n  args: ExecutableInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    nonce: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.nonce ?? null,\n    },\n    payloadHash: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.payloadHash ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: ExecutableInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getExecutableInstructionDataSerializer().serialize(\n    resolvedArgs as ExecutableInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  LzReceiveParams,\n  LzReceiveParamsArgs,\n  getLzReceiveParamsSerializer,\n} from '../types';\n\n// Accounts.\nexport type ExecuteInstructionAccounts = {\n  executor: Signer;\n  config: PublicKey | Pda;\n  endpointProgram: PublicKey | Pda;\n  /** The authority for the endpoint program to emit events */\n  endpointEventAuthority: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type ExecuteInstructionData = {\n  discriminator: Uint8Array;\n  receiver: PublicKey;\n  lzReceive: LzReceiveParams;\n  value: bigint;\n  computeUnits: bigint;\n};\n\nexport type ExecuteInstructionDataArgs = {\n  receiver: PublicKey;\n  lzReceive: LzReceiveParamsArgs;\n  value: number | bigint;\n  computeUnits: number | bigint;\n};\n\nexport function getExecuteInstructionDataSerializer(): Serializer<\n  ExecuteInstructionDataArgs,\n  ExecuteInstructionData\n> {\n  return mapSerializer<ExecuteInstructionDataArgs, any, ExecuteInstructionData>(\n    struct<ExecuteInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['receiver', publicKeySerializer()],\n        ['lzReceive', getLzReceiveParamsSerializer()],\n        ['value', u64()],\n        ['computeUnits', u64()],\n      ],\n      { description: 'ExecuteInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([130, 221, 242, 154, 13, 193, 189, 29]),\n    })\n  ) as Serializer<ExecuteInstructionDataArgs, ExecuteInstructionData>;\n}\n\n// Args.\nexport type ExecuteInstructionArgs = ExecuteInstructionDataArgs;\n\n// Instruction.\nexport function execute(\n  context: Pick<Context, 'programs'>,\n  input: ExecuteInstructionAccounts & ExecuteInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executor: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.executor ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.config ?? null,\n    },\n    endpointProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.endpointProgram ?? null,\n    },\n    endpointEventAuthority: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.endpointEventAuthority ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: ExecuteInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getExecuteInstructionDataSerializer().serialize(\n    resolvedArgs as ExecuteInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type ExtendExecutorConfigInstructionAccounts = {\n  admin: Signer;\n  config: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type ExtendExecutorConfigInstructionData = { discriminator: Uint8Array };\n\nexport type ExtendExecutorConfigInstructionDataArgs = {};\n\nexport function getExtendExecutorConfigInstructionDataSerializer(): Serializer<\n  ExtendExecutorConfigInstructionDataArgs,\n  ExtendExecutorConfigInstructionData\n> {\n  return mapSerializer<\n    ExtendExecutorConfigInstructionDataArgs,\n    any,\n    ExtendExecutorConfigInstructionData\n  >(\n    struct<ExtendExecutorConfigInstructionData>(\n      [['discriminator', bytes({ size: 8 })]],\n      { description: 'ExtendExecutorConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([238, 223, 196, 220, 61, 71, 72, 85]),\n    })\n  ) as Serializer<\n    ExtendExecutorConfigInstructionDataArgs,\n    ExtendExecutorConfigInstructionData\n  >;\n}\n\n// Instruction.\nexport function extendExecutorConfig(\n  context: Pick<Context, 'programs'>,\n  input: ExtendExecutorConfigInstructionAccounts\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getExtendExecutorConfigInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitExecutorInstructionAccounts = {\n  payer?: Signer;\n  config: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitExecutorInstructionData = {\n  discriminator: Uint8Array;\n  owner: PublicKey;\n  admins: Array<PublicKey>;\n  executors: Array<PublicKey>;\n  msglibs: Array<PublicKey>;\n  priceFeed: PublicKey;\n};\n\nexport type InitExecutorInstructionDataArgs = {\n  owner: PublicKey;\n  admins: Array<PublicKey>;\n  executors: Array<PublicKey>;\n  msglibs: Array<PublicKey>;\n  priceFeed: PublicKey;\n};\n\nexport function getInitExecutorInstructionDataSerializer(): Serializer<\n  InitExecutorInstructionDataArgs,\n  InitExecutorInstructionData\n> {\n  return mapSerializer<\n    InitExecutorInstructionDataArgs,\n    any,\n    InitExecutorInstructionData\n  >(\n    struct<InitExecutorInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['owner', publicKeySerializer()],\n        ['admins', array(publicKeySerializer())],\n        ['executors', array(publicKeySerializer())],\n        ['msglibs', array(publicKeySerializer())],\n        ['priceFeed', publicKeySerializer()],\n      ],\n      { description: 'InitExecutorInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([195, 68, 116, 173, 55, 173, 159, 31]),\n    })\n  ) as Serializer<InitExecutorInstructionDataArgs, InitExecutorInstructionData>;\n}\n\n// Args.\nexport type InitExecutorInstructionArgs = InitExecutorInstructionDataArgs;\n\n// Instruction.\nexport function initExecutor(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitExecutorInstructionAccounts & InitExecutorInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitExecutorInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitExecutorInstructionDataSerializer().serialize(\n    resolvedArgs as InitExecutorInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  NativeDropRequest,\n  NativeDropRequestArgs,\n  getNativeDropRequestSerializer,\n} from '../types';\n\n// Accounts.\nexport type NativeDropInstructionAccounts = {\n  executor: Signer;\n  config: PublicKey | Pda;\n  /** For native drop transfer */\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type NativeDropInstructionData = {\n  discriminator: Uint8Array;\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: bigint;\n  dstEid: number;\n  oapp: PublicKey;\n  nativeDropRequests: Array<NativeDropRequest>;\n};\n\nexport type NativeDropInstructionDataArgs = {\n  srcEid: number;\n  sender: Uint8Array;\n  nonce: number | bigint;\n  dstEid: number;\n  oapp: PublicKey;\n  nativeDropRequests: Array<NativeDropRequestArgs>;\n};\n\nexport function getNativeDropInstructionDataSerializer(): Serializer<\n  NativeDropInstructionDataArgs,\n  NativeDropInstructionData\n> {\n  return mapSerializer<\n    NativeDropInstructionDataArgs,\n    any,\n    NativeDropInstructionData\n  >(\n    struct<NativeDropInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['srcEid', u32()],\n        ['sender', bytes({ size: 32 })],\n        ['nonce', u64()],\n        ['dstEid', u32()],\n        ['oapp', publicKeySerializer()],\n        ['nativeDropRequests', array(getNativeDropRequestSerializer())],\n      ],\n      { description: 'NativeDropInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([105, 30, 218, 121, 155, 234, 85, 12]),\n    })\n  ) as Serializer<NativeDropInstructionDataArgs, NativeDropInstructionData>;\n}\n\n// Args.\nexport type NativeDropInstructionArgs = NativeDropInstructionDataArgs;\n\n// Instruction.\nexport function nativeDrop(\n  context: Pick<Context, 'programs'>,\n  input: NativeDropInstructionAccounts & NativeDropInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executor: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.executor ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: NativeDropInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getNativeDropInstructionDataSerializer().serialize(\n    resolvedArgs as NativeDropInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  OwnerSetConfigParams,\n  OwnerSetConfigParamsArgs,\n  getOwnerSetConfigParamsSerializer,\n} from '../types';\n\n// Accounts.\nexport type OwnerSetConfigInstructionAccounts = {\n  owner: Signer;\n  config: PublicKey | Pda;\n};\n\n// Data.\nexport type OwnerSetConfigInstructionData = {\n  discriminator: Uint8Array;\n  params: OwnerSetConfigParams;\n};\n\nexport type OwnerSetConfigInstructionDataArgs = {\n  params: OwnerSetConfigParamsArgs;\n};\n\nexport function getOwnerSetConfigInstructionDataSerializer(): Serializer<\n  OwnerSetConfigInstructionDataArgs,\n  OwnerSetConfigInstructionData\n> {\n  return mapSerializer<\n    OwnerSetConfigInstructionDataArgs,\n    any,\n    OwnerSetConfigInstructionData\n  >(\n    struct<OwnerSetConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['params', getOwnerSetConfigParamsSerializer()],\n      ],\n      { description: 'OwnerSetConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([99, 197, 129, 19, 164, 164, 183, 123]),\n    })\n  ) as Serializer<\n    OwnerSetConfigInstructionDataArgs,\n    OwnerSetConfigInstructionData\n  >;\n}\n\n// Args.\nexport type OwnerSetConfigInstructionArgs = OwnerSetConfigInstructionDataArgs;\n\n// Instruction.\nexport function ownerSetConfig(\n  context: Pick<Context, 'programs'>,\n  input: OwnerSetConfigInstructionAccounts & OwnerSetConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    owner: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.owner ?? null,\n    },\n    config: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.config ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: OwnerSetConfigInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getOwnerSetConfigInstructionDataSerializer().serialize(\n    resolvedArgs as OwnerSetConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  publicKey,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type PostExecuteInstructionAccounts = {\n  executor: Signer;\n  /** Execution context account containing state from pre-execution */\n  context: PublicKey | Pda;\n  /** Instruction sysvar account for introspection */\n  instructionSysvar?: PublicKey | Pda;\n};\n\n// Data.\nexport type PostExecuteInstructionData = {\n  discriminator: Uint8Array;\n  /** Version of the execution context to use */\n  contextVersion: number;\n};\n\nexport type PostExecuteInstructionDataArgs = {\n  /** Version of the execution context to use */\n  contextVersion: number;\n};\n\nexport function getPostExecuteInstructionDataSerializer(): Serializer<\n  PostExecuteInstructionDataArgs,\n  PostExecuteInstructionData\n> {\n  return mapSerializer<\n    PostExecuteInstructionDataArgs,\n    any,\n    PostExecuteInstructionData\n  >(\n    struct<PostExecuteInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['contextVersion', u8()],\n      ],\n      { description: 'PostExecuteInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([74, 168, 167, 167, 76, 220, 95, 56]),\n    })\n  ) as Serializer<PostExecuteInstructionDataArgs, PostExecuteInstructionData>;\n}\n\n// Args.\nexport type PostExecuteInstructionArgs = PostExecuteInstructionDataArgs;\n\n// Instruction.\nexport function postExecute(\n  context: Pick<Context, 'programs'>,\n  input: PostExecuteInstructionAccounts & PostExecuteInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executor: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.executor ?? null,\n    },\n    context: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.context ?? null,\n    },\n    instructionSysvar: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.instructionSysvar ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: PostExecuteInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.instructionSysvar.value) {\n    resolvedAccounts.instructionSysvar.value = publicKey(\n      'Sysvar1nstructions1111111111111111111111111'\n    );\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getPostExecuteInstructionDataSerializer().serialize(\n    resolvedArgs as PostExecuteInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  publicKey,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type PreExecuteInstructionAccounts = {\n  executor: Signer;\n  /**\n   * Execution context account that stores state between pre and post execution.\n   * This account is versioned to support future protocol upgrades.\n   */\n\n  context: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  /** Instruction sysvar account for introspection */\n  instructionSysvar?: PublicKey | Pda;\n};\n\n// Data.\nexport type PreExecuteInstructionData = {\n  discriminator: Uint8Array;\n  /** Version of the execution context to use */\n  contextVersion: number;\n  /** Maximum fee that can be charged for execution */\n  feeLimit: bigint;\n};\n\nexport type PreExecuteInstructionDataArgs = {\n  /** Version of the execution context to use */\n  contextVersion: number;\n  /** Maximum fee that can be charged for execution */\n  feeLimit: number | bigint;\n};\n\nexport function getPreExecuteInstructionDataSerializer(): Serializer<\n  PreExecuteInstructionDataArgs,\n  PreExecuteInstructionData\n> {\n  return mapSerializer<\n    PreExecuteInstructionDataArgs,\n    any,\n    PreExecuteInstructionData\n  >(\n    struct<PreExecuteInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['contextVersion', u8()],\n        ['feeLimit', u64()],\n      ],\n      { description: 'PreExecuteInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([207, 125, 18, 148, 72, 192, 198, 83]),\n    })\n  ) as Serializer<PreExecuteInstructionDataArgs, PreExecuteInstructionData>;\n}\n\n// Args.\nexport type PreExecuteInstructionArgs = PreExecuteInstructionDataArgs;\n\n// Instruction.\nexport function preExecute(\n  context: Pick<Context, 'programs'>,\n  input: PreExecuteInstructionAccounts & PreExecuteInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executor: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.executor ?? null,\n    },\n    context: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.context ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    instructionSysvar: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.instructionSysvar ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: PreExecuteInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n  if (!resolvedAccounts.instructionSysvar.value) {\n    resolvedAccounts.instructionSysvar.value = publicKey(\n      'Sysvar1nstructions1111111111111111111111111'\n    );\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getPreExecuteInstructionDataSerializer().serialize(\n    resolvedArgs as PreExecuteInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { LzOption, LzOptionArgs, getLzOptionSerializer } from '../types';\n\n// Accounts.\nexport type QuoteExecutorInstructionAccounts = {\n  executorConfig: PublicKey | Pda;\n  priceFeedProgram: PublicKey | Pda;\n  priceFeedConfig: PublicKey | Pda;\n};\n\n// Data.\nexport type QuoteExecutorInstructionData = {\n  discriminator: Uint8Array;\n  msglib: PublicKey;\n  dstEid: number;\n  sender: PublicKey;\n  calldataSize: bigint;\n  options: Array<LzOption>;\n};\n\nexport type QuoteExecutorInstructionDataArgs = {\n  msglib: PublicKey;\n  dstEid: number;\n  sender: PublicKey;\n  calldataSize: number | bigint;\n  options: Array<LzOptionArgs>;\n};\n\nexport function getQuoteExecutorInstructionDataSerializer(): Serializer<\n  QuoteExecutorInstructionDataArgs,\n  QuoteExecutorInstructionData\n> {\n  return mapSerializer<\n    QuoteExecutorInstructionDataArgs,\n    any,\n    QuoteExecutorInstructionData\n  >(\n    struct<QuoteExecutorInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['msglib', publicKeySerializer()],\n        ['dstEid', u32()],\n        ['sender', publicKeySerializer()],\n        ['calldataSize', u64()],\n        ['options', array(getLzOptionSerializer())],\n      ],\n      { description: 'QuoteExecutorInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([84, 246, 255, 191, 82, 65, 164, 92]),\n    })\n  ) as Serializer<\n    QuoteExecutorInstructionDataArgs,\n    QuoteExecutorInstructionData\n  >;\n}\n\n// Args.\nexport type QuoteExecutorInstructionArgs = QuoteExecutorInstructionDataArgs;\n\n// Instruction.\nexport function quoteExecutor(\n  context: Pick<Context, 'programs'>,\n  input: QuoteExecutorInstructionAccounts & QuoteExecutorInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    executorConfig: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.executorConfig ?? null,\n    },\n    priceFeedProgram: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.priceFeedProgram ?? null,\n    },\n    priceFeedConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.priceFeedConfig ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: QuoteExecutorInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getQuoteExecutorInstructionDataSerializer().serialize(\n    resolvedArgs as QuoteExecutorInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Data.\nexport type VersionInstructionData = { discriminator: Uint8Array };\n\nexport type VersionInstructionDataArgs = {};\n\nexport function getVersionInstructionDataSerializer(): Serializer<\n  VersionInstructionDataArgs,\n  VersionInstructionData\n> {\n  return mapSerializer<VersionInstructionDataArgs, any, VersionInstructionData>(\n    struct<VersionInstructionData>([['discriminator', bytes({ size: 8 })]], {\n      description: 'VersionInstructionData',\n    }),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([118, 65, 195, 198, 129, 216, 252, 192]),\n    })\n  ) as Serializer<VersionInstructionDataArgs, VersionInstructionData>;\n}\n\n// Instruction.\nexport function version(\n  context: Pick<Context, 'programs'>\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'executor',\n    '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {} satisfies ResolvedAccountsWithIndices;\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts as ResolvedAccountsWithIndices\n  );\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getVersionInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  ClusterFilter,\n  Context,\n  Program,\n  PublicKey,\n} from '@metaplex-foundation/umi';\nimport { getExecutorErrorFromCode, getExecutorErrorFromName } from '../errors';\n\nexport const EXECUTOR_PROGRAM_ID =\n  '6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn' as PublicKey<'6doghB248px58JSSwG4qejQ46kFMW4AMj7vzJnWZHNZn'>;\n\nexport function createExecutorProgram(): Program {\n  return {\n    name: 'executor',\n    publicKey: EXECUTOR_PROGRAM_ID,\n    getErrorFromCode(code: number, cause?: Error) {\n      return getExecutorErrorFromCode(code, this, cause);\n    },\n    getErrorFromName(name: string, cause?: Error) {\n      return getExecutorErrorFromName(name, this, cause);\n    },\n    isOnCluster() {\n      return true;\n    },\n  };\n}\n\nexport function getExecutorProgram<T extends Program = Program>(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): T {\n  return context.programs.get<T>('executor', clusterFilter);\n}\n\nexport function getExecutorProgramId(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): PublicKey {\n  return context.programs.getPublicKey(\n    'executor',\n    EXECUTOR_PROGRAM_ID,\n    clusterFilter\n  );\n}\n","import { PublicKey } from '@metaplex-foundation/umi'\nimport {\n    GetDataEnumKind,\n    GetDataEnumKindContent,\n    Serializer,\n    array,\n    bool,\n    bytes,\n    dataEnum,\n    publicKey as publicKeySerializer,\n    struct,\n    tuple,\n    u16,\n    u32,\n    u64,\n    u8,\n    unit,\n} from '@metaplex-foundation/umi/serializers'\n\nexport interface SolanaPacketPath {\n    sender: PublicKey\n    dstEid: number\n    receiver: Uint8Array // length 32\n}\n\n/**\n * Offset for message type.\n */\nexport const MSG_TYPE_OFFSET = 0\n\n/**\n * Enum representing different message types.\n */\nexport enum MessageType {\n    /**\n     * Vanilla message type.\n     */\n    VANILLA = 1,\n\n    /**\n     * Composed message type.\n     */\n    COMPOSED_TYPE = 2,\n\n    /**\n     * ABA message type.\n     */\n    ABA = 3,\n}\n\n/**\n * Interface representing the parameters for LzReceive.\n */\nexport interface LzReceiveParams {\n    /**\n     * Source EID.\n     */\n    srcEid: number\n    /**\n     * Sender address (size: 32).\n     */\n    sender: Uint8Array\n\n    nonce: bigint\n\n    /**\n     * GUID (size: 32).\n     */\n    guid: Uint8Array\n\n    /**\n     * Message content.\n     */\n    message: Uint8Array\n\n    /**\n     * Caller parameters.\n     */\n    callerParams: Uint8Array\n}\n\nexport interface LzReceiveParamsArgs {\n    srcEid: number\n    sender: Uint8Array\n    nonce: number | bigint\n    guid: Uint8Array\n    message: Uint8Array\n    callerParams: Uint8Array\n}\n\nexport function getLzReceiveParamsSerializer(): Serializer<LzReceiveParamsArgs, LzReceiveParams> {\n    return struct<LzReceiveParams>(\n        [\n            ['srcEid', u32()],\n            ['sender', bytes({ size: 32 })],\n            ['nonce', u64()],\n            ['guid', bytes({ size: 32 })],\n            ['message', bytes({ size: u32() })],\n            ['callerParams', bytes({ size: u32() })],\n        ],\n        { description: 'LzReceiveParams' }\n    ) as Serializer<LzReceiveParamsArgs, LzReceiveParams>\n}\n\n/**\n *\npub from: Pubkey,\npub to: Pubkey,\npub guid: [u8; 32],\npub index: u16,\npub message: Vec<u8>,\npub extra_data: Vec<u8>,\n**/\n\n/**\n * Interface representing the parameters for LzCompose.\n */\nexport interface LzComposeParams {\n    /**\n     * Sender public key.\n     */\n    from: PublicKey\n\n    /**\n     * Recipient public key.\n     */\n    to: PublicKey\n\n    /**\n     * GUID (size: 32).\n     */\n    guid: Uint8Array\n\n    /**\n     * Index value.\n     */\n    index: number\n\n    /**\n     * Message content.\n     */\n    message: Uint8Array\n\n    /**\n     * Extra data.\n     */\n    extraData: Uint8Array\n}\n\nexport function getLzComposeParamsSerializer(): Serializer<LzComposeParams, LzComposeParams> {\n    return struct<LzComposeParams>(\n        [\n            ['from', publicKeySerializer()],\n            ['to', publicKeySerializer()],\n            ['guid', bytes({ size: 32 })],\n            ['index', u16()],\n            ['message', bytes({ size: u32() })],\n            ['extraData', bytes({ size: u32() })],\n        ],\n        { description: 'LzComposeParams' }\n    )\n}\n\n/**\n * Interface representing an LzReceive account.\n */\nexport interface LzReceiveAccount {\n    /**\n     * Public key of the account.\n     */\n    pubkey: PublicKey\n\n    /**\n     * Indicates if the account is a signer.\n     */\n    isSigner: boolean\n\n    /**\n     * Indicates if the account is writable.\n     */\n    isWritable: boolean\n}\n\nexport function getLzReceiveAccountSerializer(): Serializer<LzReceiveAccount, LzReceiveAccount> {\n    return struct<LzReceiveAccount>(\n        [\n            ['pubkey', publicKeySerializer()],\n            ['isSigner', bool()],\n            ['isWritable', bool()],\n        ],\n        { description: 'LzReceiveAccount' }\n    )\n}\n\n/**\n * Enum representing different executor option types.\n */\nexport enum ExecutorOptionType {\n    /**\n     * Placeholder option type.\n     */\n    PlaceHolder = 0,\n\n    /**\n     * LzReceive option type.\n     */\n    LzReceive = 1,\n\n    /**\n     * NativeDrop option type.\n     */\n    NativeDrop = 2,\n\n    /**\n     * LzCompose option type.\n     */\n    LzCompose = 3,\n\n    /**\n     * OrderExecution option type.\n     */\n    OrderExecution = 4,\n}\n\n/**\n * Maximum length for executor option types.\n */\nexport const MaxExecutorOptionTypeLength = 10\n\nexport interface LzReceiveTypesV2Accounts {\n    accounts: PublicKey[]\n}\n\nexport interface LzComposeTypesV2Accounts {\n    accounts: PublicKey[]\n}\n\nexport type AddressLocator =\n    | { __kind: 'Address'; fields: [PublicKey] }\n    | { __kind: 'AltIndex'; fields: [number, number] }\n    | { __kind: 'Payer' }\n    | { __kind: 'Signer'; fields: [number] }\n    | { __kind: 'Context' }\n\nexport interface AccountMetaRef {\n    pubkey: AddressLocator\n    isWritable: boolean\n}\n\nexport type InstructionForLzReceive =\n    | { __kind: 'LzReceive'; accounts: AccountMetaRef[] }\n    | { __kind: 'Standard'; programId: PublicKey; accounts: AccountMetaRef[]; data: Uint8Array }\n\nexport type InstructionForLzCompose =\n    | { __kind: 'LzCompose'; accounts: AccountMetaRef[] }\n    | { __kind: 'Standard'; programId: PublicKey; accounts: AccountMetaRef[]; data: Uint8Array }\n\nexport interface LzReceiveTypesV2Result {\n    contextVersion: number\n    alts: PublicKey[]\n    instructions: InstructionForLzReceive[]\n}\n\nexport interface LzComposeTypesV2Result {\n    contextVersion: number\n    alts: PublicKey[]\n    instructions: InstructionForLzCompose[]\n}\n\nexport function getAddressLocatorSerializer(): Serializer<AddressLocator, AddressLocator> {\n    return dataEnum<AddressLocator>(\n        [\n            [\n                'Address',\n                struct<GetDataEnumKindContent<AddressLocator, 'Address'>>([['fields', tuple([publicKeySerializer()])]]),\n            ],\n            ['AltIndex', struct<GetDataEnumKindContent<AddressLocator, 'AltIndex'>>([['fields', tuple([u8(), u8()])]])],\n            ['Payer', unit()],\n            ['Signer', struct<GetDataEnumKindContent<AddressLocator, 'Signer'>>([['fields', tuple([u8()])]])],\n            ['Context', unit()],\n        ],\n        { description: 'AddressLocator' }\n    )\n}\n\nexport function getLzReceiveTypesV2AccountsSerializer(): Serializer<\n    LzReceiveTypesV2Accounts,\n    LzReceiveTypesV2Accounts\n> {\n    return struct<LzReceiveTypesV2Accounts>([['accounts', array(publicKeySerializer())]], {\n        description: 'LzReceiveTypesV2Result',\n    })\n}\n\nexport function getLzComposeTypesV2AccountsSerializer(): Serializer<\n    LzComposeTypesV2Accounts,\n    LzComposeTypesV2Accounts\n> {\n    return struct<LzComposeTypesV2Accounts>([['accounts', array(publicKeySerializer())]], {\n        description: 'LzComposeTypesV2Accounts',\n    })\n}\n\nexport function getAccountMetaRefSerializer(): Serializer<AccountMetaRef, AccountMetaRef> {\n    return struct<AccountMetaRef>(\n        [\n            ['pubkey', getAddressLocatorSerializer()],\n            ['isWritable', bool()],\n        ],\n        { description: 'AccountMetaRef' }\n    )\n}\n\nexport function getInstructionForLzReceiveSerializer(): Serializer<InstructionForLzReceive, InstructionForLzReceive> {\n    return dataEnum<InstructionForLzReceive>(\n        [\n            [\n                'LzReceive',\n                struct<GetDataEnumKindContent<InstructionForLzReceive, 'LzReceive'>>([\n                    ['accounts', array(getAccountMetaRefSerializer())],\n                ]),\n            ],\n            [\n                'Standard',\n                struct<GetDataEnumKindContent<InstructionForLzReceive, 'Standard'>>([\n                    ['programId', publicKeySerializer()],\n                    ['accounts', array(getAccountMetaRefSerializer())],\n                    ['data', bytes({ size: u32() })],\n                ]),\n            ],\n        ],\n        { description: 'Instruction' }\n    )\n}\n\nexport function getInstructionForLzComposeSerializer(): Serializer<InstructionForLzCompose, InstructionForLzCompose> {\n    return dataEnum<InstructionForLzCompose>(\n        [\n            [\n                'LzCompose',\n                struct<GetDataEnumKindContent<InstructionForLzCompose, 'LzCompose'>>([\n                    ['accounts', array(getAccountMetaRefSerializer())],\n                ]),\n            ],\n            [\n                'Standard',\n                struct<GetDataEnumKindContent<InstructionForLzCompose, 'Standard'>>([\n                    ['programId', publicKeySerializer()],\n                    ['accounts', array(getAccountMetaRefSerializer())],\n                    ['data', bytes({ size: u32() })],\n                ]),\n            ],\n        ],\n        { description: 'Instruction' }\n    )\n}\nexport function getLzReceiveTypesV2ResultSerializer(): Serializer<LzReceiveTypesV2Result, LzReceiveTypesV2Result> {\n    return struct<LzReceiveTypesV2Result>(\n        [\n            ['contextVersion', u8()],\n            ['alts', array(publicKeySerializer())],\n            ['instructions', array(getInstructionForLzReceiveSerializer())],\n        ],\n        { description: 'LzReceiveTypesV2Result' }\n    )\n}\n\nexport function getLzComposeTypesV2ResultSerializer(): Serializer<LzComposeTypesV2Result, LzComposeTypesV2Result> {\n    return struct<LzComposeTypesV2Result>(\n        [\n            ['contextVersion', u8()],\n            ['alts', array(publicKeySerializer())],\n            ['instructions', array(getInstructionForLzComposeSerializer())],\n        ],\n        { description: 'LzComposeTypesV2Result' }\n    )\n}\n\n// Data Enum Helpers.\nexport function addressLocator(kind: 'Payer'): GetDataEnumKind<AddressLocator, 'Payer'>\n\nexport function addressLocator(\n    kind: 'Signer',\n    data: GetDataEnumKindContent<AddressLocator, 'Signer'>['fields']\n): GetDataEnumKind<AddressLocator, 'Signer'>\n\nexport function addressLocator(\n    kind: 'Address',\n    data: GetDataEnumKindContent<AddressLocator, 'Address'>['fields']\n): GetDataEnumKind<AddressLocator, 'Address'>\n\nexport function addressLocator(\n    kind: 'AltIndex',\n    data: GetDataEnumKindContent<AddressLocator, 'AltIndex'>['fields']\n): GetDataEnumKind<AddressLocator, 'AltIndex'>\n\nexport function addressLocator<K extends AddressLocator['__kind']>(\n    kind: K,\n    // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n    data?: any\n): Extract<AddressLocator, { __kind: K }> {\n    // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n    return Array.isArray(data) ? { __kind: kind, fields: data } : { __kind: kind, ...(data ?? {}) }\n}\n\nexport function isAddressLocator<K extends AddressLocator['__kind']>(\n    kind: K,\n    value: AddressLocator\n): value is AddressLocator & { __kind: K } {\n    return value.__kind === kind\n}\n","export * from './adminTransferredEvent';\nexport * from './configSetEvent';\nexport * from './defaultConfigSetEvent';\nexport * from './feesPaidEvent';\nexport * from './payloadVerifiedEvent';\nexport * from './rentWithdrawnEvent';\nexport * from './treasurySetEvent';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type AdminTransferredEvent = { newAdmin: PublicKey };\n\nexport type AdminTransferredEventArgs = AdminTransferredEvent;\n\nexport function getAdminTransferredEventSerializer(): Serializer<\n  AdminTransferredEventArgs,\n  AdminTransferredEvent\n> {\n  return struct<AdminTransferredEvent>([['newAdmin', publicKeySerializer()]], {\n    description: 'AdminTransferredEvent',\n  }) as Serializer<AdminTransferredEventArgs, AdminTransferredEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './config';\nexport * from './executorConfig';\nexport * from './lzTokenTreasury';\nexport * from './messagingFee';\nexport * from './packet';\nexport * from './treasury';\nexport * from './treasuryFee';\nexport * from './ulnConfig';\nexport * from './version';\nexport * from './workerFee';","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  GetDataEnumKind,\n  GetDataEnumKindContent,\n  Serializer,\n  dataEnum,\n  struct,\n  tuple,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ExecutorConfig,\n  ExecutorConfigArgs,\n  UlnConfig,\n  UlnConfigArgs,\n  getExecutorConfigSerializer,\n  getUlnConfigSerializer,\n} from '.';\n\nexport type Config =\n  | { __kind: 'SendUln'; fields: [UlnConfig] }\n  | { __kind: 'ReceiveUln'; fields: [UlnConfig] }\n  | { __kind: 'Executor'; fields: [ExecutorConfig] };\n\nexport type ConfigArgs =\n  | { __kind: 'SendUln'; fields: [UlnConfigArgs] }\n  | { __kind: 'ReceiveUln'; fields: [UlnConfigArgs] }\n  | { __kind: 'Executor'; fields: [ExecutorConfigArgs] };\n\nexport function getConfigSerializer(): Serializer<ConfigArgs, Config> {\n  return dataEnum<Config>(\n    [\n      [\n        'SendUln',\n        struct<GetDataEnumKindContent<Config, 'SendUln'>>([\n          ['fields', tuple([getUlnConfigSerializer()])],\n        ]),\n      ],\n      [\n        'ReceiveUln',\n        struct<GetDataEnumKindContent<Config, 'ReceiveUln'>>([\n          ['fields', tuple([getUlnConfigSerializer()])],\n        ]),\n      ],\n      [\n        'Executor',\n        struct<GetDataEnumKindContent<Config, 'Executor'>>([\n          ['fields', tuple([getExecutorConfigSerializer()])],\n        ]),\n      ],\n    ],\n    { description: 'Config' }\n  ) as Serializer<ConfigArgs, Config>;\n}\n\n// Data Enum Helpers.\nexport function config(\n  kind: 'SendUln',\n  data: GetDataEnumKindContent<ConfigArgs, 'SendUln'>['fields']\n): GetDataEnumKind<ConfigArgs, 'SendUln'>;\nexport function config(\n  kind: 'ReceiveUln',\n  data: GetDataEnumKindContent<ConfigArgs, 'ReceiveUln'>['fields']\n): GetDataEnumKind<ConfigArgs, 'ReceiveUln'>;\nexport function config(\n  kind: 'Executor',\n  data: GetDataEnumKindContent<ConfigArgs, 'Executor'>['fields']\n): GetDataEnumKind<ConfigArgs, 'Executor'>;\nexport function config<K extends ConfigArgs['__kind']>(\n  kind: K,\n  data?: any\n): Extract<ConfigArgs, { __kind: K }> {\n  return Array.isArray(data)\n    ? { __kind: kind, fields: data }\n    : { __kind: kind, ...(data ?? {}) };\n}\nexport function isConfig<K extends Config['__kind']>(\n  kind: K,\n  value: Config\n): value is Config & { __kind: K } {\n  return value.__kind === kind;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ExecutorConfig = { maxMessageSize: number; executor: PublicKey };\n\nexport type ExecutorConfigArgs = ExecutorConfig;\n\nexport function getExecutorConfigSerializer(): Serializer<\n  ExecutorConfigArgs,\n  ExecutorConfig\n> {\n  return struct<ExecutorConfig>(\n    [\n      ['maxMessageSize', u32()],\n      ['executor', publicKeySerializer()],\n    ],\n    { description: 'ExecutorConfig' }\n  ) as Serializer<ExecutorConfigArgs, ExecutorConfig>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type LzTokenTreasury = { receiver: PublicKey; fee: bigint };\n\nexport type LzTokenTreasuryArgs = { receiver: PublicKey; fee: number | bigint };\n\nexport function getLzTokenTreasurySerializer(): Serializer<\n  LzTokenTreasuryArgs,\n  LzTokenTreasury\n> {\n  return struct<LzTokenTreasury>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['fee', u64()],\n    ],\n    { description: 'LzTokenTreasury' }\n  ) as Serializer<LzTokenTreasuryArgs, LzTokenTreasury>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Serializer, struct, u64 } from '@metaplex-foundation/umi/serializers';\n\nexport type MessagingFee = { nativeFee: bigint; lzTokenFee: bigint };\n\nexport type MessagingFeeArgs = {\n  nativeFee: number | bigint;\n  lzTokenFee: number | bigint;\n};\n\nexport function getMessagingFeeSerializer(): Serializer<\n  MessagingFeeArgs,\n  MessagingFee\n> {\n  return struct<MessagingFee>(\n    [\n      ['nativeFee', u64()],\n      ['lzTokenFee', u64()],\n    ],\n    { description: 'MessagingFee' }\n  ) as Serializer<MessagingFeeArgs, MessagingFee>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Packet = {\n  nonce: bigint;\n  srcEid: number;\n  sender: PublicKey;\n  dstEid: number;\n  receiver: Uint8Array;\n  guid: Uint8Array;\n  message: Uint8Array;\n};\n\nexport type PacketArgs = {\n  nonce: number | bigint;\n  srcEid: number;\n  sender: PublicKey;\n  dstEid: number;\n  receiver: Uint8Array;\n  guid: Uint8Array;\n  message: Uint8Array;\n};\n\nexport function getPacketSerializer(): Serializer<PacketArgs, Packet> {\n  return struct<Packet>(\n    [\n      ['nonce', u64()],\n      ['srcEid', u32()],\n      ['sender', publicKeySerializer()],\n      ['dstEid', u32()],\n      ['receiver', bytes({ size: 32 })],\n      ['guid', bytes({ size: 32 })],\n      ['message', bytes({ size: u32() })],\n    ],\n    { description: 'Packet' }\n  ) as Serializer<PacketArgs, Packet>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable, PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  LzTokenTreasury,\n  LzTokenTreasuryArgs,\n  getLzTokenTreasurySerializer,\n} from '.';\n\nexport type Treasury = {\n  admin: Option<PublicKey>;\n  nativeReceiver: PublicKey;\n  nativeFeeBps: bigint;\n  lzToken: Option<LzTokenTreasury>;\n};\n\nexport type TreasuryArgs = {\n  admin: OptionOrNullable<PublicKey>;\n  nativeReceiver: PublicKey;\n  nativeFeeBps: number | bigint;\n  lzToken: OptionOrNullable<LzTokenTreasuryArgs>;\n};\n\nexport function getTreasurySerializer(): Serializer<TreasuryArgs, Treasury> {\n  return struct<Treasury>(\n    [\n      ['admin', option(publicKeySerializer())],\n      ['nativeReceiver', publicKeySerializer()],\n      ['nativeFeeBps', u64()],\n      ['lzToken', option(getLzTokenTreasurySerializer())],\n    ],\n    { description: 'Treasury' }\n  ) as Serializer<TreasuryArgs, Treasury>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bool,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type TreasuryFee = {\n  treasury: PublicKey;\n  fee: bigint;\n  payInLzToken: boolean;\n};\n\nexport type TreasuryFeeArgs = {\n  treasury: PublicKey;\n  fee: number | bigint;\n  payInLzToken: boolean;\n};\n\nexport function getTreasuryFeeSerializer(): Serializer<\n  TreasuryFeeArgs,\n  TreasuryFee\n> {\n  return struct<TreasuryFee>(\n    [\n      ['treasury', publicKeySerializer()],\n      ['fee', u64()],\n      ['payInLzToken', bool()],\n    ],\n    { description: 'TreasuryFee' }\n  ) as Serializer<TreasuryFeeArgs, TreasuryFee>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type UlnConfig = {\n  confirmations: bigint;\n  requiredDvnCount: number;\n  optionalDvnCount: number;\n  optionalDvnThreshold: number;\n  requiredDvns: Array<PublicKey>;\n  optionalDvns: Array<PublicKey>;\n};\n\nexport type UlnConfigArgs = {\n  confirmations: number | bigint;\n  requiredDvnCount: number;\n  optionalDvnCount: number;\n  optionalDvnThreshold: number;\n  requiredDvns: Array<PublicKey>;\n  optionalDvns: Array<PublicKey>;\n};\n\nexport function getUlnConfigSerializer(): Serializer<UlnConfigArgs, UlnConfig> {\n  return struct<UlnConfig>(\n    [\n      ['confirmations', u64()],\n      ['requiredDvnCount', u8()],\n      ['optionalDvnCount', u8()],\n      ['optionalDvnThreshold', u8()],\n      ['requiredDvns', array(publicKeySerializer())],\n      ['optionalDvns', array(publicKeySerializer())],\n    ],\n    { description: 'UlnConfig' }\n  ) as Serializer<UlnConfigArgs, UlnConfig>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Serializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Version = { major: bigint; minor: number; endpointVersion: number };\n\nexport type VersionArgs = {\n  major: number | bigint;\n  minor: number;\n  endpointVersion: number;\n};\n\nexport function getVersionSerializer(): Serializer<VersionArgs, Version> {\n  return struct<Version>(\n    [\n      ['major', u64()],\n      ['minor', u8()],\n      ['endpointVersion', u8()],\n    ],\n    { description: 'Version' }\n  ) as Serializer<VersionArgs, Version>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type WorkerFee = { worker: PublicKey; fee: bigint };\n\nexport type WorkerFeeArgs = { worker: PublicKey; fee: number | bigint };\n\nexport function getWorkerFeeSerializer(): Serializer<WorkerFeeArgs, WorkerFee> {\n  return struct<WorkerFee>(\n    [\n      ['worker', publicKeySerializer()],\n      ['fee', u64()],\n    ],\n    { description: 'WorkerFee' }\n  ) as Serializer<WorkerFeeArgs, WorkerFee>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport { Config, ConfigArgs, getConfigSerializer } from '../types';\n\nexport type ConfigSetEvent = { oapp: PublicKey; eid: number; config: Config };\n\nexport type ConfigSetEventArgs = {\n  oapp: PublicKey;\n  eid: number;\n  config: ConfigArgs;\n};\n\nexport function getConfigSetEventSerializer(): Serializer<\n  ConfigSetEventArgs,\n  ConfigSetEvent\n> {\n  return struct<ConfigSetEvent>(\n    [\n      ['oapp', publicKeySerializer()],\n      ['eid', u32()],\n      ['config', getConfigSerializer()],\n    ],\n    { description: 'ConfigSetEvent' }\n  ) as Serializer<ConfigSetEventArgs, ConfigSetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ExecutorConfig,\n  ExecutorConfigArgs,\n  UlnConfig,\n  UlnConfigArgs,\n  getExecutorConfigSerializer,\n  getUlnConfigSerializer,\n} from '../types';\n\nexport type DefaultConfigSetEvent = {\n  eid: number;\n  sendUlnConfig: Option<UlnConfig>;\n  receiveUlnConfig: Option<UlnConfig>;\n  executorConfig: Option<ExecutorConfig>;\n};\n\nexport type DefaultConfigSetEventArgs = {\n  eid: number;\n  sendUlnConfig: OptionOrNullable<UlnConfigArgs>;\n  receiveUlnConfig: OptionOrNullable<UlnConfigArgs>;\n  executorConfig: OptionOrNullable<ExecutorConfigArgs>;\n};\n\nexport function getDefaultConfigSetEventSerializer(): Serializer<\n  DefaultConfigSetEventArgs,\n  DefaultConfigSetEvent\n> {\n  return struct<DefaultConfigSetEvent>(\n    [\n      ['eid', u32()],\n      ['sendUlnConfig', option(getUlnConfigSerializer())],\n      ['receiveUlnConfig', option(getUlnConfigSerializer())],\n      ['executorConfig', option(getExecutorConfigSerializer())],\n    ],\n    { description: 'DefaultConfigSetEvent' }\n  ) as Serializer<DefaultConfigSetEventArgs, DefaultConfigSetEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  option,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  TreasuryFee,\n  TreasuryFeeArgs,\n  WorkerFee,\n  WorkerFeeArgs,\n  getTreasuryFeeSerializer,\n  getWorkerFeeSerializer,\n} from '../types';\n\nexport type FeesPaidEvent = {\n  executor: WorkerFee;\n  dvns: Array<WorkerFee>;\n  treasury: Option<TreasuryFee>;\n};\n\nexport type FeesPaidEventArgs = {\n  executor: WorkerFeeArgs;\n  dvns: Array<WorkerFeeArgs>;\n  treasury: OptionOrNullable<TreasuryFeeArgs>;\n};\n\nexport function getFeesPaidEventSerializer(): Serializer<\n  FeesPaidEventArgs,\n  FeesPaidEvent\n> {\n  return struct<FeesPaidEvent>(\n    [\n      ['executor', getWorkerFeeSerializer()],\n      ['dvns', array(getWorkerFeeSerializer())],\n      ['treasury', option(getTreasuryFeeSerializer())],\n    ],\n    { description: 'FeesPaidEvent' }\n  ) as Serializer<FeesPaidEventArgs, FeesPaidEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type PayloadVerifiedEvent = {\n  dvn: PublicKey;\n  header: Array<number>;\n  confirmations: bigint;\n  proofHash: Uint8Array;\n};\n\nexport type PayloadVerifiedEventArgs = {\n  dvn: PublicKey;\n  header: Array<number>;\n  confirmations: number | bigint;\n  proofHash: Uint8Array;\n};\n\nexport function getPayloadVerifiedEventSerializer(): Serializer<\n  PayloadVerifiedEventArgs,\n  PayloadVerifiedEvent\n> {\n  return struct<PayloadVerifiedEvent>(\n    [\n      ['dvn', publicKeySerializer()],\n      ['header', array(u8(), { size: 81 })],\n      ['confirmations', u64()],\n      ['proofHash', bytes({ size: 32 })],\n    ],\n    { description: 'PayloadVerifiedEvent' }\n  ) as Serializer<PayloadVerifiedEventArgs, PayloadVerifiedEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { PublicKey } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type RentWithdrawnEvent = { receiver: PublicKey; amount: bigint };\n\nexport type RentWithdrawnEventArgs = {\n  receiver: PublicKey;\n  amount: number | bigint;\n};\n\nexport function getRentWithdrawnEventSerializer(): Serializer<\n  RentWithdrawnEventArgs,\n  RentWithdrawnEvent\n> {\n  return struct<RentWithdrawnEvent>(\n    [\n      ['receiver', publicKeySerializer()],\n      ['amount', u64()],\n    ],\n    { description: 'RentWithdrawnEvent' }\n  ) as Serializer<RentWithdrawnEventArgs, RentWithdrawnEvent>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport { Treasury, TreasuryArgs, getTreasurySerializer } from '../types';\n\nexport type TreasurySetEvent = { treasury: Option<Treasury> };\n\nexport type TreasurySetEventArgs = { treasury: OptionOrNullable<TreasuryArgs> };\n\nexport function getTreasurySetEventSerializer(): Serializer<\n  TreasurySetEventArgs,\n  TreasurySetEvent\n> {\n  return struct<TreasurySetEvent>(\n    [['treasury', option(getTreasurySerializer())]],\n    { description: 'TreasurySetEvent' }\n  ) as Serializer<TreasurySetEventArgs, TreasurySetEvent>;\n}\n","import { Instruction, PublicKey, RpcInterface, WrappedInstruction, isPublicKey } from '@metaplex-foundation/umi'\nimport { Serializer, base58 } from '@metaplex-foundation/umi/serializers'\nimport { toWeb3JsInstruction, toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\nimport * as web3 from '@solana/web3.js'\n\nimport { sha2_256 } from '@layerzerolabs/lz-foundation'\n\nimport { EventEmitDiscriminator } from './endpoint'\nimport {\n    ComposeDeliveredEvent,\n    ComposeSentEvent,\n    PacketDeliveredEvent,\n    PacketSentEvent,\n    PacketVerifiedEvent,\n    getComposeDeliveredEventSerializer,\n    getComposeSentEventSerializer,\n    getPacketDeliveredEventSerializer,\n    getPacketSentEventSerializer,\n    getPacketVerifiedEventSerializer,\n} from './generated/kinobi/endpoint/events'\nimport { FeesPaidEvent, getFeesPaidEventSerializer } from './generated/kinobi/uln/events'\n\n/**\n * Gets the event discriminator for a given event.\n *\n * @param {string} event - The event name.\n * @returns {string} The event discriminator.\n */\nfunction getEventDiscriminator(event: string): string {\n    /*\n        https://book.anchor-lang.com/anchor_bts/discriminator.html\n        sha256(namespace:eventName) namespace of cpi event is 'event'\n    */\n    return Buffer.from(sha2_256(`event:${event}`))\n        .subarray(0, 8)\n        .toString('hex')\n}\n\n/**\n * Extracts the sent packet event by transaction hash.\n *\n * @param {web3.Connection | RpcInterface} connection - The connection to the Solana cluster.\n * @param {PublicKey | web3.PublicKey} program - The program public key.\n * @param {web3.TransactionSignature | web3.ParsedTransactionWithMeta | null} signature - The transaction signature or parsed transaction.\n * @param {web3.Finality | web3.GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<PacketSentEvent[] | null>} A promise that resolves to an array of sent packet events or null if not found.\n */\nexport async function extractPacketSentEventByTxHash(\n    connection: web3.Connection | RpcInterface,\n    program: PublicKey | web3.PublicKey,\n    signature: web3.TransactionSignature | web3.ParsedTransactionWithMeta | null,\n    commitment?: web3.Finality | web3.GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<PacketSentEvent[] | null> {\n    const events = await extractEventFromTransactionSignature(\n        connection,\n        program,\n        signature,\n        getPacketSentEventSerializer(),\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the verified packet event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<PacketVerifiedEvent[] | null>} A promise that resolves to an array of verified packet events or null if not found.\n */\nexport async function extractVerifiedPacketEventByTxHash(\n    connection: web3.Connection | RpcInterface,\n    program: PublicKey | web3.PublicKey,\n    signature: web3.TransactionSignature | web3.ParsedTransactionWithMeta | null,\n    commitment?: web3.Finality | web3.GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<PacketVerifiedEvent[] | null> {\n    const events = await extractEventFromTransactionSignature(\n        connection,\n        program,\n        signature,\n        getPacketVerifiedEventSerializer(),\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the received packet event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<PacketDeliveredEvent[] | null>} A promise that resolves to an array of received packet events or null if not found.\n */\nexport async function extractReceivedPacketEventByTxHash(\n    connection: web3.Connection | RpcInterface,\n    program: PublicKey | web3.PublicKey,\n    signature: web3.TransactionSignature | web3.ParsedTransactionWithMeta | null,\n    commitment?: web3.Finality | web3.GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<PacketDeliveredEvent[] | null> {\n    const events = await extractEventFromTransactionSignature(\n        connection,\n        program,\n        signature,\n        getPacketDeliveredEventSerializer(),\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the compose sent event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<ComposeSentEvent[] | null>} A promise that resolves to an array of compose sent events or null if not found.\n */\nexport async function extractComposeSentEventByTxHash(\n    connection: web3.Connection | RpcInterface,\n    program: PublicKey | web3.PublicKey,\n    signature: web3.TransactionSignature | web3.ParsedTransactionWithMeta | null,\n    commitment?: web3.Finality | web3.GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<ComposeSentEvent[] | null> {\n    const events = await extractEventFromTransactionSignature(\n        connection,\n        program,\n        signature,\n        getComposeSentEventSerializer(),\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the compose delivered event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<ComposeDeliveredEvent[] | null>} A promise that resolves to an array of compose delivered events or null if not found.\n */\nexport async function extractComposeDeliveredEventByTxHash(\n    connection: web3.Connection | RpcInterface,\n    program: PublicKey | web3.PublicKey,\n    signature: web3.TransactionSignature | web3.ParsedTransactionWithMeta | null,\n    commitment?: web3.Finality | web3.GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<ComposeDeliveredEvent[] | null> {\n    const events = await extractEventFromTransactionSignature(\n        connection,\n        program,\n        signature,\n        getComposeDeliveredEventSerializer(),\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts the worker fee paid event by transaction hash.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key.\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature or parsed transaction.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed.\n * @returns {Promise<FeesPaidEvent[] | null>} A promise that resolves to an array of worker fee paid events or null if not found.\n */\nexport async function extractWorkerFeePaidEventByTxHash(\n    connection: web3.Connection | RpcInterface,\n    program: PublicKey | web3.PublicKey,\n    signature: web3.TransactionSignature | web3.ParsedTransactionWithMeta | null,\n    commitment?: web3.Finality | web3.GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<FeesPaidEvent[] | null> {\n    const events = await extractEventFromTransactionSignature(\n        connection,\n        program,\n        signature,\n        getFeesPaidEventSerializer(),\n        commitment,\n        unsafeParseErr\n    )\n    if (!events) return null\n    return events\n}\n\n/**\n * Extracts events from a transaction signature.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} program - The program public key, extract event from specific program id\n * @param {TransactionSignature | Awaited<ReturnType<typeof connection.getParsedTransaction>>} signature - The transaction signature(tx hash) or parsed transaction.\n * @param {beet.FixableBeetArgsStruct<E> | beet.BeetArgsStruct<E>} eventBeet - The beet struct for the event.\n * @param {Finality | GetVersionedTransactionConfig} [commitment] - The commitment level.\n * @param {boolean} [unsafeParseErr=false] - Whether to parse the event even if the transaction failed. Default is false, only parse event if transaction succeeded. if true, will parse event even if transaction failed. Please set this to false if you want to ignore failed transaction and set `true` with caution as it may lead to unexpected behavior.\n * @returns {Promise<E[] | null>} A promise that resolves to an array of events or null if not found.\n */\nexport async function extractEventFromTransactionSignature<From, To extends From = From>(\n    rpc: web3.Connection | RpcInterface,\n    _program: PublicKey | web3.PublicKey,\n    signature: web3.TransactionSignature | web3.ParsedTransactionWithMeta | null,\n    serializer: Serializer<From, To>,\n    commitment?: web3.Finality | web3.GetVersionedTransactionConfig,\n    unsafeParseErr = false\n): Promise<To[] | null> {\n    let program: web3.PublicKey\n    if (typeof _program === 'string' && isPublicKey(_program)) {\n        program = toWeb3JsPublicKey(_program)\n    } else {\n        program = _program\n    }\n    let tx: web3.ParsedTransactionWithMeta | null\n    if (typeof signature === 'string') {\n        const connection = toWeb3Connection(rpc)\n        tx = await connection.getParsedTransaction(signature, commitment)\n    } else {\n        tx = signature\n    }\n    if (tx == null) return null\n    const events = new Array<To>()\n    // refer: https://solana.com/docs/rpc/http/gettransaction\n    // tx.meta.err: Error if transaction failed, null if transaction succeeded\n    if (tx.meta?.err !== null && !unsafeParseErr) {\n        return null\n    }\n    for (const instruction of tx.meta?.innerInstructions ?? []) {\n        for (const innerInstruction of instruction.instructions) {\n            const inst = innerInstruction as web3.PartiallyDecodedInstruction\n            if (!inst.programId.equals(program)) {\n                continue\n            }\n            const decoded = base58.serialize(inst.data)\n            const discriminator = Buffer.from(decoded.subarray(0, 8)).toString('hex')\n            if (discriminator !== EventEmitDiscriminator) {\n                continue\n            }\n            // get second 8 bits, filter event here\n            const eventDiscriminator = Buffer.from(decoded.subarray(8, 16)).toString('hex')\n            if (eventDiscriminator !== getEventDiscriminator(serializer.description)) {\n                continue\n            }\n            events.push(serializer.deserialize(decoded, 16)[0])\n            // const dataBuffer = Buffer.from(decoded.subarray(16, decoded.length))\n            // if (eventBeet instanceof beet.FixableBeetArgsStruct) {\n            //     const beet = eventBeet.toFixedFromData(dataBuffer, 0)\n            //     events.push(beet.read(dataBuffer, 0))\n            // } else {\n            //     events.push(eventBeet.read(dataBuffer, 0))\n            // }\n        }\n    }\n    return events.length > 0 ? events : null\n}\n\n/**\n * Generates an address lookup table.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payer - The payer public key.\n * @param {PublicKey} authority - The authority public key.\n * @param {PublicKey[]} addresses - The addresses to include in the lookup table.\n * @returns {Promise<{ instructions: TransactionInstruction[]; address: PublicKey }>} A promise that resolves to the instructions and lookup table address.\n */\nexport async function generateAddressLookupTable(\n    connection: web3.Connection,\n    payer: web3.PublicKey,\n    authority: web3.PublicKey,\n    addresses: web3.PublicKey[]\n): Promise<{ instructions: web3.TransactionInstruction[]; address: web3.PublicKey }> {\n    const slot = await connection.getSlot('finalized')\n    const [createInstruction, lookupTableAddress] = web3.AddressLookupTableProgram.createLookupTable({\n        payer,\n        authority,\n        recentSlot: slot,\n    })\n    const extendInstruction = web3.AddressLookupTableProgram.extendLookupTable({\n        payer,\n        authority,\n        lookupTable: lookupTableAddress,\n        addresses,\n    })\n\n    return {\n        instructions: [createInstruction, extendInstruction],\n        address: lookupTableAddress,\n    }\n}\n\n/**\n * Deactivates an address lookup table.\n * To properly terminate the lookup table, it is advisable to initially invoke `deactivateLookupTable`,\n * pause for a duration of 500 blocks, and subsequently invoke `closeLookupTable`.\n *\n * @param {web3.PublicKey} authority - The authority public key.\n * @param {web3.PublicKey} lookupTable - The lookup table public key.\n * @returns {web3.TransactionInstruction} The transaction instruction.\n */\nexport function deactivateLookupTable(\n    authority: web3.PublicKey,\n    lookupTable: web3.PublicKey\n): web3.TransactionInstruction {\n    return web3.AddressLookupTableProgram.deactivateLookupTable({\n        authority,\n        lookupTable,\n    } satisfies web3.DeactivateLookupTableParams)\n}\n\n/**\n * Closes an address lookup table.\n * To properly terminate the lookup table, it is advisable to initially invoke `deactivateLookupTable`,\n * pause for a duration of 500 blocks, and subsequently invoke `closeLookupTable`.\n *\n * @param {PublicKey} recipient - The recipient public key.\n * @param {PublicKey} authority - The authority public key.\n * @param {PublicKey} lookupTable - The lookup table public key.\n * @returns {TransactionInstruction} The transaction instruction.\n */\nexport function closeLookupTable(\n    recipient: web3.PublicKey,\n    authority: web3.PublicKey,\n    lookupTable: web3.PublicKey\n): web3.TransactionInstruction {\n    return web3.AddressLookupTableProgram.closeLookupTable({\n        authority,\n        recipient,\n        lookupTable,\n    } satisfies web3.CloseLookupTableParams)\n}\n\n/**\n * Creates a versioned transaction with an address lookup table.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payer - The payer public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {Blockhash} [recentBlockHash] - The recent block hash.\n * @param {PublicKey} [_tableAddrs] - The array of address lookup table public keys.\n * @returns {Promise<VersionedTransaction>} A promise that resolves to the versioned transaction.\n */\nexport async function txWithAddressLookupTable(\n    connection: web3.Connection,\n    payer: web3.PublicKey,\n    instructions: web3.TransactionInstruction[],\n    recentBlockHash?: web3.Blockhash,\n    _tableAddrs?: web3.PublicKey | web3.PublicKey[]\n): Promise<web3.VersionedTransaction> {\n    recentBlockHash = recentBlockHash ?? (await connection.getLatestBlockhash()).blockhash\n    if (!_tableAddrs) {\n        return new web3.VersionedTransaction(\n            new web3.TransactionMessage({\n                instructions,\n                payerKey: payer,\n                recentBlockhash: recentBlockHash,\n            }).compileToV0Message()\n        )\n    }\n    const tableAddrs = Array.isArray(_tableAddrs) ? _tableAddrs : [_tableAddrs]\n    const lookupTableAccountsResult = await connection.getMultipleAccountsInfo(tableAddrs)\n    const lookupTableAccounts = lookupTableAccountsResult\n        .map((result, index) => {\n            if (result === null) return null\n            return new web3.AddressLookupTableAccount({\n                key: tableAddrs[index],\n                state: web3.AddressLookupTableAccount.deserialize(result.data),\n            })\n        })\n        .filter((account): account is web3.AddressLookupTableAccount => account !== null)\n    return new web3.VersionedTransaction(\n        new web3.TransactionMessage({\n            instructions,\n            payerKey: payer,\n            recentBlockhash: recentBlockHash,\n        }).compileToV0Message(lookupTableAccounts.length > 0 ? lookupTableAccounts : undefined)\n    )\n}\n\n/**\n * Creates a nonce account transaction.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} auth - The authorized public key.\n * @param {number} [lamportsForRent] - The lamports for rent.\n * @returns {Promise<{ tx: Transaction; nonceAccount: Keypair }>} A promise that resolves to the transaction and nonce account.\n */\nexport async function createNonceAccountTX(\n    connection: web3.Connection,\n    auth: web3.PublicKey,\n    lamportsForRent?: number\n): Promise<{ tx: web3.Transaction; nonceAccount: web3.Keypair }> {\n    const nonceAccount = web3.Keypair.generate()\n\n    const lamports = lamportsForRent ?? (await connection.getMinimumBalanceForRentExemption(web3.NONCE_ACCOUNT_LENGTH))\n\n    const tx = new web3.Transaction()\n    tx.add(\n        // create nonce account\n        web3.SystemProgram.createAccount({\n            fromPubkey: auth,\n            newAccountPubkey: nonceAccount.publicKey,\n            lamports,\n            space: web3.NONCE_ACCOUNT_LENGTH,\n            programId: web3.SystemProgram.programId,\n        }),\n        // init nonce account\n        web3.SystemProgram.nonceInitialize({\n            noncePubkey: nonceAccount.publicKey, // nonce account pubkey\n            authorizedPubkey: auth, // nonce account auth\n        })\n    )\n    return { tx, nonceAccount }\n}\n\n/**\n * Creates a transaction with a nonce.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} noncePubkey - The nonce public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {NonceAccount} [nonceInfo] - The nonce account information.\n * @returns {Promise<Transaction | null>} A promise that resolves to the transaction or null if not found.\n */\nexport async function txWithNonce(\n    connection: web3.Connection,\n    noncePubkey: web3.PublicKey,\n    instructions: web3.TransactionInstruction[],\n    nonceInfo?: web3.NonceAccount\n): Promise<web3.Transaction | null> {\n    const tx = new web3.Transaction()\n\n    if (!nonceInfo) {\n        const accountInfo = await connection.getAccountInfo(noncePubkey)\n        if (accountInfo) {\n            nonceInfo = web3.NonceAccount.fromAccountData(accountInfo.data)\n        } else {\n            return null\n        }\n    }\n\n    tx.add(\n        // nonce advance must be the first insturction\n        web3.SystemProgram.nonceAdvance({\n            noncePubkey: noncePubkey,\n            authorizedPubkey: nonceInfo.authorizedPubkey,\n        })\n    )\n    tx.add(...instructions)\n    tx.recentBlockhash = nonceInfo.nonce\n    return tx\n}\n\n/**\n * Checks if an account is initialized.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} account - The account public key.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig] - The commitment level or account info configuration.\n * @returns {Promise<boolean>} A promise that resolves to true if the account is initialized, false otherwise.\n */\nexport async function isAccountInitialized(\n    connection: web3.Connection,\n    account: web3.PublicKey,\n    commitmentOrConfig?: web3.Commitment | web3.GetAccountInfoConfig\n): Promise<boolean> {\n    return connection.getAccountInfo(account, commitmentOrConfig).then((res) => {\n        return res !== null\n    })\n}\n\n/**\n * Builds a version 0 message.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payerKey - The payer public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n * @param {Blockhash} [blockhash] - The blockhash.\n * @returns {Promise<MessageV0>} A promise that resolves to the version 0 message.\n */\nexport async function buildMessageV0(\n    connection: web3.Connection,\n    payerKey: web3.PublicKey,\n    instructions: web3.TransactionInstruction[],\n    commitmentOrConfig: web3.Commitment | web3.GetAccountInfoConfig = 'confirmed',\n    blockhash?: web3.Blockhash\n): Promise<web3.MessageV0> {\n    return new web3.TransactionMessage({\n        payerKey: payerKey,\n        recentBlockhash: blockhash ?? (await connection.getLatestBlockhash(commitmentOrConfig)).blockhash,\n        instructions: instructions,\n    }).compileToV0Message()\n}\n\n/**\n * Builds a versioned transaction.\n *\n * @param {Connection} connection - The connection to the Solana cluster.\n * @param {PublicKey} payerKey - The payer public key.\n * @param {TransactionInstruction[]} instructions - The transaction instructions.\n * @param {Commitment | GetAccountInfoConfig} [commitmentOrConfig='confirmed'] - The commitment level or account info configuration.\n * @param {Blockhash} [blockhash] - The blockhash.\n * @param {PublicKey} [lookupTableAddresses] - The array of lookup table addresses.\n * @returns {Promise<VersionedTransaction>} A promise that resolves to the versioned transaction.\n */\nexport async function buildVersionedTransaction(\n    connection: web3.Connection,\n    payerKey: web3.PublicKey,\n    instructions: web3.TransactionInstruction[],\n    commitmentOrConfig: web3.Commitment | web3.GetAccountInfoConfig = 'confirmed',\n    blockhash?: web3.Blockhash,\n    lookupTableAddresses?: web3.PublicKey | web3.PublicKey[]\n): Promise<web3.VersionedTransaction> {\n    if (lookupTableAddresses) {\n        return txWithAddressLookupTable(connection, payerKey, instructions, blockhash, lookupTableAddresses)\n    }\n    return new web3.VersionedTransaction(\n        await buildMessageV0(connection, payerKey, instructions, commitmentOrConfig, blockhash)\n    )\n}\n\n/**\n * Generates an instruction discriminator.\n *\n * @param {string} method - The method name.\n * @returns {Buffer} The instruction discriminator.\n */\nexport function instructionDiscriminator(method: string): Buffer {\n    return Buffer.from(sha2_256(Buffer.from(`global:${method}`))).subarray(0, 8)\n}\n\n/**\n * Simulates a transaction.\n *\n * @param {string | web3.Connection | RpcInterface} _connection - The connection to the Solana cluster.\n * @param {web3.TransactionInstruction[] | WrappedInstruction[] | Instruction[]} _instructions - The transaction instructions.\n * @param {web3.PublicKey | PublicKey} _programId - The program public key.\n * @param {web3.PublicKey | PublicKey} _payer - The payer public key.\n * @param {Serializer<From, To>} serializer - The serializer.\n * @param {web3.Commitment} [commitment='confirmed'] - The commitment level.\n * @param {web3.Blockhash} [blockhash] - The blockhash.\n * @param {web3.PublicKey | PublicKey} [_lookupTableAddresses] - The array of lookup table addresses.\n * @returns {Promise<Buffer>} A promise that resolves to the simulation result.\n * @throws {Error} If the simulation fails.\n */\nexport async function simulateWeb3JsTransaction<From, To extends From = From>(\n    _connection: string | web3.Connection | RpcInterface,\n    _instructions: web3.TransactionInstruction[] | WrappedInstruction[] | Instruction[],\n    _programId: web3.PublicKey | PublicKey,\n    _payer: web3.PublicKey | PublicKey,\n    serializer: Serializer<From, To>,\n    commitment: web3.Commitment = 'confirmed',\n    blockhash?: web3.Blockhash,\n    _lookupTableAddresses?: web3.PublicKey | PublicKey | web3.PublicKey[] | PublicKey[]\n): Promise<To> {\n    let connection: web3.Connection\n    if (typeof _connection === 'string') {\n        connection = new web3.Connection(_connection, commitment)\n    } else {\n        connection = toWeb3Connection(_connection)\n    }\n\n    let instructions: web3.TransactionInstruction[]\n    if (_instructions.length === 0) {\n        throw new Error('Instructions cannot be empty')\n    }\n    if (_instructions[0] instanceof web3.TransactionInstruction) {\n        instructions = _instructions as web3.TransactionInstruction[]\n    } else if ('bytesCreatedOnChain' in _instructions[0]) {\n        instructions = (_instructions as WrappedInstruction[]).map((i) => toWeb3JsInstruction(i.instruction))\n    } else {\n        instructions = (_instructions as Instruction[]).map((i) => toWeb3JsInstruction(i))\n    }\n\n    let programId: web3.PublicKey\n    if (_programId instanceof web3.PublicKey) {\n        programId = _programId\n    } else {\n        programId = toWeb3JsPublicKey(_programId)\n    }\n\n    let payer: web3.PublicKey\n    if (_payer instanceof web3.PublicKey) {\n        payer = _payer\n    } else {\n        payer = toWeb3JsPublicKey(_payer)\n    }\n\n    const lookupTableAddresses =\n        _lookupTableAddresses &&\n        (Array.isArray(_lookupTableAddresses)\n            ? _lookupTableAddresses.map((addr) => (addr instanceof web3.PublicKey ? addr : toWeb3JsPublicKey(addr)))\n            : _lookupTableAddresses instanceof web3.PublicKey\n              ? _lookupTableAddresses\n              : toWeb3JsPublicKey(_lookupTableAddresses))\n\n    const tx = await buildVersionedTransaction(\n        connection,\n        payer,\n        instructions,\n        commitment,\n        blockhash,\n        lookupTableAddresses\n    )\n    const simulateResp = await connection.simulateTransaction(tx, { sigVerify: false, commitment })\n    const returnPrefix = `Program return: ${programId.toBase58()} `\n    const returnLog = simulateResp.value.logs?.find((l) => l.startsWith(returnPrefix))\n    if (returnLog === undefined || simulateResp.value.returnData?.programId !== programId.toBase58()) {\n        throw new Error(`Simulate Fail: ${JSON.stringify(simulateResp)}`)\n    } else {\n        const resp = Buffer.from(returnLog.slice(returnPrefix.length), 'base64')\n        return serializer.deserialize(resp, 0)[0]\n    }\n}\n\nexport function toWeb3Connection(rpc: RpcInterface | web3.Connection): web3.Connection {\n    if (rpc instanceof web3.Connection) {\n        return rpc\n    } else if ('connection' in rpc && rpc.connection instanceof web3.Connection) {\n        return rpc.connection\n    } else {\n        throw new Error('Invalid connection')\n    }\n}\n","import {\n    AccountMeta,\n    Commitment,\n    Instruction,\n    PublicKey,\n    RpcInterface,\n    defaultPublicKey,\n} from '@metaplex-foundation/umi'\nimport { array, publicKey as publicKeySerializer } from '@metaplex-foundation/umi/serializers'\nimport { toWeb3JsInstruction, toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\n\nimport { OmniAppPDA } from '.'\nimport { LzComposeParams, getLzComposeParamsSerializer, getLzReceiveAccountSerializer } from './types'\nimport { instructionDiscriminator, simulateWeb3JsTransaction } from './utility'\n\n/**\n * Get the accounts required for lz_compose by querying lz_compose_types_v1.\n */\nexport async function getLzComposeAccountsFromTypesV1(\n    rpc: RpcInterface,\n    payer: PublicKey,\n    to: PublicKey,\n    composerProgram: PublicKey,\n    params: LzComposeParams,\n    commitment: Commitment = 'confirmed'\n): Promise<AccountMeta[]> {\n    // Derive the PDA for the lz_compose_types_accounts\n    const oappPDA = new OmniAppPDA(composerProgram)\n    const [lzComposeTypesAccountsPDA] = oappPDA.lzComposeTypesAccounts(to)\n    // Fetch the PDA account and parse the static account list\n    const info = await rpc.getAccount(lzComposeTypesAccountsPDA, { commitment })\n    const accounts: AccountMeta[] = []\n    if (info.exists) {\n        const buffer = Buffer.from(info.data)\n        const len = buffer.length - 8\n        if (len % 32 !== 0) {\n            throw new Error(\n                `Invalid length of AccountInfo.data. The length must be a multiple of 32 plus 8.(n*32+8). Current length is ${buffer.length}`\n            )\n        }\n        for (let i = 8; i < len; i += 32) {\n            const [address] = publicKeySerializer().deserialize(buffer, i)\n            accounts.push({\n                pubkey: address,\n                isSigner: false,\n                isWritable: false,\n            })\n        }\n    }\n    // Simulate the lz_compose_types instruction to get the dynamic account metas\n    const data = getLzComposeParamsSerializer().serialize(params)\n    const lzComposeTypesIx: Instruction = {\n        programId: composerProgram,\n        keys: accounts,\n        data: Buffer.concat([instructionDiscriminator('lz_compose_types'), data]),\n    }\n    const keys = await simulateWeb3JsTransaction(\n        rpc.getEndpoint(),\n        [toWeb3JsInstruction(lzComposeTypesIx)],\n        toWeb3JsPublicKey(composerProgram),\n        toWeb3JsPublicKey(payer),\n        array(getLzReceiveAccountSerializer()),\n        commitment\n    )\n    return updateAccountFromSimulatedResp(keys, payer)\n}\n\nfunction updateAccountFromSimulatedResp(accounts: AccountMeta[], payer?: PublicKey): AccountMeta[] {\n    return accounts.map((r) => {\n        if (r.pubkey == defaultPublicKey() && r.isSigner) {\n            if (!payer) throw new Error('payer is required')\n            return {\n                pubkey: payer,\n                isSigner: true,\n                isWritable: r.isWritable,\n            } satisfies AccountMeta\n        } else {\n            return {\n                pubkey: r.pubkey,\n                isSigner: r.isSigner,\n                isWritable: r.isWritable,\n            } satisfies AccountMeta\n        }\n    })\n}\n","import { AddressLookupTable, fetchAllAddressLookupTable } from '@metaplex-foundation/mpl-toolbox'\nimport {\n    AccountMeta,\n    AddressLookupTableInput,\n    Commitment,\n    Context,\n    Instruction,\n    KeypairSigner,\n    PublicKey,\n    RpcInterface,\n    generateSigner,\n} from '@metaplex-foundation/umi'\nimport { bytes as bytesSerializer } from '@metaplex-foundation/umi/serializers'\nimport { toWeb3JsInstruction, toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\n\nimport { EDDSA, ExecutorPDA, OmniAppPDA } from '.'\nimport {\n    AccountMetaRef,\n    AddressLocator,\n    LzComposeParams,\n    LzComposeTypesV2Accounts,\n    getLzComposeParamsSerializer,\n    getLzComposeTypesV2AccountsSerializer,\n    getLzComposeTypesV2ResultSerializer,\n} from './types'\nimport { instructionDiscriminator, simulateWeb3JsTransaction } from './utility'\n\n/**\n * Retrieves the instructions and signers required for the LzCompose instruction (V2).\n * This is used for lz_compose_types version 2.\n */\nexport async function buildLzComposeExecutionPlan(\n    rpc: RpcInterface,\n    executorProgram: PublicKey,\n    payer: PublicKey,\n    to: PublicKey,\n    composerProgram: PublicKey,\n    params: LzComposeParams,\n    composeTypesAccounts?: LzComposeTypesV2Accounts,\n    commitment: Commitment = 'confirmed'\n): Promise<{\n    contextVersion: number\n    signers: KeypairSigner[]\n    instructions: Instruction[]\n    addressLookupTables: AddressLookupTableInput[]\n}> {\n    composeTypesAccounts =\n        composeTypesAccounts ?? (await getLzComposeTypesInfo(rpc, payer, to, composerProgram, params, commitment))\n\n    const data = getLzComposeParamsSerializer().serialize(params)\n    const lzComposeTypesIx: Instruction = {\n        programId: composerProgram,\n        keys: composeTypesAccounts.accounts.map((pubkey) => {\n            return {\n                pubkey,\n                isSigner: false,\n                isWritable: false,\n            }\n        }),\n        data: Buffer.concat([instructionDiscriminator('lz_compose_types_v2'), data]),\n    }\n    // Simulate the V2 instruction to get the result (instructions, ALTs, etc)\n    const resp = await simulateWeb3JsTransaction(\n        rpc.getEndpoint(),\n        [toWeb3JsInstruction(lzComposeTypesIx)],\n        toWeb3JsPublicKey(composerProgram),\n        toWeb3JsPublicKey(payer),\n        getLzComposeTypesV2ResultSerializer(),\n        commitment\n    )\n    const tables = await fetchAllAddressLookupTable({ rpc }, resp.alts)\n    const signers: { [key: number]: KeypairSigner | undefined } = {}\n\n    const lzComposeDiscriminator = instructionDiscriminator('lz_compose').toString('hex')\n    const instructionTracker: { [key: string]: boolean } = {}\n\n    for (const ix of resp.instructions) {\n        let programId = composerProgram\n        let instructionType = 'lz_compose'\n        if (ix.__kind === 'Standard') {\n            const { programId: stdProgramId, data } = ix\n            programId = stdProgramId\n            const discriminator = Buffer.from(data.slice(0, 8)).toString('hex')\n            instructionType = discriminator === lzComposeDiscriminator ? 'lz_compose' : discriminator\n        }\n        const key = `${programId}-${instructionType}`\n        if (instructionTracker[key]) {\n            throw new Error(`Duplicate instruction found: ${instructionType} for program ${programId}`)\n        }\n        instructionTracker[key] = true\n    }\n    const { contextVersion } = resp\n    const instructions: Instruction[] = resp.instructions.map((ix) => {\n        if (ix.__kind === 'LzCompose') {\n            return {\n                programId: composerProgram,\n                keys: ix.accounts.map((account) =>\n                    accountMetaRefToAccountMeta(\n                        { eddsa: EDDSA },\n                        executorProgram,\n                        tables,\n                        signers,\n                        account,\n                        payer,\n                        contextVersion\n                    )\n                ),\n                data: Buffer.concat([instructionDiscriminator('lz_compose'), data]),\n            }\n        } else {\n            return {\n                programId: ix.programId,\n                keys: ix.accounts.map((account) =>\n                    accountMetaRefToAccountMeta(\n                        { eddsa: EDDSA },\n                        executorProgram,\n                        tables,\n                        signers,\n                        account,\n                        payer,\n                        contextVersion\n                    )\n                ),\n                data: ix.data,\n            }\n        }\n    })\n    return {\n        contextVersion,\n        signers: Object.values(signers).filter((signer) => signer !== undefined) as KeypairSigner[],\n        instructions,\n        addressLookupTables: tables,\n    }\n}\n\n/**\n * Fetches the metadata for lz_compose_types (versioned, V2).\n * This reads the PDA account and deserializes the version, alts, and accounts.\n */\nexport async function getLzComposeTypesInfo(\n    rpc: RpcInterface,\n    payer: PublicKey,\n    to: PublicKey,\n    composerProgram: PublicKey,\n    params: LzComposeParams,\n    commitment: Commitment = 'confirmed'\n): Promise<LzComposeTypesV2Accounts> {\n    const oappPDA = new OmniAppPDA(composerProgram)\n    const [lzComposeTypesAccountsPDA] = oappPDA.lzComposeTypesAccounts(to)\n    const lzComposeTypesIx: Instruction = {\n        programId: composerProgram,\n        keys: [\n            {\n                pubkey: to,\n                isSigner: false,\n                isWritable: false,\n            },\n            {\n                pubkey: lzComposeTypesAccountsPDA,\n                isSigner: false,\n                isWritable: false,\n            },\n        ],\n        data: Buffer.concat([\n            instructionDiscriminator('lz_compose_types_info'),\n            getLzComposeParamsSerializer().serialize(params),\n        ]),\n    }\n\n    const resp = await simulateWeb3JsTransaction(\n        rpc.getEndpoint(),\n        [toWeb3JsInstruction(lzComposeTypesIx)],\n        toWeb3JsPublicKey(composerProgram),\n        toWeb3JsPublicKey(payer),\n        bytesSerializer(),\n        commitment\n    )\n    const version = resp.at(0)\n    if (version !== 2) {\n        throw new Error(`Invalid version ${version}. Expected version 2.`)\n    }\n    return getLzComposeTypesV2AccountsSerializer().deserialize(resp, 1)[0]\n}\n\nfunction accountMetaRefToAccountMeta(\n    umi: Pick<Context, 'eddsa'>,\n    executorProgram: PublicKey,\n    tables: AddressLookupTable[],\n    signers: { [key: number]: KeypairSigner | undefined },\n    accountMetaRef: AccountMetaRef,\n    payer: PublicKey,\n    contextVersion: number\n): AccountMeta {\n    const { isWritable, pubkey: locator } = accountMetaRef\n    const pubkey = addressLocatorToPublicKey(umi, executorProgram, tables, signers, locator, payer, contextVersion)\n    return { pubkey, isSigner: locator.__kind === 'Signer' || locator.__kind === 'Payer', isWritable }\n}\n\nfunction addressLocatorToPublicKey(\n    umi: Pick<Context, 'eddsa'>,\n    executorProgram: PublicKey,\n    tables: AddressLookupTable[],\n    signers: { [key: number]: KeypairSigner | undefined },\n    locator: AddressLocator,\n    payer: PublicKey,\n    contextVersion: number\n): PublicKey {\n    if (locator.__kind === 'Payer') {\n        return payer\n    } else if (locator.__kind === 'Signer') {\n        const index = locator.fields[0]\n        let signer = signers[index]\n        if (signer === undefined) {\n            signer = generateSigner(umi)\n            signers[index] = signer\n        }\n        return signer.publicKey\n    } else if (locator.__kind === 'Address') {\n        return locator.fields[0]\n    } else if (locator.__kind === 'Context') {\n        const pda = new ExecutorPDA(executorProgram)\n        return pda.context(payer, contextVersion)[0]\n    } else {\n        const table = tables[locator.fields[0]]\n        return table.addresses[locator.fields[1]]\n    }\n}\n","import {\n    AccountMeta,\n    Commitment,\n    Instruction,\n    PublicKey,\n    RpcInterface,\n    defaultPublicKey,\n} from '@metaplex-foundation/umi'\nimport { array, publicKey as publicKeySerializer } from '@metaplex-foundation/umi/serializers'\nimport { toWeb3JsInstruction, toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\n\nimport { OmniAppPDA } from '.'\nimport { LzReceiveParams, getLzReceiveAccountSerializer, getLzReceiveParamsSerializer } from './types'\nimport { instructionDiscriminator, simulateWeb3JsTransaction } from './utility'\n\n/**\n * Get the accounts required for lz_receive by querying lz_receive_types_v1.\n */\nexport async function getLzReceiveAccountsFromTypesV1(\n    rpc: RpcInterface,\n    payer: PublicKey,\n    receiver: PublicKey,\n    receiverProgram: PublicKey,\n    params: LzReceiveParams,\n    commitment: Commitment = 'confirmed'\n): Promise<AccountMeta[]> {\n    // Derive the PDA for the lz_receive_types_accounts\n    const oappPDA = new OmniAppPDA(receiverProgram)\n    const [lzReceiveTypesAccountsPDA] = oappPDA.lzReceiveTypesAccounts(receiver)\n    // Fetch the PDA account and parse the static account list\n    const info = await rpc.getAccount(lzReceiveTypesAccountsPDA, { commitment })\n    const accounts: AccountMeta[] = []\n    if (info.exists) {\n        const buffer = Buffer.from(info.data)\n        const len = buffer.length - 8\n        if (len % 32 !== 0) {\n            throw new Error(\n                `Invalid length of AccountInfo.data. The length must be a multiple of 32 plus 8.(n*32+8). Current length is ${buffer.length}`\n            )\n        }\n        for (let i = 8; i < len; i += 32) {\n            const [address] = publicKeySerializer().deserialize(buffer, i)\n            accounts.push({\n                pubkey: address,\n                isSigner: false,\n                isWritable: false,\n            })\n        }\n    }\n    // Simulate the lz_receive_types instruction to get the dynamic account metas\n    const data = getLzReceiveParamsSerializer().serialize(params)\n    const lzReceiveTypesIx: Instruction = {\n        programId: receiverProgram,\n        keys: accounts,\n        data: Buffer.concat([instructionDiscriminator('lz_receive_types'), data]),\n    }\n    const keys = await simulateWeb3JsTransaction(\n        rpc.getEndpoint(),\n        [toWeb3JsInstruction(lzReceiveTypesIx)],\n        toWeb3JsPublicKey(receiverProgram),\n        toWeb3JsPublicKey(payer),\n        array(getLzReceiveAccountSerializer()),\n        commitment\n    )\n    return updateAccountFromSimulatedResp(keys, payer)\n}\n\nfunction updateAccountFromSimulatedResp(accounts: AccountMeta[], payer?: PublicKey): AccountMeta[] {\n    return accounts.map((r) => {\n        if (r.pubkey == defaultPublicKey() && r.isSigner) {\n            if (!payer) throw new Error('payer is required')\n            return {\n                pubkey: payer,\n                isSigner: true,\n                isWritable: r.isWritable,\n            } satisfies AccountMeta\n        } else {\n            return {\n                pubkey: r.pubkey,\n                isSigner: r.isSigner,\n                isWritable: r.isWritable,\n            } satisfies AccountMeta\n        }\n    })\n}\n","import { AddressLookupTable, fetchAllAddressLookupTable } from '@metaplex-foundation/mpl-toolbox'\nimport {\n    AccountMeta,\n    AddressLookupTableInput,\n    Commitment,\n    Context,\n    Instruction,\n    KeypairSigner,\n    PublicKey,\n    RpcInterface,\n    generateSigner,\n} from '@metaplex-foundation/umi'\nimport { bytes as bytesSerializer } from '@metaplex-foundation/umi/serializers'\nimport { toWeb3JsInstruction, toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\n\nimport { EDDSA, ExecutorPDA, OmniAppPDA } from '.'\nimport {\n    AccountMetaRef,\n    AddressLocator,\n    LzReceiveParams,\n    LzReceiveTypesV2Accounts,\n    getLzReceiveParamsSerializer,\n    getLzReceiveTypesV2AccountsSerializer,\n    getLzReceiveTypesV2ResultSerializer,\n} from './types'\nimport { instructionDiscriminator, simulateWeb3JsTransaction } from './utility'\n\n/**\n * Retrieves the instructions and signers required for the LzReceive instruction (V2).\n * This is used for lz_receive_types version 2.\n */\nexport async function buildLzReceiveExecutionPlan(\n    rpc: RpcInterface,\n    executorProgram: PublicKey,\n    payer: PublicKey,\n    receiver: PublicKey,\n    receiverProgram: PublicKey,\n    params: LzReceiveParams,\n    receiveTypesAccounts?: LzReceiveTypesV2Accounts,\n    commitment: Commitment = 'confirmed'\n): Promise<{\n    contextVersion: number\n    signers: KeypairSigner[]\n    instructions: Instruction[]\n    addressLookupTables: AddressLookupTableInput[]\n}> {\n    receiveTypesAccounts =\n        receiveTypesAccounts ?? (await getLzReceiveTypesInfo(rpc, payer, receiver, receiverProgram, params, commitment))\n\n    const data = getLzReceiveParamsSerializer().serialize(params)\n    const lzReceiveTypesIx: Instruction = {\n        programId: receiverProgram,\n        keys: receiveTypesAccounts.accounts.map((pubkey) => {\n            return {\n                pubkey,\n                isSigner: false,\n                isWritable: false,\n            }\n        }),\n        data: Buffer.concat([instructionDiscriminator('lz_receive_types_v2'), data]),\n    }\n    // Simulate the V2 instruction to get the result (instructions, ALTs, etc)\n    const resp = await simulateWeb3JsTransaction(\n        rpc.getEndpoint(),\n        [toWeb3JsInstruction(lzReceiveTypesIx)],\n        toWeb3JsPublicKey(receiverProgram),\n        toWeb3JsPublicKey(payer),\n        getLzReceiveTypesV2ResultSerializer(),\n        commitment\n    )\n    const tables = await fetchAllAddressLookupTable({ rpc }, resp.alts)\n    const signers: { [key: number]: KeypairSigner | undefined } = {}\n\n    const lzReceiveDiscriminator = instructionDiscriminator('lz_receive').toString('hex')\n    const instructionTracker: { [key: string]: boolean } = {}\n\n    for (const ix of resp.instructions) {\n        let programId = receiverProgram\n        let instructionType = 'lz_receive'\n        if (ix.__kind === 'Standard') {\n            const { programId: stdProgramId, data } = ix\n            programId = stdProgramId\n            const discriminator = Buffer.from(data.slice(0, 8)).toString('hex')\n            instructionType = discriminator === lzReceiveDiscriminator ? 'lz_receive' : discriminator\n        }\n        const key = `${programId}-${instructionType}`\n        if (instructionTracker[key]) {\n            throw new Error(`Duplicate instruction found: ${instructionType} for program ${programId}`)\n        }\n        instructionTracker[key] = true\n    }\n    const { contextVersion } = resp\n    const instructions: Instruction[] = resp.instructions.map((ix) => {\n        if (ix.__kind === 'LzReceive') {\n            return {\n                programId: receiverProgram,\n                keys: ix.accounts.map((account) =>\n                    accountMetaRefToAccountMeta(\n                        { eddsa: EDDSA },\n                        executorProgram,\n                        tables,\n                        signers,\n                        account,\n                        payer,\n                        contextVersion\n                    )\n                ),\n                data: Buffer.concat([instructionDiscriminator('lz_receive'), data]),\n            }\n        } else {\n            return {\n                programId: ix.programId,\n                keys: ix.accounts.map((account) =>\n                    accountMetaRefToAccountMeta(\n                        { eddsa: EDDSA },\n                        executorProgram,\n                        tables,\n                        signers,\n                        account,\n                        payer,\n                        contextVersion\n                    )\n                ),\n                data: ix.data,\n            }\n        }\n    })\n    return {\n        contextVersion,\n        signers: Object.values(signers).filter((signer) => signer !== undefined) as KeypairSigner[],\n        instructions,\n        addressLookupTables: tables,\n    }\n}\n\n/**\n * Fetches the metadata for lz_receive_types (versioned, V2).\n * This reads the PDA account and deserializes the version, alts, and accounts.\n */\nexport async function getLzReceiveTypesInfo(\n    rpc: RpcInterface,\n    payer: PublicKey,\n    receiver: PublicKey,\n    receiverProgram: PublicKey,\n    params: LzReceiveParams,\n    commitment: Commitment = 'confirmed'\n): Promise<LzReceiveTypesV2Accounts> {\n    const oappPDA = new OmniAppPDA(receiverProgram)\n    const [lzReceiveTypesAccountsPDA] = oappPDA.lzReceiveTypesAccounts(receiver)\n    const lzReceiveTypesIx: Instruction = {\n        programId: receiverProgram,\n        keys: [\n            {\n                pubkey: receiver,\n                isSigner: false,\n                isWritable: false,\n            },\n            {\n                pubkey: lzReceiveTypesAccountsPDA,\n                isSigner: false,\n                isWritable: false,\n            },\n        ],\n        data: Buffer.concat([\n            instructionDiscriminator('lz_receive_types_info'),\n            getLzReceiveParamsSerializer().serialize(params),\n        ]),\n    }\n\n    const resp = await simulateWeb3JsTransaction(\n        rpc.getEndpoint(),\n        [toWeb3JsInstruction(lzReceiveTypesIx)],\n        toWeb3JsPublicKey(receiverProgram),\n        toWeb3JsPublicKey(payer),\n        bytesSerializer(),\n        commitment\n    )\n    const version = resp.at(0)\n    if (version !== 2) {\n        throw new Error(`Invalid version ${version}. Expected version 2.`)\n    }\n    return getLzReceiveTypesV2AccountsSerializer().deserialize(resp, 1)[0]\n}\n\nfunction accountMetaRefToAccountMeta(\n    umi: Pick<Context, 'eddsa'>,\n    executorProgram: PublicKey,\n    tables: AddressLookupTable[],\n    signers: { [key: number]: KeypairSigner | undefined },\n    accountMetaRef: AccountMetaRef,\n    payer: PublicKey,\n    contextVersion: number\n): AccountMeta {\n    const { isWritable, pubkey: locator } = accountMetaRef\n    const pubkey = addressLocatorToPublicKey(umi, executorProgram, tables, signers, locator, payer, contextVersion)\n    return { pubkey, isSigner: locator.__kind === 'Signer' || locator.__kind === 'Payer', isWritable }\n}\n\nfunction addressLocatorToPublicKey(\n    umi: Pick<Context, 'eddsa'>,\n    executorProgram: PublicKey,\n    tables: AddressLookupTable[],\n    signers: { [key: number]: KeypairSigner | undefined },\n    locator: AddressLocator,\n    payer: PublicKey,\n    contextVersion: number\n): PublicKey {\n    if (locator.__kind === 'Payer') {\n        return payer\n    } else if (locator.__kind === 'Signer') {\n        const index = locator.fields[0]\n        let signer = signers[index]\n        if (signer === undefined) {\n            signer = generateSigner(umi)\n            signers[index] = signer\n        }\n        return signer.publicKey\n    } else if (locator.__kind === 'Address') {\n        return locator.fields[0]\n    } else if (locator.__kind === 'Context') {\n        const pda = new ExecutorPDA(executorProgram)\n        return pda.context(payer, contextVersion)[0]\n    } else {\n        const table = tables[locator.fields[0]]\n        return table.addresses[locator.fields[1]]\n    }\n}\n","import { Commitment, Instruction, PublicKey, RpcInterface, publicKey } from '@metaplex-foundation/umi'\nimport invariant from 'tiny-invariant'\n\nimport { arrayify } from '@layerzerolabs/lz-utilities'\nimport { Packet, addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport { getLzComposeAccountsFromTypesV1 } from './compose-types-v1'\nimport { buildLzComposeExecutionPlan, getLzComposeTypesInfo } from './compose-types-v2'\nimport { ComposeSentEvent } from './generated/kinobi/endpoint/events'\nimport { EXECUTOR_PROGRAM_ID } from './generated/kinobi/executor/programs'\nimport { getLzReceiveAccountsFromTypesV1 } from './receive-types-v1'\nimport { buildLzReceiveExecutionPlan, getLzReceiveTypesInfo } from './receive-types-v2'\nimport {\n    LzComposeParams,\n    LzComposeTypesV2Accounts,\n    LzReceiveParams,\n    LzReceiveTypesV2Accounts,\n    getLzComposeParamsSerializer,\n    getLzReceiveParamsSerializer,\n} from './types'\nimport { instructionDiscriminator } from './utility'\n\n/**\n * Unified entry point for receiving a LayerZero message on Solana.\n * This function automatically detects the lz_receive_types version and dispatches to the correct logic.\n *\n * For V1: returns a single Instruction (legacy behavior).\n * For V2: returns { signers, instructions } for multi-instruction atomic execution.\n */\nexport async function lzReceive(\n    rpc: RpcInterface,\n    payer: PublicKey,\n    packet: Pick<Packet, 'message' | 'sender' | 'srcEid' | 'guid' | 'receiver' | 'nonce'>,\n    callerParams: Uint8Array = Uint8Array.from([0, 0]),\n    executorProgram: PublicKey = EXECUTOR_PROGRAM_ID,\n    commitment: Commitment = 'confirmed'\n): Promise<{ instruction: Instruction; contextVersion: number } | ReturnType<typeof buildLzReceiveExecutionPlan>> {\n    const { message: message_, sender: sender_, srcEid, guid, receiver: receiver_, nonce } = packet\n    const sender = arrayify(sender_)\n    const receiverBytes = addressToBytes32(receiver_)\n    const message = arrayify(message_)\n    const params: LzReceiveParams = {\n        srcEid: srcEid,\n        sender,\n        guid: arrayify(guid),\n        message,\n        callerParams,\n        nonce: BigInt(nonce),\n    }\n    const receiverPubkey = publicKey(receiverBytes)\n    const receiverInfo = await rpc.getAccount(receiverPubkey, { commitment })\n    invariant(receiverInfo.exists, `Receiver account not found: ${receiverPubkey}`)\n    const receiverProgram = publicKey(receiverInfo.owner)\n\n    // Try to detect version by calling lz_receive_types_info\n    let version = 1\n    let receiveTypesAccounts: LzReceiveTypesV2Accounts | undefined\n    try {\n        // V2: lz_receive_types_info returns version 2\n        receiveTypesAccounts = await getLzReceiveTypesInfo(\n            rpc,\n            payer,\n            receiverPubkey,\n            receiverProgram,\n            params,\n            commitment\n        )\n        version = 2\n    } catch (e) {\n        // If info call fails or version !== 2, fallback to V1\n        version = 1\n    }\n\n    if (version === 2) {\n        return buildLzReceiveExecutionPlan(\n            rpc,\n            executorProgram,\n            payer,\n            receiverPubkey,\n            receiverProgram,\n            params,\n            receiveTypesAccounts,\n            commitment\n        )\n    } else {\n        // V1: return a single Instruction (legacy behavior)\n        const accounts = await getLzReceiveAccountsFromTypesV1(\n            rpc,\n            payer,\n            receiverPubkey,\n            receiverProgram,\n            params,\n            commitment\n        )\n        const data = getLzReceiveParamsSerializer().serialize(params)\n        return {\n            instruction: {\n                programId: receiverProgram,\n                keys: accounts,\n                data: Buffer.concat([instructionDiscriminator('lz_receive'), data]),\n            },\n            contextVersion: 1,\n        }\n    }\n}\n\n/**\n * Unified entry point for composing a LayerZero message on Solana.\n * This function automatically detects the lz_compose_types version and dispatches to the correct logic.\n *\n * For V1: returns a single Instruction (legacy behavior).\n * For V2: returns { signers, instructions } for multi-instruction atomic execution.\n */\nexport async function lzCompose(\n    rpc: RpcInterface,\n    payer: PublicKey,\n    event: ComposeSentEvent,\n    extraData: Uint8Array = Uint8Array.from([0, 0]),\n    executorProgram: PublicKey = EXECUTOR_PROGRAM_ID,\n    commitment: Commitment = 'confirmed'\n): Promise<{ instruction: Instruction; contextVersion: number } | ReturnType<typeof buildLzComposeExecutionPlan>> {\n    const { to, from, guid, index, message } = event\n    const params: LzComposeParams = {\n        from,\n        to,\n        guid,\n        index,\n        message,\n        extraData,\n    }\n    const accountInfo = await rpc.getAccount(to, { commitment })\n    if (!accountInfo.exists) {\n        throw new Error(`Account not found: ${to}`)\n    }\n    const composerProgram = accountInfo.owner\n\n    // Try to detect version by calling lz_compose_types_info\n    let version = 1\n    let composeTypesAccounts: LzComposeTypesV2Accounts | undefined\n    try {\n        // V2: lz_compose_types_info returns version 2\n        composeTypesAccounts = await getLzComposeTypesInfo(rpc, payer, to, composerProgram, params, commitment)\n        version = 2\n    } catch (e) {\n        // If info call fails or version !== 2, fallback to V1\n        version = 1\n    }\n\n    if (version === 2) {\n        return buildLzComposeExecutionPlan(\n            rpc,\n            executorProgram,\n            payer,\n            to,\n            composerProgram,\n            params,\n            composeTypesAccounts,\n            commitment\n        )\n    } else {\n        // V1: return a single Instruction (legacy behavior)\n        const accounts = await getLzComposeAccountsFromTypesV1(rpc, payer, to, composerProgram, params, commitment)\n        const data = getLzComposeParamsSerializer().serialize(params)\n        return {\n            instruction: {\n                programId: composerProgram,\n                keys: accounts,\n                data: Buffer.concat([instructionDiscriminator('lz_compose'), data]),\n            },\n            contextVersion: 1,\n        }\n    }\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './confirmations';\nexport * from './receiveConfig';\nexport * from './sendConfig';\nexport * from './ulnSettings';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type Confirmations = Account<ConfirmationsAccountData>;\n\nexport type ConfirmationsAccountData = {\n  discriminator: Uint8Array;\n  value: Option<bigint>;\n  bump: number;\n};\n\nexport type ConfirmationsAccountDataArgs = {\n  value: OptionOrNullable<number | bigint>;\n  bump: number;\n};\n\nexport function getConfirmationsAccountDataSerializer(): Serializer<\n  ConfirmationsAccountDataArgs,\n  ConfirmationsAccountData\n> {\n  return mapSerializer<\n    ConfirmationsAccountDataArgs,\n    any,\n    ConfirmationsAccountData\n  >(\n    struct<ConfirmationsAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['value', option(u64())],\n        ['bump', u8()],\n      ],\n      { description: 'ConfirmationsAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([206, 57, 50, 8, 124, 133, 138, 112]),\n    })\n  ) as Serializer<ConfirmationsAccountDataArgs, ConfirmationsAccountData>;\n}\n\nexport function deserializeConfirmations(\n  rawAccount: RpcAccount\n): Confirmations {\n  return deserializeAccount(\n    rawAccount,\n    getConfirmationsAccountDataSerializer()\n  );\n}\n\nexport async function fetchConfirmations(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<Confirmations> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'Confirmations');\n  return deserializeConfirmations(maybeAccount);\n}\n\nexport async function safeFetchConfirmations(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<Confirmations | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeConfirmations(maybeAccount) : null;\n}\n\nexport async function fetchAllConfirmations(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<Confirmations[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'Confirmations');\n    return deserializeConfirmations(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllConfirmations(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<Confirmations[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeConfirmations(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getConfirmationsGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      value: OptionOrNullable<number | bigint>;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      value: [8, option(u64())],\n      bump: [null, u8()],\n    })\n    .deserializeUsing<Confirmations>((account) =>\n      deserializeConfirmations(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([206, 57, 50, 8, 124, 133, 138, 112])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport { UlnConfig, UlnConfigArgs, getUlnConfigSerializer } from '../types';\n\nexport type ReceiveConfig = Account<ReceiveConfigAccountData>;\n\nexport type ReceiveConfigAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  uln: UlnConfig;\n};\n\nexport type ReceiveConfigAccountDataArgs = { bump: number; uln: UlnConfigArgs };\n\nexport function getReceiveConfigAccountDataSerializer(): Serializer<\n  ReceiveConfigAccountDataArgs,\n  ReceiveConfigAccountData\n> {\n  return mapSerializer<\n    ReceiveConfigAccountDataArgs,\n    any,\n    ReceiveConfigAccountData\n  >(\n    struct<ReceiveConfigAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['uln', getUlnConfigSerializer()],\n      ],\n      { description: 'ReceiveConfigAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([162, 159, 153, 188, 56, 65, 245, 58]),\n    })\n  ) as Serializer<ReceiveConfigAccountDataArgs, ReceiveConfigAccountData>;\n}\n\nexport function deserializeReceiveConfig(\n  rawAccount: RpcAccount\n): ReceiveConfig {\n  return deserializeAccount(\n    rawAccount,\n    getReceiveConfigAccountDataSerializer()\n  );\n}\n\nexport async function fetchReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveConfig> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'ReceiveConfig');\n  return deserializeReceiveConfig(maybeAccount);\n}\n\nexport async function safeFetchReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<ReceiveConfig | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeReceiveConfig(maybeAccount) : null;\n}\n\nexport async function fetchAllReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'ReceiveConfig');\n    return deserializeReceiveConfig(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllReceiveConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<ReceiveConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) =>\n      deserializeReceiveConfig(maybeAccount as RpcAccount)\n    );\n}\n\nexport function getReceiveConfigGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      uln: UlnConfigArgs;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      uln: [9, getUlnConfigSerializer()],\n    })\n    .deserializeUsing<ReceiveConfig>((account) =>\n      deserializeReceiveConfig(account)\n    )\n    .whereField(\n      'discriminator',\n      new Uint8Array([162, 159, 153, 188, 56, 65, 245, 58])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ExecutorConfig,\n  ExecutorConfigArgs,\n  UlnConfig,\n  UlnConfigArgs,\n  getExecutorConfigSerializer,\n  getUlnConfigSerializer,\n} from '../types';\n\nexport type SendConfig = Account<SendConfigAccountData>;\n\nexport type SendConfigAccountData = {\n  discriminator: Uint8Array;\n  bump: number;\n  uln: UlnConfig;\n  executor: ExecutorConfig;\n};\n\nexport type SendConfigAccountDataArgs = {\n  bump: number;\n  uln: UlnConfigArgs;\n  executor: ExecutorConfigArgs;\n};\n\nexport function getSendConfigAccountDataSerializer(): Serializer<\n  SendConfigAccountDataArgs,\n  SendConfigAccountData\n> {\n  return mapSerializer<SendConfigAccountDataArgs, any, SendConfigAccountData>(\n    struct<SendConfigAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['bump', u8()],\n        ['uln', getUlnConfigSerializer()],\n        ['executor', getExecutorConfigSerializer()],\n      ],\n      { description: 'SendConfigAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([91, 221, 135, 137, 131, 199, 174, 25]),\n    })\n  ) as Serializer<SendConfigAccountDataArgs, SendConfigAccountData>;\n}\n\nexport function deserializeSendConfig(rawAccount: RpcAccount): SendConfig {\n  return deserializeAccount(rawAccount, getSendConfigAccountDataSerializer());\n}\n\nexport async function fetchSendConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<SendConfig> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'SendConfig');\n  return deserializeSendConfig(maybeAccount);\n}\n\nexport async function safeFetchSendConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<SendConfig | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeSendConfig(maybeAccount) : null;\n}\n\nexport async function fetchAllSendConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<SendConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'SendConfig');\n    return deserializeSendConfig(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllSendConfig(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<SendConfig[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeSendConfig(maybeAccount as RpcAccount));\n}\n\nexport function getSendConfigGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      bump: number;\n      uln: UlnConfigArgs;\n      executor: ExecutorConfigArgs;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      bump: [8, u8()],\n      uln: [9, getUlnConfigSerializer()],\n      executor: [null, getExecutorConfigSerializer()],\n    })\n    .deserializeUsing<SendConfig>((account) => deserializeSendConfig(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([91, 221, 135, 137, 131, 199, 174, 25])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport { Treasury, TreasuryArgs, getTreasurySerializer } from '../types';\n\nexport type UlnSettings = Account<UlnSettingsAccountData>;\n\nexport type UlnSettingsAccountData = {\n  discriminator: Uint8Array;\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  bump: number;\n  admin: PublicKey;\n  treasury: Option<Treasury>;\n};\n\nexport type UlnSettingsAccountDataArgs = {\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  bump: number;\n  admin: PublicKey;\n  treasury: OptionOrNullable<TreasuryArgs>;\n};\n\nexport function getUlnSettingsAccountDataSerializer(): Serializer<\n  UlnSettingsAccountDataArgs,\n  UlnSettingsAccountData\n> {\n  return mapSerializer<UlnSettingsAccountDataArgs, any, UlnSettingsAccountData>(\n    struct<UlnSettingsAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['endpoint', publicKeySerializer()],\n        ['endpointProgram', publicKeySerializer()],\n        ['bump', u8()],\n        ['admin', publicKeySerializer()],\n        ['treasury', option(getTreasurySerializer())],\n      ],\n      { description: 'UlnSettingsAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([226, 199, 100, 253, 38, 115, 167, 154]),\n    })\n  ) as Serializer<UlnSettingsAccountDataArgs, UlnSettingsAccountData>;\n}\n\nexport function deserializeUlnSettings(rawAccount: RpcAccount): UlnSettings {\n  return deserializeAccount(rawAccount, getUlnSettingsAccountDataSerializer());\n}\n\nexport async function fetchUlnSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<UlnSettings> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'UlnSettings');\n  return deserializeUlnSettings(maybeAccount);\n}\n\nexport async function safeFetchUlnSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<UlnSettings | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializeUlnSettings(maybeAccount) : null;\n}\n\nexport async function fetchAllUlnSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<UlnSettings[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'UlnSettings');\n    return deserializeUlnSettings(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllUlnSettings(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<UlnSettings[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializeUlnSettings(maybeAccount as RpcAccount));\n}\n\nexport function getUlnSettingsGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      eid: number;\n      endpoint: PublicKey;\n      endpointProgram: PublicKey;\n      bump: number;\n      admin: PublicKey;\n      treasury: OptionOrNullable<TreasuryArgs>;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      eid: [8, u32()],\n      endpoint: [12, publicKeySerializer()],\n      endpointProgram: [44, publicKeySerializer()],\n      bump: [76, u8()],\n      admin: [77, publicKeySerializer()],\n      treasury: [109, option(getTreasurySerializer())],\n    })\n    .deserializeUsing<UlnSettings>((account) => deserializeUlnSettings(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([226, 199, 100, 253, 38, 115, 167, 154])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './uln';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Program, ProgramError } from '@metaplex-foundation/umi';\n\ntype ProgramErrorConstructor = new (\n  program: Program,\n  cause?: Error\n) => ProgramError;\nconst codeToErrorMap: Map<number, ProgramErrorConstructor> = new Map();\nconst nameToErrorMap: Map<string, ProgramErrorConstructor> = new Map();\n\n/** Unauthorized */\nexport class UnauthorizedError extends ProgramError {\n  override readonly name: string = 'Unauthorized';\n\n  readonly code: number = 0x1770; // 6000\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1770, UnauthorizedError);\nnameToErrorMap.set('Unauthorized', UnauthorizedError);\n\n/** InvalidAmount */\nexport class InvalidAmountError extends ProgramError {\n  override readonly name: string = 'InvalidAmount';\n\n  readonly code: number = 0x1771; // 6001\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1771, InvalidAmountError);\nnameToErrorMap.set('InvalidAmount', InvalidAmountError);\n\n/** InvalidExecutor */\nexport class InvalidExecutorError extends ProgramError {\n  override readonly name: string = 'InvalidExecutor';\n\n  readonly code: number = 0x1772; // 6002\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1772, InvalidExecutorError);\nnameToErrorMap.set('InvalidExecutor', InvalidExecutorError);\n\n/** ZeroMessageSize */\nexport class ZeroMessageSizeError extends ProgramError {\n  override readonly name: string = 'ZeroMessageSize';\n\n  readonly code: number = 0x1773; // 6003\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1773, ZeroMessageSizeError);\nnameToErrorMap.set('ZeroMessageSize', ZeroMessageSizeError);\n\n/** InvalidRequiredDVNCount */\nexport class InvalidRequiredDVNCountError extends ProgramError {\n  override readonly name: string = 'InvalidRequiredDVNCount';\n\n  readonly code: number = 0x1774; // 6004\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1774, InvalidRequiredDVNCountError);\nnameToErrorMap.set('InvalidRequiredDVNCount', InvalidRequiredDVNCountError);\n\n/** InvalidOptionalDVNCount */\nexport class InvalidOptionalDVNCountError extends ProgramError {\n  override readonly name: string = 'InvalidOptionalDVNCount';\n\n  readonly code: number = 0x1775; // 6005\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1775, InvalidOptionalDVNCountError);\nnameToErrorMap.set('InvalidOptionalDVNCount', InvalidOptionalDVNCountError);\n\n/** InvalidOptionalDVNThreshold */\nexport class InvalidOptionalDVNThresholdError extends ProgramError {\n  override readonly name: string = 'InvalidOptionalDVNThreshold';\n\n  readonly code: number = 0x1776; // 6006\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1776, InvalidOptionalDVNThresholdError);\nnameToErrorMap.set(\n  'InvalidOptionalDVNThreshold',\n  InvalidOptionalDVNThresholdError\n);\n\n/** InvalidConfirmations */\nexport class InvalidConfirmationsError extends ProgramError {\n  override readonly name: string = 'InvalidConfirmations';\n\n  readonly code: number = 0x1777; // 6007\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1777, InvalidConfirmationsError);\nnameToErrorMap.set('InvalidConfirmations', InvalidConfirmationsError);\n\n/** AtLeastOneDVN */\nexport class AtLeastOneDVNError extends ProgramError {\n  override readonly name: string = 'AtLeastOneDVN';\n\n  readonly code: number = 0x1778; // 6008\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1778, AtLeastOneDVNError);\nnameToErrorMap.set('AtLeastOneDVN', AtLeastOneDVNError);\n\n/** Unsorted */\nexport class UnsortedError extends ProgramError {\n  override readonly name: string = 'Unsorted';\n\n  readonly code: number = 0x1779; // 6009\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1779, UnsortedError);\nnameToErrorMap.set('Unsorted', UnsortedError);\n\n/** InvalidTreasuryFeeCap */\nexport class InvalidTreasuryFeeCapError extends ProgramError {\n  override readonly name: string = 'InvalidTreasuryFeeCap';\n\n  readonly code: number = 0x177a; // 6010\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177a, InvalidTreasuryFeeCapError);\nnameToErrorMap.set('InvalidTreasuryFeeCap', InvalidTreasuryFeeCapError);\n\n/** InvalidPacketVersion */\nexport class InvalidPacketVersionError extends ProgramError {\n  override readonly name: string = 'InvalidPacketVersion';\n\n  readonly code: number = 0x177b; // 6011\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177b, InvalidPacketVersionError);\nnameToErrorMap.set('InvalidPacketVersion', InvalidPacketVersionError);\n\n/** InvalidEid */\nexport class InvalidEidError extends ProgramError {\n  override readonly name: string = 'InvalidEid';\n\n  readonly code: number = 0x177c; // 6012\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177c, InvalidEidError);\nnameToErrorMap.set('InvalidEid', InvalidEidError);\n\n/** Verifying */\nexport class VerifyingError extends ProgramError {\n  override readonly name: string = 'Verifying';\n\n  readonly code: number = 0x177d; // 6013\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177d, VerifyingError);\nnameToErrorMap.set('Verifying', VerifyingError);\n\n/** InvalidWorkerId */\nexport class InvalidWorkerIdError extends ProgramError {\n  override readonly name: string = 'InvalidWorkerId';\n\n  readonly code: number = 0x177e; // 6014\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177e, InvalidWorkerIdError);\nnameToErrorMap.set('InvalidWorkerId', InvalidWorkerIdError);\n\n/** InvalidOptionType */\nexport class InvalidOptionTypeError extends ProgramError {\n  override readonly name: string = 'InvalidOptionType';\n\n  readonly code: number = 0x177f; // 6015\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x177f, InvalidOptionTypeError);\nnameToErrorMap.set('InvalidOptionType', InvalidOptionTypeError);\n\n/** InvalidBps */\nexport class InvalidBpsError extends ProgramError {\n  override readonly name: string = 'InvalidBps';\n\n  readonly code: number = 0x1780; // 6016\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1780, InvalidBpsError);\nnameToErrorMap.set('InvalidBps', InvalidBpsError);\n\n/** ExceededMaxMessageSize */\nexport class ExceededMaxMessageSizeError extends ProgramError {\n  override readonly name: string = 'ExceededMaxMessageSize';\n\n  readonly code: number = 0x1781; // 6017\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1781, ExceededMaxMessageSizeError);\nnameToErrorMap.set('ExceededMaxMessageSize', ExceededMaxMessageSizeError);\n\n/** InvalidExecutorProgram */\nexport class InvalidExecutorProgramError extends ProgramError {\n  override readonly name: string = 'InvalidExecutorProgram';\n\n  readonly code: number = 0x1782; // 6018\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1782, InvalidExecutorProgramError);\nnameToErrorMap.set('InvalidExecutorProgram', InvalidExecutorProgramError);\n\n/** InvalidAccountLength */\nexport class InvalidAccountLengthError extends ProgramError {\n  override readonly name: string = 'InvalidAccountLength';\n\n  readonly code: number = 0x1783; // 6019\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1783, InvalidAccountLengthError);\nnameToErrorMap.set('InvalidAccountLength', InvalidAccountLengthError);\n\n/** InvalidDvnProgram */\nexport class InvalidDvnProgramError extends ProgramError {\n  override readonly name: string = 'InvalidDvnProgram';\n\n  readonly code: number = 0x1784; // 6020\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1784, InvalidDvnProgramError);\nnameToErrorMap.set('InvalidDvnProgram', InvalidDvnProgramError);\n\n/** InvalidDvn */\nexport class InvalidDvnError extends ProgramError {\n  override readonly name: string = 'InvalidDvn';\n\n  readonly code: number = 0x1785; // 6021\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1785, InvalidDvnError);\nnameToErrorMap.set('InvalidDvn', InvalidDvnError);\n\n/** LzTokenUnavailable */\nexport class LzTokenUnavailableError extends ProgramError {\n  override readonly name: string = 'LzTokenUnavailable';\n\n  readonly code: number = 0x1786; // 6022\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1786, LzTokenUnavailableError);\nnameToErrorMap.set('LzTokenUnavailable', LzTokenUnavailableError);\n\n/** InsufficientFee */\nexport class InsufficientFeeError extends ProgramError {\n  override readonly name: string = 'InsufficientFee';\n\n  readonly code: number = 0x1787; // 6023\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1787, InsufficientFeeError);\nnameToErrorMap.set('InsufficientFee', InsufficientFeeError);\n\n/** InvalidTreasury */\nexport class InvalidTreasuryError extends ProgramError {\n  override readonly name: string = 'InvalidTreasury';\n\n  readonly code: number = 0x1788; // 6024\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1788, InvalidTreasuryError);\nnameToErrorMap.set('InvalidTreasury', InvalidTreasuryError);\n\n/** InvalidLzTokenMint */\nexport class InvalidLzTokenMintError extends ProgramError {\n  override readonly name: string = 'InvalidLzTokenMint';\n\n  readonly code: number = 0x1789; // 6025\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1789, InvalidLzTokenMintError);\nnameToErrorMap.set('InvalidLzTokenMint', InvalidLzTokenMintError);\n\n/** InvalidConfigType */\nexport class InvalidConfigTypeError extends ProgramError {\n  override readonly name: string = 'InvalidConfigType';\n\n  readonly code: number = 0x178a; // 6026\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x178a, InvalidConfigTypeError);\nnameToErrorMap.set('InvalidConfigType', InvalidConfigTypeError);\n\n/** InvalidConfirmation */\nexport class InvalidConfirmationError extends ProgramError {\n  override readonly name: string = 'InvalidConfirmation';\n\n  readonly code: number = 0x178b; // 6027\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x178b, InvalidConfirmationError);\nnameToErrorMap.set('InvalidConfirmation', InvalidConfirmationError);\n\n/** InvalidType1Size */\nexport class InvalidType1SizeError extends ProgramError {\n  override readonly name: string = 'InvalidType1Size';\n\n  readonly code: number = 0x178c; // 6028\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x178c, InvalidType1SizeError);\nnameToErrorMap.set('InvalidType1Size', InvalidType1SizeError);\n\n/** InvalidType2Size */\nexport class InvalidType2SizeError extends ProgramError {\n  override readonly name: string = 'InvalidType2Size';\n\n  readonly code: number = 0x178d; // 6029\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x178d, InvalidType2SizeError);\nnameToErrorMap.set('InvalidType2Size', InvalidType2SizeError);\n\n/** ExceededU128 */\nexport class ExceededU128Error extends ProgramError {\n  override readonly name: string = 'ExceededU128';\n\n  readonly code: number = 0x178e; // 6030\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x178e, ExceededU128Error);\nnameToErrorMap.set('ExceededU128', ExceededU128Error);\n\n/** NonSigner */\nexport class NonSignerError extends ProgramError {\n  override readonly name: string = 'NonSigner';\n\n  readonly code: number = 0x178f; // 6031\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x178f, NonSignerError);\nnameToErrorMap.set('NonSigner', NonSignerError);\n\n/** InvalidPayer */\nexport class InvalidPayerError extends ProgramError {\n  override readonly name: string = 'InvalidPayer';\n\n  readonly code: number = 0x1790; // 6032\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1790, InvalidPayerError);\nnameToErrorMap.set('InvalidPayer', InvalidPayerError);\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n */\nexport function getUlnErrorFromCode(\n  code: number,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = codeToErrorMap.get(code);\n  return constructor ? new constructor(program, cause) : null;\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n */\nexport function getUlnErrorFromName(\n  name: string,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = nameToErrorMap.get(name);\n  return constructor ? new constructor(program, cause) : null;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './closeVerify';\nexport * from './commitVerification';\nexport * from './initConfig';\nexport * from './initDefaultConfig';\nexport * from './initUln';\nexport * from './initVerify';\nexport * from './quote';\nexport * from './send';\nexport * from './sendWithLzToken';\nexport * from './setConfig';\nexport * from './setDefaultConfig';\nexport * from './setTreasury';\nexport * from './transferAdmin';\nexport * from './verify';\nexport * from './version';\nexport * from './withdrawRent';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  AccountMeta,\n  isSigner,\n  Pda,\n  publicKey,\n  PublicKey,\n  Signer,\n  isPda,\n} from '@metaplex-foundation/umi';\n\n/**\n * Transforms the given object such that the given keys are optional.\n * @internal\n */\nexport type PickPartial<T, K extends keyof T> = Omit<T, K> &\n  Partial<Pick<T, K>>;\n\n/**\n * Asserts that the given value is not null or undefined.\n * @internal\n */\nexport function expectSome<T>(value: T | null | undefined): T {\n  if (value == null) {\n    throw new Error('Expected a value but received null or undefined.');\n  }\n  return value;\n}\n\n/**\n * Asserts that the given value is a PublicKey.\n * @internal\n */\nexport function expectPublicKey(\n  value: PublicKey | Pda | Signer | null | undefined\n): PublicKey {\n  if (!value) {\n    throw new Error('Expected a PublicKey.');\n  }\n  return publicKey(value, false);\n}\n\n/**\n * Asserts that the given value is a PDA.\n * @internal\n */\nexport function expectPda(\n  value: PublicKey | Pda | Signer | null | undefined\n): Pda {\n  if (!value || !Array.isArray(value) || !isPda(value)) {\n    throw new Error('Expected a PDA.');\n  }\n  return value;\n}\n\n/**\n * Defines an instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccount<T = PublicKey | Pda | Signer | null> = {\n  isWritable: boolean;\n  value: T;\n};\n\n/**\n * Defines a set of instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccounts = Record<string, ResolvedAccount>;\n\n/**\n * Defines a set of instruction account to resolve with their indices.\n * @internal\n */\nexport type ResolvedAccountsWithIndices = Record<\n  string,\n  ResolvedAccount & { index: number }\n>;\n\n/**\n * Get account metas and signers from resolved accounts.\n * @internal\n */\nexport function getAccountMetasAndSigners(\n  accounts: ResolvedAccount[],\n  optionalAccountStrategy: 'omitted' | 'programId',\n  programId: PublicKey\n): [AccountMeta[], Signer[]] {\n  const keys: AccountMeta[] = [];\n  const signers: Signer[] = [];\n\n  accounts.forEach((account) => {\n    if (!account.value) {\n      if (optionalAccountStrategy === 'omitted') return;\n      keys.push({ pubkey: programId, isSigner: false, isWritable: false });\n      return;\n    }\n\n    if (isSigner(account.value)) {\n      signers.push(account.value);\n    }\n    keys.push({\n      pubkey: publicKey(account.value, false),\n      isSigner: isSigner(account.value),\n      isWritable: account.isWritable,\n    });\n  });\n\n  return [keys, signers];\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type CloseVerifyInstructionAccounts = {\n  dvn: Signer;\n  receiver: PublicKey | Pda;\n  confirmations: PublicKey | Pda;\n};\n\n// Data.\nexport type CloseVerifyInstructionData = {\n  discriminator: Uint8Array;\n  packetHeaderHash: Uint8Array;\n  payloadHash: Uint8Array;\n};\n\nexport type CloseVerifyInstructionDataArgs = {\n  packetHeaderHash: Uint8Array;\n  payloadHash: Uint8Array;\n};\n\nexport function getCloseVerifyInstructionDataSerializer(): Serializer<\n  CloseVerifyInstructionDataArgs,\n  CloseVerifyInstructionData\n> {\n  return mapSerializer<\n    CloseVerifyInstructionDataArgs,\n    any,\n    CloseVerifyInstructionData\n  >(\n    struct<CloseVerifyInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packetHeaderHash', bytes({ size: 32 })],\n        ['payloadHash', bytes({ size: 32 })],\n      ],\n      { description: 'CloseVerifyInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([44, 133, 228, 138, 169, 242, 53, 36]),\n    })\n  ) as Serializer<CloseVerifyInstructionDataArgs, CloseVerifyInstructionData>;\n}\n\n// Args.\nexport type CloseVerifyInstructionArgs = CloseVerifyInstructionDataArgs;\n\n// Instruction.\nexport function closeVerify(\n  context: Pick<Context, 'programs'>,\n  input: CloseVerifyInstructionAccounts & CloseVerifyInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    dvn: { index: 0, isWritable: false as boolean, value: input.dvn ?? null },\n    receiver: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.receiver ?? null,\n    },\n    confirmations: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.confirmations ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: CloseVerifyInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getCloseVerifyInstructionDataSerializer().serialize(\n    resolvedArgs as CloseVerifyInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type CommitVerificationInstructionAccounts = {\n  /** The custom receive config account may be uninitialized, so deserialize it only if it's initialized */\n  receiveConfig: PublicKey | Pda;\n  defaultReceiveConfig: PublicKey | Pda;\n  uln: PublicKey | Pda;\n};\n\n// Data.\nexport type CommitVerificationInstructionData = {\n  discriminator: Uint8Array;\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n};\n\nexport type CommitVerificationInstructionDataArgs = {\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n};\n\nexport function getCommitVerificationInstructionDataSerializer(): Serializer<\n  CommitVerificationInstructionDataArgs,\n  CommitVerificationInstructionData\n> {\n  return mapSerializer<\n    CommitVerificationInstructionDataArgs,\n    any,\n    CommitVerificationInstructionData\n  >(\n    struct<CommitVerificationInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packetHeader', array(u8(), { size: 81 })],\n        ['payloadHash', bytes({ size: 32 })],\n      ],\n      { description: 'CommitVerificationInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([194, 120, 44, 252, 140, 215, 139, 103]),\n    })\n  ) as Serializer<\n    CommitVerificationInstructionDataArgs,\n    CommitVerificationInstructionData\n  >;\n}\n\n// Args.\nexport type CommitVerificationInstructionArgs =\n  CommitVerificationInstructionDataArgs;\n\n// Instruction.\nexport function commitVerification(\n  context: Pick<Context, 'programs'>,\n  input: CommitVerificationInstructionAccounts &\n    CommitVerificationInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    receiveConfig: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.receiveConfig ?? null,\n    },\n    defaultReceiveConfig: {\n      index: 1,\n      isWritable: false as boolean,\n      value: input.defaultReceiveConfig ?? null,\n    },\n    uln: { index: 2, isWritable: false as boolean, value: input.uln ?? null },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: CommitVerificationInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getCommitVerificationInstructionDataSerializer().serialize(\n    resolvedArgs as CommitVerificationInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitConfigInstructionAccounts = {\n  endpoint: Signer;\n  payer?: Signer;\n  uln: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitConfigInstructionData = {\n  discriminator: Uint8Array;\n  oapp: PublicKey;\n  eid: number;\n};\n\nexport type InitConfigInstructionDataArgs = { oapp: PublicKey; eid: number };\n\nexport function getInitConfigInstructionDataSerializer(): Serializer<\n  InitConfigInstructionDataArgs,\n  InitConfigInstructionData\n> {\n  return mapSerializer<\n    InitConfigInstructionDataArgs,\n    any,\n    InitConfigInstructionData\n  >(\n    struct<InitConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['oapp', publicKeySerializer()],\n        ['eid', u32()],\n      ],\n      { description: 'InitConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([23, 235, 115, 232, 168, 96, 1, 231]),\n    })\n  ) as Serializer<InitConfigInstructionDataArgs, InitConfigInstructionData>;\n}\n\n// Args.\nexport type InitConfigInstructionArgs = InitConfigInstructionDataArgs;\n\n// Instruction.\nexport function initConfig(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitConfigInstructionAccounts & InitConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    payer: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    uln: { index: 2, isWritable: false as boolean, value: input.uln ?? null },\n    sendConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: input.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 4,\n      isWritable: true as boolean,\n      value: input.receiveConfig ?? null,\n    },\n    systemProgram: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitConfigInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitConfigInstructionDataSerializer().serialize(\n    resolvedArgs as InitConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  ExecutorConfig,\n  ExecutorConfigArgs,\n  UlnConfig,\n  UlnConfigArgs,\n  getExecutorConfigSerializer,\n  getUlnConfigSerializer,\n} from '../types';\n\n// Accounts.\nexport type InitDefaultConfigInstructionAccounts = {\n  admin: Signer;\n  uln: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type InitDefaultConfigInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  sendUlnConfig: UlnConfig;\n  receiveUlnConfig: UlnConfig;\n  executorConfig: ExecutorConfig;\n};\n\nexport type InitDefaultConfigInstructionDataArgs = {\n  eid: number;\n  sendUlnConfig: UlnConfigArgs;\n  receiveUlnConfig: UlnConfigArgs;\n  executorConfig: ExecutorConfigArgs;\n};\n\nexport function getInitDefaultConfigInstructionDataSerializer(): Serializer<\n  InitDefaultConfigInstructionDataArgs,\n  InitDefaultConfigInstructionData\n> {\n  return mapSerializer<\n    InitDefaultConfigInstructionDataArgs,\n    any,\n    InitDefaultConfigInstructionData\n  >(\n    struct<InitDefaultConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['sendUlnConfig', getUlnConfigSerializer()],\n        ['receiveUlnConfig', getUlnConfigSerializer()],\n        ['executorConfig', getExecutorConfigSerializer()],\n      ],\n      { description: 'InitDefaultConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([98, 218, 197, 194, 173, 179, 112, 21]),\n    })\n  ) as Serializer<\n    InitDefaultConfigInstructionDataArgs,\n    InitDefaultConfigInstructionData\n  >;\n}\n\n// Args.\nexport type InitDefaultConfigInstructionArgs =\n  InitDefaultConfigInstructionDataArgs;\n\n// Instruction.\nexport function initDefaultConfig(\n  context: Pick<Context, 'programs'>,\n  input: InitDefaultConfigInstructionAccounts & InitDefaultConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    uln: { index: 1, isWritable: false as boolean, value: input.uln ?? null },\n    sendConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: input.receiveConfig ?? null,\n    },\n    systemProgram: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 6,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitDefaultConfigInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitDefaultConfigInstructionDataSerializer().serialize(\n    resolvedArgs as InitDefaultConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitUlnInstructionAccounts = {\n  payer?: Signer;\n  uln: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitUlnInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  admin: PublicKey;\n};\n\nexport type InitUlnInstructionDataArgs = {\n  eid: number;\n  endpoint: PublicKey;\n  endpointProgram: PublicKey;\n  admin: PublicKey;\n};\n\nexport function getInitUlnInstructionDataSerializer(): Serializer<\n  InitUlnInstructionDataArgs,\n  InitUlnInstructionData\n> {\n  return mapSerializer<InitUlnInstructionDataArgs, any, InitUlnInstructionData>(\n    struct<InitUlnInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['endpoint', publicKeySerializer()],\n        ['endpointProgram', publicKeySerializer()],\n        ['admin', publicKeySerializer()],\n      ],\n      { description: 'InitUlnInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([19, 215, 207, 92, 197, 112, 119, 240]),\n    })\n  ) as Serializer<InitUlnInstructionDataArgs, InitUlnInstructionData>;\n}\n\n// Args.\nexport type InitUlnInstructionArgs = InitUlnInstructionDataArgs;\n\n// Instruction.\nexport function initUln(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitUlnInstructionAccounts & InitUlnInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    uln: { index: 1, isWritable: true as boolean, value: input.uln ?? null },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitUlnInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitUlnInstructionDataSerializer().serialize(\n    resolvedArgs as InitUlnInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitVerifyInstructionAccounts = {\n  payer?: Signer;\n  confirmations: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitVerifyInstructionData = {\n  discriminator: Uint8Array;\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n  dvn: PublicKey;\n};\n\nexport type InitVerifyInstructionDataArgs = {\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n  dvn: PublicKey;\n};\n\nexport function getInitVerifyInstructionDataSerializer(): Serializer<\n  InitVerifyInstructionDataArgs,\n  InitVerifyInstructionData\n> {\n  return mapSerializer<\n    InitVerifyInstructionDataArgs,\n    any,\n    InitVerifyInstructionData\n  >(\n    struct<InitVerifyInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packetHeader', array(u8(), { size: 81 })],\n        ['payloadHash', bytes({ size: 32 })],\n        ['dvn', publicKeySerializer()],\n      ],\n      { description: 'InitVerifyInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([76, 246, 244, 124, 115, 17, 235, 91]),\n    })\n  ) as Serializer<InitVerifyInstructionDataArgs, InitVerifyInstructionData>;\n}\n\n// Args.\nexport type InitVerifyInstructionArgs = InitVerifyInstructionDataArgs;\n\n// Instruction.\nexport function initVerify(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitVerifyInstructionAccounts & InitVerifyInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    confirmations: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.confirmations ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitVerifyInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitVerifyInstructionDataSerializer().serialize(\n    resolvedArgs as InitVerifyInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bool,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { Packet, PacketArgs, getPacketSerializer } from '../types';\n\n// Accounts.\nexport type QuoteInstructionAccounts = {\n  endpoint: Signer;\n  uln: PublicKey | Pda;\n  /** The custom send config account may be uninitialized, so deserialize it only if it's initialized */\n  sendConfig: PublicKey | Pda;\n  defaultSendConfig: PublicKey | Pda;\n};\n\n// Data.\nexport type QuoteInstructionData = {\n  discriminator: Uint8Array;\n  packet: Packet;\n  options: Uint8Array;\n  payInLzToken: boolean;\n};\n\nexport type QuoteInstructionDataArgs = {\n  packet: PacketArgs;\n  options: Uint8Array;\n  payInLzToken: boolean;\n};\n\nexport function getQuoteInstructionDataSerializer(): Serializer<\n  QuoteInstructionDataArgs,\n  QuoteInstructionData\n> {\n  return mapSerializer<QuoteInstructionDataArgs, any, QuoteInstructionData>(\n    struct<QuoteInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packet', getPacketSerializer()],\n        ['options', bytes({ size: u32() })],\n        ['payInLzToken', bool()],\n      ],\n      { description: 'QuoteInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([149, 42, 109, 247, 134, 146, 213, 123]),\n    })\n  ) as Serializer<QuoteInstructionDataArgs, QuoteInstructionData>;\n}\n\n// Args.\nexport type QuoteInstructionArgs = QuoteInstructionDataArgs;\n\n// Instruction.\nexport function quote(\n  context: Pick<Context, 'programs'>,\n  input: QuoteInstructionAccounts & QuoteInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    uln: { index: 1, isWritable: false as boolean, value: input.uln ?? null },\n    sendConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.sendConfig ?? null,\n    },\n    defaultSendConfig: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.defaultSendConfig ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: QuoteInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getQuoteInstructionDataSerializer().serialize(\n    resolvedArgs as QuoteInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { Packet, PacketArgs, getPacketSerializer } from '../types';\n\n// Accounts.\nexport type SendInstructionAccounts = {\n  endpoint: Signer;\n  uln: PublicKey | Pda;\n  /** The custom send config account may be uninitialized, so deserialize it only if it's initialized */\n  sendConfig: PublicKey | Pda;\n  defaultSendConfig: PublicKey | Pda;\n  /** pay for the native fee */\n  payer?: Signer;\n  /** The treasury account to receive the native fee */\n  treasury?: PublicKey | Pda;\n  /** for native fee transfer */\n  systemProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SendInstructionData = {\n  discriminator: Uint8Array;\n  packet: Packet;\n  options: Uint8Array;\n  nativeFee: bigint;\n};\n\nexport type SendInstructionDataArgs = {\n  packet: PacketArgs;\n  options: Uint8Array;\n  nativeFee: number | bigint;\n};\n\nexport function getSendInstructionDataSerializer(): Serializer<\n  SendInstructionDataArgs,\n  SendInstructionData\n> {\n  return mapSerializer<SendInstructionDataArgs, any, SendInstructionData>(\n    struct<SendInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packet', getPacketSerializer()],\n        ['options', bytes({ size: u32() })],\n        ['nativeFee', u64()],\n      ],\n      { description: 'SendInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([102, 251, 20, 187, 65, 75, 12, 69]),\n    })\n  ) as Serializer<SendInstructionDataArgs, SendInstructionData>;\n}\n\n// Args.\nexport type SendInstructionArgs = SendInstructionDataArgs;\n\n// Instruction.\nexport function send(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: SendInstructionAccounts & SendInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    uln: { index: 1, isWritable: false as boolean, value: input.uln ?? null },\n    sendConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.sendConfig ?? null,\n    },\n    defaultSendConfig: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.defaultSendConfig ?? null,\n    },\n    payer: {\n      index: 4,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    treasury: {\n      index: 5,\n      isWritable: true as boolean,\n      value: input.treasury ?? null,\n    },\n    systemProgram: {\n      index: 6,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n    eventAuthority: {\n      index: 7,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 8,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SendInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSendInstructionDataSerializer().serialize(\n    resolvedArgs as SendInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { Packet, PacketArgs, getPacketSerializer } from '../types';\n\n// Accounts.\nexport type SendWithLzTokenInstructionAccounts = {\n  endpoint: Signer;\n  uln: PublicKey | Pda;\n  /** The custom send config account may be uninitialized, so deserialize it only if it's initialized */\n  sendConfig: PublicKey | Pda;\n  defaultSendConfig: PublicKey | Pda;\n  /** pay for the native fee */\n  payer?: Signer;\n  /** for native fee transfer */\n  systemProgram?: PublicKey | Pda;\n  /** The token account to pay the lz token fee */\n  lzTokenSource: PublicKey | Pda;\n  /** The treasury token account to receive the lz token fee */\n  lzTokenTreasury: PublicKey | Pda;\n  lzTokenMint: PublicKey | Pda;\n  tokenProgram?: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SendWithLzTokenInstructionData = {\n  discriminator: Uint8Array;\n  packet: Packet;\n  options: Uint8Array;\n  nativeFee: bigint;\n  lzTokenFee: bigint;\n  lzTokenMint: PublicKey;\n};\n\nexport type SendWithLzTokenInstructionDataArgs = {\n  packet: PacketArgs;\n  options: Uint8Array;\n  nativeFee: number | bigint;\n  lzTokenFee: number | bigint;\n  lzTokenMint: PublicKey;\n};\n\nexport function getSendWithLzTokenInstructionDataSerializer(): Serializer<\n  SendWithLzTokenInstructionDataArgs,\n  SendWithLzTokenInstructionData\n> {\n  return mapSerializer<\n    SendWithLzTokenInstructionDataArgs,\n    any,\n    SendWithLzTokenInstructionData\n  >(\n    struct<SendWithLzTokenInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packet', getPacketSerializer()],\n        ['options', bytes({ size: u32() })],\n        ['nativeFee', u64()],\n        ['lzTokenFee', u64()],\n        ['lzTokenMint', publicKeySerializer()],\n      ],\n      { description: 'SendWithLzTokenInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([165, 161, 84, 48, 129, 26, 193, 19]),\n    })\n  ) as Serializer<\n    SendWithLzTokenInstructionDataArgs,\n    SendWithLzTokenInstructionData\n  >;\n}\n\n// Args.\nexport type SendWithLzTokenInstructionArgs = SendWithLzTokenInstructionDataArgs;\n\n// Instruction.\nexport function sendWithLzToken(\n  context: Pick<Context, 'payer' | 'programs'>,\n  accounts: SendWithLzTokenInstructionAccounts,\n  args: SendWithLzTokenInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.endpoint ?? null,\n    },\n    uln: {\n      index: 1,\n      isWritable: false as boolean,\n      value: accounts.uln ?? null,\n    },\n    sendConfig: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.sendConfig ?? null,\n    },\n    defaultSendConfig: {\n      index: 3,\n      isWritable: false as boolean,\n      value: accounts.defaultSendConfig ?? null,\n    },\n    payer: {\n      index: 4,\n      isWritable: true as boolean,\n      value: accounts.payer ?? null,\n    },\n    systemProgram: {\n      index: 5,\n      isWritable: false as boolean,\n      value: accounts.systemProgram ?? null,\n    },\n    lzTokenSource: {\n      index: 6,\n      isWritable: true as boolean,\n      value: accounts.lzTokenSource ?? null,\n    },\n    lzTokenTreasury: {\n      index: 7,\n      isWritable: true as boolean,\n      value: accounts.lzTokenTreasury ?? null,\n    },\n    lzTokenMint: {\n      index: 8,\n      isWritable: false as boolean,\n      value: accounts.lzTokenMint ?? null,\n    },\n    tokenProgram: {\n      index: 9,\n      isWritable: false as boolean,\n      value: accounts.tokenProgram ?? null,\n    },\n    eventAuthority: {\n      index: 10,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 11,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SendWithLzTokenInstructionArgs = { ...args };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n  if (!resolvedAccounts.tokenProgram.value) {\n    resolvedAccounts.tokenProgram.value = context.programs.getPublicKey(\n      'splToken',\n      'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'\n    );\n    resolvedAccounts.tokenProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSendWithLzTokenInstructionDataSerializer().serialize(\n    resolvedArgs as SendWithLzTokenInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetConfigInstructionAccounts = {\n  endpoint: Signer;\n  uln: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  defaultSendConfig: PublicKey | Pda;\n  defaultReceiveConfig: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetConfigInstructionData = {\n  discriminator: Uint8Array;\n  oapp: PublicKey;\n  eid: number;\n  configType: number;\n  config: Uint8Array;\n};\n\nexport type SetConfigInstructionDataArgs = {\n  oapp: PublicKey;\n  eid: number;\n  configType: number;\n  config: Uint8Array;\n};\n\nexport function getSetConfigInstructionDataSerializer(): Serializer<\n  SetConfigInstructionDataArgs,\n  SetConfigInstructionData\n> {\n  return mapSerializer<\n    SetConfigInstructionDataArgs,\n    any,\n    SetConfigInstructionData\n  >(\n    struct<SetConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['oapp', publicKeySerializer()],\n        ['eid', u32()],\n        ['configType', u32()],\n        ['config', bytes({ size: u32() })],\n      ],\n      { description: 'SetConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([108, 158, 154, 175, 212, 98, 52, 66]),\n    })\n  ) as Serializer<SetConfigInstructionDataArgs, SetConfigInstructionData>;\n}\n\n// Args.\nexport type SetConfigInstructionArgs = SetConfigInstructionDataArgs;\n\n// Instruction.\nexport function setConfig(\n  context: Pick<Context, 'programs'>,\n  input: SetConfigInstructionAccounts & SetConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    endpoint: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.endpoint ?? null,\n    },\n    uln: { index: 1, isWritable: false as boolean, value: input.uln ?? null },\n    sendConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: input.receiveConfig ?? null,\n    },\n    defaultSendConfig: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.defaultSendConfig ?? null,\n    },\n    defaultReceiveConfig: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.defaultReceiveConfig ?? null,\n    },\n    eventAuthority: {\n      index: 6,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 7,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetConfigInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetConfigInstructionDataSerializer().serialize(\n    resolvedArgs as SetConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  ExecutorConfig,\n  ExecutorConfigArgs,\n  UlnConfig,\n  UlnConfigArgs,\n  getExecutorConfigSerializer,\n  getUlnConfigSerializer,\n} from '../types';\n\n// Accounts.\nexport type SetDefaultConfigInstructionAccounts = {\n  admin: Signer;\n  uln: PublicKey | Pda;\n  sendConfig: PublicKey | Pda;\n  receiveConfig: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetDefaultConfigInstructionData = {\n  discriminator: Uint8Array;\n  eid: number;\n  sendUlnConfig: Option<UlnConfig>;\n  receiveUlnConfig: Option<UlnConfig>;\n  executorConfig: Option<ExecutorConfig>;\n};\n\nexport type SetDefaultConfigInstructionDataArgs = {\n  eid: number;\n  sendUlnConfig: OptionOrNullable<UlnConfigArgs>;\n  receiveUlnConfig: OptionOrNullable<UlnConfigArgs>;\n  executorConfig: OptionOrNullable<ExecutorConfigArgs>;\n};\n\nexport function getSetDefaultConfigInstructionDataSerializer(): Serializer<\n  SetDefaultConfigInstructionDataArgs,\n  SetDefaultConfigInstructionData\n> {\n  return mapSerializer<\n    SetDefaultConfigInstructionDataArgs,\n    any,\n    SetDefaultConfigInstructionData\n  >(\n    struct<SetDefaultConfigInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['eid', u32()],\n        ['sendUlnConfig', option(getUlnConfigSerializer())],\n        ['receiveUlnConfig', option(getUlnConfigSerializer())],\n        ['executorConfig', option(getExecutorConfigSerializer())],\n      ],\n      { description: 'SetDefaultConfigInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([111, 228, 17, 75, 5, 76, 213, 169]),\n    })\n  ) as Serializer<\n    SetDefaultConfigInstructionDataArgs,\n    SetDefaultConfigInstructionData\n  >;\n}\n\n// Args.\nexport type SetDefaultConfigInstructionArgs =\n  SetDefaultConfigInstructionDataArgs;\n\n// Instruction.\nexport function setDefaultConfig(\n  context: Pick<Context, 'programs'>,\n  input: SetDefaultConfigInstructionAccounts & SetDefaultConfigInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    uln: { index: 1, isWritable: false as boolean, value: input.uln ?? null },\n    sendConfig: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.sendConfig ?? null,\n    },\n    receiveConfig: {\n      index: 3,\n      isWritable: true as boolean,\n      value: input.receiveConfig ?? null,\n    },\n    eventAuthority: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 5,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetDefaultConfigInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetDefaultConfigInstructionDataSerializer().serialize(\n    resolvedArgs as SetDefaultConfigInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport { Treasury, TreasuryArgs, getTreasurySerializer } from '../types';\n\n// Accounts.\nexport type SetTreasuryInstructionAccounts = {\n  /** The admin or treasury admin */\n  signer: Signer;\n  uln: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type SetTreasuryInstructionData = {\n  discriminator: Uint8Array;\n  treasury: Option<Treasury>;\n};\n\nexport type SetTreasuryInstructionDataArgs = {\n  treasury: OptionOrNullable<TreasuryArgs>;\n};\n\nexport function getSetTreasuryInstructionDataSerializer(): Serializer<\n  SetTreasuryInstructionDataArgs,\n  SetTreasuryInstructionData\n> {\n  return mapSerializer<\n    SetTreasuryInstructionDataArgs,\n    any,\n    SetTreasuryInstructionData\n  >(\n    struct<SetTreasuryInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['treasury', option(getTreasurySerializer())],\n      ],\n      { description: 'SetTreasuryInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([57, 97, 196, 95, 195, 206, 106, 136]),\n    })\n  ) as Serializer<SetTreasuryInstructionDataArgs, SetTreasuryInstructionData>;\n}\n\n// Args.\nexport type SetTreasuryInstructionArgs = SetTreasuryInstructionDataArgs;\n\n// Instruction.\nexport function setTreasury(\n  context: Pick<Context, 'programs'>,\n  input: SetTreasuryInstructionAccounts & SetTreasuryInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    signer: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.signer ?? null,\n    },\n    uln: { index: 1, isWritable: true as boolean, value: input.uln ?? null },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetTreasuryInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetTreasuryInstructionDataSerializer().serialize(\n    resolvedArgs as SetTreasuryInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type TransferAdminInstructionAccounts = {\n  admin: Signer;\n  uln: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type TransferAdminInstructionData = {\n  discriminator: Uint8Array;\n  admin: PublicKey;\n};\n\nexport type TransferAdminInstructionDataArgs = { admin: PublicKey };\n\nexport function getTransferAdminInstructionDataSerializer(): Serializer<\n  TransferAdminInstructionDataArgs,\n  TransferAdminInstructionData\n> {\n  return mapSerializer<\n    TransferAdminInstructionDataArgs,\n    any,\n    TransferAdminInstructionData\n  >(\n    struct<TransferAdminInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['admin', publicKeySerializer()],\n      ],\n      { description: 'TransferAdminInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([42, 242, 66, 106, 228, 10, 111, 156]),\n    })\n  ) as Serializer<\n    TransferAdminInstructionDataArgs,\n    TransferAdminInstructionData\n  >;\n}\n\n// Args.\nexport type TransferAdminInstructionArgs = TransferAdminInstructionDataArgs;\n\n// Instruction.\nexport function transferAdmin(\n  context: Pick<Context, 'programs'>,\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.admin ?? null,\n    },\n    uln: { index: 1, isWritable: true as boolean, value: accounts.uln ?? null },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: TransferAdminInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getTransferAdminInstructionDataSerializer().serialize(\n    resolvedArgs as TransferAdminInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type VerifyInstructionAccounts = {\n  dvn: Signer;\n  confirmations: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type VerifyInstructionData = {\n  discriminator: Uint8Array;\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n  confirmations: bigint;\n};\n\nexport type VerifyInstructionDataArgs = {\n  packetHeader: Array<number>;\n  payloadHash: Uint8Array;\n  confirmations: number | bigint;\n};\n\nexport function getVerifyInstructionDataSerializer(): Serializer<\n  VerifyInstructionDataArgs,\n  VerifyInstructionData\n> {\n  return mapSerializer<VerifyInstructionDataArgs, any, VerifyInstructionData>(\n    struct<VerifyInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['packetHeader', array(u8(), { size: 81 })],\n        ['payloadHash', bytes({ size: 32 })],\n        ['confirmations', u64()],\n      ],\n      { description: 'VerifyInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([133, 161, 141, 48, 120, 198, 88, 150]),\n    })\n  ) as Serializer<VerifyInstructionDataArgs, VerifyInstructionData>;\n}\n\n// Args.\nexport type VerifyInstructionArgs = VerifyInstructionDataArgs;\n\n// Instruction.\nexport function verify(\n  context: Pick<Context, 'programs'>,\n  accounts: VerifyInstructionAccounts,\n  args: VerifyInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    dvn: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.dvn ?? null,\n    },\n    confirmations: {\n      index: 1,\n      isWritable: true as boolean,\n      value: accounts.confirmations ?? null,\n    },\n    eventAuthority: {\n      index: 2,\n      isWritable: false as boolean,\n      value: accounts.eventAuthority ?? null,\n    },\n    program: {\n      index: 3,\n      isWritable: false as boolean,\n      value: accounts.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: VerifyInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getVerifyInstructionDataSerializer().serialize(\n    resolvedArgs as VerifyInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Data.\nexport type VersionInstructionData = { discriminator: Uint8Array };\n\nexport type VersionInstructionDataArgs = {};\n\nexport function getVersionInstructionDataSerializer(): Serializer<\n  VersionInstructionDataArgs,\n  VersionInstructionData\n> {\n  return mapSerializer<VersionInstructionDataArgs, any, VersionInstructionData>(\n    struct<VersionInstructionData>([['discriminator', bytes({ size: 8 })]], {\n      description: 'VersionInstructionData',\n    }),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([118, 65, 195, 198, 129, 216, 252, 192]),\n    })\n  ) as Serializer<VersionInstructionDataArgs, VersionInstructionData>;\n}\n\n// Instruction.\nexport function version(\n  context: Pick<Context, 'programs'>\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {} satisfies ResolvedAccountsWithIndices;\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts as ResolvedAccountsWithIndices\n  );\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getVersionInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type WithdrawRentInstructionAccounts = {\n  admin: Signer;\n  uln: PublicKey | Pda;\n  receiver: PublicKey | Pda;\n  eventAuthority: PublicKey | Pda;\n  program: PublicKey | Pda;\n};\n\n// Data.\nexport type WithdrawRentInstructionData = {\n  discriminator: Uint8Array;\n  amount: bigint;\n};\n\nexport type WithdrawRentInstructionDataArgs = { amount: number | bigint };\n\nexport function getWithdrawRentInstructionDataSerializer(): Serializer<\n  WithdrawRentInstructionDataArgs,\n  WithdrawRentInstructionData\n> {\n  return mapSerializer<\n    WithdrawRentInstructionDataArgs,\n    any,\n    WithdrawRentInstructionData\n  >(\n    struct<WithdrawRentInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['amount', u64()],\n      ],\n      { description: 'WithdrawRentInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([226, 7, 41, 158, 173, 111, 192, 107]),\n    })\n  ) as Serializer<WithdrawRentInstructionDataArgs, WithdrawRentInstructionData>;\n}\n\n// Args.\nexport type WithdrawRentInstructionArgs = WithdrawRentInstructionDataArgs;\n\n// Instruction.\nexport function withdrawRent(\n  context: Pick<Context, 'programs'>,\n  input: WithdrawRentInstructionAccounts & WithdrawRentInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'uln',\n    '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.admin ?? null,\n    },\n    uln: { index: 1, isWritable: true as boolean, value: input.uln ?? null },\n    receiver: {\n      index: 2,\n      isWritable: true as boolean,\n      value: input.receiver ?? null,\n    },\n    eventAuthority: {\n      index: 3,\n      isWritable: false as boolean,\n      value: input.eventAuthority ?? null,\n    },\n    program: {\n      index: 4,\n      isWritable: false as boolean,\n      value: input.program ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: WithdrawRentInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getWithdrawRentInstructionDataSerializer().serialize(\n    resolvedArgs as WithdrawRentInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  ClusterFilter,\n  Context,\n  Program,\n  PublicKey,\n} from '@metaplex-foundation/umi';\nimport { getUlnErrorFromCode, getUlnErrorFromName } from '../errors';\n\nexport const ULN_PROGRAM_ID =\n  '7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH' as PublicKey<'7a4WjyR8VZ7yZz5XJAKm39BUGn5iT9CKcv2pmG9tdXVH'>;\n\nexport function createUlnProgram(): Program {\n  return {\n    name: 'uln',\n    publicKey: ULN_PROGRAM_ID,\n    getErrorFromCode(code: number, cause?: Error) {\n      return getUlnErrorFromCode(code, this, cause);\n    },\n    getErrorFromName(name: string, cause?: Error) {\n      return getUlnErrorFromName(name, this, cause);\n    },\n    isOnCluster() {\n      return true;\n    },\n  };\n}\n\nexport function getUlnProgram<T extends Program = Program>(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): T {\n  return context.programs.get<T>('uln', clusterFilter);\n}\n\nexport function getUlnProgramId(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): PublicKey {\n  return context.programs.getPublicKey('uln', ULN_PROGRAM_ID, clusterFilter);\n}\n","import {\n    Cluster,\n    ClusterFilter,\n    Commitment,\n    OptionOrNullable,\n    Program,\n    ProgramError,\n    ProgramRepositoryInterface,\n    PublicKey,\n    RpcInterface,\n    Signer,\n    WrappedInstruction,\n    createNullRpc,\n} from '@metaplex-foundation/umi'\nimport { createDefaultProgramRepository } from '@metaplex-foundation/umi-program-repository'\n\nimport { PRICEFEED_PROGRAM_ID } from './generated/kinobi/pricefeed'\nimport * as accounts from './generated/kinobi/pricefeed/accounts'\nimport * as errors from './generated/kinobi/pricefeed/errors'\nimport * as instructions from './generated/kinobi/pricefeed/instructions'\nimport * as types from './generated/kinobi/pricefeed/types'\nimport { PriceFeedPDA } from './pda'\n\nexport { PRICEFEED_PROGRAM_ID } from './generated/kinobi/pricefeed'\nexport { accounts, instructions, types, errors }\n\n/**\n * Class representing the PriceFeed.\n */\nexport class PriceFeed {\n    public readonly pda: PriceFeedPDA\n    public readonly programRepo: ProgramRepositoryInterface\n\n    constructor(\n        public readonly programId: PublicKey = PRICEFEED_PROGRAM_ID,\n        rpc?: RpcInterface\n    ) {\n        this.pda = new PriceFeedPDA(this.programId)\n        if (rpc === undefined) {\n            rpc = createNullRpc()\n            rpc.getCluster = (): Cluster => 'custom'\n        }\n        this.programRepo = createDefaultProgramRepository({ rpc }, [\n            {\n                name: 'pricefeed',\n                publicKey: programId,\n                getErrorFromCode(code: number, cause?: Error): ProgramError | null {\n                    return errors.getPricefeedErrorFromCode(code, this, cause)\n                },\n                getErrorFromName(name: string, cause?: Error): ProgramError | null {\n                    return errors.getPricefeedErrorFromName(name, this, cause)\n                },\n                isOnCluster(): boolean {\n                    return true\n                },\n            } satisfies Program,\n        ])\n    }\n\n    getProgram(clusterFilter: ClusterFilter = 'custom'): Program {\n        return this.programRepo.get('pricefeed', clusterFilter)\n    }\n\n    initPriceFeed(payer: Signer, param: instructions.InitPriceFeedInstructionDataArgs): WrappedInstruction {\n        return instructions.initPriceFeed(\n            { programs: this.programRepo, payer },\n            {\n                payer,\n                priceFeed: this.pda.priceFeed(),\n                ...param,\n            }\n        ).items[0]\n    }\n\n    setPriceFeed(admin: Signer, param: instructions.SetPriceFeedInstructionArgs): WrappedInstruction {\n        return instructions.setPriceFeed(\n            { programs: this.programRepo },\n            {\n                admin,\n                priceFeed: this.pda.priceFeed(),\n                ...param,\n            }\n        ).items[0]\n    }\n\n    setPrice(updater: Signer, param: { dstEid: number } & OptionOrNullable<types.PriceParamsArgs>): WrappedInstruction {\n        const EID_MODULUS = 30000\n        const dstEid = param.dstEid % EID_MODULUS\n        const isParamsNull = !('priceRatio' in param)\n\n        return instructions.setPrice(\n            { programs: this.programRepo },\n            {\n                updater,\n                priceFeed: this.pda.priceFeed(),\n                dstEid,\n                params: isParamsNull\n                    ? null\n                    : {\n                          priceRatio: param.priceRatio,\n                          gasPriceInUnit: param.gasPriceInUnit,\n                          gasPerByte: param.gasPerByte,\n                          modelType: param.modelType,\n                      },\n            }\n        ).items[0]\n    }\n\n    setSolPrice(updater: Signer, nativeTokenPriceUsd: OptionOrNullable<number | bigint>): WrappedInstruction {\n        return instructions.setSolPrice(\n            { programs: this.programRepo },\n            {\n                updater,\n                priceFeed: this.pda.priceFeed(),\n                nativeTokenPriceUsd,\n            }\n        ).items[0]\n    }\n\n    transferAdmin(admin: Signer, newAdmin: PublicKey): WrappedInstruction {\n        return instructions.transferAdmin(\n            { programs: this.programRepo },\n            {\n                admin,\n                priceFeed: this.pda.priceFeed(),\n            },\n            {\n                admin: newAdmin,\n            }\n        ).items[0]\n    }\n\n    getFee(param: instructions.GetFeeInstructionArgs): WrappedInstruction {\n        return instructions.getFee(\n            { programs: this.programRepo },\n            {\n                priceFeed: this.pda.priceFeed(),\n                ...param,\n            }\n        ).items[0]\n    }\n\n    /**\n     * Retrieves the price feed account.\n     *\n     * @param {RpcInterface} rpc - The Solana connection object.\n     * @param {Commitment} [commitment] - Optional commitment or configuration.\n     *\n     * @returns {Promise<accounts.PriceFeed | null>} The price feed account or null if not found.\n     */\n    async getPriceFeed(rpc: RpcInterface, commitment: Commitment = 'confirmed'): Promise<accounts.PriceFeed | null> {\n        const [priceFeed] = this.pda.priceFeed()\n        return accounts.safeFetchPriceFeed({ rpc }, priceFeed, { commitment })\n    }\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './priceFeed';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './modelType';\nexport * from './price';\nexport * from './priceParams';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  GetDataEnumKind,\n  GetDataEnumKindContent,\n  Serializer,\n  dataEnum,\n  struct,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\n\nexport type ModelType =\n  | { __kind: 'Arbitrum'; gasPerL2Tx: bigint; gasPerL1CalldataByte: number }\n  | { __kind: 'Optimism'; l1Eid: number };\n\nexport type ModelTypeArgs =\n  | {\n      __kind: 'Arbitrum';\n      gasPerL2Tx: number | bigint;\n      gasPerL1CalldataByte: number;\n    }\n  | { __kind: 'Optimism'; l1Eid: number };\n\nexport function getModelTypeSerializer(): Serializer<ModelTypeArgs, ModelType> {\n  return dataEnum<ModelType>(\n    [\n      [\n        'Arbitrum',\n        struct<GetDataEnumKindContent<ModelType, 'Arbitrum'>>([\n          ['gasPerL2Tx', u64()],\n          ['gasPerL1CalldataByte', u32()],\n        ]),\n      ],\n      [\n        'Optimism',\n        struct<GetDataEnumKindContent<ModelType, 'Optimism'>>([\n          ['l1Eid', u32()],\n        ]),\n      ],\n    ],\n    { description: 'ModelType' }\n  ) as Serializer<ModelTypeArgs, ModelType>;\n}\n\n// Data Enum Helpers.\nexport function modelType(\n  kind: 'Arbitrum',\n  data: GetDataEnumKindContent<ModelTypeArgs, 'Arbitrum'>\n): GetDataEnumKind<ModelTypeArgs, 'Arbitrum'>;\nexport function modelType(\n  kind: 'Optimism',\n  data: GetDataEnumKindContent<ModelTypeArgs, 'Optimism'>\n): GetDataEnumKind<ModelTypeArgs, 'Optimism'>;\nexport function modelType<K extends ModelTypeArgs['__kind']>(\n  kind: K,\n  data?: any\n): Extract<ModelTypeArgs, { __kind: K }> {\n  return Array.isArray(data)\n    ? { __kind: kind, fields: data }\n    : { __kind: kind, ...(data ?? {}) };\n}\nexport function isModelType<K extends ModelType['__kind']>(\n  kind: K,\n  value: ModelType\n): value is ModelType & { __kind: K } {\n  return value.__kind === kind;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  struct,\n  u128,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport { ModelType, ModelTypeArgs, getModelTypeSerializer } from '.';\n\nexport type Price = {\n  eid: number;\n  priceRatio: bigint;\n  gasPriceInUnit: bigint;\n  gasPerByte: number;\n  modelType: Option<ModelType>;\n};\n\nexport type PriceArgs = {\n  eid: number;\n  priceRatio: number | bigint;\n  gasPriceInUnit: number | bigint;\n  gasPerByte: number;\n  modelType: OptionOrNullable<ModelTypeArgs>;\n};\n\nexport function getPriceSerializer(): Serializer<PriceArgs, Price> {\n  return struct<Price>(\n    [\n      ['eid', u32()],\n      ['priceRatio', u128()],\n      ['gasPriceInUnit', u64()],\n      ['gasPerByte', u32()],\n      ['modelType', option(getModelTypeSerializer())],\n    ],\n    { description: 'Price' }\n  ) as Serializer<PriceArgs, Price>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Option, OptionOrNullable } from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  option,\n  struct,\n  u128,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport { ModelType, ModelTypeArgs, getModelTypeSerializer } from '.';\n\nexport type PriceParams = {\n  priceRatio: bigint;\n  gasPriceInUnit: bigint;\n  gasPerByte: number;\n  modelType: Option<ModelType>;\n};\n\nexport type PriceParamsArgs = {\n  priceRatio: number | bigint;\n  gasPriceInUnit: number | bigint;\n  gasPerByte: number;\n  modelType: OptionOrNullable<ModelTypeArgs>;\n};\n\nexport function getPriceParamsSerializer(): Serializer<\n  PriceParamsArgs,\n  PriceParams\n> {\n  return struct<PriceParams>(\n    [\n      ['priceRatio', u128()],\n      ['gasPriceInUnit', u64()],\n      ['gasPerByte', u32()],\n      ['modelType', option(getModelTypeSerializer())],\n    ],\n    { description: 'PriceParams' }\n  ) as Serializer<PriceParamsArgs, PriceParams>;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Account,\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  RpcAccount,\n  RpcGetAccountOptions,\n  RpcGetAccountsOptions,\n  assertAccountExists,\n  deserializeAccount,\n  gpaBuilder,\n  publicKey as toPublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  option,\n  publicKey as publicKeySerializer,\n  struct,\n  u128,\n  u8,\n} from '@metaplex-foundation/umi/serializers';\nimport { Price, PriceArgs, getPriceSerializer } from '../types';\n\nexport type PriceFeed = Account<PriceFeedAccountData>;\n\nexport type PriceFeedAccountData = {\n  discriminator: Uint8Array;\n  admin: PublicKey;\n  updaters: Array<PublicKey>;\n  priceRatioDenominator: bigint;\n  arbitrumCompressionPercent: bigint;\n  nativeTokenPriceUsd: Option<bigint>;\n  prices: Array<Price>;\n  bump: number;\n};\n\nexport type PriceFeedAccountDataArgs = {\n  admin: PublicKey;\n  updaters: Array<PublicKey>;\n  priceRatioDenominator: number | bigint;\n  arbitrumCompressionPercent: number | bigint;\n  nativeTokenPriceUsd: OptionOrNullable<number | bigint>;\n  prices: Array<PriceArgs>;\n  bump: number;\n};\n\nexport function getPriceFeedAccountDataSerializer(): Serializer<\n  PriceFeedAccountDataArgs,\n  PriceFeedAccountData\n> {\n  return mapSerializer<PriceFeedAccountDataArgs, any, PriceFeedAccountData>(\n    struct<PriceFeedAccountData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['admin', publicKeySerializer()],\n        ['updaters', array(publicKeySerializer())],\n        ['priceRatioDenominator', u128()],\n        ['arbitrumCompressionPercent', u128()],\n        ['nativeTokenPriceUsd', option(u128())],\n        ['prices', array(getPriceSerializer())],\n        ['bump', u8()],\n      ],\n      { description: 'PriceFeedAccountData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([189, 103, 252, 23, 152, 35, 243, 156]),\n    })\n  ) as Serializer<PriceFeedAccountDataArgs, PriceFeedAccountData>;\n}\n\nexport function deserializePriceFeed(rawAccount: RpcAccount): PriceFeed {\n  return deserializeAccount(rawAccount, getPriceFeedAccountDataSerializer());\n}\n\nexport async function fetchPriceFeed(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<PriceFeed> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  assertAccountExists(maybeAccount, 'PriceFeed');\n  return deserializePriceFeed(maybeAccount);\n}\n\nexport async function safeFetchPriceFeed(\n  context: Pick<Context, 'rpc'>,\n  publicKey: PublicKey | Pda,\n  options?: RpcGetAccountOptions\n): Promise<PriceFeed | null> {\n  const maybeAccount = await context.rpc.getAccount(\n    toPublicKey(publicKey, false),\n    options\n  );\n  return maybeAccount.exists ? deserializePriceFeed(maybeAccount) : null;\n}\n\nexport async function fetchAllPriceFeed(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<PriceFeed[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts.map((maybeAccount) => {\n    assertAccountExists(maybeAccount, 'PriceFeed');\n    return deserializePriceFeed(maybeAccount);\n  });\n}\n\nexport async function safeFetchAllPriceFeed(\n  context: Pick<Context, 'rpc'>,\n  publicKeys: Array<PublicKey | Pda>,\n  options?: RpcGetAccountsOptions\n): Promise<PriceFeed[]> {\n  const maybeAccounts = await context.rpc.getAccounts(\n    publicKeys.map((key) => toPublicKey(key, false)),\n    options\n  );\n  return maybeAccounts\n    .filter((maybeAccount) => maybeAccount.exists)\n    .map((maybeAccount) => deserializePriceFeed(maybeAccount as RpcAccount));\n}\n\nexport function getPriceFeedGpaBuilder(\n  context: Pick<Context, 'rpc' | 'programs'>\n) {\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n  return gpaBuilder(context, programId)\n    .registerFields<{\n      discriminator: Uint8Array;\n      admin: PublicKey;\n      updaters: Array<PublicKey>;\n      priceRatioDenominator: number | bigint;\n      arbitrumCompressionPercent: number | bigint;\n      nativeTokenPriceUsd: OptionOrNullable<number | bigint>;\n      prices: Array<PriceArgs>;\n      bump: number;\n    }>({\n      discriminator: [0, bytes({ size: 8 })],\n      admin: [8, publicKeySerializer()],\n      updaters: [40, array(publicKeySerializer())],\n      priceRatioDenominator: [null, u128()],\n      arbitrumCompressionPercent: [null, u128()],\n      nativeTokenPriceUsd: [null, option(u128())],\n      prices: [null, array(getPriceSerializer())],\n      bump: [null, u8()],\n    })\n    .deserializeUsing<PriceFeed>((account) => deserializePriceFeed(account))\n    .whereField(\n      'discriminator',\n      new Uint8Array([189, 103, 252, 23, 152, 35, 243, 156])\n    );\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './pricefeed';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Program, ProgramError } from '@metaplex-foundation/umi';\n\ntype ProgramErrorConstructor = new (\n  program: Program,\n  cause?: Error\n) => ProgramError;\nconst codeToErrorMap: Map<number, ProgramErrorConstructor> = new Map();\nconst nameToErrorMap: Map<string, ProgramErrorConstructor> = new Map();\n\n/** TooManyUpdaters */\nexport class TooManyUpdatersError extends ProgramError {\n  override readonly name: string = 'TooManyUpdaters';\n\n  readonly code: number = 0x1770; // 6000\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1770, TooManyUpdatersError);\nnameToErrorMap.set('TooManyUpdaters', TooManyUpdatersError);\n\n/** InvalidUpdater */\nexport class InvalidUpdaterError extends ProgramError {\n  override readonly name: string = 'InvalidUpdater';\n\n  readonly code: number = 0x1771; // 6001\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1771, InvalidUpdaterError);\nnameToErrorMap.set('InvalidUpdater', InvalidUpdaterError);\n\n/** NotFound */\nexport class NotFoundError extends ProgramError {\n  override readonly name: string = 'NotFound';\n\n  readonly code: number = 0x1772; // 6002\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1772, NotFoundError);\nnameToErrorMap.set('NotFound', NotFoundError);\n\n/** InvalidSize */\nexport class InvalidSizeError extends ProgramError {\n  override readonly name: string = 'InvalidSize';\n\n  readonly code: number = 0x1773; // 6003\n\n  constructor(program: Program, cause?: Error) {\n    super('', program, cause);\n  }\n}\ncodeToErrorMap.set(0x1773, InvalidSizeError);\nnameToErrorMap.set('InvalidSize', InvalidSizeError);\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n */\nexport function getPricefeedErrorFromCode(\n  code: number,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = codeToErrorMap.get(code);\n  return constructor ? new constructor(program, cause) : null;\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n */\nexport function getPricefeedErrorFromName(\n  name: string,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = nameToErrorMap.get(name);\n  return constructor ? new constructor(program, cause) : null;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './extendPriceFeed';\nexport * from './getFee';\nexport * from './initPriceFeed';\nexport * from './setPrice';\nexport * from './setPriceFeed';\nexport * from './setSolPrice';\nexport * from './transferAdmin';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  AccountMeta,\n  isSigner,\n  Pda,\n  publicKey,\n  PublicKey,\n  Signer,\n  isPda,\n} from '@metaplex-foundation/umi';\n\n/**\n * Transforms the given object such that the given keys are optional.\n * @internal\n */\nexport type PickPartial<T, K extends keyof T> = Omit<T, K> &\n  Partial<Pick<T, K>>;\n\n/**\n * Asserts that the given value is not null or undefined.\n * @internal\n */\nexport function expectSome<T>(value: T | null | undefined): T {\n  if (value == null) {\n    throw new Error('Expected a value but received null or undefined.');\n  }\n  return value;\n}\n\n/**\n * Asserts that the given value is a PublicKey.\n * @internal\n */\nexport function expectPublicKey(\n  value: PublicKey | Pda | Signer | null | undefined\n): PublicKey {\n  if (!value) {\n    throw new Error('Expected a PublicKey.');\n  }\n  return publicKey(value, false);\n}\n\n/**\n * Asserts that the given value is a PDA.\n * @internal\n */\nexport function expectPda(\n  value: PublicKey | Pda | Signer | null | undefined\n): Pda {\n  if (!value || !Array.isArray(value) || !isPda(value)) {\n    throw new Error('Expected a PDA.');\n  }\n  return value;\n}\n\n/**\n * Defines an instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccount<T = PublicKey | Pda | Signer | null> = {\n  isWritable: boolean;\n  value: T;\n};\n\n/**\n * Defines a set of instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccounts = Record<string, ResolvedAccount>;\n\n/**\n * Defines a set of instruction account to resolve with their indices.\n * @internal\n */\nexport type ResolvedAccountsWithIndices = Record<\n  string,\n  ResolvedAccount & { index: number }\n>;\n\n/**\n * Get account metas and signers from resolved accounts.\n * @internal\n */\nexport function getAccountMetasAndSigners(\n  accounts: ResolvedAccount[],\n  optionalAccountStrategy: 'omitted' | 'programId',\n  programId: PublicKey\n): [AccountMeta[], Signer[]] {\n  const keys: AccountMeta[] = [];\n  const signers: Signer[] = [];\n\n  accounts.forEach((account) => {\n    if (!account.value) {\n      if (optionalAccountStrategy === 'omitted') return;\n      keys.push({ pubkey: programId, isSigner: false, isWritable: false });\n      return;\n    }\n\n    if (isSigner(account.value)) {\n      signers.push(account.value);\n    }\n    keys.push({\n      pubkey: publicKey(account.value, false),\n      isSigner: isSigner(account.value),\n      isWritable: account.isWritable,\n    });\n  });\n\n  return [keys, signers];\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type ExtendPriceFeedInstructionAccounts = {\n  admin: Signer;\n  priceFeed: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type ExtendPriceFeedInstructionData = { discriminator: Uint8Array };\n\nexport type ExtendPriceFeedInstructionDataArgs = {};\n\nexport function getExtendPriceFeedInstructionDataSerializer(): Serializer<\n  ExtendPriceFeedInstructionDataArgs,\n  ExtendPriceFeedInstructionData\n> {\n  return mapSerializer<\n    ExtendPriceFeedInstructionDataArgs,\n    any,\n    ExtendPriceFeedInstructionData\n  >(\n    struct<ExtendPriceFeedInstructionData>(\n      [['discriminator', bytes({ size: 8 })]],\n      { description: 'ExtendPriceFeedInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([16, 95, 1, 5, 220, 54, 15, 80]),\n    })\n  ) as Serializer<\n    ExtendPriceFeedInstructionDataArgs,\n    ExtendPriceFeedInstructionData\n  >;\n}\n\n// Instruction.\nexport function extendPriceFeed(\n  context: Pick<Context, 'programs'>,\n  input: ExtendPriceFeedInstructionAccounts\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    priceFeed: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.priceFeed ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Default values.\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getExtendPriceFeedInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n  u128,\n  u32,\n  u64,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type GetFeeInstructionAccounts = {\n  priceFeed: PublicKey | Pda;\n};\n\n// Data.\nexport type GetFeeInstructionData = {\n  discriminator: Uint8Array;\n  dstEid: number;\n  calldataSize: bigint;\n  totalGas: bigint;\n};\n\nexport type GetFeeInstructionDataArgs = {\n  dstEid: number;\n  calldataSize: number | bigint;\n  totalGas: number | bigint;\n};\n\nexport function getGetFeeInstructionDataSerializer(): Serializer<\n  GetFeeInstructionDataArgs,\n  GetFeeInstructionData\n> {\n  return mapSerializer<GetFeeInstructionDataArgs, any, GetFeeInstructionData>(\n    struct<GetFeeInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['dstEid', u32()],\n        ['calldataSize', u64()],\n        ['totalGas', u128()],\n      ],\n      { description: 'GetFeeInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([115, 195, 235, 161, 25, 219, 60, 29]),\n    })\n  ) as Serializer<GetFeeInstructionDataArgs, GetFeeInstructionData>;\n}\n\n// Args.\nexport type GetFeeInstructionArgs = GetFeeInstructionDataArgs;\n\n// Instruction.\nexport function getFee(\n  context: Pick<Context, 'programs'>,\n  input: GetFeeInstructionAccounts & GetFeeInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    priceFeed: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.priceFeed ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: GetFeeInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getGetFeeInstructionDataSerializer().serialize(\n    resolvedArgs as GetFeeInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type InitPriceFeedInstructionAccounts = {\n  payer?: Signer;\n  priceFeed: PublicKey | Pda;\n  systemProgram?: PublicKey | Pda;\n};\n\n// Data.\nexport type InitPriceFeedInstructionData = {\n  discriminator: Uint8Array;\n  admin: PublicKey;\n  updaters: Array<PublicKey>;\n};\n\nexport type InitPriceFeedInstructionDataArgs = {\n  admin: PublicKey;\n  updaters: Array<PublicKey>;\n};\n\nexport function getInitPriceFeedInstructionDataSerializer(): Serializer<\n  InitPriceFeedInstructionDataArgs,\n  InitPriceFeedInstructionData\n> {\n  return mapSerializer<\n    InitPriceFeedInstructionDataArgs,\n    any,\n    InitPriceFeedInstructionData\n  >(\n    struct<InitPriceFeedInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['admin', publicKeySerializer()],\n        ['updaters', array(publicKeySerializer())],\n      ],\n      { description: 'InitPriceFeedInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([27, 209, 184, 5, 152, 116, 136, 16]),\n    })\n  ) as Serializer<\n    InitPriceFeedInstructionDataArgs,\n    InitPriceFeedInstructionData\n  >;\n}\n\n// Args.\nexport type InitPriceFeedInstructionArgs = InitPriceFeedInstructionDataArgs;\n\n// Instruction.\nexport function initPriceFeed(\n  context: Pick<Context, 'payer' | 'programs'>,\n  input: InitPriceFeedInstructionAccounts & InitPriceFeedInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    payer: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.payer ?? null,\n    },\n    priceFeed: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.priceFeed ?? null,\n    },\n    systemProgram: {\n      index: 2,\n      isWritable: false as boolean,\n      value: input.systemProgram ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: InitPriceFeedInstructionArgs = { ...input };\n\n  // Default values.\n  if (!resolvedAccounts.payer.value) {\n    resolvedAccounts.payer.value = context.payer;\n  }\n  if (!resolvedAccounts.systemProgram.value) {\n    resolvedAccounts.systemProgram.value = context.programs.getPublicKey(\n      'splSystem',\n      '11111111111111111111111111111111'\n    );\n    resolvedAccounts.systemProgram.isWritable = false;\n  }\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getInitPriceFeedInstructionDataSerializer().serialize(\n    resolvedArgs as InitPriceFeedInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  struct,\n  u32,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\nimport {\n  PriceParams,\n  PriceParamsArgs,\n  getPriceParamsSerializer,\n} from '../types';\n\n// Accounts.\nexport type SetPriceInstructionAccounts = {\n  updater: Signer;\n  priceFeed: PublicKey | Pda;\n};\n\n// Data.\nexport type SetPriceInstructionData = {\n  discriminator: Uint8Array;\n  dstEid: number;\n  params: Option<PriceParams>;\n};\n\nexport type SetPriceInstructionDataArgs = {\n  dstEid: number;\n  params: OptionOrNullable<PriceParamsArgs>;\n};\n\nexport function getSetPriceInstructionDataSerializer(): Serializer<\n  SetPriceInstructionDataArgs,\n  SetPriceInstructionData\n> {\n  return mapSerializer<\n    SetPriceInstructionDataArgs,\n    any,\n    SetPriceInstructionData\n  >(\n    struct<SetPriceInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['dstEid', u32()],\n        ['params', option(getPriceParamsSerializer())],\n      ],\n      { description: 'SetPriceInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([16, 19, 182, 8, 149, 83, 72, 181]),\n    })\n  ) as Serializer<SetPriceInstructionDataArgs, SetPriceInstructionData>;\n}\n\n// Args.\nexport type SetPriceInstructionArgs = SetPriceInstructionDataArgs;\n\n// Instruction.\nexport function setPrice(\n  context: Pick<Context, 'programs'>,\n  input: SetPriceInstructionAccounts & SetPriceInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    updater: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.updater ?? null,\n    },\n    priceFeed: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.priceFeed ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetPriceInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetPriceInstructionDataSerializer().serialize(\n    resolvedArgs as SetPriceInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  array,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n  u128,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetPriceFeedInstructionAccounts = {\n  admin: Signer;\n  priceFeed: PublicKey | Pda;\n};\n\n// Data.\nexport type SetPriceFeedInstructionData = {\n  discriminator: Uint8Array;\n  updaters: Array<PublicKey>;\n  priceRatioDenominator: bigint;\n  arbitrumCompressionPercent: bigint;\n};\n\nexport type SetPriceFeedInstructionDataArgs = {\n  updaters: Array<PublicKey>;\n  priceRatioDenominator: number | bigint;\n  arbitrumCompressionPercent: number | bigint;\n};\n\nexport function getSetPriceFeedInstructionDataSerializer(): Serializer<\n  SetPriceFeedInstructionDataArgs,\n  SetPriceFeedInstructionData\n> {\n  return mapSerializer<\n    SetPriceFeedInstructionDataArgs,\n    any,\n    SetPriceFeedInstructionData\n  >(\n    struct<SetPriceFeedInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['updaters', array(publicKeySerializer())],\n        ['priceRatioDenominator', u128()],\n        ['arbitrumCompressionPercent', u128()],\n      ],\n      { description: 'SetPriceFeedInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([13, 15, 231, 129, 61, 7, 28, 122]),\n    })\n  ) as Serializer<SetPriceFeedInstructionDataArgs, SetPriceFeedInstructionData>;\n}\n\n// Args.\nexport type SetPriceFeedInstructionArgs = SetPriceFeedInstructionDataArgs;\n\n// Instruction.\nexport function setPriceFeed(\n  context: Pick<Context, 'programs'>,\n  input: SetPriceFeedInstructionAccounts & SetPriceFeedInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: true as boolean,\n      value: input.admin ?? null,\n    },\n    priceFeed: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.priceFeed ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetPriceFeedInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetPriceFeedInstructionDataSerializer().serialize(\n    resolvedArgs as SetPriceFeedInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Option,\n  OptionOrNullable,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  option,\n  struct,\n  u128,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type SetSolPriceInstructionAccounts = {\n  updater: Signer;\n  priceFeed: PublicKey | Pda;\n};\n\n// Data.\nexport type SetSolPriceInstructionData = {\n  discriminator: Uint8Array;\n  nativeTokenPriceUsd: Option<bigint>;\n};\n\nexport type SetSolPriceInstructionDataArgs = {\n  nativeTokenPriceUsd: OptionOrNullable<number | bigint>;\n};\n\nexport function getSetSolPriceInstructionDataSerializer(): Serializer<\n  SetSolPriceInstructionDataArgs,\n  SetSolPriceInstructionData\n> {\n  return mapSerializer<\n    SetSolPriceInstructionDataArgs,\n    any,\n    SetSolPriceInstructionData\n  >(\n    struct<SetSolPriceInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['nativeTokenPriceUsd', option(u128())],\n      ],\n      { description: 'SetSolPriceInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([151, 237, 70, 191, 232, 81, 138, 214]),\n    })\n  ) as Serializer<SetSolPriceInstructionDataArgs, SetSolPriceInstructionData>;\n}\n\n// Args.\nexport type SetSolPriceInstructionArgs = SetSolPriceInstructionDataArgs;\n\n// Instruction.\nexport function setSolPrice(\n  context: Pick<Context, 'programs'>,\n  input: SetSolPriceInstructionAccounts & SetSolPriceInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    updater: {\n      index: 0,\n      isWritable: false as boolean,\n      value: input.updater ?? null,\n    },\n    priceFeed: {\n      index: 1,\n      isWritable: true as boolean,\n      value: input.priceFeed ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: SetSolPriceInstructionArgs = { ...input };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getSetSolPriceInstructionDataSerializer().serialize(\n    resolvedArgs as SetSolPriceInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  Pda,\n  PublicKey,\n  Signer,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  publicKey as publicKeySerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Accounts.\nexport type TransferAdminInstructionAccounts = {\n  admin: Signer;\n  priceFeed: PublicKey | Pda;\n};\n\n// Data.\nexport type TransferAdminInstructionData = {\n  discriminator: Uint8Array;\n  admin: PublicKey;\n};\n\nexport type TransferAdminInstructionDataArgs = { admin: PublicKey };\n\nexport function getTransferAdminInstructionDataSerializer(): Serializer<\n  TransferAdminInstructionDataArgs,\n  TransferAdminInstructionData\n> {\n  return mapSerializer<\n    TransferAdminInstructionDataArgs,\n    any,\n    TransferAdminInstructionData\n  >(\n    struct<TransferAdminInstructionData>(\n      [\n        ['discriminator', bytes({ size: 8 })],\n        ['admin', publicKeySerializer()],\n      ],\n      { description: 'TransferAdminInstructionData' }\n    ),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([42, 242, 66, 106, 228, 10, 111, 156]),\n    })\n  ) as Serializer<\n    TransferAdminInstructionDataArgs,\n    TransferAdminInstructionData\n  >;\n}\n\n// Args.\nexport type TransferAdminInstructionArgs = TransferAdminInstructionDataArgs;\n\n// Instruction.\nexport function transferAdmin(\n  context: Pick<Context, 'programs'>,\n  accounts: TransferAdminInstructionAccounts,\n  args: TransferAdminInstructionArgs\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'pricefeed',\n    '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {\n    admin: {\n      index: 0,\n      isWritable: false as boolean,\n      value: accounts.admin ?? null,\n    },\n    priceFeed: {\n      index: 1,\n      isWritable: true as boolean,\n      value: accounts.priceFeed ?? null,\n    },\n  } satisfies ResolvedAccountsWithIndices;\n\n  // Arguments.\n  const resolvedArgs: TransferAdminInstructionArgs = { ...args };\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts\n  ).sort((a, b) => a.index - b.index);\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getTransferAdminInstructionDataSerializer().serialize(\n    resolvedArgs as TransferAdminInstructionDataArgs\n  );\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  ClusterFilter,\n  Context,\n  Program,\n  PublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  getPricefeedErrorFromCode,\n  getPricefeedErrorFromName,\n} from '../errors';\n\nexport const PRICEFEED_PROGRAM_ID =\n  '8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP' as PublicKey<'8ahPGPjEbpgGaZx2NV1iG5Shj7TDwvsjkEDcGWjt94TP'>;\n\nexport function createPricefeedProgram(): Program {\n  return {\n    name: 'pricefeed',\n    publicKey: PRICEFEED_PROGRAM_ID,\n    getErrorFromCode(code: number, cause?: Error) {\n      return getPricefeedErrorFromCode(code, this, cause);\n    },\n    getErrorFromName(name: string, cause?: Error) {\n      return getPricefeedErrorFromName(name, this, cause);\n    },\n    isOnCluster() {\n      return true;\n    },\n  };\n}\n\nexport function getPricefeedProgram<T extends Program = Program>(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): T {\n  return context.programs.get<T>('pricefeed', clusterFilter);\n}\n\nexport function getPricefeedProgramId(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): PublicKey {\n  return context.programs.getPublicKey(\n    'pricefeed',\n    PRICEFEED_PROGRAM_ID,\n    clusterFilter\n  );\n}\n","import { Environment } from '@layerzerolabs/lz-definitions'\n\n/**\n * Array of IDL types.\n */\nexport const idlTypes = [\n    'MessageLibQuoteParams',\n    'MessageLibSendParams',\n    'MessagingFee',\n    'MessagingReceipt',\n    'PacketForQuote',\n    'Packet',\n    'InitConfigParams',\n    'MessageLibSetConfigParams',\n    'MessageLibSnapshotConfigParams',\n    'MessageLibResetConfigParams',\n]\n\n/**\n * Array of message libraries.\n */\nexport const messageLibs = ['uln', 'simple_messagelib']\n\n/**\n * Faucet URLs for different environments.\n */\nexport const FAUCET_URL: { [env in Environment]: string } = {\n    [Environment.MAINNET]: '',\n    [Environment.TESTNET]: '',\n    [Environment.DEVNET]: '',\n    [Environment.LOCAL]: 'http://127.0.0.1:9900',\n}\n","import { PublicKey, publicKey } from '@metaplex-foundation/umi'\n\nimport { Network } from '@layerzerolabs/lz-definitions'\n\n/**\n * Supported programs.\n */\nexport type SupportedPrograms =\n    | 'endpoint'\n    | 'simple_messagelib'\n    | 'uln'\n    | 'blocked_messagelib'\n    | 'executor'\n    | 'pricefeed'\n    | 'dvn'\n\n/**\n * Interface representing a deployment.\n */\nexport interface Deployment {\n    /**\n     * The name of the supported program.\n     */\n    name: SupportedPrograms\n\n    /**\n     * The network of the deployment.\n     */\n    network: Network\n\n    /**\n     * The address of the deployment.\n     */\n    address: string\n\n    /**\n     * Compatible versions of the deployment.\n     */\n    compatibleVersions: string[]\n\n    /**\n     * The deployer of the deployment.\n     */\n    deployer: string\n}\n\n/**\n * Gets the program keypair.\n *\n * @param {Network | 'default'} network - The network.\n * @param {SupportedPrograms} program - The supported program.\n * @returns {PublicKey} The public key of the program.\n */\nexport function getProgramKeypair(network: Network | 'default', program: SupportedPrograms): PublicKey {\n    network = network === 'default' ? 'solana-sandbox-local' : network\n    const deployment = require(`@layerzerolabs/lz-solana-sdk-v2/deployments/${network}/${program}.json`) as Deployment\n    return publicKey(deployment.address)\n}\n\n/**\n * Gets the endpoint program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the endpoint program.\n */\nexport function getEndpointProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'endpoint')\n}\n\n/**\n * Gets the simple message library program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the simple message library program.\n */\nexport function getSimpleMessageLibProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'simple_messagelib')\n}\n\n/**\n * Gets the ULN program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the ULN program.\n */\nexport function getULNProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'uln')\n}\n\n/**\n * Gets the DVN program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the DVN program.\n */\nexport function getDVNProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'dvn')\n}\n\n/**\n * Gets the blocked message library program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the blocked message library program.\n */\nexport function getBlockedMessageLibProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'blocked_messagelib')\n}\n\n/**\n * Gets the executor program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the executor program.\n */\nexport function getExecutorProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'executor')\n}\n\n/**\n * Gets the pricefeed program ID.\n *\n * @param {Network | 'default'} network - The network.\n * @returns {PublicKey} The public key of the pricefeed program.\n */\nexport function getPricefeedProgramId(network: Network | 'default'): PublicKey {\n    return getProgramKeypair(network, 'pricefeed')\n}\n","import { Commitment, PublicKey, RpcInterface, publicKeyBytes } from '@metaplex-foundation/umi'\nimport {\n    Endian,\n    Serializer,\n    bytes,\n    mapSerializer,\n    publicKey as publicKeySerializer,\n    struct,\n    u32,\n    u64,\n} from '@metaplex-foundation/umi/serializers'\nimport { fromWeb3JsPublicKey, toWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\nimport * as web3 from '@solana/web3.js'\n\nimport { arrayify } from '@layerzerolabs/lz-utilities'\nimport { Packet, addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EDDSA } from './pda'\nimport { instructionDiscriminator, simulateWeb3JsTransaction, toWeb3Connection } from './utility'\n\n// Data.\nexport interface NextNonceInstructionData {\n    discriminator: Uint8Array\n    srcEid: number\n    sender: Uint8Array\n    receiver: PublicKey\n}\n\nexport interface NextNonceInstructionDataArgs {\n    srcEid: number\n    sender: Uint8Array\n    receiver: PublicKey\n}\n\nexport function getNextNonceInstructionDataSerializer(): Serializer<\n    NextNonceInstructionDataArgs,\n    NextNonceInstructionData\n> {\n    return mapSerializer<NextNonceInstructionDataArgs, any, NextNonceInstructionData>(\n        struct<NextNonceInstructionData>(\n            [\n                ['discriminator', bytes({ size: 8 })],\n                ['srcEid', u32()],\n                ['sender', bytes({ size: 32 })],\n                ['receiver', publicKeySerializer()],\n            ],\n            { description: 'NextNonceInstructionData' }\n        ),\n        (value) => ({\n            ...value,\n            discriminator: instructionDiscriminator('next_nonce'),\n        })\n    )\n}\n\nexport async function nextNonce(\n    rpc: RpcInterface | web3.Connection,\n    payer: PublicKey | web3.PublicKey,\n    packet: Pick<Packet, 'sender' | 'srcEid' | 'receiver'>,\n    commitment: Commitment = 'confirmed'\n): Promise<bigint> {\n    const { sender: sender_, srcEid, receiver: receiver_ } = packet\n    const receiver = new web3.PublicKey(addressToBytes32(receiver_))\n    const connection = toWeb3Connection(rpc)\n    const receiverInfo = await connection.getAccountInfo(receiver)\n    if (receiverInfo === null) {\n        throw new Error(`Receiver account not found: ${receiver.toBase58()}`)\n    }\n\n    const params: NextNonceInstructionDataArgs = {\n        srcEid: srcEid,\n        sender: arrayify(sender_),\n        receiver: fromWeb3JsPublicKey(receiver),\n    }\n    const receiverProgram = receiverInfo.owner\n\n    const [nonceAccount] = EDDSA.findPda(fromWeb3JsPublicKey(receiverProgram), [\n        Buffer.from('Nonce', 'utf8'),\n        publicKeyBytes(params.receiver),\n        u32({ endian: Endian.Big }).serialize(srcEid),\n        params.sender,\n    ])\n    const accounts: web3.AccountMeta[] = [\n        {\n            pubkey: receiver,\n            isSigner: false,\n            isWritable: false,\n        },\n        {\n            pubkey: toWeb3JsPublicKey(nonceAccount),\n            isSigner: false,\n            isWritable: true,\n        },\n    ]\n    const nextNonceIx: web3.TransactionInstruction = {\n        programId: receiverProgram,\n        keys: accounts,\n        data: Buffer.from(getNextNonceInstructionDataSerializer().serialize(params)),\n    }\n    return simulateWeb3JsTransaction(connection, [nextNonceIx], receiverProgram, payer, u64(), commitment)\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nexport * from './errors';\nexport * from './instructions';\nexport * from './programs';\nexport * from './shared';\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport { Program, ProgramError } from '@metaplex-foundation/umi';\n\ntype ProgramErrorConstructor = new (\n  program: Program,\n  cause?: Error\n) => ProgramError;\nconst codeToErrorMap: Map<number, ProgramErrorConstructor> = new Map();\nconst nameToErrorMap: Map<string, ProgramErrorConstructor> = new Map();\n\n/**\n * Attempts to resolve a custom program error from the provided error code.\n * @category Errors\n */\nexport function getBlockedMessagelibErrorFromCode(\n  code: number,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = codeToErrorMap.get(code);\n  return constructor ? new constructor(program, cause) : null;\n}\n\n/**\n * Attempts to resolve a custom program error from the provided error name, i.e. 'Unauthorized'.\n * @category Errors\n */\nexport function getBlockedMessagelibErrorFromName(\n  name: string,\n  program: Program,\n  cause?: Error\n): ProgramError | null {\n  const constructor = nameToErrorMap.get(name);\n  return constructor ? new constructor(program, cause) : null;\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  AccountMeta,\n  isSigner,\n  Pda,\n  publicKey,\n  PublicKey,\n  Signer,\n  isPda,\n} from '@metaplex-foundation/umi';\n\n/**\n * Transforms the given object such that the given keys are optional.\n * @internal\n */\nexport type PickPartial<T, K extends keyof T> = Omit<T, K> &\n  Partial<Pick<T, K>>;\n\n/**\n * Asserts that the given value is not null or undefined.\n * @internal\n */\nexport function expectSome<T>(value: T | null | undefined): T {\n  if (value == null) {\n    throw new Error('Expected a value but received null or undefined.');\n  }\n  return value;\n}\n\n/**\n * Asserts that the given value is a PublicKey.\n * @internal\n */\nexport function expectPublicKey(\n  value: PublicKey | Pda | Signer | null | undefined\n): PublicKey {\n  if (!value) {\n    throw new Error('Expected a PublicKey.');\n  }\n  return publicKey(value, false);\n}\n\n/**\n * Asserts that the given value is a PDA.\n * @internal\n */\nexport function expectPda(\n  value: PublicKey | Pda | Signer | null | undefined\n): Pda {\n  if (!value || !Array.isArray(value) || !isPda(value)) {\n    throw new Error('Expected a PDA.');\n  }\n  return value;\n}\n\n/**\n * Defines an instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccount<T = PublicKey | Pda | Signer | null> = {\n  isWritable: boolean;\n  value: T;\n};\n\n/**\n * Defines a set of instruction account to resolve.\n * @internal\n */\nexport type ResolvedAccounts = Record<string, ResolvedAccount>;\n\n/**\n * Defines a set of instruction account to resolve with their indices.\n * @internal\n */\nexport type ResolvedAccountsWithIndices = Record<\n  string,\n  ResolvedAccount & { index: number }\n>;\n\n/**\n * Get account metas and signers from resolved accounts.\n * @internal\n */\nexport function getAccountMetasAndSigners(\n  accounts: ResolvedAccount[],\n  optionalAccountStrategy: 'omitted' | 'programId',\n  programId: PublicKey\n): [AccountMeta[], Signer[]] {\n  const keys: AccountMeta[] = [];\n  const signers: Signer[] = [];\n\n  accounts.forEach((account) => {\n    if (!account.value) {\n      if (optionalAccountStrategy === 'omitted') return;\n      keys.push({ pubkey: programId, isSigner: false, isWritable: false });\n      return;\n    }\n\n    if (isSigner(account.value)) {\n      signers.push(account.value);\n    }\n    keys.push({\n      pubkey: publicKey(account.value, false),\n      isSigner: isSigner(account.value),\n      isWritable: account.isWritable,\n    });\n  });\n\n  return [keys, signers];\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  Context,\n  TransactionBuilder,\n  transactionBuilder,\n} from '@metaplex-foundation/umi';\nimport {\n  Serializer,\n  bytes,\n  mapSerializer,\n  struct,\n} from '@metaplex-foundation/umi/serializers';\nimport {\n  ResolvedAccount,\n  ResolvedAccountsWithIndices,\n  getAccountMetasAndSigners,\n} from '../shared';\n\n// Data.\nexport type VersionInstructionData = { discriminator: Uint8Array };\n\nexport type VersionInstructionDataArgs = {};\n\nexport function getVersionInstructionDataSerializer(): Serializer<\n  VersionInstructionDataArgs,\n  VersionInstructionData\n> {\n  return mapSerializer<VersionInstructionDataArgs, any, VersionInstructionData>(\n    struct<VersionInstructionData>([['discriminator', bytes({ size: 8 })]], {\n      description: 'VersionInstructionData',\n    }),\n    (value) => ({\n      ...value,\n      discriminator: new Uint8Array([118, 65, 195, 198, 129, 216, 252, 192]),\n    })\n  ) as Serializer<VersionInstructionDataArgs, VersionInstructionData>;\n}\n\n// Instruction.\nexport function version(\n  context: Pick<Context, 'programs'>\n): TransactionBuilder {\n  // Program ID.\n  const programId = context.programs.getPublicKey(\n    'blockedMessagelib',\n    '2XrYqmhBMPJgDsb4SVbjV1PnJBprurd5bzRCkHwiFCJB'\n  );\n\n  // Accounts.\n  const resolvedAccounts = {} satisfies ResolvedAccountsWithIndices;\n\n  // Accounts in order.\n  const orderedAccounts: ResolvedAccount[] = Object.values(\n    resolvedAccounts as ResolvedAccountsWithIndices\n  );\n\n  // Keys and Signers.\n  const [keys, signers] = getAccountMetasAndSigners(\n    orderedAccounts,\n    'programId',\n    programId\n  );\n\n  // Data.\n  const data = getVersionInstructionDataSerializer().serialize({});\n\n  // Bytes Created On Chain.\n  const bytesCreatedOnChain = 0;\n\n  return transactionBuilder([\n    { instruction: { keys, programId, data }, signers, bytesCreatedOnChain },\n  ]);\n}\n","/**\n * This code was AUTOGENERATED using the kinobi library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun kinobi to update it.\n *\n * @see https://github.com/kinobi-so/kinobi\n */\n\nimport {\n  ClusterFilter,\n  Context,\n  Program,\n  PublicKey,\n} from '@metaplex-foundation/umi';\nimport {\n  getBlockedMessagelibErrorFromCode,\n  getBlockedMessagelibErrorFromName,\n} from '../errors';\n\nexport const BLOCKED_MESSAGELIB_PROGRAM_ID =\n  '2XrYqmhBMPJgDsb4SVbjV1PnJBprurd5bzRCkHwiFCJB' as PublicKey<'2XrYqmhBMPJgDsb4SVbjV1PnJBprurd5bzRCkHwiFCJB'>;\n\nexport function createBlockedMessagelibProgram(): Program {\n  return {\n    name: 'blockedMessagelib',\n    publicKey: BLOCKED_MESSAGELIB_PROGRAM_ID,\n    getErrorFromCode(code: number, cause?: Error) {\n      return getBlockedMessagelibErrorFromCode(code, this, cause);\n    },\n    getErrorFromName(name: string, cause?: Error) {\n      return getBlockedMessagelibErrorFromName(name, this, cause);\n    },\n    isOnCluster() {\n      return true;\n    },\n  };\n}\n\nexport function getBlockedMessagelibProgram<T extends Program = Program>(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): T {\n  return context.programs.get<T>('blockedMessagelib', clusterFilter);\n}\n\nexport function getBlockedMessagelibProgramId(\n  context: Pick<Context, 'programs'>,\n  clusterFilter?: ClusterFilter\n): PublicKey {\n  return context.programs.getPublicKey(\n    'blockedMessagelib',\n    BLOCKED_MESSAGELIB_PROGRAM_ID,\n    clusterFilter\n  );\n}\n","import {\n    AccountMeta,\n    Commitment,\n    MaybeRpcAccount,\n    PublicKey,\n    RpcInterface,\n    createNoopSigner,\n    defaultPublicKey,\n    isSome,\n} from '@metaplex-foundation/umi'\nimport { fromWeb3JsPublicKey } from '@metaplex-foundation/umi-web3js-adapters'\nimport * as web3 from '@solana/web3.js'\nimport invariant from 'tiny-invariant'\n\nimport { addressToBytes32 } from '@layerzerolabs/lz-v2-utilities'\n\nimport { EndpointProgram, SimpleMessageLibProgram, UlnProgram } from '.'\nimport { DVN, accounts as DvnAccounts } from './dvn'\nimport { DefaultMessageLib } from './endpoint'\nimport { Executor, accounts as ExecutorAccounts } from './executor'\n\n/**\n * Interface representing keyed account information.\n */\ninterface KeyedAccountInfo {\n    /**\n     * The account ID.\n     */\n    accountId: PublicKey\n    accountInfo: MaybeRpcAccount\n}\n\n/**\n * Enum representing quote or send actions.\n */\nenum QuoteOrSend {\n    /**\n     * Quote action.\n     */\n    Quote,\n\n    /**\n     * Send action.\n     */\n    Send,\n}\n\n/**\n * Class representing a helper for sending transactions.\n */\nexport class SendHelper {\n    private endpoint: EndpointProgram.Endpoint\n    private uln: UlnProgram.Uln\n    private simpleMsgLib: SimpleMessageLibProgram.SimpleMessageLib\n    private accounts = new Map<string, MaybeRpcAccount>()\n\n    /**\n     * Creates an instance of the SendHelper class.\n     *\n     * @param {PublicKey} [endpointProgram=EndpointProgram.PROGRAM_ID] - The endpoint program public key.\n     * @param {PublicKey} [ulnProgram=UlnProgram.PROGRAM_ID] - The ULN program public key.\n     * @param {PublicKey} [simpleMsgLibProgram=SimpleMessageLibProgram.PROGRAM_ID] - The simple message library program public key.\n     */\n    constructor(\n        public readonly endpointProgram: PublicKey = EndpointProgram.ENDPOINT_PROGRAM_ID,\n        public readonly ulnProgram: PublicKey = UlnProgram.ULN_PROGRAM_ID,\n        public readonly simpleMsgLibProgram: PublicKey = SimpleMessageLibProgram.SIMPLE_MESSAGELIB_PROGRAM_ID\n    ) {\n        this.endpoint = new EndpointProgram.Endpoint(endpointProgram)\n        this.uln = new UlnProgram.Uln(ulnProgram)\n        this.simpleMsgLib = new SimpleMessageLibProgram.SimpleMessageLib(simpleMsgLibProgram)\n    }\n\n    /**\n     * Fetches multiple account information.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey[]} keys - The public keys of the accounts.\n     * @param {Commitment | GetAccountInfoConfig} [commitment] - The commitment level or account info configuration.\n     * @returns {Promise<(AccountInfo<Buffer> | null)[]>} A promise that resolves to an array of account information.\n     */\n    private async getMultipleAccountsInfo(\n        rpc: RpcInterface,\n        keys: PublicKey[],\n        commitment: Commitment = 'confirmed'\n    ): Promise<MaybeRpcAccount[]> {\n        // check if all accounts are already fetched\n        const missingKeys = keys.filter((key) => !this.accounts.has(key))\n\n        // fetch missing accounts\n        if (missingKeys.length > 0) {\n            const infos = await rpc.getAccounts(missingKeys, { commitment })\n            infos.forEach((info, i) => {\n                this.accounts.set(missingKeys[i], info)\n            })\n        }\n\n        // return all accounts\n        return keys.map((key) => this.accounts.get(key)!)\n    }\n\n    async getQuoteAccounts(\n        rpc: RpcInterface,\n        params: {\n            payer: PublicKey | web3.PublicKey\n            sender: PublicKey | web3.PublicKey\n            dstEid: number\n            receiver: string | Uint8Array\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { payer: _payer, sender: _sender, dstEid, receiver } = params\n        const payer = _payer instanceof web3.PublicKey ? fromWeb3JsPublicKey(_payer) : _payer\n        const sender = _sender instanceof web3.PublicKey ? fromWeb3JsPublicKey(_sender) : _sender\n\n        const [sendLibConfig] = this.endpoint.pda.sendLibraryConfig(sender, dstEid)\n        const [defaultSendLibConfig] = this.endpoint.pda.defaultSendLibraryConfig(dstEid)\n        const [simpleMsgLib] = this.simpleMsgLib.pda.messageLib()\n        const [uln] = this.uln.pda.messageLib()\n        const [ulnDefaultSendConfig] = this.uln.pda.defaultSendConfig(dstEid)\n        const [ulnSendConfig] = this.uln.pda.sendConfig(dstEid, sender)\n        const [\n            sendLibConfigBuf,\n            defaultSendLibConfigBuf,\n            _simpleMsgLibBuf,\n            ulnBuf,\n            ulnDefaultSendConfigBuf,\n            ulnSendConfigBuf,\n        ] = await this.getMultipleAccountsInfo(\n            rpc,\n            [sendLibConfig, defaultSendLibConfig, simpleMsgLib, uln, ulnDefaultSendConfig, ulnSendConfig],\n            commitment\n        )\n        invariant(defaultSendLibConfigBuf.exists && sendLibConfigBuf.exists, 'endpoint send library not initialized')\n        const sendLibConfigInfo = EndpointProgram.accounts.deserializeSendLibraryConfig(sendLibConfigBuf)\n        const defaultSendLibConfigInfo = EndpointProgram.accounts.deserializeSendLibraryConfig(defaultSendLibConfigBuf)\n        const msgLib =\n            sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultSendLibConfigInfo.messageLib\n                : sendLibConfigInfo.messageLib\n\n        let msgLibProgram = this.ulnProgram\n        if (msgLib === this.simpleMsgLib.pda.messageLib()[0]) {\n            msgLibProgram = this.simpleMsgLibProgram\n            return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Quote).concat(\n                this.getSimpleMsgLibAccounts(payer, QuoteOrSend.Quote)\n            )\n        }\n        if (msgLib !== this.uln.pda.messageLib()[0]) {\n            throw new Error('Invalid message library')\n        }\n\n        return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Quote).concat(\n            await this.getUlnAccounts(\n                rpc,\n                payer,\n                {\n                    accountId: uln,\n                    accountInfo: ulnBuf,\n                },\n                {\n                    accountId: ulnDefaultSendConfig,\n                    accountInfo: ulnDefaultSendConfigBuf,\n                },\n                {\n                    accountId: ulnSendConfig,\n                    accountInfo: ulnSendConfigBuf,\n                },\n                QuoteOrSend.Quote,\n                commitment\n            )\n        )\n    }\n\n    /**\n     * @param connection\n     * @param payer\n     * @param sender the PDA of the oApp\n     * @param dstEid the destination endpoint id\n     * @param receiver the remote peer's address\n     * @param commitmentOrConfig\n     * 1 or 3(1+2) RPC calls\n     * */\n    async getSendAccounts(\n        rpc: RpcInterface,\n        params: {\n            payer: PublicKey | web3.PublicKey\n            sender: PublicKey | web3.PublicKey\n            dstEid: number\n            receiver: string | Uint8Array\n        },\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        const { payer: _payer, sender: _sender, dstEid, receiver } = params\n        const payer = _payer instanceof web3.PublicKey ? fromWeb3JsPublicKey(_payer) : _payer\n        const sender = _sender instanceof web3.PublicKey ? fromWeb3JsPublicKey(_sender) : _sender\n\n        const [sendLibConfig] = this.endpoint.pda.sendLibraryConfig(sender, dstEid)\n        const [defaultSendLibConfig] = this.endpoint.pda.defaultSendLibraryConfig(dstEid)\n        const [simpleMsgLib] = this.simpleMsgLib.pda.messageLib()\n        const [uln] = this.uln.pda.messageLib()\n        const [ulnDefaultSendConfig] = this.uln.pda.defaultSendConfig(dstEid)\n        const [ulnSendConfig] = this.uln.pda.sendConfig(dstEid, sender)\n        const [\n            sendLibConfigBuf,\n            defaultSendLibConfigBuf,\n            _simpleMsgLibBuf,\n            ulnBuf,\n            ulnDefaultSendConfigBuf,\n            ulnSendConfigBuf,\n        ] = await this.getMultipleAccountsInfo(\n            rpc,\n            [sendLibConfig, defaultSendLibConfig, simpleMsgLib, uln, ulnDefaultSendConfig, ulnSendConfig],\n            commitment\n        )\n        invariant(defaultSendLibConfigBuf.exists && sendLibConfigBuf.exists, 'endpoint send library not initialized')\n        const sendLibConfigInfo = EndpointProgram.accounts.deserializeSendLibraryConfig(sendLibConfigBuf)\n        const defaultSendLibConfigInfo = EndpointProgram.accounts.deserializeSendLibraryConfig(defaultSendLibConfigBuf)\n        const msgLib =\n            sendLibConfigInfo.messageLib.toString() === DefaultMessageLib.toString()\n                ? defaultSendLibConfigInfo.messageLib\n                : sendLibConfigInfo.messageLib\n\n        let msgLibProgram = this.ulnProgram\n        if (msgLib === this.simpleMsgLib.pda.messageLib()[0]) {\n            msgLibProgram = this.simpleMsgLibProgram\n            return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Send).concat(\n                this.getSimpleMsgLibAccounts(payer, QuoteOrSend.Send)\n            )\n        }\n        if (msgLib !== this.uln.pda.messageLib()[0]) {\n            throw new Error('Invalid message library')\n        }\n        return this.getEndpointAccounts(msgLibProgram, msgLib, sender, dstEid, receiver, QuoteOrSend.Send).concat(\n            await this.getUlnAccounts(\n                rpc,\n                payer,\n                {\n                    accountId: uln,\n                    accountInfo: ulnBuf,\n                },\n                {\n                    accountId: ulnDefaultSendConfig,\n                    accountInfo: ulnDefaultSendConfigBuf,\n                },\n                {\n                    accountId: ulnSendConfig,\n                    accountInfo: ulnSendConfigBuf,\n                },\n                QuoteOrSend.Send,\n                commitment\n            )\n        )\n    }\n\n    /**\n     * Gets the account metadata for the endpoint.\n     *\n     * @param {PublicKey} msgLibProgram - The message library program public key.\n     * @param {PublicKey} msgLib - The message library public key.\n     * @param {PublicKey} sender - The sender public key.\n     * @param {number} dstEid - The destination endpoint ID.\n     * @param {string} receiver - The receiver address.\n     * @param {QuoteOrSend} quoteOrSend - The quote or send action.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    private getEndpointAccounts(\n        msgLibProgram: PublicKey,\n        msgLib: PublicKey,\n        sender: PublicKey,\n        dstEid: number,\n        _receiver: string | Uint8Array,\n        quoteOrSend: QuoteOrSend\n    ): AccountMeta[] {\n        const receiver = typeof _receiver === 'string' ? addressToBytes32(_receiver) : _receiver\n        const [sendLibraryConfig] = this.endpoint.pda.sendLibraryConfig(sender, dstEid)\n        const [defaultSendLibraryConfig] = this.endpoint.pda.defaultSendLibraryConfig(dstEid)\n        const [sendLibraryInfo] = this.endpoint.pda.messageLibraryInfo(msgLib)\n        const [nonce] = this.endpoint.pda.nonce(sender, dstEid, receiver)\n        let accounts: AccountMeta[]\n        const endpoint = new EndpointProgram.Endpoint(this.endpointProgram)\n        if (quoteOrSend === QuoteOrSend.Quote) {\n            accounts = EndpointProgram.instructions\n                .quote(\n                    { programs: endpoint.programRepo },\n                    {\n                        sendLibraryProgram: msgLibProgram,\n                        sendLibraryConfig,\n                        defaultSendLibraryConfig,\n                        sendLibraryInfo,\n                        endpoint: this.endpoint.pda.setting()[0],\n                        nonce,\n\n                        // param\n                        sender: defaultPublicKey(),\n                        dstEid: 0,\n                        receiver: new Uint8Array(32),\n                        message: new Uint8Array(32),\n                        options: new Uint8Array(32),\n                        payInLzToken: false,\n                    }\n                )\n                .getInstructions()[0].keys\n        } else {\n            accounts = EndpointProgram.instructions\n                .send(\n                    { programs: endpoint.programRepo },\n                    {\n                        sender: createNoopSigner(sender), //signer\n                        sendLibraryProgram: msgLibProgram,\n                        sendLibraryConfig,\n                        defaultSendLibraryConfig,\n                        sendLibraryInfo,\n                        endpoint: this.endpoint.pda.setting()[0],\n                        nonce,\n                        program: this.endpointProgram,\n                        eventAuthority: this.endpoint.eventAuthority,\n\n                        // param\n                        dstEid: 0,\n                        receiver: new Uint8Array(32),\n                        message: new Uint8Array(32),\n                        options: new Uint8Array(32),\n                        nativeFee: 0,\n                        lzTokenFee: 0,\n                    }\n                )\n                .getInstructions()[0].keys\n        }\n\n        accounts.forEach((item: AccountMeta) => {\n            item.isSigner = false\n        })\n        return [\n            {\n                pubkey: this.endpoint.programId,\n                isSigner: false,\n                isWritable: false,\n            },\n            ...accounts,\n        ]\n    }\n\n    /**\n     * Gets the account metadata for the simple message library.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {QuoteOrSend} quoteOrSend - The quote or send action.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    private getSimpleMsgLibAccounts(payer: PublicKey, quoteOrSend: QuoteOrSend): AccountMeta[] {\n        const [msgLib] = this.simpleMsgLib.pda.messageLib()\n        let accounts: AccountMeta[]\n        const simpleMsgLib = new SimpleMessageLibProgram.SimpleMessageLib(this.simpleMsgLibProgram)\n        if (quoteOrSend === QuoteOrSend.Quote) {\n            accounts = SimpleMessageLibProgram.instructions\n                .quote(\n                    { programs: simpleMsgLib.programRepo },\n                    {\n                        endpoint: createNoopSigner(defaultPublicKey()),\n                        messageLib: msgLib,\n                        // param\n                        packet: {\n                            nonce: 0,\n                            srcEid: 0,\n                            sender: defaultPublicKey(),\n                            dstEid: 0,\n                            receiver: new Uint8Array(32),\n                            guid: new Uint8Array(32),\n                            message: new Uint8Array(4),\n                        },\n                        options: new Uint8Array(4),\n                        payInLzToken: false,\n                    }\n                )\n                .getInstructions()[0].keys\n        } else {\n            accounts = SimpleMessageLibProgram.instructions\n                .send(\n                    { programs: simpleMsgLib.programRepo, payer: createNoopSigner(payer) },\n                    {\n                        endpoint: createNoopSigner(defaultPublicKey()), // useless\n                        messageLib: msgLib,\n                        payer: createNoopSigner(payer),\n                        // param\n                        packet: {\n                            nonce: 0,\n                            srcEid: 0,\n                            sender: defaultPublicKey(),\n                            dstEid: 0,\n                            receiver: new Uint8Array(32),\n                            guid: new Uint8Array(32),\n                            message: new Uint8Array(4),\n                        },\n                        options: new Uint8Array(4),\n                        nativeFee: 0,\n                    }\n                )\n                .getInstructions()[0].keys\n        }\n        accounts.forEach((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n        })\n        return accounts.slice(1)\n    }\n\n    /**\n     * Gets the account metadata for the ULN.\n     *\n     * @param {Connection} connection - The connection to the Solana cluster.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {KeyedAccountInfo} ulnInfo - The ULN account information.\n     * @param {KeyedAccountInfo} ulnDefaultSendConfigInfo - The ULN default send configuration account information.\n     * @param {KeyedAccountInfo} ulnSendConfigInfo - The ULN send configuration account information.\n     * @param {QuoteOrSend} quoteOrSend - The quote or send action.\n     * @param {Commitment | GetAccountInfoConfig} [commitment] - The commitment level or account info configuration.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    private async getUlnAccounts(\n        rpc: RpcInterface,\n        payer: PublicKey,\n        ulnInfo: KeyedAccountInfo,\n        ulnDefaultSendConfigInfo: KeyedAccountInfo,\n        ulnSendConfigInfo: KeyedAccountInfo,\n        quoteOrSend: QuoteOrSend,\n        commitment: Commitment = 'confirmed'\n    ): Promise<AccountMeta[]> {\n        invariant(\n            ulnInfo.accountInfo.exists && ulnDefaultSendConfigInfo.accountInfo.exists,\n            'uln send library not initialized'\n        )\n        const ulnState = UlnProgram.accounts.deserializeUlnSettings(ulnInfo.accountInfo)\n        const defaultSendConfigState = UlnProgram.accounts.deserializeSendConfig(ulnDefaultSendConfigInfo.accountInfo)\n        const sendConfigState = ulnSendConfigInfo.accountInfo.exists\n            ? UlnProgram.accounts.deserializeSendConfig(ulnSendConfigInfo.accountInfo)\n            : null\n\n        let {\n            executor,\n            uln: { requiredDvns, optionalDvns },\n        } = defaultSendConfigState\n\n        // if the executor is set in the send config, use it\n        if (sendConfigState?.executor && sendConfigState.executor.executor !== defaultPublicKey()) {\n            ;({ executor } = sendConfigState)\n        }\n\n        // if the requiredDvns is set in the send config, use it\n        if (sendConfigState && sendConfigState.uln.requiredDvns.length > 0) {\n            requiredDvns = sendConfigState.uln.requiredDvns.filter((p) => {\n                return p !== defaultPublicKey()\n            })\n        }\n\n        // if the optionalDvns is set in the send config, use it\n        if (sendConfigState && sendConfigState.uln.optionalDvns.length > 0) {\n            optionalDvns = sendConfigState.uln.optionalDvns.filter((p) => {\n                return p !== defaultPublicKey()\n            })\n        }\n\n        const dvnsKey = requiredDvns.concat(optionalDvns)\n        const [executorBuf, ...dvnBuf] = await this.getMultipleAccountsInfo(\n            rpc,\n            [executor.executor, ...dvnsKey],\n            commitment\n        )\n        invariant(executorBuf.exists, `executor:${executor.executor} not initialized`)\n\n        let executorAccounts: AccountMeta[], dvnAccounts: AccountMeta[]\n        {\n            const executor = {\n                config: ExecutorAccounts.deserializeExecutorConfig(executorBuf),\n                owner: executorBuf.owner,\n            }\n            const dvns = dvnBuf.map((dvn, i) => {\n                invariant(dvn.exists, `dvn:${dvnsKey[i]} not initialized`)\n                return {\n                    config: DvnAccounts.deserializeDvnConfig(dvn),\n                    owner: dvn.owner,\n                }\n            })\n\n            const priceFeeds = new Array<PublicKey>()\n            ;[executor.config, ...dvns.map((dvn) => dvn.config)].forEach((config) => {\n                priceFeeds.push(config.priceFeed)\n            })\n            const priceFeedInfos = await this.getMultipleAccountsInfo(rpc, priceFeeds, commitment)\n            priceFeedInfos.forEach((info, i) => {\n                invariant(info.exists, `priceFeed:${priceFeeds[i]} not initialized`)\n            })\n            const executorPriceFeed = await this.getMultipleAccountsInfo(rpc, [executor.config.priceFeed], commitment)\n            invariant(executorPriceFeed[0].exists, `executor priceFeed:${executor.config.priceFeed} not initialized`)\n            executorAccounts = new Executor(executor.owner).getQuoteIXAccountMetaForCPI(\n                executor.config.priceFeed,\n                executorPriceFeed[0].owner,\n                quoteOrSend === QuoteOrSend.Send\n            )\n            dvnAccounts = (\n                await Promise.all(\n                    dvns.map(async (p, i) => {\n                        const dvnPriceFeed = await this.getMultipleAccountsInfo(rpc, [p.config.priceFeed], commitment)\n                        invariant(dvnPriceFeed[0].exists, `dvn priceFeed:${p.config.priceFeed} not initialized`)\n                        return new DVN(p.owner).getQuoteIXAccountMetaForCPI(\n                            p.config.priceFeed,\n                            dvnPriceFeed[0].owner,\n                            quoteOrSend === QuoteOrSend.Send\n                        )\n                    })\n                )\n            ).flat()\n        }\n\n        const treasury = isSome(ulnState.treasury) ? ulnState.treasury.value.nativeReceiver : undefined\n        let accounts: AccountMeta[]\n        const uln = new UlnProgram.Uln(this.ulnProgram)\n        if (quoteOrSend === QuoteOrSend.Quote) {\n            const txBuilder = UlnProgram.instructions\n                .quote(\n                    { programs: uln.programRepo },\n                    {\n                        endpoint: createNoopSigner(defaultPublicKey()),\n                        uln: this.uln.pda.setting()[0],\n                        sendConfig: ulnSendConfigInfo.accountId,\n                        defaultSendConfig: ulnDefaultSendConfigInfo.accountId,\n                        // param\n                        packet: {\n                            nonce: 0,\n                            srcEid: 0,\n                            sender: defaultPublicKey(),\n                            dstEid: 0,\n                            receiver: new Uint8Array(32),\n                            guid: new Uint8Array(32),\n                            message: new Uint8Array(4),\n                        },\n                        options: new Uint8Array(4),\n                        payInLzToken: false,\n                    }\n                )\n                .addRemainingAccounts(executorAccounts.concat(dvnAccounts))\n            accounts = txBuilder.getInstructions()[0].keys\n        } else {\n            const txBuilder = UlnProgram.instructions\n                .send(\n                    { programs: uln.programRepo, payer: createNoopSigner(payer) },\n                    {\n                        endpoint: createNoopSigner(defaultPublicKey()),\n                        uln: this.uln.pda.setting()[0],\n                        sendConfig: ulnSendConfigInfo.accountId,\n                        defaultSendConfig: ulnDefaultSendConfigInfo.accountId,\n                        payer: createNoopSigner(payer),\n                        treasury,\n                        eventAuthority: this.uln.eventAuthority,\n                        program: this.uln.programId,\n\n                        packet: {\n                            nonce: 0,\n                            srcEid: 0,\n                            sender: defaultPublicKey(),\n                            dstEid: 0,\n                            receiver: new Uint8Array(32),\n                            guid: new Uint8Array(32),\n                            message: new Uint8Array(4),\n                        },\n                        options: new Uint8Array(4),\n                        nativeFee: 0,\n                    }\n                )\n                .addRemainingAccounts(executorAccounts.concat(dvnAccounts))\n            accounts = txBuilder.getInstructions()[0].keys\n            if (treasury) {\n                const treasuryIndex = accounts.findIndex((k) => k.pubkey == treasury)\n                accounts[treasuryIndex].isWritable = true // treasury account\n            }\n        }\n        accounts.forEach((key) => {\n            if (payer !== key.pubkey) {\n                key.isSigner = false\n            }\n        })\n        return accounts.slice(1)\n    }\n}\n","export * from './pda-deriver'\nexport * as EndpointProgram from './endpoint'\nexport * as SimpleMessageLibProgram from './simple-message-lib'\nexport * as UlnProgram from './uln'\nexport * as ExecutorProgram from './executor'\nexport * as PriceFeedProgram from './pricefeed'\nexport * as DVNProgram from './dvn'\n\nexport * from './base-oapp'\nexport * from './utility'\nexport * from './config'\nexport * from './recevie'\nexport * from './types'\nexport * from './deployment'\n\nexport * as BlockedMessageLibProgram from '../generated/solita/blocked_messagelib'\nexport * as DvnProgram from '../generated/solita/dvn'\nexport * from './send-helper'\nexport * as UMI from '..'\n\nimport { AccountMeta, Commitment, Connection, PublicKey } from '@solana/web3.js'\n\nimport { PacketPath } from '@layerzerolabs/lz-v2-utilities'\n\nexport type SolanaPacketPath = Pick<PacketPath, 'sender' | 'dstEid' | 'receiver'>\n\n/**\n * Enum representing different configuration types.\n */\nexport enum SetConfigType {\n    /**\n     * Executor configuration type.\n     */\n    EXECUTOR = 1,\n\n    /**\n     * Send ULN configuration type.\n     */\n    SEND_ULN = 2,\n\n    /**\n     * Receive ULN configuration type.\n     */\n    RECEIVE_ULN = 3,\n}\n\n/**\n * Interface representing the Message Library.\n */\nexport interface MessageLibInterface {\n    /**\n     * The program public key.\n     */\n    program: PublicKey\n\n    /**\n     * Gets the account metadata for a quote instruction.\n     *\n     * @param {Connection} connection - The Solana connection.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @param {Commitment} [commitment] - The commitment level.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    getQuoteIXAccountMetaForCPI(\n        connection: Connection,\n        payer: PublicKey,\n        path: SolanaPacketPath,\n        commitment?: Commitment\n    ): Promise<AccountMeta[]>\n\n    /**\n     * Gets the account metadata for a send instruction.\n     *\n     * @param {Connection} connection - The Solana connection.\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PacketPath} path - The packet path.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    getSendIXAccountMetaForCPI(connection: Connection, payer: PublicKey, path: SolanaPacketPath): Promise<AccountMeta[]>\n\n    /**\n     * Gets the account metadata for an init config instruction.\n     *\n     * @param {PublicKey} payer - The payer public key.\n     * @param {PublicKey} oappID - The OAPP ID.\n     * @param {number} eid - The endpoint ID.\n     * @returns {AccountMeta[]} An array of account metadata.\n     */\n    getInitConfigIXAccountMetaForCPI(payer: PublicKey, oappID: PublicKey, eid: number): AccountMeta[]\n\n    /**\n     * Gets the account metadata for a set config instruction.\n     *\n     * @param {PublicKey} endpointProgram - The endpoint program public key.\n     * @param {PublicKey} oappID - The OAPP ID.\n     * @param {number} eid - The endpoint ID.\n     * @returns {Promise<AccountMeta[]>} A promise that resolves to an array of account metadata.\n     */\n    getSetConfigIXAccountMetaForCPI(endpointProgram: PublicKey, oappID: PublicKey, eid: number): Promise<AccountMeta[]>\n}\n"]}