@across-protocol/contracts 6.0.0-beta.4 → 6.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -21
- package/dist/broadcast/deployed-addresses.json +63 -63
- package/dist/evm/artifacts/AcrossConfigStore.sol/AcrossConfigStore.json +1 -1
- package/dist/evm/artifacts/AcrossEventEmitter.sol/AcrossEventEmitter.json +1 -1
- package/dist/evm/artifacts/AcrossMerkleDistributor.sol/AcrossMerkleDistributor.json +1 -1
- package/dist/evm/artifacts/AcrossMessageHandlerMock.sol/AcrossMessageHandlerMock.json +1 -1
- package/dist/evm/artifacts/AdapterStore.sol/AdapterStore.json +1 -1
- package/dist/evm/artifacts/AdapterStore.sol/MessengerTypes.json +1 -1
- package/dist/evm/artifacts/Address.sol/Address.json +1 -1
- package/dist/evm/artifacts/AddressConverters.sol/Bytes32ToAddress.json +1 -1
- package/dist/evm/artifacts/AdminRelayTokensAdapter.sol/AdminRelayTokensAdapter.json +1 -1
- package/dist/evm/artifacts/AdminWithdrawManager.sol/AdminWithdrawManager.json +1 -1
- package/dist/evm/artifacts/ArbitrumMocks.sol/ArbitrumMockErc20GatewayRouter.json +1 -1
- package/dist/evm/artifacts/ArbitrumMocks.sol/Inbox.json +1 -1
- package/dist/evm/artifacts/ArbitrumMocks.sol/L2GatewayRouter.json +1 -1
- package/dist/evm/artifacts/Arbitrum_Adapter.sol/Arbitrum_Adapter.json +1 -1
- package/dist/evm/artifacts/Arbitrum_CustomGasToken_Adapter.sol/Arbitrum_CustomGasToken_Adapter.json +1 -1
- package/dist/evm/artifacts/Arbitrum_Forwarder.sol/Arbitrum_Forwarder.json +1 -1
- package/dist/evm/artifacts/Arbitrum_RescueAdapter.sol/Arbitrum_RescueAdapter.json +1 -1
- package/dist/evm/artifacts/Arbitrum_SendTokensAdapter.sol/Arbitrum_SendTokensAdapter.json +1 -1
- package/dist/evm/artifacts/Arbitrum_SpokePool.sol/Arbitrum_SpokePool.json +1 -1
- package/dist/evm/artifacts/Arbitrum_WithdrawalHelper.sol/Arbitrum_WithdrawalHelper.json +1 -1
- package/dist/evm/artifacts/Base_Adapter.sol/Base_Adapter.json +1 -1
- package/dist/evm/artifacts/BeaconProxy.sol/BeaconProxy.json +1 -1
- package/dist/evm/artifacts/BondToken.sol/BondToken.json +1 -1
- package/dist/evm/artifacts/BytesLib.sol/BytesLib.json +1 -1
- package/dist/evm/artifacts/Cher_SpokePool.sol/Cher_SpokePool.json +1 -1
- package/dist/evm/artifacts/CircleCCTPAdapter.sol/CircleDomainIds.json +1 -1
- package/dist/evm/artifacts/Constants.sol/Constants.json +1 -1
- package/dist/evm/artifacts/Constants.sol/OptimisticOracleConstraints.json +1 -1
- package/dist/evm/artifacts/Constants.sol/OracleInterfaces.json +1 -1
- package/dist/evm/artifacts/CoreExecution.sol/CoreExecution.json +1 -1
- package/dist/evm/artifacts/CoreSimulatorLib.sol/HypeSystemContract.json +1 -1
- package/dist/evm/artifacts/CoreState.sol/CoreState.json +1 -1
- package/dist/evm/artifacts/CoreView.sol/CoreView.json +1 -1
- package/dist/evm/artifacts/CoreWriterLib.sol/CoreWriterLib.json +1 -1
- package/dist/evm/artifacts/CoreWriterSim.sol/CoreWriterSim.json +1 -1
- package/dist/evm/artifacts/CounterfactualBeacon.sol/CounterfactualBeacon.json +1 -1
- package/dist/evm/artifacts/CounterfactualBeaconBootstrap.sol/CounterfactualBeaconBootstrap.json +1 -1
- package/dist/evm/artifacts/CounterfactualDeposit.sol/CounterfactualDeposit.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositCCTP.sol/CounterfactualDepositCCTP.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositFactory.sol/CounterfactualDepositFactory.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositFactoryTron.sol/CounterfactualDepositFactoryTron.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositOFT.sol/CounterfactualDepositOFT.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositSpokePool.sol/CounterfactualDepositSpokePool.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositSpokePoolTr.sol/CounterfactualDepositSpokePoolTr.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositVanillaCCTP.sol/CounterfactualDepositVanillaCCTP.json +1 -1
- package/dist/evm/artifacts/Create2.sol/Create2.json +1 -1
- package/dist/evm/artifacts/CrossDomainEnabled.sol/CrossDomainEnabled.json +1 -1
- package/dist/evm/artifacts/DeployedAddresses.sol/DeployedAddresses.json +1 -1
- package/dist/evm/artifacts/DeploymentUtils.sol/DeploymentUtils.json +1 -1
- package/dist/evm/artifacts/DoctorWho_Adapter.sol/DoctorWho_Adapter.json +1 -1
- package/dist/evm/artifacts/DonationBox.sol/DonationBox.json +1 -1
- package/dist/evm/artifacts/DstOFTHandler.sol/DstOFTHandler.json +1 -1
- package/dist/evm/artifacts/ECDSA.sol/ECDSA.json +1 -1
- package/dist/evm/artifacts/ERC1155.sol/ERC1155.json +1 -1
- package/dist/evm/artifacts/ERC1967Proxy.sol/ERC1967Proxy.json +1 -1
- package/dist/evm/artifacts/ERC1967Utils.sol/ERC1967Utils.json +1 -1
- package/dist/evm/artifacts/ERC20.sol/ERC20.json +1 -1
- package/dist/evm/artifacts/Errors.sol/Errors.json +1 -1
- package/dist/evm/artifacts/Ethereum_Adapter.sol/Ethereum_Adapter.json +1 -1
- package/dist/evm/artifacts/Ethereum_RescueAdapter.sol/Ethereum_RescueAdapter.json +1 -1
- package/dist/evm/artifacts/Ethereum_SpokePool.sol/Ethereum_SpokePool.json +1 -1
- package/dist/evm/artifacts/ExpandedERC20.sol/ExpandedERC20.json +1 -1
- package/dist/evm/artifacts/ExpandedERC20WithBlacklist.sol/ExpandedERC20WithBlacklist.json +1 -1
- package/dist/evm/artifacts/HLConstants.sol/HLConstants.json +1 -1
- package/dist/evm/artifacts/HLConversions.sol/HLConversions.json +1 -1
- package/dist/evm/artifacts/HubPool.sol/HubPool.json +1 -1
- package/dist/evm/artifacts/HubPoolStore.sol/HubPoolStore.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockAddressWhitelist.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockFinder.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockIdentifierWhitelist.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockLpTokenFactory.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockOptimisticOracle.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockStore.json +1 -1
- package/dist/evm/artifacts/HyperCore.sol/HyperCore.json +1 -1
- package/dist/evm/artifacts/HyperCoreFlowExecutor.sol/HyperCoreFlowExecutor.json +1 -1
- package/dist/evm/artifacts/HyperCoreLib.sol/HyperCoreLib.json +1 -1
- package/dist/evm/artifacts/HyperliquidDepositHandler.sol/HyperliquidDepositHandler.json +1 -1
- package/dist/evm/artifacts/Lens_SpokePool.sol/Lens_SpokePool.json +1 -1
- package/dist/evm/artifacts/LibVariable.sol/LibVariable.json +1 -1
- package/dist/evm/artifacts/LineaMocks.sol/MockL2MessageService.json +1 -1
- package/dist/evm/artifacts/LineaMocks.sol/MockL2TokenBridge.json +1 -1
- package/dist/evm/artifacts/Linea_Adapter.sol/Linea_Adapter.json +1 -1
- package/dist/evm/artifacts/Linea_SpokePool.sol/Linea_SpokePool.json +1 -1
- package/dist/evm/artifacts/Lisk_Adapter.sol/Lisk_Adapter.json +1 -1
- package/dist/evm/artifacts/Lisk_SpokePool.sol/Lisk_SpokePool.json +1 -1
- package/dist/evm/artifacts/Lockable.sol/Lockable.json +1 -1
- package/dist/evm/artifacts/LpTokenFactory.sol/LpTokenFactory.json +1 -1
- package/dist/evm/artifacts/Merkle.sol/Merkle.json +1 -1
- package/dist/evm/artifacts/MerkleDistributor.sol/MerkleDistributor.json +1 -1
- package/dist/evm/artifacts/MerkleLibTest.sol/MerkleLibTest.json +1 -1
- package/dist/evm/artifacts/MerkleProof.sol/MerkleProof.json +1 -1
- package/dist/evm/artifacts/MinimalLZOptions.sol/MinimalLZOptions.json +1 -1
- package/dist/evm/artifacts/MintableERC1155.sol/MintableERC1155.json +1 -1
- package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockCrossDomainMessenger.json +1 -1
- package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockL1StandardBridge.json +1 -1
- package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockL2StandardBridge.json +1 -1
- package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessageTransmitter.json +1 -1
- package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessageTransmitterV2.json +1 -1
- package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessenger.json +1 -1
- package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessengerV2.json +1 -1
- package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMinter.json +1 -1
- package/dist/evm/artifacts/MockCaller.sol/MockCaller.json +1 -1
- package/dist/evm/artifacts/MockERC1271.sol/MockERC1271.json +1 -1
- package/dist/evm/artifacts/MockERC20.sol/MintableERC20.json +1 -1
- package/dist/evm/artifacts/MockERC20.sol/MockERC20.json +1 -1
- package/dist/evm/artifacts/MockEndpoint.sol/MockEndpoint.json +1 -1
- package/dist/evm/artifacts/MockGateway.sol/MockGateway.json +1 -1
- package/dist/evm/artifacts/MockHubPool.sol/MockHubPool.json +1 -1
- package/dist/evm/artifacts/MockOFTMessenger.sol/MockOFTMessenger.json +1 -1
- package/dist/evm/artifacts/MockPermit2.sol/MockPermit2.json +1 -1
- package/dist/evm/artifacts/MockPermit2.sol/Permit2EIP712.json +1 -1
- package/dist/evm/artifacts/MockPermit2.sol/SignatureVerification.json +1 -1
- package/dist/evm/artifacts/MockSpokePool.sol/MockSpokePool.json +1 -1
- package/dist/evm/artifacts/MockSpokePoolV2.sol/MockSpokePoolV2.json +1 -1
- package/dist/evm/artifacts/MockTronUSDT.sol/MockTronUSDT.json +1 -1
- package/dist/evm/artifacts/MockZkStackBridgeHub.sol/MockBridgeHub.json +1 -1
- package/dist/evm/artifacts/Mock_Adapter.sol/Mock_Adapter.json +1 -1
- package/dist/evm/artifacts/Mock_Adapter.sol/Mock_Bridge.json +1 -1
- package/dist/evm/artifacts/Mode_Adapter.sol/Mode_Adapter.json +1 -1
- package/dist/evm/artifacts/MultiCaller.sol/MultiCaller.json +1 -1
- package/dist/evm/artifacts/MultiCallerUpgradeable.sol/MultiCallerUpgradeable.json +1 -1
- package/dist/evm/artifacts/Multicall3.sol/Multicall3.json +1 -1
- package/dist/evm/artifacts/MulticallHandler.sol/MulticallHandler.json +1 -1
- package/dist/evm/artifacts/OFTTransportAdapter.sol/OFTTransportAdapter.json +1 -1
- package/dist/evm/artifacts/OFTTransportAdapterWithStore.sol/OFTTransportAdapterWithStore.json +1 -1
- package/dist/evm/artifacts/OP_Adapter.sol/OP_Adapter.json +1 -1
- package/dist/evm/artifacts/OP_SpokePool.sol/OP_SpokePool.json +1 -1
- package/dist/evm/artifacts/Ovm_Forwarder.sol/Ovm_Forwarder.json +1 -1
- package/dist/evm/artifacts/Ovm_SpokePool.sol/Ovm_SpokePool.json +1 -1
- package/dist/evm/artifacts/Ovm_WithdrawalHelper.sol/Ovm_WithdrawalHelper.json +1 -1
- package/dist/evm/artifacts/PeripherySigningLib.sol/PeripherySigningLib.json +1 -1
- package/dist/evm/artifacts/PermissionedMulticallHandler.sol/PermissionedMulticallHandler.json +1 -1
- package/dist/evm/artifacts/PolygonERC20Test.sol/PolygonERC20Test.json +1 -1
- package/dist/evm/artifacts/PolygonMocks.sol/DepositManagerMock.json +1 -1
- package/dist/evm/artifacts/PolygonMocks.sol/FxStateSenderMock.json +1 -1
- package/dist/evm/artifacts/PolygonMocks.sol/PolygonERC20Mock.json +1 -1
- package/dist/evm/artifacts/PolygonMocks.sol/PolygonERC20PredicateMock.json +1 -1
- package/dist/evm/artifacts/PolygonMocks.sol/PolygonRegistryMock.json +1 -1
- package/dist/evm/artifacts/PolygonMocks.sol/RootChainManagerMock.json +1 -1
- package/dist/evm/artifacts/PolygonTokenBridger.sol/PolygonTokenBridger.json +1 -1
- package/dist/evm/artifacts/Polygon_Adapter.sol/Polygon_Adapter.json +1 -1
- package/dist/evm/artifacts/Polygon_SpokePool.sol/Polygon_SpokePool.json +1 -1
- package/dist/evm/artifacts/PrecompileLib.sol/PrecompileLib.json +1 -1
- package/dist/evm/artifacts/PrecompileSim.sol/PrecompileSim.json +1 -1
- package/dist/evm/artifacts/ProxyAdmin.sol/ProxyAdmin.json +1 -1
- package/dist/evm/artifacts/Router_Adapter.sol/Router_Adapter.json +1 -1
- package/dist/evm/artifacts/SP1AutoVerifier.sol/SP1AutoVerifier.json +1 -1
- package/dist/evm/artifacts/SP1Helios.sol/SP1Helios.json +1 -1
- package/dist/evm/artifacts/SP1MockVerifier.sol/SP1MockVerifier.json +1 -1
- package/dist/evm/artifacts/SafeCast.sol/SafeCast.json +1 -1
- package/dist/evm/artifacts/SafeERC20.sol/SafeERC20.json +1 -1
- package/dist/evm/artifacts/ShortStrings.sol/ShortStrings.json +1 -1
- package/dist/evm/artifacts/Solana_Adapter.sol/Solana_Adapter.json +1 -1
- package/dist/evm/artifacts/SpokePoolPeriphery.sol/SpokePoolPeriphery.json +1 -1
- package/dist/evm/artifacts/SpokePoolPeriphery.sol/SwapProxy.json +1 -1
- package/dist/evm/artifacts/SpokePoolVerifier.sol/SpokePoolVerifier.json +1 -1
- package/dist/evm/artifacts/SponsoredCCTPDstPeriphery.sol/SponsoredCCTPDstPeriphery.json +1 -1
- package/dist/evm/artifacts/SponsoredCCTPSrcPeriphery.sol/SponsoredCCTPSrcPeriphery.json +1 -1
- package/dist/evm/artifacts/SponsoredOFTSrcPeriphery.sol/SponsoredOFTSrcPeriphery.json +1 -1
- package/dist/evm/artifacts/StdConfig.sol/StdConfig.json +1 -1
- package/dist/evm/artifacts/Strings.sol/Strings.json +1 -1
- package/dist/evm/artifacts/SwapHandler.sol/SwapHandler.json +1 -1
- package/dist/evm/artifacts/Timer.sol/Timer.json +1 -1
- package/dist/evm/artifacts/TransferProxy.sol/TransferProxy.json +1 -1
- package/dist/evm/artifacts/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +1 -1
- package/dist/evm/artifacts/TronMulticallHandler.sol/TronMulticallHandler.json +1 -1
- package/dist/evm/artifacts/TronTransferLib.sol/TronTransferLib.json +1 -1
- package/dist/evm/artifacts/Tron_SpokePool.sol/Tron_SpokePool.json +1 -1
- package/dist/evm/artifacts/Tron_SpokePoolPeriphery.sol/Tron_SpokePoolPeriphery.json +1 -1
- package/dist/evm/artifacts/Tron_SpokePoolPeriphery.sol/Tron_SwapProxy.json +1 -1
- package/dist/evm/artifacts/Universal_Adapter.sol/Universal_Adapter.json +1 -1
- package/dist/evm/artifacts/Universal_SpokePool.sol/Universal_SpokePool.json +1 -1
- package/dist/evm/artifacts/UpgradeableBeacon.sol/UpgradeableBeacon.json +1 -1
- package/dist/evm/artifacts/WETH9.sol/WETH9.json +1 -1
- package/dist/evm/artifacts/WithdrawImplementation.sol/WithdrawImplementation.json +1 -1
- package/dist/evm/artifacts/WithdrawImplementationTron.sol/WithdrawImplementationTron.json +1 -1
- package/dist/evm/artifacts/ZkStack_Adapter.sol/ZkStack_Adapter.json +1 -1
- package/dist/evm/artifacts/ZkStack_CustomGasToken_Adapter.sol/ZkStack_CustomGasToken_Adapter.json +1 -1
- package/dist/evm/artifacts/ZkSyncMocks.sol/MockL2Eth.json +1 -1
- package/dist/evm/artifacts/ZkSyncMocks.sol/MockZkBridge.json +1 -1
- package/dist/evm/artifacts/ZkSync_SpokePool.sol/ZkSync_SpokePool.json +1 -1
- package/dist/evm/artifacts/Zora_Adapter.sol/Zora_Adapter.json +1 -1
- package/dist/evm/artifacts/eraVM_EIP7702.sol/SimpleContract.json +1 -1
- package/dist/evm/artifacts/eraVM_EIP7702.sol/SpokePoolEIP7702Test.json +1 -1
- package/dist/evm/artifacts/eraVM_EIP7702.sol/TestableMockSpokePool.json +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/src/DeploymentUtils.d.ts +1 -1
- package/dist/utils/MerkleTree.js +3 -4
- package/package.json +102 -50
- package/svm/idl/svm_spoke.json +30 -13
- package/dist/src/consts.d.ts +0 -51
- package/dist/src/consts.js +0 -342
- package/dist/src/svm/assets/idl/index.d.ts +0 -5
- package/dist/src/svm/assets/idl/index.js +0 -9
- package/dist/src/svm/assets/idl/message_transmitter_v2.json +0 -1863
- package/dist/src/svm/assets/idl/multicall_handler.json +0 -31
- package/dist/src/svm/assets/idl/sponsored_cctp_src_periphery.json +0 -1982
- package/dist/src/svm/assets/idl/svm_spoke.json +0 -3930
- package/dist/src/svm/assets/idl/token_messenger_minter_v2.json +0 -4441
- package/dist/src/svm/assets/index.d.ts +0 -6
- package/dist/src/svm/assets/index.js +0 -18
- package/dist/src/svm/assets/message_transmitter_v2.d.ts +0 -1869
- package/dist/src/svm/assets/message_transmitter_v2.js +0 -2
- package/dist/src/svm/assets/multicall_handler.d.ts +0 -37
- package/dist/src/svm/assets/multicall_handler.js +0 -2
- package/dist/src/svm/assets/sponsored_cctp_src_periphery.d.ts +0 -1988
- package/dist/src/svm/assets/sponsored_cctp_src_periphery.js +0 -2
- package/dist/src/svm/assets/svm_spoke.d.ts +0 -3936
- package/dist/src/svm/assets/svm_spoke.js +0 -2
- package/dist/src/svm/assets/token_messenger_minter_v2.d.ts +0 -4447
- package/dist/src/svm/assets/token_messenger_minter_v2.js +0 -2
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/index.d.ts +0 -10
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/index.js +0 -26
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageSent.d.ts +0 -30
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageSent.js +0 -66
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageTransmitter.d.ts +0 -44
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageTransmitter.js +0 -80
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/usedNonce.d.ts +0 -27
- package/dist/src/svm/clients/MessageTransmitterV2/accounts/usedNonce.js +0 -66
- package/dist/src/svm/clients/MessageTransmitterV2/errors/index.d.ts +0 -8
- package/dist/src/svm/clients/MessageTransmitterV2/errors/index.js +0 -24
- package/dist/src/svm/clients/MessageTransmitterV2/errors/messageTransmitterV2.d.ts +0 -89
- package/dist/src/svm/clients/MessageTransmitterV2/errors/messageTransmitterV2.js +0 -133
- package/dist/src/svm/clients/MessageTransmitterV2/index.d.ts +0 -12
- package/dist/src/svm/clients/MessageTransmitterV2/index.js +0 -28
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/acceptOwnership.d.ts +0 -54
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/acceptOwnership.js +0 -125
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/disableAttester.d.ts +0 -67
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/disableAttester.js +0 -158
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/enableAttester.d.ts +0 -67
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/enableAttester.js +0 -158
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/index.d.ts +0 -22
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/index.js +0 -38
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/initialize.d.ts +0 -87
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/initialize.js +0 -205
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/isNonceUsed.d.ts +0 -38
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/isNonceUsed.js +0 -71
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/pause.d.ts +0 -54
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/pause.js +0 -125
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/receiveMessage.d.ts +0 -86
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/receiveMessage.js +0 -182
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/reclaimEventAccount.d.ts +0 -51
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/reclaimEventAccount.js +0 -102
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/sendMessage.d.ts +0 -67
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/sendMessage.js +0 -116
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/setMaxMessageBodySize.d.ts +0 -59
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/setMaxMessageBodySize.js +0 -136
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/setSignatureThreshold.d.ts +0 -59
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/setSignatureThreshold.js +0 -142
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/transferOwnership.d.ts +0 -59
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/transferOwnership.js +0 -133
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/unpause.d.ts +0 -54
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/unpause.js +0 -125
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/updateAttesterManager.d.ts +0 -59
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/updateAttesterManager.js +0 -136
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/updatePauser.d.ts +0 -59
- package/dist/src/svm/clients/MessageTransmitterV2/instructions/updatePauser.js +0 -133
- package/dist/src/svm/clients/MessageTransmitterV2/programs/index.d.ts +0 -8
- package/dist/src/svm/clients/MessageTransmitterV2/programs/index.js +0 -24
- package/dist/src/svm/clients/MessageTransmitterV2/programs/messageTransmitterV2.d.ts +0 -69
- package/dist/src/svm/clients/MessageTransmitterV2/programs/messageTransmitterV2.js +0 -100
- package/dist/src/svm/clients/MessageTransmitterV2/shared/index.d.ts +0 -49
- package/dist/src/svm/clients/MessageTransmitterV2/shared/index.js +0 -94
- package/dist/src/svm/clients/MessageTransmitterV2/types/attesterDisabled.d.ts +0 -15
- package/dist/src/svm/clients/MessageTransmitterV2/types/attesterDisabled.js +0 -22
- package/dist/src/svm/clients/MessageTransmitterV2/types/attesterEnabled.d.ts +0 -15
- package/dist/src/svm/clients/MessageTransmitterV2/types/attesterEnabled.js +0 -22
- package/dist/src/svm/clients/MessageTransmitterV2/types/attesterManagerUpdated.d.ts +0 -16
- package/dist/src/svm/clients/MessageTransmitterV2/types/attesterManagerUpdated.js +0 -28
- package/dist/src/svm/clients/MessageTransmitterV2/types/index.d.ts +0 -18
- package/dist/src/svm/clients/MessageTransmitterV2/types/index.js +0 -34
- package/dist/src/svm/clients/MessageTransmitterV2/types/maxMessageBodySizeUpdated.d.ts +0 -17
- package/dist/src/svm/clients/MessageTransmitterV2/types/maxMessageBodySizeUpdated.js +0 -22
- package/dist/src/svm/clients/MessageTransmitterV2/types/messageReceived.d.ts +0 -20
- package/dist/src/svm/clients/MessageTransmitterV2/types/messageReceived.js +0 -36
- package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferStarted.d.ts +0 -16
- package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferStarted.js +0 -28
- package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferred.d.ts +0 -16
- package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferred.js +0 -28
- package/dist/src/svm/clients/MessageTransmitterV2/types/pause.d.ts +0 -13
- package/dist/src/svm/clients/MessageTransmitterV2/types/pause.js +0 -22
- package/dist/src/svm/clients/MessageTransmitterV2/types/pauserChanged.d.ts +0 -15
- package/dist/src/svm/clients/MessageTransmitterV2/types/pauserChanged.js +0 -22
- package/dist/src/svm/clients/MessageTransmitterV2/types/signatureThresholdUpdated.d.ts +0 -16
- package/dist/src/svm/clients/MessageTransmitterV2/types/signatureThresholdUpdated.js +0 -28
- package/dist/src/svm/clients/MessageTransmitterV2/types/unpause.d.ts +0 -13
- package/dist/src/svm/clients/MessageTransmitterV2/types/unpause.js +0 -22
- package/dist/src/svm/clients/MulticallHandler/index.d.ts +0 -9
- package/dist/src/svm/clients/MulticallHandler/index.js +0 -25
- package/dist/src/svm/clients/MulticallHandler/instructions/handleV3AcrossMessage.d.ts +0 -33
- package/dist/src/svm/clients/MulticallHandler/instructions/handleV3AcrossMessage.js +0 -59
- package/dist/src/svm/clients/MulticallHandler/instructions/index.d.ts +0 -8
- package/dist/src/svm/clients/MulticallHandler/instructions/index.js +0 -24
- package/dist/src/svm/clients/MulticallHandler/programs/index.d.ts +0 -8
- package/dist/src/svm/clients/MulticallHandler/programs/index.js +0 -24
- package/dist/src/svm/clients/MulticallHandler/programs/multicallHandler.d.ts +0 -19
- package/dist/src/svm/clients/MulticallHandler/programs/multicallHandler.js +0 -24
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/index.d.ts +0 -11
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/index.js +0 -27
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/minimumDeposit.d.ts +0 -29
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/minimumDeposit.js +0 -68
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/rentClaim.d.ts +0 -27
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/rentClaim.js +0 -66
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/state.d.ts +0 -31
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/state.js +0 -70
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/usedNonce.d.ts +0 -27
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/usedNonce.js +0 -66
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/index.d.ts +0 -8
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/index.js +0 -24
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/sponsoredCctpSrcPeriphery.d.ts +0 -53
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/sponsoredCctpSrcPeriphery.js +0 -79
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/index.d.ts +0 -12
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/index.js +0 -28
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/depositForBurn.d.ts +0 -140
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/depositForBurn.js +0 -365
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/getUsedNonceCloseInfo.d.ts +0 -52
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/getUsedNonceCloseInfo.js +0 -118
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/index.d.ts +0 -17
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/index.js +0 -33
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/initialize.d.ts +0 -67
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/initialize.js +0 -148
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimEventAccount.d.ts +0 -83
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimEventAccount.js +0 -183
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimUsedNonceAccount.d.ts +0 -64
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimUsedNonceAccount.js +0 -152
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/repayRentFundDebt.d.ts +0 -62
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/repayRentFundDebt.js +0 -155
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setCurrentTime.d.ts +0 -51
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setCurrentTime.js +0 -108
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setMinimumDepositAmount.d.ts +0 -67
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setMinimumDepositAmount.js +0 -158
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setSigner.d.ts +0 -59
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setSigner.js +0 -133
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/withdrawRentFund.d.ts +0 -67
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/withdrawRentFund.js +0 -151
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/index.d.ts +0 -8
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/index.js +0 -24
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/sponsoredCctpSrcPeriphery.d.ts +0 -55
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/sponsoredCctpSrcPeriphery.js +0 -84
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/shared/index.d.ts +0 -49
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/shared/index.js +0 -94
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/accruedRentFundLiability.d.ts +0 -21
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/accruedRentFundLiability.js +0 -30
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/createdEventAccount.d.ts +0 -15
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/createdEventAccount.js +0 -22
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/index.d.ts +0 -20
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/index.js +0 -36
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/messageSent.d.ts +0 -21
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/messageSent.js +0 -30
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/minimumDepositAmountSet.d.ts +0 -19
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/minimumDepositAmountSet.js +0 -28
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedEventAccount.d.ts +0 -15
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedEventAccount.js +0 -22
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedUsedNonceAccount.d.ts +0 -16
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedUsedNonceAccount.js +0 -28
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/repaidRentFundDebt.d.ts +0 -21
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/repaidRentFundDebt.js +0 -30
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/signerSet.d.ts +0 -16
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/signerSet.js +0 -28
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredCCTPQuote.d.ts +0 -51
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredCCTPQuote.js +0 -60
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredDepositForBurn.d.ts +0 -35
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredDepositForBurn.js +0 -44
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceAccountParams.d.ts +0 -15
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceAccountParams.js +0 -22
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceCloseInfo.d.ts +0 -19
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceCloseInfo.js +0 -28
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/withdrawnRentFund.d.ts +0 -19
- package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/withdrawnRentFund.js +0 -28
- package/dist/src/svm/clients/SvmSpoke/accounts/claimAccount.d.ts +0 -29
- package/dist/src/svm/clients/SvmSpoke/accounts/claimAccount.js +0 -68
- package/dist/src/svm/clients/SvmSpoke/accounts/executeRelayerRefundLeafParams.d.ts +0 -31
- package/dist/src/svm/clients/SvmSpoke/accounts/executeRelayerRefundLeafParams.js +0 -70
- package/dist/src/svm/clients/SvmSpoke/accounts/fillStatusAccount.d.ts +0 -32
- package/dist/src/svm/clients/SvmSpoke/accounts/fillStatusAccount.js +0 -71
- package/dist/src/svm/clients/SvmSpoke/accounts/index.d.ts +0 -12
- package/dist/src/svm/clients/SvmSpoke/accounts/index.js +0 -28
- package/dist/src/svm/clients/SvmSpoke/accounts/rootBundle.d.ts +0 -30
- package/dist/src/svm/clients/SvmSpoke/accounts/rootBundle.js +0 -69
- package/dist/src/svm/clients/SvmSpoke/accounts/state.d.ts +0 -49
- package/dist/src/svm/clients/SvmSpoke/accounts/state.js +0 -88
- package/dist/src/svm/clients/SvmSpoke/errors/index.d.ts +0 -8
- package/dist/src/svm/clients/SvmSpoke/errors/index.js +0 -24
- package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.d.ts +0 -129
- package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.js +0 -194
- package/dist/src/svm/clients/SvmSpoke/index.d.ts +0 -12
- package/dist/src/svm/clients/SvmSpoke/index.js +0 -28
- package/dist/src/svm/clients/SvmSpoke/instructions/adapterExecuteAcrossV5.d.ts +0 -75
- package/dist/src/svm/clients/SvmSpoke/instructions/adapterExecuteAcrossV5.js +0 -144
- package/dist/src/svm/clients/SvmSpoke/instructions/claimRelayerRefund.d.ts +0 -82
- package/dist/src/svm/clients/SvmSpoke/instructions/claimRelayerRefund.js +0 -185
- package/dist/src/svm/clients/SvmSpoke/instructions/closeClaimAccount.d.ts +0 -54
- package/dist/src/svm/clients/SvmSpoke/instructions/closeClaimAccount.js +0 -120
- package/dist/src/svm/clients/SvmSpoke/instructions/closeFillPda.d.ts +0 -50
- package/dist/src/svm/clients/SvmSpoke/instructions/closeFillPda.js +0 -79
- package/dist/src/svm/clients/SvmSpoke/instructions/closeInstructionParams.d.ts +0 -46
- package/dist/src/svm/clients/SvmSpoke/instructions/closeInstructionParams.js +0 -119
- package/dist/src/svm/clients/SvmSpoke/instructions/createTokenAccounts.d.ts +0 -48
- package/dist/src/svm/clients/SvmSpoke/instructions/createTokenAccounts.js +0 -104
- package/dist/src/svm/clients/SvmSpoke/instructions/emergencyDeleteRootBundle.d.ts +0 -67
- package/dist/src/svm/clients/SvmSpoke/instructions/emergencyDeleteRootBundle.js +0 -140
- package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeaf.d.ts +0 -78
- package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeaf.js +0 -197
- package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeafDeferred.d.ts +0 -78
- package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeafDeferred.js +0 -195
- package/dist/src/svm/clients/SvmSpoke/instructions/handleReceiveFinalizedMessage.d.ts +0 -75
- package/dist/src/svm/clients/SvmSpoke/instructions/handleReceiveFinalizedMessage.js +0 -163
- package/dist/src/svm/clients/SvmSpoke/instructions/index.d.ts +0 -28
- package/dist/src/svm/clients/SvmSpoke/instructions/index.js +0 -44
- package/dist/src/svm/clients/SvmSpoke/instructions/initialize.d.ts +0 -79
- package/dist/src/svm/clients/SvmSpoke/instructions/initialize.js +0 -141
- package/dist/src/svm/clients/SvmSpoke/instructions/initializeClaimAccount.d.ts +0 -58
- package/dist/src/svm/clients/SvmSpoke/instructions/initializeClaimAccount.js +0 -137
- package/dist/src/svm/clients/SvmSpoke/instructions/initializeInstructionParams.d.ts +0 -55
- package/dist/src/svm/clients/SvmSpoke/instructions/initializeInstructionParams.js +0 -141
- package/dist/src/svm/clients/SvmSpoke/instructions/pauseDeposits.d.ts +0 -59
- package/dist/src/svm/clients/SvmSpoke/instructions/pauseDeposits.js +0 -127
- package/dist/src/svm/clients/SvmSpoke/instructions/pauseFills.d.ts +0 -59
- package/dist/src/svm/clients/SvmSpoke/instructions/pauseFills.js +0 -127
- package/dist/src/svm/clients/SvmSpoke/instructions/relayRootBundle.d.ts +0 -75
- package/dist/src/svm/clients/SvmSpoke/instructions/relayRootBundle.js +0 -153
- package/dist/src/svm/clients/SvmSpoke/instructions/setCrossDomainAdmin.d.ts +0 -59
- package/dist/src/svm/clients/SvmSpoke/instructions/setCrossDomainAdmin.js +0 -130
- package/dist/src/svm/clients/SvmSpoke/instructions/setCurrentTime.d.ts +0 -43
- package/dist/src/svm/clients/SvmSpoke/instructions/setCurrentTime.js +0 -79
- package/dist/src/svm/clients/SvmSpoke/instructions/transferOwnership.d.ts +0 -59
- package/dist/src/svm/clients/SvmSpoke/instructions/transferOwnership.js +0 -127
- package/dist/src/svm/clients/SvmSpoke/instructions/withdrawV5FillPayer.d.ts +0 -58
- package/dist/src/svm/clients/SvmSpoke/instructions/withdrawV5FillPayer.js +0 -134
- package/dist/src/svm/clients/SvmSpoke/instructions/writeInstructionParamsFragment.d.ts +0 -59
- package/dist/src/svm/clients/SvmSpoke/instructions/writeInstructionParamsFragment.js +0 -143
- package/dist/src/svm/clients/SvmSpoke/programs/index.d.ts +0 -8
- package/dist/src/svm/clients/SvmSpoke/programs/index.js +0 -24
- package/dist/src/svm/clients/SvmSpoke/programs/svmSpoke.d.ts +0 -89
- package/dist/src/svm/clients/SvmSpoke/programs/svmSpoke.js +0 -132
- package/dist/src/svm/clients/SvmSpoke/shared/index.d.ts +0 -49
- package/dist/src/svm/clients/SvmSpoke/shared/index.js +0 -94
- package/dist/src/svm/clients/SvmSpoke/types/acrossDepositInput.d.ts +0 -25
- package/dist/src/svm/clients/SvmSpoke/types/acrossDepositInput.js +0 -33
- package/dist/src/svm/clients/SvmSpoke/types/acrossDepositJitParams.d.ts +0 -18
- package/dist/src/svm/clients/SvmSpoke/types/acrossDepositJitParams.js +0 -30
- package/dist/src/svm/clients/SvmSpoke/types/acrossDepositParams.d.ts +0 -43
- package/dist/src/svm/clients/SvmSpoke/types/acrossDepositParams.js +0 -48
- package/dist/src/svm/clients/SvmSpoke/types/claimedRelayerRefund.d.ts +0 -21
- package/dist/src/svm/clients/SvmSpoke/types/claimedRelayerRefund.js +0 -30
- package/dist/src/svm/clients/SvmSpoke/types/emergencyDeletedRootBundle.d.ts +0 -15
- package/dist/src/svm/clients/SvmSpoke/types/emergencyDeletedRootBundle.js +0 -22
- package/dist/src/svm/clients/SvmSpoke/types/executedRelayerRefundRoot.d.ts +0 -33
- package/dist/src/svm/clients/SvmSpoke/types/executedRelayerRefundRoot.js +0 -42
- package/dist/src/svm/clients/SvmSpoke/types/fillStatus.d.ts +0 -17
- package/dist/src/svm/clients/SvmSpoke/types/fillStatus.js +0 -29
- package/dist/src/svm/clients/SvmSpoke/types/fillType.d.ts +0 -17
- package/dist/src/svm/clients/SvmSpoke/types/fillType.js +0 -29
- package/dist/src/svm/clients/SvmSpoke/types/filledRelay.d.ts +0 -46
- package/dist/src/svm/clients/SvmSpoke/types/filledRelay.js +0 -55
- package/dist/src/svm/clients/SvmSpoke/types/fundsDeposited.d.ts +0 -41
- package/dist/src/svm/clients/SvmSpoke/types/fundsDeposited.js +0 -50
- package/dist/src/svm/clients/SvmSpoke/types/index.d.ts +0 -32
- package/dist/src/svm/clients/SvmSpoke/types/index.js +0 -48
- package/dist/src/svm/clients/SvmSpoke/types/pausedDeposits.d.ts +0 -15
- package/dist/src/svm/clients/SvmSpoke/types/pausedDeposits.js +0 -22
- package/dist/src/svm/clients/SvmSpoke/types/pausedFills.d.ts +0 -15
- package/dist/src/svm/clients/SvmSpoke/types/pausedFills.js +0 -22
- package/dist/src/svm/clients/SvmSpoke/types/relayData.d.ts +0 -39
- package/dist/src/svm/clients/SvmSpoke/types/relayData.js +0 -48
- package/dist/src/svm/clients/SvmSpoke/types/relayExecutionEventInfo.d.ts +0 -24
- package/dist/src/svm/clients/SvmSpoke/types/relayExecutionEventInfo.js +0 -33
- package/dist/src/svm/clients/SvmSpoke/types/relayedRootBundle.d.ts +0 -17
- package/dist/src/svm/clients/SvmSpoke/types/relayedRootBundle.js +0 -30
- package/dist/src/svm/clients/SvmSpoke/types/relayerRefundLeaf.d.ts +0 -27
- package/dist/src/svm/clients/SvmSpoke/types/relayerRefundLeaf.js +0 -36
- package/dist/src/svm/clients/SvmSpoke/types/requestedSlowFill.d.ts +0 -39
- package/dist/src/svm/clients/SvmSpoke/types/requestedSlowFill.js +0 -48
- package/dist/src/svm/clients/SvmSpoke/types/setXDomainAdmin.d.ts +0 -15
- package/dist/src/svm/clients/SvmSpoke/types/setXDomainAdmin.js +0 -22
- package/dist/src/svm/clients/SvmSpoke/types/transferredOwnership.d.ts +0 -15
- package/dist/src/svm/clients/SvmSpoke/types/transferredOwnership.js +0 -22
- package/dist/src/svm/clients/SvmSpoke/types/v5AdapterInput.d.ts +0 -39
- package/dist/src/svm/clients/SvmSpoke/types/v5AdapterInput.js +0 -59
- package/dist/src/svm/clients/SvmSpoke/types/v5DepositModificationRules.d.ts +0 -17
- package/dist/src/svm/clients/SvmSpoke/types/v5DepositModificationRules.js +0 -30
- package/dist/src/svm/clients/SvmSpoke/types/v5FillFloatWithdrawn.d.ts +0 -19
- package/dist/src/svm/clients/SvmSpoke/types/v5FillFloatWithdrawn.js +0 -28
- package/dist/src/svm/clients/SvmSpoke/types/v5FillInput.d.ts +0 -25
- package/dist/src/svm/clients/SvmSpoke/types/v5FillInput.js +0 -30
- package/dist/src/svm/clients/SvmSpoke/types/v5FillJit.d.ts +0 -22
- package/dist/src/svm/clients/SvmSpoke/types/v5FillJit.js +0 -31
- package/dist/src/svm/clients/SvmSpoke/types/v5InputAmountMode.d.ts +0 -29
- package/dist/src/svm/clients/SvmSpoke/types/v5InputAmountMode.js +0 -38
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/denylistedAccount.d.ts +0 -27
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/denylistedAccount.js +0 -66
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/index.d.ts +0 -14
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/index.js +0 -30
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/localToken.d.ts +0 -43
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/localToken.js +0 -82
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/messageTransmitter.d.ts +0 -44
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/messageTransmitter.js +0 -80
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/remoteTokenMessenger.d.ts +0 -29
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/remoteTokenMessenger.js +0 -71
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMessenger.d.ts +0 -41
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMessenger.js +0 -80
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMinter.d.ts +0 -33
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMinter.js +0 -72
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenPair.d.ts +0 -33
- package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenPair.js +0 -72
- package/dist/src/svm/clients/TokenMessengerMinterV2/errors/index.d.ts +0 -8
- package/dist/src/svm/clients/TokenMessengerMinterV2/errors/index.js +0 -24
- package/dist/src/svm/clients/TokenMessengerMinterV2/errors/tokenMessengerMinterV2.d.ts +0 -37
- package/dist/src/svm/clients/TokenMessengerMinterV2/errors/tokenMessengerMinterV2.js +0 -55
- package/dist/src/svm/clients/TokenMessengerMinterV2/index.d.ts +0 -12
- package/dist/src/svm/clients/TokenMessengerMinterV2/index.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/acceptOwnership.d.ts +0 -54
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/acceptOwnership.js +0 -119
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addLocalToken.d.ts +0 -78
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addLocalToken.js +0 -196
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addRemoteTokenMessenger.d.ts +0 -75
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addRemoteTokenMessenger.js +0 -162
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/burnTokenCustody.d.ts +0 -79
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/burnTokenCustody.js +0 -179
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/denylistAccount.d.ts +0 -71
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/denylistAccount.js +0 -151
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurn.d.ts +0 -138
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurn.js +0 -320
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurnWithHook.d.ts +0 -142
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurnWithHook.js +0 -325
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveFinalizedMessage.d.ts +0 -92
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveFinalizedMessage.js +0 -221
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveUnfinalizedMessage.d.ts +0 -92
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveUnfinalizedMessage.js +0 -221
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/index.d.ts +0 -32
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/index.js +0 -48
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/initialize.d.ts +0 -103
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/initialize.js +0 -234
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/linkTokenPair.d.ts +0 -79
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/linkTokenPair.js +0 -161
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/pause.d.ts +0 -54
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/pause.js +0 -119
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeLocalToken.d.ts +0 -74
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeLocalToken.js +0 -171
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeRemoteTokenMessenger.d.ts +0 -62
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeRemoteTokenMessenger.js +0 -138
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setFeeRecipient.d.ts +0 -59
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setFeeRecipient.js +0 -127
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMaxBurnAmountPerMessage.d.ts +0 -63
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMaxBurnAmountPerMessage.js +0 -141
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFee.d.ts +0 -59
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFee.js +0 -133
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFeeController.d.ts +0 -59
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFeeController.js +0 -130
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setTokenController.d.ts +0 -63
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setTokenController.js +0 -132
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/transferOwnership.d.ts +0 -59
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/transferOwnership.js +0 -127
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/undenylistAccount.d.ts +0 -71
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/undenylistAccount.js +0 -151
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unlinkTokenPair.d.ts +0 -62
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unlinkTokenPair.js +0 -135
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unpause.d.ts +0 -54
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unpause.js +0 -119
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updateDenylister.d.ts +0 -59
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updateDenylister.js +0 -127
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updatePauser.d.ts +0 -63
- package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updatePauser.js +0 -132
- package/dist/src/svm/clients/TokenMessengerMinterV2/programs/index.d.ts +0 -8
- package/dist/src/svm/clients/TokenMessengerMinterV2/programs/index.js +0 -24
- package/dist/src/svm/clients/TokenMessengerMinterV2/programs/tokenMessengerMinterV2.d.ts +0 -103
- package/dist/src/svm/clients/TokenMessengerMinterV2/programs/tokenMessengerMinterV2.js +0 -156
- package/dist/src/svm/clients/TokenMessengerMinterV2/shared/index.d.ts +0 -49
- package/dist/src/svm/clients/TokenMessengerMinterV2/shared/index.js +0 -94
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisted.d.ts +0 -15
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisted.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisterChanged.d.ts +0 -16
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisterChanged.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/depositForBurn.d.ts +0 -35
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/depositForBurn.js +0 -44
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/feeRecipientSet.d.ts +0 -15
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/feeRecipientSet.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/handleReceiveMessageParams.d.ts +0 -19
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/handleReceiveMessageParams.js +0 -34
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/index.d.ts +0 -30
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/index.js +0 -46
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenAdded.d.ts +0 -16
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenAdded.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenRemoved.d.ts +0 -16
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenRemoved.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeControllerSet.d.ts +0 -15
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeControllerSet.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeSet.d.ts +0 -15
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeSet.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/mintAndWithdraw.d.ts +0 -23
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/mintAndWithdraw.js +0 -32
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferStarted.d.ts +0 -16
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferStarted.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferred.d.ts +0 -16
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferred.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/pause.d.ts +0 -13
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/pause.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/pauserChanged.d.ts +0 -15
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/pauserChanged.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerAdded.d.ts +0 -16
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerAdded.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerRemoved.d.ts +0 -16
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerRemoved.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/setBurnLimitPerMessage.d.ts +0 -19
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/setBurnLimitPerMessage.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/setTokenController.d.ts +0 -15
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/setTokenController.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenCustodyBurned.d.ts +0 -19
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenCustodyBurned.js +0 -28
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairLinked.d.ts +0 -17
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairLinked.js +0 -30
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairUnlinked.d.ts +0 -17
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairUnlinked.js +0 -30
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/unDenylisted.d.ts +0 -15
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/unDenylisted.js +0 -22
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/unpause.d.ts +0 -13
- package/dist/src/svm/clients/TokenMessengerMinterV2/types/unpause.js +0 -22
- package/dist/src/svm/clients/index.d.ts +0 -6
- package/dist/src/svm/clients/index.js +0 -36
- package/dist/src/svm/index.d.ts +0 -4
- package/dist/src/svm/index.js +0 -26
- package/dist/src/svm/web3-v1/cctpV2Helpers.d.ts +0 -402
- package/dist/src/svm/web3-v1/cctpV2Helpers.js +0 -242
- package/dist/src/svm/web3-v1/coders.d.ts +0 -37
- package/dist/src/svm/web3-v1/coders.js +0 -251
- package/dist/src/svm/web3-v1/constants.d.ts +0 -9
- package/dist/src/svm/web3-v1/constants.js +0 -16
- package/dist/src/svm/web3-v1/conversionUtils.d.ts +0 -39
- package/dist/src/svm/web3-v1/conversionUtils.js +0 -103
- package/dist/src/svm/web3-v1/helpers.d.ts +0 -10
- package/dist/src/svm/web3-v1/helpers.js +0 -25
- package/dist/src/svm/web3-v1/index.d.ts +0 -10
- package/dist/src/svm/web3-v1/index.js +0 -26
- package/dist/src/svm/web3-v1/instructionParamsUtils.d.ts +0 -16
- package/dist/src/svm/web3-v1/instructionParamsUtils.js +0 -43
- package/dist/src/svm/web3-v1/programConnectors.d.ts +0 -14
- package/dist/src/svm/web3-v1/programConnectors.js +0 -51
- package/dist/src/svm/web3-v1/relayHashUtils.d.ts +0 -26
- package/dist/src/svm/web3-v1/relayHashUtils.js +0 -148
- package/dist/src/svm/web3-v1/solanaProgramUtils.d.ts +0 -50
- package/dist/src/svm/web3-v1/solanaProgramUtils.js +0 -223
- package/dist/src/svm/web3-v1/transactionUtils.d.ts +0 -12
- package/dist/src/svm/web3-v1/transactionUtils.js +0 -82
- package/dist/src/svm/web3-v2/index.d.ts +0 -3
- package/dist/src/svm/web3-v2/index.js +0 -19
- package/dist/src/svm/web3-v2/solanaProgramUtils.d.ts +0 -32
- package/dist/src/svm/web3-v2/solanaProgramUtils.js +0 -106
- package/dist/src/svm/web3-v2/transactionUtils.d.ts +0 -24
- package/dist/src/svm/web3-v2/transactionUtils.js +0 -76
- package/dist/src/svm/web3-v2/types.d.ts +0 -8
- package/dist/src/svm/web3-v2/types.js +0 -2
- package/dist/src/types/svm.d.ts +0 -121
- package/dist/src/types/svm.js +0 -2
- package/dist/utils/utils.d.ts +0 -28
- package/dist/utils/utils.js +0 -136
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getRequestedSlowFillEncoder = getRequestedSlowFillEncoder;
|
|
11
|
-
exports.getRequestedSlowFillDecoder = getRequestedSlowFillDecoder;
|
|
12
|
-
exports.getRequestedSlowFillCodec = getRequestedSlowFillCodec;
|
|
13
|
-
const kit_1 = require("@solana/kit");
|
|
14
|
-
function getRequestedSlowFillEncoder() {
|
|
15
|
-
return (0, kit_1.getStructEncoder)([
|
|
16
|
-
['inputToken', (0, kit_1.getAddressEncoder)()],
|
|
17
|
-
['outputToken', (0, kit_1.getAddressEncoder)()],
|
|
18
|
-
['inputAmount', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 32)],
|
|
19
|
-
['outputAmount', (0, kit_1.getU64Encoder)()],
|
|
20
|
-
['originChainId', (0, kit_1.getU64Encoder)()],
|
|
21
|
-
['depositId', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 32)],
|
|
22
|
-
['fillDeadline', (0, kit_1.getU32Encoder)()],
|
|
23
|
-
['exclusivityDeadline', (0, kit_1.getU32Encoder)()],
|
|
24
|
-
['exclusiveRelayer', (0, kit_1.getAddressEncoder)()],
|
|
25
|
-
['depositor', (0, kit_1.getAddressEncoder)()],
|
|
26
|
-
['recipient', (0, kit_1.getAddressEncoder)()],
|
|
27
|
-
['messageHash', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 32)],
|
|
28
|
-
]);
|
|
29
|
-
}
|
|
30
|
-
function getRequestedSlowFillDecoder() {
|
|
31
|
-
return (0, kit_1.getStructDecoder)([
|
|
32
|
-
['inputToken', (0, kit_1.getAddressDecoder)()],
|
|
33
|
-
['outputToken', (0, kit_1.getAddressDecoder)()],
|
|
34
|
-
['inputAmount', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 32)],
|
|
35
|
-
['outputAmount', (0, kit_1.getU64Decoder)()],
|
|
36
|
-
['originChainId', (0, kit_1.getU64Decoder)()],
|
|
37
|
-
['depositId', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 32)],
|
|
38
|
-
['fillDeadline', (0, kit_1.getU32Decoder)()],
|
|
39
|
-
['exclusivityDeadline', (0, kit_1.getU32Decoder)()],
|
|
40
|
-
['exclusiveRelayer', (0, kit_1.getAddressDecoder)()],
|
|
41
|
-
['depositor', (0, kit_1.getAddressDecoder)()],
|
|
42
|
-
['recipient', (0, kit_1.getAddressDecoder)()],
|
|
43
|
-
['messageHash', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 32)],
|
|
44
|
-
]);
|
|
45
|
-
}
|
|
46
|
-
function getRequestedSlowFillCodec() {
|
|
47
|
-
return (0, kit_1.combineCodec)(getRequestedSlowFillEncoder(), getRequestedSlowFillDecoder());
|
|
48
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
export type SetXDomainAdmin = {
|
|
10
|
-
newAdmin: Address;
|
|
11
|
-
};
|
|
12
|
-
export type SetXDomainAdminArgs = SetXDomainAdmin;
|
|
13
|
-
export declare function getSetXDomainAdminEncoder(): Encoder<SetXDomainAdminArgs>;
|
|
14
|
-
export declare function getSetXDomainAdminDecoder(): Decoder<SetXDomainAdmin>;
|
|
15
|
-
export declare function getSetXDomainAdminCodec(): Codec<SetXDomainAdminArgs, SetXDomainAdmin>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getSetXDomainAdminEncoder = getSetXDomainAdminEncoder;
|
|
11
|
-
exports.getSetXDomainAdminDecoder = getSetXDomainAdminDecoder;
|
|
12
|
-
exports.getSetXDomainAdminCodec = getSetXDomainAdminCodec;
|
|
13
|
-
const kit_1 = require("@solana/kit");
|
|
14
|
-
function getSetXDomainAdminEncoder() {
|
|
15
|
-
return (0, kit_1.getStructEncoder)([['newAdmin', (0, kit_1.getAddressEncoder)()]]);
|
|
16
|
-
}
|
|
17
|
-
function getSetXDomainAdminDecoder() {
|
|
18
|
-
return (0, kit_1.getStructDecoder)([['newAdmin', (0, kit_1.getAddressDecoder)()]]);
|
|
19
|
-
}
|
|
20
|
-
function getSetXDomainAdminCodec() {
|
|
21
|
-
return (0, kit_1.combineCodec)(getSetXDomainAdminEncoder(), getSetXDomainAdminDecoder());
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
export type TransferredOwnership = {
|
|
10
|
-
newOwner: Address;
|
|
11
|
-
};
|
|
12
|
-
export type TransferredOwnershipArgs = TransferredOwnership;
|
|
13
|
-
export declare function getTransferredOwnershipEncoder(): Encoder<TransferredOwnershipArgs>;
|
|
14
|
-
export declare function getTransferredOwnershipDecoder(): Decoder<TransferredOwnership>;
|
|
15
|
-
export declare function getTransferredOwnershipCodec(): Codec<TransferredOwnershipArgs, TransferredOwnership>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getTransferredOwnershipEncoder = getTransferredOwnershipEncoder;
|
|
11
|
-
exports.getTransferredOwnershipDecoder = getTransferredOwnershipDecoder;
|
|
12
|
-
exports.getTransferredOwnershipCodec = getTransferredOwnershipCodec;
|
|
13
|
-
const kit_1 = require("@solana/kit");
|
|
14
|
-
function getTransferredOwnershipEncoder() {
|
|
15
|
-
return (0, kit_1.getStructEncoder)([['newOwner', (0, kit_1.getAddressEncoder)()]]);
|
|
16
|
-
}
|
|
17
|
-
function getTransferredOwnershipDecoder() {
|
|
18
|
-
return (0, kit_1.getStructDecoder)([['newOwner', (0, kit_1.getAddressDecoder)()]]);
|
|
19
|
-
}
|
|
20
|
-
function getTransferredOwnershipCodec() {
|
|
21
|
-
return (0, kit_1.combineCodec)(getTransferredOwnershipEncoder(), getTransferredOwnershipDecoder());
|
|
22
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Codec, type Decoder, type Encoder, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
|
|
9
|
-
import { type AcrossDepositInput, type AcrossDepositInputArgs, type V5FillInput, type V5FillInputArgs } from '.';
|
|
10
|
-
/**
|
|
11
|
-
* Committed input for an Across V5 adapter call.
|
|
12
|
-
*
|
|
13
|
-
* `V5` is the Across protocol generation; each variant's `V1` is its SVM wire-schema revision. Borsh discriminants
|
|
14
|
-
* are frozen as `DepositV1 = 0` and `FillV1 = 1`. Append a new versioned variant when one payload changes; never
|
|
15
|
-
* reorder existing variants. A safe old variant may remain accepted while in-flight inputs drain, while an unsafe
|
|
16
|
-
* variant can be rejected immediately.
|
|
17
|
-
*/
|
|
18
|
-
export type V5AdapterInput = {
|
|
19
|
-
__kind: 'DepositV1';
|
|
20
|
-
fields: readonly [AcrossDepositInput];
|
|
21
|
-
} | {
|
|
22
|
-
__kind: 'FillV1';
|
|
23
|
-
fields: readonly [V5FillInput];
|
|
24
|
-
};
|
|
25
|
-
export type V5AdapterInputArgs = {
|
|
26
|
-
__kind: 'DepositV1';
|
|
27
|
-
fields: readonly [AcrossDepositInputArgs];
|
|
28
|
-
} | {
|
|
29
|
-
__kind: 'FillV1';
|
|
30
|
-
fields: readonly [V5FillInputArgs];
|
|
31
|
-
};
|
|
32
|
-
export declare function getV5AdapterInputEncoder(): Encoder<V5AdapterInputArgs>;
|
|
33
|
-
export declare function getV5AdapterInputDecoder(): Decoder<V5AdapterInput>;
|
|
34
|
-
export declare function getV5AdapterInputCodec(): Codec<V5AdapterInputArgs, V5AdapterInput>;
|
|
35
|
-
export declare function v5AdapterInput(kind: 'DepositV1', data: GetDiscriminatedUnionVariantContent<V5AdapterInputArgs, '__kind', 'DepositV1'>['fields']): GetDiscriminatedUnionVariant<V5AdapterInputArgs, '__kind', 'DepositV1'>;
|
|
36
|
-
export declare function v5AdapterInput(kind: 'FillV1', data: GetDiscriminatedUnionVariantContent<V5AdapterInputArgs, '__kind', 'FillV1'>['fields']): GetDiscriminatedUnionVariant<V5AdapterInputArgs, '__kind', 'FillV1'>;
|
|
37
|
-
export declare function isV5AdapterInput<K extends V5AdapterInput['__kind']>(kind: K, value: V5AdapterInput): value is V5AdapterInput & {
|
|
38
|
-
__kind: K;
|
|
39
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getV5AdapterInputEncoder = getV5AdapterInputEncoder;
|
|
11
|
-
exports.getV5AdapterInputDecoder = getV5AdapterInputDecoder;
|
|
12
|
-
exports.getV5AdapterInputCodec = getV5AdapterInputCodec;
|
|
13
|
-
exports.v5AdapterInput = v5AdapterInput;
|
|
14
|
-
exports.isV5AdapterInput = isV5AdapterInput;
|
|
15
|
-
const kit_1 = require("@solana/kit");
|
|
16
|
-
const _1 = require(".");
|
|
17
|
-
function getV5AdapterInputEncoder() {
|
|
18
|
-
return (0, kit_1.getDiscriminatedUnionEncoder)([
|
|
19
|
-
[
|
|
20
|
-
'DepositV1',
|
|
21
|
-
(0, kit_1.getStructEncoder)([
|
|
22
|
-
['fields', (0, kit_1.getTupleEncoder)([(0, _1.getAcrossDepositInputEncoder)()])],
|
|
23
|
-
]),
|
|
24
|
-
],
|
|
25
|
-
[
|
|
26
|
-
'FillV1',
|
|
27
|
-
(0, kit_1.getStructEncoder)([
|
|
28
|
-
['fields', (0, kit_1.getTupleEncoder)([(0, _1.getV5FillInputEncoder)()])],
|
|
29
|
-
]),
|
|
30
|
-
],
|
|
31
|
-
]);
|
|
32
|
-
}
|
|
33
|
-
function getV5AdapterInputDecoder() {
|
|
34
|
-
return (0, kit_1.getDiscriminatedUnionDecoder)([
|
|
35
|
-
[
|
|
36
|
-
'DepositV1',
|
|
37
|
-
(0, kit_1.getStructDecoder)([
|
|
38
|
-
['fields', (0, kit_1.getTupleDecoder)([(0, _1.getAcrossDepositInputDecoder)()])],
|
|
39
|
-
]),
|
|
40
|
-
],
|
|
41
|
-
[
|
|
42
|
-
'FillV1',
|
|
43
|
-
(0, kit_1.getStructDecoder)([
|
|
44
|
-
['fields', (0, kit_1.getTupleDecoder)([(0, _1.getV5FillInputDecoder)()])],
|
|
45
|
-
]),
|
|
46
|
-
],
|
|
47
|
-
]);
|
|
48
|
-
}
|
|
49
|
-
function getV5AdapterInputCodec() {
|
|
50
|
-
return (0, kit_1.combineCodec)(getV5AdapterInputEncoder(), getV5AdapterInputDecoder());
|
|
51
|
-
}
|
|
52
|
-
function v5AdapterInput(kind, data) {
|
|
53
|
-
return Array.isArray(data)
|
|
54
|
-
? { __kind: kind, fields: data }
|
|
55
|
-
: { __kind: kind, ...(data ?? {}) };
|
|
56
|
-
}
|
|
57
|
-
function isV5AdapterInput(kind, value) {
|
|
58
|
-
return value.__kind === kind;
|
|
59
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Codec, type Decoder, type Encoder, type ReadonlyUint8Array } from '@solana/kit';
|
|
9
|
-
export type V5DepositModificationRules = {
|
|
10
|
-
authority: ReadonlyUint8Array;
|
|
11
|
-
allowOutputAmount: boolean;
|
|
12
|
-
allowExclusiveRelayer: boolean;
|
|
13
|
-
};
|
|
14
|
-
export type V5DepositModificationRulesArgs = V5DepositModificationRules;
|
|
15
|
-
export declare function getV5DepositModificationRulesEncoder(): Encoder<V5DepositModificationRulesArgs>;
|
|
16
|
-
export declare function getV5DepositModificationRulesDecoder(): Decoder<V5DepositModificationRules>;
|
|
17
|
-
export declare function getV5DepositModificationRulesCodec(): Codec<V5DepositModificationRulesArgs, V5DepositModificationRules>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getV5DepositModificationRulesEncoder = getV5DepositModificationRulesEncoder;
|
|
11
|
-
exports.getV5DepositModificationRulesDecoder = getV5DepositModificationRulesDecoder;
|
|
12
|
-
exports.getV5DepositModificationRulesCodec = getV5DepositModificationRulesCodec;
|
|
13
|
-
const kit_1 = require("@solana/kit");
|
|
14
|
-
function getV5DepositModificationRulesEncoder() {
|
|
15
|
-
return (0, kit_1.getStructEncoder)([
|
|
16
|
-
['authority', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 20)],
|
|
17
|
-
['allowOutputAmount', (0, kit_1.getBooleanEncoder)()],
|
|
18
|
-
['allowExclusiveRelayer', (0, kit_1.getBooleanEncoder)()],
|
|
19
|
-
]);
|
|
20
|
-
}
|
|
21
|
-
function getV5DepositModificationRulesDecoder() {
|
|
22
|
-
return (0, kit_1.getStructDecoder)([
|
|
23
|
-
['authority', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 20)],
|
|
24
|
-
['allowOutputAmount', (0, kit_1.getBooleanDecoder)()],
|
|
25
|
-
['allowExclusiveRelayer', (0, kit_1.getBooleanDecoder)()],
|
|
26
|
-
]);
|
|
27
|
-
}
|
|
28
|
-
function getV5DepositModificationRulesCodec() {
|
|
29
|
-
return (0, kit_1.combineCodec)(getV5DepositModificationRulesEncoder(), getV5DepositModificationRulesDecoder());
|
|
30
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
export type V5FillFloatWithdrawn = {
|
|
10
|
-
submitter: Address;
|
|
11
|
-
amount: bigint;
|
|
12
|
-
};
|
|
13
|
-
export type V5FillFloatWithdrawnArgs = {
|
|
14
|
-
submitter: Address;
|
|
15
|
-
amount: number | bigint;
|
|
16
|
-
};
|
|
17
|
-
export declare function getV5FillFloatWithdrawnEncoder(): Encoder<V5FillFloatWithdrawnArgs>;
|
|
18
|
-
export declare function getV5FillFloatWithdrawnDecoder(): Decoder<V5FillFloatWithdrawn>;
|
|
19
|
-
export declare function getV5FillFloatWithdrawnCodec(): Codec<V5FillFloatWithdrawnArgs, V5FillFloatWithdrawn>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getV5FillFloatWithdrawnEncoder = getV5FillFloatWithdrawnEncoder;
|
|
11
|
-
exports.getV5FillFloatWithdrawnDecoder = getV5FillFloatWithdrawnDecoder;
|
|
12
|
-
exports.getV5FillFloatWithdrawnCodec = getV5FillFloatWithdrawnCodec;
|
|
13
|
-
const kit_1 = require("@solana/kit");
|
|
14
|
-
function getV5FillFloatWithdrawnEncoder() {
|
|
15
|
-
return (0, kit_1.getStructEncoder)([
|
|
16
|
-
['submitter', (0, kit_1.getAddressEncoder)()],
|
|
17
|
-
['amount', (0, kit_1.getU64Encoder)()],
|
|
18
|
-
]);
|
|
19
|
-
}
|
|
20
|
-
function getV5FillFloatWithdrawnDecoder() {
|
|
21
|
-
return (0, kit_1.getStructDecoder)([
|
|
22
|
-
['submitter', (0, kit_1.getAddressDecoder)()],
|
|
23
|
-
['amount', (0, kit_1.getU64Decoder)()],
|
|
24
|
-
]);
|
|
25
|
-
}
|
|
26
|
-
function getV5FillFloatWithdrawnCodec() {
|
|
27
|
-
return (0, kit_1.combineCodec)(getV5FillFloatWithdrawnEncoder(), getV5FillFloatWithdrawnDecoder());
|
|
28
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
/**
|
|
10
|
-
* Destination acceptance bounds. Unlike the EVM executor-mode input, the SVM adapter omits a callback message
|
|
11
|
-
* because V5 adapter fills do not execute recipient callbacks.
|
|
12
|
-
*/
|
|
13
|
-
export type V5FillInput = {
|
|
14
|
-
recipient: Address;
|
|
15
|
-
outputToken: Address;
|
|
16
|
-
minOutputAmount: bigint;
|
|
17
|
-
};
|
|
18
|
-
export type V5FillInputArgs = {
|
|
19
|
-
recipient: Address;
|
|
20
|
-
outputToken: Address;
|
|
21
|
-
minOutputAmount: number | bigint;
|
|
22
|
-
};
|
|
23
|
-
export declare function getV5FillInputEncoder(): Encoder<V5FillInputArgs>;
|
|
24
|
-
export declare function getV5FillInputDecoder(): Decoder<V5FillInput>;
|
|
25
|
-
export declare function getV5FillInputCodec(): Codec<V5FillInputArgs, V5FillInput>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getV5FillInputEncoder = getV5FillInputEncoder;
|
|
11
|
-
exports.getV5FillInputDecoder = getV5FillInputDecoder;
|
|
12
|
-
exports.getV5FillInputCodec = getV5FillInputCodec;
|
|
13
|
-
const kit_1 = require("@solana/kit");
|
|
14
|
-
function getV5FillInputEncoder() {
|
|
15
|
-
return (0, kit_1.getStructEncoder)([
|
|
16
|
-
['recipient', (0, kit_1.getAddressEncoder)()],
|
|
17
|
-
['outputToken', (0, kit_1.getAddressEncoder)()],
|
|
18
|
-
['minOutputAmount', (0, kit_1.getU64Encoder)()],
|
|
19
|
-
]);
|
|
20
|
-
}
|
|
21
|
-
function getV5FillInputDecoder() {
|
|
22
|
-
return (0, kit_1.getStructDecoder)([
|
|
23
|
-
['recipient', (0, kit_1.getAddressDecoder)()],
|
|
24
|
-
['outputToken', (0, kit_1.getAddressDecoder)()],
|
|
25
|
-
['minOutputAmount', (0, kit_1.getU64Decoder)()],
|
|
26
|
-
]);
|
|
27
|
-
}
|
|
28
|
-
function getV5FillInputCodec() {
|
|
29
|
-
return (0, kit_1.combineCodec)(getV5FillInputEncoder(), getV5FillInputDecoder());
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Address, type Codec, type Decoder, type Encoder } from '@solana/kit';
|
|
9
|
-
import { type RelayData, type RelayDataArgs } from '.';
|
|
10
|
-
export type V5FillJit = {
|
|
11
|
-
relayData: RelayData;
|
|
12
|
-
repaymentChainId: bigint;
|
|
13
|
-
repaymentAddress: Address;
|
|
14
|
-
};
|
|
15
|
-
export type V5FillJitArgs = {
|
|
16
|
-
relayData: RelayDataArgs;
|
|
17
|
-
repaymentChainId: number | bigint;
|
|
18
|
-
repaymentAddress: Address;
|
|
19
|
-
};
|
|
20
|
-
export declare function getV5FillJitEncoder(): Encoder<V5FillJitArgs>;
|
|
21
|
-
export declare function getV5FillJitDecoder(): Decoder<V5FillJit>;
|
|
22
|
-
export declare function getV5FillJitCodec(): Codec<V5FillJitArgs, V5FillJit>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getV5FillJitEncoder = getV5FillJitEncoder;
|
|
11
|
-
exports.getV5FillJitDecoder = getV5FillJitDecoder;
|
|
12
|
-
exports.getV5FillJitCodec = getV5FillJitCodec;
|
|
13
|
-
const kit_1 = require("@solana/kit");
|
|
14
|
-
const _1 = require(".");
|
|
15
|
-
function getV5FillJitEncoder() {
|
|
16
|
-
return (0, kit_1.getStructEncoder)([
|
|
17
|
-
['relayData', (0, _1.getRelayDataEncoder)()],
|
|
18
|
-
['repaymentChainId', (0, kit_1.getU64Encoder)()],
|
|
19
|
-
['repaymentAddress', (0, kit_1.getAddressEncoder)()],
|
|
20
|
-
]);
|
|
21
|
-
}
|
|
22
|
-
function getV5FillJitDecoder() {
|
|
23
|
-
return (0, kit_1.getStructDecoder)([
|
|
24
|
-
['relayData', (0, _1.getRelayDataDecoder)()],
|
|
25
|
-
['repaymentChainId', (0, kit_1.getU64Decoder)()],
|
|
26
|
-
['repaymentAddress', (0, kit_1.getAddressDecoder)()],
|
|
27
|
-
]);
|
|
28
|
-
}
|
|
29
|
-
function getV5FillJitCodec() {
|
|
30
|
-
return (0, kit_1.combineCodec)(getV5FillJitEncoder(), getV5FillJitDecoder());
|
|
31
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Codec, type Decoder, type Encoder, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
|
|
9
|
-
/**
|
|
10
|
-
* Literal uses the committed `input_amount`. Balance-relative mode resolves `bips` of the canonical Gateway input
|
|
11
|
-
* vault's live token amount, rounded down, and later enforces the committed amount as a floor. Gateway vaults are
|
|
12
|
-
* shared per mint, not isolated per execution, so the continuing tape must leave no residual balance; Gateway does
|
|
13
|
-
* not currently enforce that net-zero settlement invariant.
|
|
14
|
-
*/
|
|
15
|
-
export type V5InputAmountMode = {
|
|
16
|
-
__kind: 'Literal';
|
|
17
|
-
} | {
|
|
18
|
-
__kind: 'InputVaultBalance';
|
|
19
|
-
bips: number;
|
|
20
|
-
};
|
|
21
|
-
export type V5InputAmountModeArgs = V5InputAmountMode;
|
|
22
|
-
export declare function getV5InputAmountModeEncoder(): Encoder<V5InputAmountModeArgs>;
|
|
23
|
-
export declare function getV5InputAmountModeDecoder(): Decoder<V5InputAmountMode>;
|
|
24
|
-
export declare function getV5InputAmountModeCodec(): Codec<V5InputAmountModeArgs, V5InputAmountMode>;
|
|
25
|
-
export declare function v5InputAmountMode(kind: 'Literal'): GetDiscriminatedUnionVariant<V5InputAmountModeArgs, '__kind', 'Literal'>;
|
|
26
|
-
export declare function v5InputAmountMode(kind: 'InputVaultBalance', data: GetDiscriminatedUnionVariantContent<V5InputAmountModeArgs, '__kind', 'InputVaultBalance'>): GetDiscriminatedUnionVariant<V5InputAmountModeArgs, '__kind', 'InputVaultBalance'>;
|
|
27
|
-
export declare function isV5InputAmountMode<K extends V5InputAmountMode['__kind']>(kind: K, value: V5InputAmountMode): value is V5InputAmountMode & {
|
|
28
|
-
__kind: K;
|
|
29
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.getV5InputAmountModeEncoder = getV5InputAmountModeEncoder;
|
|
11
|
-
exports.getV5InputAmountModeDecoder = getV5InputAmountModeDecoder;
|
|
12
|
-
exports.getV5InputAmountModeCodec = getV5InputAmountModeCodec;
|
|
13
|
-
exports.v5InputAmountMode = v5InputAmountMode;
|
|
14
|
-
exports.isV5InputAmountMode = isV5InputAmountMode;
|
|
15
|
-
const kit_1 = require("@solana/kit");
|
|
16
|
-
function getV5InputAmountModeEncoder() {
|
|
17
|
-
return (0, kit_1.getDiscriminatedUnionEncoder)([
|
|
18
|
-
['Literal', (0, kit_1.getUnitEncoder)()],
|
|
19
|
-
['InputVaultBalance', (0, kit_1.getStructEncoder)([['bips', (0, kit_1.getU16Encoder)()]])],
|
|
20
|
-
]);
|
|
21
|
-
}
|
|
22
|
-
function getV5InputAmountModeDecoder() {
|
|
23
|
-
return (0, kit_1.getDiscriminatedUnionDecoder)([
|
|
24
|
-
['Literal', (0, kit_1.getUnitDecoder)()],
|
|
25
|
-
['InputVaultBalance', (0, kit_1.getStructDecoder)([['bips', (0, kit_1.getU16Decoder)()]])],
|
|
26
|
-
]);
|
|
27
|
-
}
|
|
28
|
-
function getV5InputAmountModeCodec() {
|
|
29
|
-
return (0, kit_1.combineCodec)(getV5InputAmountModeEncoder(), getV5InputAmountModeDecoder());
|
|
30
|
-
}
|
|
31
|
-
function v5InputAmountMode(kind, data) {
|
|
32
|
-
return Array.isArray(data)
|
|
33
|
-
? { __kind: kind, fields: data }
|
|
34
|
-
: { __kind: kind, ...(data ?? {}) };
|
|
35
|
-
}
|
|
36
|
-
function isV5InputAmountMode(kind, value) {
|
|
37
|
-
return value.__kind === kind;
|
|
38
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
|
|
9
|
-
export declare const DENYLISTED_ACCOUNT_DISCRIMINATOR: Uint8Array;
|
|
10
|
-
export declare function getDenylistedAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
11
|
-
export type DenylistedAccount = {
|
|
12
|
-
discriminator: ReadonlyUint8Array;
|
|
13
|
-
account: Address;
|
|
14
|
-
};
|
|
15
|
-
export type DenylistedAccountArgs = {
|
|
16
|
-
account: Address;
|
|
17
|
-
};
|
|
18
|
-
export declare function getDenylistedAccountEncoder(): Encoder<DenylistedAccountArgs>;
|
|
19
|
-
export declare function getDenylistedAccountDecoder(): Decoder<DenylistedAccount>;
|
|
20
|
-
export declare function getDenylistedAccountCodec(): Codec<DenylistedAccountArgs, DenylistedAccount>;
|
|
21
|
-
export declare function decodeDenylistedAccount<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<DenylistedAccount, TAddress>;
|
|
22
|
-
export declare function decodeDenylistedAccount<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<DenylistedAccount, TAddress>;
|
|
23
|
-
export declare function fetchDenylistedAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<DenylistedAccount, TAddress>>;
|
|
24
|
-
export declare function fetchMaybeDenylistedAccount<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<DenylistedAccount, TAddress>>;
|
|
25
|
-
export declare function fetchAllDenylistedAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<DenylistedAccount>[]>;
|
|
26
|
-
export declare function fetchAllMaybeDenylistedAccount(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<DenylistedAccount>[]>;
|
|
27
|
-
export declare function getDenylistedAccountSize(): number;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.DENYLISTED_ACCOUNT_DISCRIMINATOR = void 0;
|
|
11
|
-
exports.getDenylistedAccountDiscriminatorBytes = getDenylistedAccountDiscriminatorBytes;
|
|
12
|
-
exports.getDenylistedAccountEncoder = getDenylistedAccountEncoder;
|
|
13
|
-
exports.getDenylistedAccountDecoder = getDenylistedAccountDecoder;
|
|
14
|
-
exports.getDenylistedAccountCodec = getDenylistedAccountCodec;
|
|
15
|
-
exports.decodeDenylistedAccount = decodeDenylistedAccount;
|
|
16
|
-
exports.fetchDenylistedAccount = fetchDenylistedAccount;
|
|
17
|
-
exports.fetchMaybeDenylistedAccount = fetchMaybeDenylistedAccount;
|
|
18
|
-
exports.fetchAllDenylistedAccount = fetchAllDenylistedAccount;
|
|
19
|
-
exports.fetchAllMaybeDenylistedAccount = fetchAllMaybeDenylistedAccount;
|
|
20
|
-
exports.getDenylistedAccountSize = getDenylistedAccountSize;
|
|
21
|
-
const kit_1 = require("@solana/kit");
|
|
22
|
-
exports.DENYLISTED_ACCOUNT_DISCRIMINATOR = new Uint8Array([
|
|
23
|
-
186, 58, 212, 239, 102, 131, 157, 146,
|
|
24
|
-
]);
|
|
25
|
-
function getDenylistedAccountDiscriminatorBytes() {
|
|
26
|
-
return (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8).encode(exports.DENYLISTED_ACCOUNT_DISCRIMINATOR);
|
|
27
|
-
}
|
|
28
|
-
function getDenylistedAccountEncoder() {
|
|
29
|
-
return (0, kit_1.transformEncoder)((0, kit_1.getStructEncoder)([
|
|
30
|
-
['discriminator', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8)],
|
|
31
|
-
['account', (0, kit_1.getAddressEncoder)()],
|
|
32
|
-
]), (value) => ({ ...value, discriminator: exports.DENYLISTED_ACCOUNT_DISCRIMINATOR }));
|
|
33
|
-
}
|
|
34
|
-
function getDenylistedAccountDecoder() {
|
|
35
|
-
return (0, kit_1.getStructDecoder)([
|
|
36
|
-
['discriminator', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 8)],
|
|
37
|
-
['account', (0, kit_1.getAddressDecoder)()],
|
|
38
|
-
]);
|
|
39
|
-
}
|
|
40
|
-
function getDenylistedAccountCodec() {
|
|
41
|
-
return (0, kit_1.combineCodec)(getDenylistedAccountEncoder(), getDenylistedAccountDecoder());
|
|
42
|
-
}
|
|
43
|
-
function decodeDenylistedAccount(encodedAccount) {
|
|
44
|
-
return (0, kit_1.decodeAccount)(encodedAccount, getDenylistedAccountDecoder());
|
|
45
|
-
}
|
|
46
|
-
async function fetchDenylistedAccount(rpc, address, config) {
|
|
47
|
-
const maybeAccount = await fetchMaybeDenylistedAccount(rpc, address, config);
|
|
48
|
-
(0, kit_1.assertAccountExists)(maybeAccount);
|
|
49
|
-
return maybeAccount;
|
|
50
|
-
}
|
|
51
|
-
async function fetchMaybeDenylistedAccount(rpc, address, config) {
|
|
52
|
-
const maybeAccount = await (0, kit_1.fetchEncodedAccount)(rpc, address, config);
|
|
53
|
-
return decodeDenylistedAccount(maybeAccount);
|
|
54
|
-
}
|
|
55
|
-
async function fetchAllDenylistedAccount(rpc, addresses, config) {
|
|
56
|
-
const maybeAccounts = await fetchAllMaybeDenylistedAccount(rpc, addresses, config);
|
|
57
|
-
(0, kit_1.assertAccountsExist)(maybeAccounts);
|
|
58
|
-
return maybeAccounts;
|
|
59
|
-
}
|
|
60
|
-
async function fetchAllMaybeDenylistedAccount(rpc, addresses, config) {
|
|
61
|
-
const maybeAccounts = await (0, kit_1.fetchEncodedAccounts)(rpc, addresses, config);
|
|
62
|
-
return maybeAccounts.map((maybeAccount) => decodeDenylistedAccount(maybeAccount));
|
|
63
|
-
}
|
|
64
|
-
function getDenylistedAccountSize() {
|
|
65
|
-
return 40;
|
|
66
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
export * from './denylistedAccount';
|
|
9
|
-
export * from './localToken';
|
|
10
|
-
export * from './messageTransmitter';
|
|
11
|
-
export * from './remoteTokenMessenger';
|
|
12
|
-
export * from './tokenMessenger';
|
|
13
|
-
export * from './tokenMinter';
|
|
14
|
-
export * from './tokenPair';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This code was AUTOGENERATED using the codama library.
|
|
4
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
-
* to add features, then rerun codama to update it.
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/codama-idl/codama
|
|
8
|
-
*/
|
|
9
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
-
}
|
|
15
|
-
Object.defineProperty(o, k2, desc);
|
|
16
|
-
}) : (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
o[k2] = m[k];
|
|
19
|
-
}));
|
|
20
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
21
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
|
-
};
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
__exportStar(require("./denylistedAccount"), exports);
|
|
25
|
-
__exportStar(require("./localToken"), exports);
|
|
26
|
-
__exportStar(require("./messageTransmitter"), exports);
|
|
27
|
-
__exportStar(require("./remoteTokenMessenger"), exports);
|
|
28
|
-
__exportStar(require("./tokenMessenger"), exports);
|
|
29
|
-
__exportStar(require("./tokenMinter"), exports);
|
|
30
|
-
__exportStar(require("./tokenPair"), exports);
|