@across-protocol/contracts 6.0.0-beta.5 → 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.
Files changed (657) hide show
  1. package/README.md +59 -9
  2. package/dist/broadcast/deployed-addresses.json +63 -63
  3. package/dist/evm/artifacts/AcrossConfigStore.sol/AcrossConfigStore.json +1 -1
  4. package/dist/evm/artifacts/AcrossEventEmitter.sol/AcrossEventEmitter.json +1 -1
  5. package/dist/evm/artifacts/AcrossMerkleDistributor.sol/AcrossMerkleDistributor.json +1 -1
  6. package/dist/evm/artifacts/AcrossMessageHandlerMock.sol/AcrossMessageHandlerMock.json +1 -1
  7. package/dist/evm/artifacts/AdapterStore.sol/AdapterStore.json +1 -1
  8. package/dist/evm/artifacts/AdapterStore.sol/MessengerTypes.json +1 -1
  9. package/dist/evm/artifacts/Address.sol/Address.json +1 -1
  10. package/dist/evm/artifacts/AddressConverters.sol/Bytes32ToAddress.json +1 -1
  11. package/dist/evm/artifacts/AdminRelayTokensAdapter.sol/AdminRelayTokensAdapter.json +1 -1
  12. package/dist/evm/artifacts/AdminWithdrawManager.sol/AdminWithdrawManager.json +1 -1
  13. package/dist/evm/artifacts/ArbitrumMocks.sol/ArbitrumMockErc20GatewayRouter.json +1 -1
  14. package/dist/evm/artifacts/ArbitrumMocks.sol/Inbox.json +1 -1
  15. package/dist/evm/artifacts/ArbitrumMocks.sol/L2GatewayRouter.json +1 -1
  16. package/dist/evm/artifacts/Arbitrum_Adapter.sol/Arbitrum_Adapter.json +1 -1
  17. package/dist/evm/artifacts/Arbitrum_CustomGasToken_Adapter.sol/Arbitrum_CustomGasToken_Adapter.json +1 -1
  18. package/dist/evm/artifacts/Arbitrum_Forwarder.sol/Arbitrum_Forwarder.json +1 -1
  19. package/dist/evm/artifacts/Arbitrum_RescueAdapter.sol/Arbitrum_RescueAdapter.json +1 -1
  20. package/dist/evm/artifacts/Arbitrum_SendTokensAdapter.sol/Arbitrum_SendTokensAdapter.json +1 -1
  21. package/dist/evm/artifacts/Arbitrum_SpokePool.sol/Arbitrum_SpokePool.json +1 -1
  22. package/dist/evm/artifacts/Arbitrum_WithdrawalHelper.sol/Arbitrum_WithdrawalHelper.json +1 -1
  23. package/dist/evm/artifacts/Base_Adapter.sol/Base_Adapter.json +1 -1
  24. package/dist/evm/artifacts/BeaconProxy.sol/BeaconProxy.json +1 -1
  25. package/dist/evm/artifacts/BondToken.sol/BondToken.json +1 -1
  26. package/dist/evm/artifacts/BytesLib.sol/BytesLib.json +1 -1
  27. package/dist/evm/artifacts/Cher_SpokePool.sol/Cher_SpokePool.json +1 -1
  28. package/dist/evm/artifacts/CircleCCTPAdapter.sol/CircleDomainIds.json +1 -1
  29. package/dist/evm/artifacts/Constants.sol/Constants.json +1 -1
  30. package/dist/evm/artifacts/Constants.sol/OptimisticOracleConstraints.json +1 -1
  31. package/dist/evm/artifacts/Constants.sol/OracleInterfaces.json +1 -1
  32. package/dist/evm/artifacts/CoreExecution.sol/CoreExecution.json +1 -1
  33. package/dist/evm/artifacts/CoreSimulatorLib.sol/HypeSystemContract.json +1 -1
  34. package/dist/evm/artifacts/CoreState.sol/CoreState.json +1 -1
  35. package/dist/evm/artifacts/CoreView.sol/CoreView.json +1 -1
  36. package/dist/evm/artifacts/CoreWriterLib.sol/CoreWriterLib.json +1 -1
  37. package/dist/evm/artifacts/CoreWriterSim.sol/CoreWriterSim.json +1 -1
  38. package/dist/evm/artifacts/CounterfactualBeacon.sol/CounterfactualBeacon.json +1 -1
  39. package/dist/evm/artifacts/CounterfactualBeaconBootstrap.sol/CounterfactualBeaconBootstrap.json +1 -1
  40. package/dist/evm/artifacts/CounterfactualDeposit.sol/CounterfactualDeposit.json +1 -1
  41. package/dist/evm/artifacts/CounterfactualDepositCCTP.sol/CounterfactualDepositCCTP.json +1 -1
  42. package/dist/evm/artifacts/CounterfactualDepositFactory.sol/CounterfactualDepositFactory.json +1 -1
  43. package/dist/evm/artifacts/CounterfactualDepositFactoryTron.sol/CounterfactualDepositFactoryTron.json +1 -1
  44. package/dist/evm/artifacts/CounterfactualDepositOFT.sol/CounterfactualDepositOFT.json +1 -1
  45. package/dist/evm/artifacts/CounterfactualDepositSpokePool.sol/CounterfactualDepositSpokePool.json +1 -1
  46. package/dist/evm/artifacts/CounterfactualDepositSpokePoolTr.sol/CounterfactualDepositSpokePoolTr.json +1 -1
  47. package/dist/evm/artifacts/CounterfactualDepositVanillaCCTP.sol/CounterfactualDepositVanillaCCTP.json +1 -1
  48. package/dist/evm/artifacts/Create2.sol/Create2.json +1 -1
  49. package/dist/evm/artifacts/CrossDomainEnabled.sol/CrossDomainEnabled.json +1 -1
  50. package/dist/evm/artifacts/DeployedAddresses.sol/DeployedAddresses.json +1 -1
  51. package/dist/evm/artifacts/DeploymentUtils.sol/DeploymentUtils.json +1 -1
  52. package/dist/evm/artifacts/DoctorWho_Adapter.sol/DoctorWho_Adapter.json +1 -1
  53. package/dist/evm/artifacts/DonationBox.sol/DonationBox.json +1 -1
  54. package/dist/evm/artifacts/DstOFTHandler.sol/DstOFTHandler.json +1 -1
  55. package/dist/evm/artifacts/ECDSA.sol/ECDSA.json +1 -1
  56. package/dist/evm/artifacts/ERC1155.sol/ERC1155.json +1 -1
  57. package/dist/evm/artifacts/ERC1967Proxy.sol/ERC1967Proxy.json +1 -1
  58. package/dist/evm/artifacts/ERC1967Utils.sol/ERC1967Utils.json +1 -1
  59. package/dist/evm/artifacts/ERC20.sol/ERC20.json +1 -1
  60. package/dist/evm/artifacts/Errors.sol/Errors.json +1 -1
  61. package/dist/evm/artifacts/Ethereum_Adapter.sol/Ethereum_Adapter.json +1 -1
  62. package/dist/evm/artifacts/Ethereum_RescueAdapter.sol/Ethereum_RescueAdapter.json +1 -1
  63. package/dist/evm/artifacts/Ethereum_SpokePool.sol/Ethereum_SpokePool.json +1 -1
  64. package/dist/evm/artifacts/ExpandedERC20.sol/ExpandedERC20.json +1 -1
  65. package/dist/evm/artifacts/ExpandedERC20WithBlacklist.sol/ExpandedERC20WithBlacklist.json +1 -1
  66. package/dist/evm/artifacts/HLConstants.sol/HLConstants.json +1 -1
  67. package/dist/evm/artifacts/HLConversions.sol/HLConversions.json +1 -1
  68. package/dist/evm/artifacts/HubPool.sol/HubPool.json +1 -1
  69. package/dist/evm/artifacts/HubPoolStore.sol/HubPoolStore.json +1 -1
  70. package/dist/evm/artifacts/HubPoolTestBase.sol/MockAddressWhitelist.json +1 -1
  71. package/dist/evm/artifacts/HubPoolTestBase.sol/MockFinder.json +1 -1
  72. package/dist/evm/artifacts/HubPoolTestBase.sol/MockIdentifierWhitelist.json +1 -1
  73. package/dist/evm/artifacts/HubPoolTestBase.sol/MockLpTokenFactory.json +1 -1
  74. package/dist/evm/artifacts/HubPoolTestBase.sol/MockOptimisticOracle.json +1 -1
  75. package/dist/evm/artifacts/HubPoolTestBase.sol/MockStore.json +1 -1
  76. package/dist/evm/artifacts/HyperCore.sol/HyperCore.json +1 -1
  77. package/dist/evm/artifacts/HyperCoreFlowExecutor.sol/HyperCoreFlowExecutor.json +1 -1
  78. package/dist/evm/artifacts/HyperCoreLib.sol/HyperCoreLib.json +1 -1
  79. package/dist/evm/artifacts/HyperliquidDepositHandler.sol/HyperliquidDepositHandler.json +1 -1
  80. package/dist/evm/artifacts/Lens_SpokePool.sol/Lens_SpokePool.json +1 -1
  81. package/dist/evm/artifacts/LibVariable.sol/LibVariable.json +1 -1
  82. package/dist/evm/artifacts/LineaMocks.sol/MockL2MessageService.json +1 -1
  83. package/dist/evm/artifacts/LineaMocks.sol/MockL2TokenBridge.json +1 -1
  84. package/dist/evm/artifacts/Linea_Adapter.sol/Linea_Adapter.json +1 -1
  85. package/dist/evm/artifacts/Linea_SpokePool.sol/Linea_SpokePool.json +1 -1
  86. package/dist/evm/artifacts/Lisk_Adapter.sol/Lisk_Adapter.json +1 -1
  87. package/dist/evm/artifacts/Lisk_SpokePool.sol/Lisk_SpokePool.json +1 -1
  88. package/dist/evm/artifacts/Lockable.sol/Lockable.json +1 -1
  89. package/dist/evm/artifacts/LpTokenFactory.sol/LpTokenFactory.json +1 -1
  90. package/dist/evm/artifacts/Merkle.sol/Merkle.json +1 -1
  91. package/dist/evm/artifacts/MerkleDistributor.sol/MerkleDistributor.json +1 -1
  92. package/dist/evm/artifacts/MerkleLibTest.sol/MerkleLibTest.json +1 -1
  93. package/dist/evm/artifacts/MerkleProof.sol/MerkleProof.json +1 -1
  94. package/dist/evm/artifacts/MinimalLZOptions.sol/MinimalLZOptions.json +1 -1
  95. package/dist/evm/artifacts/MintableERC1155.sol/MintableERC1155.json +1 -1
  96. package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockCrossDomainMessenger.json +1 -1
  97. package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockL1StandardBridge.json +1 -1
  98. package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockL2StandardBridge.json +1 -1
  99. package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessageTransmitter.json +1 -1
  100. package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessageTransmitterV2.json +1 -1
  101. package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessenger.json +1 -1
  102. package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMessengerV2.json +1 -1
  103. package/dist/evm/artifacts/MockCCTP.sol/MockCCTPMinter.json +1 -1
  104. package/dist/evm/artifacts/MockCaller.sol/MockCaller.json +1 -1
  105. package/dist/evm/artifacts/MockERC1271.sol/MockERC1271.json +1 -1
  106. package/dist/evm/artifacts/MockERC20.sol/MintableERC20.json +1 -1
  107. package/dist/evm/artifacts/MockERC20.sol/MockERC20.json +1 -1
  108. package/dist/evm/artifacts/MockEndpoint.sol/MockEndpoint.json +1 -1
  109. package/dist/evm/artifacts/MockGateway.sol/MockGateway.json +1 -1
  110. package/dist/evm/artifacts/MockHubPool.sol/MockHubPool.json +1 -1
  111. package/dist/evm/artifacts/MockOFTMessenger.sol/MockOFTMessenger.json +1 -1
  112. package/dist/evm/artifacts/MockPermit2.sol/MockPermit2.json +1 -1
  113. package/dist/evm/artifacts/MockPermit2.sol/Permit2EIP712.json +1 -1
  114. package/dist/evm/artifacts/MockPermit2.sol/SignatureVerification.json +1 -1
  115. package/dist/evm/artifacts/MockSpokePool.sol/MockSpokePool.json +1 -1
  116. package/dist/evm/artifacts/MockSpokePoolV2.sol/MockSpokePoolV2.json +1 -1
  117. package/dist/evm/artifacts/MockTronUSDT.sol/MockTronUSDT.json +1 -1
  118. package/dist/evm/artifacts/MockZkStackBridgeHub.sol/MockBridgeHub.json +1 -1
  119. package/dist/evm/artifacts/Mock_Adapter.sol/Mock_Adapter.json +1 -1
  120. package/dist/evm/artifacts/Mock_Adapter.sol/Mock_Bridge.json +1 -1
  121. package/dist/evm/artifacts/Mode_Adapter.sol/Mode_Adapter.json +1 -1
  122. package/dist/evm/artifacts/MultiCaller.sol/MultiCaller.json +1 -1
  123. package/dist/evm/artifacts/MultiCallerUpgradeable.sol/MultiCallerUpgradeable.json +1 -1
  124. package/dist/evm/artifacts/Multicall3.sol/Multicall3.json +1 -1
  125. package/dist/evm/artifacts/MulticallHandler.sol/MulticallHandler.json +1 -1
  126. package/dist/evm/artifacts/OFTTransportAdapter.sol/OFTTransportAdapter.json +1 -1
  127. package/dist/evm/artifacts/OFTTransportAdapterWithStore.sol/OFTTransportAdapterWithStore.json +1 -1
  128. package/dist/evm/artifacts/OP_Adapter.sol/OP_Adapter.json +1 -1
  129. package/dist/evm/artifacts/OP_SpokePool.sol/OP_SpokePool.json +1 -1
  130. package/dist/evm/artifacts/Ovm_Forwarder.sol/Ovm_Forwarder.json +1 -1
  131. package/dist/evm/artifacts/Ovm_SpokePool.sol/Ovm_SpokePool.json +1 -1
  132. package/dist/evm/artifacts/Ovm_WithdrawalHelper.sol/Ovm_WithdrawalHelper.json +1 -1
  133. package/dist/evm/artifacts/PeripherySigningLib.sol/PeripherySigningLib.json +1 -1
  134. package/dist/evm/artifacts/PermissionedMulticallHandler.sol/PermissionedMulticallHandler.json +1 -1
  135. package/dist/evm/artifacts/PolygonERC20Test.sol/PolygonERC20Test.json +1 -1
  136. package/dist/evm/artifacts/PolygonMocks.sol/DepositManagerMock.json +1 -1
  137. package/dist/evm/artifacts/PolygonMocks.sol/FxStateSenderMock.json +1 -1
  138. package/dist/evm/artifacts/PolygonMocks.sol/PolygonERC20Mock.json +1 -1
  139. package/dist/evm/artifacts/PolygonMocks.sol/PolygonERC20PredicateMock.json +1 -1
  140. package/dist/evm/artifacts/PolygonMocks.sol/PolygonRegistryMock.json +1 -1
  141. package/dist/evm/artifacts/PolygonMocks.sol/RootChainManagerMock.json +1 -1
  142. package/dist/evm/artifacts/PolygonTokenBridger.sol/PolygonTokenBridger.json +1 -1
  143. package/dist/evm/artifacts/Polygon_Adapter.sol/Polygon_Adapter.json +1 -1
  144. package/dist/evm/artifacts/Polygon_SpokePool.sol/Polygon_SpokePool.json +1 -1
  145. package/dist/evm/artifacts/PrecompileLib.sol/PrecompileLib.json +1 -1
  146. package/dist/evm/artifacts/PrecompileSim.sol/PrecompileSim.json +1 -1
  147. package/dist/evm/artifacts/ProxyAdmin.sol/ProxyAdmin.json +1 -1
  148. package/dist/evm/artifacts/Router_Adapter.sol/Router_Adapter.json +1 -1
  149. package/dist/evm/artifacts/SP1AutoVerifier.sol/SP1AutoVerifier.json +1 -1
  150. package/dist/evm/artifacts/SP1Helios.sol/SP1Helios.json +1 -1
  151. package/dist/evm/artifacts/SP1MockVerifier.sol/SP1MockVerifier.json +1 -1
  152. package/dist/evm/artifacts/SafeCast.sol/SafeCast.json +1 -1
  153. package/dist/evm/artifacts/SafeERC20.sol/SafeERC20.json +1 -1
  154. package/dist/evm/artifacts/ShortStrings.sol/ShortStrings.json +1 -1
  155. package/dist/evm/artifacts/Solana_Adapter.sol/Solana_Adapter.json +1 -1
  156. package/dist/evm/artifacts/SpokePoolPeriphery.sol/SpokePoolPeriphery.json +1 -1
  157. package/dist/evm/artifacts/SpokePoolPeriphery.sol/SwapProxy.json +1 -1
  158. package/dist/evm/artifacts/SpokePoolVerifier.sol/SpokePoolVerifier.json +1 -1
  159. package/dist/evm/artifacts/SponsoredCCTPDstPeriphery.sol/SponsoredCCTPDstPeriphery.json +1 -1
  160. package/dist/evm/artifacts/SponsoredCCTPSrcPeriphery.sol/SponsoredCCTPSrcPeriphery.json +1 -1
  161. package/dist/evm/artifacts/SponsoredOFTSrcPeriphery.sol/SponsoredOFTSrcPeriphery.json +1 -1
  162. package/dist/evm/artifacts/StdConfig.sol/StdConfig.json +1 -1
  163. package/dist/evm/artifacts/Strings.sol/Strings.json +1 -1
  164. package/dist/evm/artifacts/SwapHandler.sol/SwapHandler.json +1 -1
  165. package/dist/evm/artifacts/Timer.sol/Timer.json +1 -1
  166. package/dist/evm/artifacts/TransferProxy.sol/TransferProxy.json +1 -1
  167. package/dist/evm/artifacts/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +1 -1
  168. package/dist/evm/artifacts/TronMulticallHandler.sol/TronMulticallHandler.json +1 -1
  169. package/dist/evm/artifacts/TronTransferLib.sol/TronTransferLib.json +1 -1
  170. package/dist/evm/artifacts/Tron_SpokePool.sol/Tron_SpokePool.json +1 -1
  171. package/dist/evm/artifacts/Tron_SpokePoolPeriphery.sol/Tron_SpokePoolPeriphery.json +1 -1
  172. package/dist/evm/artifacts/Tron_SpokePoolPeriphery.sol/Tron_SwapProxy.json +1 -1
  173. package/dist/evm/artifacts/Universal_Adapter.sol/Universal_Adapter.json +1 -1
  174. package/dist/evm/artifacts/Universal_SpokePool.sol/Universal_SpokePool.json +1 -1
  175. package/dist/evm/artifacts/UpgradeableBeacon.sol/UpgradeableBeacon.json +1 -1
  176. package/dist/evm/artifacts/WETH9.sol/WETH9.json +1 -1
  177. package/dist/evm/artifacts/WithdrawImplementation.sol/WithdrawImplementation.json +1 -1
  178. package/dist/evm/artifacts/WithdrawImplementationTron.sol/WithdrawImplementationTron.json +1 -1
  179. package/dist/evm/artifacts/ZkStack_Adapter.sol/ZkStack_Adapter.json +1 -1
  180. package/dist/evm/artifacts/ZkStack_CustomGasToken_Adapter.sol/ZkStack_CustomGasToken_Adapter.json +1 -1
  181. package/dist/evm/artifacts/ZkSyncMocks.sol/MockL2Eth.json +1 -1
  182. package/dist/evm/artifacts/ZkSyncMocks.sol/MockZkBridge.json +1 -1
  183. package/dist/evm/artifacts/ZkSync_SpokePool.sol/ZkSync_SpokePool.json +1 -1
  184. package/dist/evm/artifacts/Zora_Adapter.sol/Zora_Adapter.json +1 -1
  185. package/dist/evm/artifacts/eraVM_EIP7702.sol/SimpleContract.json +1 -1
  186. package/dist/evm/artifacts/eraVM_EIP7702.sol/SpokePoolEIP7702Test.json +1 -1
  187. package/dist/evm/artifacts/eraVM_EIP7702.sol/TestableMockSpokePool.json +1 -1
  188. package/dist/index.d.ts +0 -1
  189. package/dist/index.js +0 -1
  190. package/dist/src/DeploymentUtils.d.ts +1 -1
  191. package/dist/utils/MerkleTree.js +3 -4
  192. package/package.json +102 -50
  193. package/dist/src/consts.d.ts +0 -51
  194. package/dist/src/consts.js +0 -342
  195. package/dist/src/svm/assets/idl/index.d.ts +0 -5
  196. package/dist/src/svm/assets/idl/index.js +0 -9
  197. package/dist/src/svm/assets/idl/message_transmitter_v2.json +0 -1863
  198. package/dist/src/svm/assets/idl/multicall_handler.json +0 -31
  199. package/dist/src/svm/assets/idl/sponsored_cctp_src_periphery.json +0 -1982
  200. package/dist/src/svm/assets/idl/svm_spoke.json +0 -3947
  201. package/dist/src/svm/assets/idl/token_messenger_minter_v2.json +0 -4441
  202. package/dist/src/svm/assets/index.d.ts +0 -6
  203. package/dist/src/svm/assets/index.js +0 -18
  204. package/dist/src/svm/assets/message_transmitter_v2.d.ts +0 -1869
  205. package/dist/src/svm/assets/message_transmitter_v2.js +0 -2
  206. package/dist/src/svm/assets/multicall_handler.d.ts +0 -37
  207. package/dist/src/svm/assets/multicall_handler.js +0 -2
  208. package/dist/src/svm/assets/sponsored_cctp_src_periphery.d.ts +0 -1988
  209. package/dist/src/svm/assets/sponsored_cctp_src_periphery.js +0 -2
  210. package/dist/src/svm/assets/svm_spoke.d.ts +0 -3953
  211. package/dist/src/svm/assets/svm_spoke.js +0 -2
  212. package/dist/src/svm/assets/token_messenger_minter_v2.d.ts +0 -4447
  213. package/dist/src/svm/assets/token_messenger_minter_v2.js +0 -2
  214. package/dist/src/svm/clients/MessageTransmitterV2/accounts/index.d.ts +0 -10
  215. package/dist/src/svm/clients/MessageTransmitterV2/accounts/index.js +0 -26
  216. package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageSent.d.ts +0 -30
  217. package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageSent.js +0 -66
  218. package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageTransmitter.d.ts +0 -44
  219. package/dist/src/svm/clients/MessageTransmitterV2/accounts/messageTransmitter.js +0 -80
  220. package/dist/src/svm/clients/MessageTransmitterV2/accounts/usedNonce.d.ts +0 -27
  221. package/dist/src/svm/clients/MessageTransmitterV2/accounts/usedNonce.js +0 -66
  222. package/dist/src/svm/clients/MessageTransmitterV2/errors/index.d.ts +0 -8
  223. package/dist/src/svm/clients/MessageTransmitterV2/errors/index.js +0 -24
  224. package/dist/src/svm/clients/MessageTransmitterV2/errors/messageTransmitterV2.d.ts +0 -89
  225. package/dist/src/svm/clients/MessageTransmitterV2/errors/messageTransmitterV2.js +0 -133
  226. package/dist/src/svm/clients/MessageTransmitterV2/index.d.ts +0 -12
  227. package/dist/src/svm/clients/MessageTransmitterV2/index.js +0 -28
  228. package/dist/src/svm/clients/MessageTransmitterV2/instructions/acceptOwnership.d.ts +0 -54
  229. package/dist/src/svm/clients/MessageTransmitterV2/instructions/acceptOwnership.js +0 -125
  230. package/dist/src/svm/clients/MessageTransmitterV2/instructions/disableAttester.d.ts +0 -67
  231. package/dist/src/svm/clients/MessageTransmitterV2/instructions/disableAttester.js +0 -158
  232. package/dist/src/svm/clients/MessageTransmitterV2/instructions/enableAttester.d.ts +0 -67
  233. package/dist/src/svm/clients/MessageTransmitterV2/instructions/enableAttester.js +0 -158
  234. package/dist/src/svm/clients/MessageTransmitterV2/instructions/index.d.ts +0 -22
  235. package/dist/src/svm/clients/MessageTransmitterV2/instructions/index.js +0 -38
  236. package/dist/src/svm/clients/MessageTransmitterV2/instructions/initialize.d.ts +0 -87
  237. package/dist/src/svm/clients/MessageTransmitterV2/instructions/initialize.js +0 -205
  238. package/dist/src/svm/clients/MessageTransmitterV2/instructions/isNonceUsed.d.ts +0 -38
  239. package/dist/src/svm/clients/MessageTransmitterV2/instructions/isNonceUsed.js +0 -71
  240. package/dist/src/svm/clients/MessageTransmitterV2/instructions/pause.d.ts +0 -54
  241. package/dist/src/svm/clients/MessageTransmitterV2/instructions/pause.js +0 -125
  242. package/dist/src/svm/clients/MessageTransmitterV2/instructions/receiveMessage.d.ts +0 -86
  243. package/dist/src/svm/clients/MessageTransmitterV2/instructions/receiveMessage.js +0 -182
  244. package/dist/src/svm/clients/MessageTransmitterV2/instructions/reclaimEventAccount.d.ts +0 -51
  245. package/dist/src/svm/clients/MessageTransmitterV2/instructions/reclaimEventAccount.js +0 -102
  246. package/dist/src/svm/clients/MessageTransmitterV2/instructions/sendMessage.d.ts +0 -67
  247. package/dist/src/svm/clients/MessageTransmitterV2/instructions/sendMessage.js +0 -116
  248. package/dist/src/svm/clients/MessageTransmitterV2/instructions/setMaxMessageBodySize.d.ts +0 -59
  249. package/dist/src/svm/clients/MessageTransmitterV2/instructions/setMaxMessageBodySize.js +0 -136
  250. package/dist/src/svm/clients/MessageTransmitterV2/instructions/setSignatureThreshold.d.ts +0 -59
  251. package/dist/src/svm/clients/MessageTransmitterV2/instructions/setSignatureThreshold.js +0 -142
  252. package/dist/src/svm/clients/MessageTransmitterV2/instructions/transferOwnership.d.ts +0 -59
  253. package/dist/src/svm/clients/MessageTransmitterV2/instructions/transferOwnership.js +0 -133
  254. package/dist/src/svm/clients/MessageTransmitterV2/instructions/unpause.d.ts +0 -54
  255. package/dist/src/svm/clients/MessageTransmitterV2/instructions/unpause.js +0 -125
  256. package/dist/src/svm/clients/MessageTransmitterV2/instructions/updateAttesterManager.d.ts +0 -59
  257. package/dist/src/svm/clients/MessageTransmitterV2/instructions/updateAttesterManager.js +0 -136
  258. package/dist/src/svm/clients/MessageTransmitterV2/instructions/updatePauser.d.ts +0 -59
  259. package/dist/src/svm/clients/MessageTransmitterV2/instructions/updatePauser.js +0 -133
  260. package/dist/src/svm/clients/MessageTransmitterV2/programs/index.d.ts +0 -8
  261. package/dist/src/svm/clients/MessageTransmitterV2/programs/index.js +0 -24
  262. package/dist/src/svm/clients/MessageTransmitterV2/programs/messageTransmitterV2.d.ts +0 -69
  263. package/dist/src/svm/clients/MessageTransmitterV2/programs/messageTransmitterV2.js +0 -100
  264. package/dist/src/svm/clients/MessageTransmitterV2/shared/index.d.ts +0 -49
  265. package/dist/src/svm/clients/MessageTransmitterV2/shared/index.js +0 -94
  266. package/dist/src/svm/clients/MessageTransmitterV2/types/attesterDisabled.d.ts +0 -15
  267. package/dist/src/svm/clients/MessageTransmitterV2/types/attesterDisabled.js +0 -22
  268. package/dist/src/svm/clients/MessageTransmitterV2/types/attesterEnabled.d.ts +0 -15
  269. package/dist/src/svm/clients/MessageTransmitterV2/types/attesterEnabled.js +0 -22
  270. package/dist/src/svm/clients/MessageTransmitterV2/types/attesterManagerUpdated.d.ts +0 -16
  271. package/dist/src/svm/clients/MessageTransmitterV2/types/attesterManagerUpdated.js +0 -28
  272. package/dist/src/svm/clients/MessageTransmitterV2/types/index.d.ts +0 -18
  273. package/dist/src/svm/clients/MessageTransmitterV2/types/index.js +0 -34
  274. package/dist/src/svm/clients/MessageTransmitterV2/types/maxMessageBodySizeUpdated.d.ts +0 -17
  275. package/dist/src/svm/clients/MessageTransmitterV2/types/maxMessageBodySizeUpdated.js +0 -22
  276. package/dist/src/svm/clients/MessageTransmitterV2/types/messageReceived.d.ts +0 -20
  277. package/dist/src/svm/clients/MessageTransmitterV2/types/messageReceived.js +0 -36
  278. package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferStarted.d.ts +0 -16
  279. package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferStarted.js +0 -28
  280. package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferred.d.ts +0 -16
  281. package/dist/src/svm/clients/MessageTransmitterV2/types/ownershipTransferred.js +0 -28
  282. package/dist/src/svm/clients/MessageTransmitterV2/types/pause.d.ts +0 -13
  283. package/dist/src/svm/clients/MessageTransmitterV2/types/pause.js +0 -22
  284. package/dist/src/svm/clients/MessageTransmitterV2/types/pauserChanged.d.ts +0 -15
  285. package/dist/src/svm/clients/MessageTransmitterV2/types/pauserChanged.js +0 -22
  286. package/dist/src/svm/clients/MessageTransmitterV2/types/signatureThresholdUpdated.d.ts +0 -16
  287. package/dist/src/svm/clients/MessageTransmitterV2/types/signatureThresholdUpdated.js +0 -28
  288. package/dist/src/svm/clients/MessageTransmitterV2/types/unpause.d.ts +0 -13
  289. package/dist/src/svm/clients/MessageTransmitterV2/types/unpause.js +0 -22
  290. package/dist/src/svm/clients/MulticallHandler/index.d.ts +0 -9
  291. package/dist/src/svm/clients/MulticallHandler/index.js +0 -25
  292. package/dist/src/svm/clients/MulticallHandler/instructions/handleV3AcrossMessage.d.ts +0 -33
  293. package/dist/src/svm/clients/MulticallHandler/instructions/handleV3AcrossMessage.js +0 -59
  294. package/dist/src/svm/clients/MulticallHandler/instructions/index.d.ts +0 -8
  295. package/dist/src/svm/clients/MulticallHandler/instructions/index.js +0 -24
  296. package/dist/src/svm/clients/MulticallHandler/programs/index.d.ts +0 -8
  297. package/dist/src/svm/clients/MulticallHandler/programs/index.js +0 -24
  298. package/dist/src/svm/clients/MulticallHandler/programs/multicallHandler.d.ts +0 -19
  299. package/dist/src/svm/clients/MulticallHandler/programs/multicallHandler.js +0 -24
  300. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/index.d.ts +0 -11
  301. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/index.js +0 -27
  302. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/minimumDeposit.d.ts +0 -29
  303. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/minimumDeposit.js +0 -68
  304. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/rentClaim.d.ts +0 -27
  305. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/rentClaim.js +0 -66
  306. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/state.d.ts +0 -31
  307. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/state.js +0 -70
  308. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/usedNonce.d.ts +0 -27
  309. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/accounts/usedNonce.js +0 -66
  310. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/index.d.ts +0 -8
  311. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/index.js +0 -24
  312. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/sponsoredCctpSrcPeriphery.d.ts +0 -53
  313. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/errors/sponsoredCctpSrcPeriphery.js +0 -79
  314. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/index.d.ts +0 -12
  315. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/index.js +0 -28
  316. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/depositForBurn.d.ts +0 -140
  317. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/depositForBurn.js +0 -365
  318. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/getUsedNonceCloseInfo.d.ts +0 -52
  319. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/getUsedNonceCloseInfo.js +0 -118
  320. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/index.d.ts +0 -17
  321. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/index.js +0 -33
  322. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/initialize.d.ts +0 -67
  323. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/initialize.js +0 -148
  324. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimEventAccount.d.ts +0 -83
  325. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimEventAccount.js +0 -183
  326. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimUsedNonceAccount.d.ts +0 -64
  327. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/reclaimUsedNonceAccount.js +0 -152
  328. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/repayRentFundDebt.d.ts +0 -62
  329. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/repayRentFundDebt.js +0 -155
  330. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setCurrentTime.d.ts +0 -51
  331. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setCurrentTime.js +0 -108
  332. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setMinimumDepositAmount.d.ts +0 -67
  333. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setMinimumDepositAmount.js +0 -158
  334. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setSigner.d.ts +0 -59
  335. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/setSigner.js +0 -133
  336. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/withdrawRentFund.d.ts +0 -67
  337. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/instructions/withdrawRentFund.js +0 -151
  338. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/index.d.ts +0 -8
  339. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/index.js +0 -24
  340. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/sponsoredCctpSrcPeriphery.d.ts +0 -55
  341. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/programs/sponsoredCctpSrcPeriphery.js +0 -84
  342. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/shared/index.d.ts +0 -49
  343. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/shared/index.js +0 -94
  344. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/accruedRentFundLiability.d.ts +0 -21
  345. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/accruedRentFundLiability.js +0 -30
  346. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/createdEventAccount.d.ts +0 -15
  347. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/createdEventAccount.js +0 -22
  348. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/index.d.ts +0 -20
  349. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/index.js +0 -36
  350. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/messageSent.d.ts +0 -21
  351. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/messageSent.js +0 -30
  352. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/minimumDepositAmountSet.d.ts +0 -19
  353. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/minimumDepositAmountSet.js +0 -28
  354. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedEventAccount.d.ts +0 -15
  355. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedEventAccount.js +0 -22
  356. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedUsedNonceAccount.d.ts +0 -16
  357. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/reclaimedUsedNonceAccount.js +0 -28
  358. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/repaidRentFundDebt.d.ts +0 -21
  359. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/repaidRentFundDebt.js +0 -30
  360. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/signerSet.d.ts +0 -16
  361. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/signerSet.js +0 -28
  362. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredCCTPQuote.d.ts +0 -51
  363. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredCCTPQuote.js +0 -60
  364. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredDepositForBurn.d.ts +0 -35
  365. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/sponsoredDepositForBurn.js +0 -44
  366. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceAccountParams.d.ts +0 -15
  367. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceAccountParams.js +0 -22
  368. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceCloseInfo.d.ts +0 -19
  369. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/usedNonceCloseInfo.js +0 -28
  370. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/withdrawnRentFund.d.ts +0 -19
  371. package/dist/src/svm/clients/SponsoredCctpSrcPeriphery/types/withdrawnRentFund.js +0 -28
  372. package/dist/src/svm/clients/SvmSpoke/accounts/claimAccount.d.ts +0 -29
  373. package/dist/src/svm/clients/SvmSpoke/accounts/claimAccount.js +0 -68
  374. package/dist/src/svm/clients/SvmSpoke/accounts/executeRelayerRefundLeafParams.d.ts +0 -31
  375. package/dist/src/svm/clients/SvmSpoke/accounts/executeRelayerRefundLeafParams.js +0 -70
  376. package/dist/src/svm/clients/SvmSpoke/accounts/fillStatusAccount.d.ts +0 -32
  377. package/dist/src/svm/clients/SvmSpoke/accounts/fillStatusAccount.js +0 -71
  378. package/dist/src/svm/clients/SvmSpoke/accounts/index.d.ts +0 -12
  379. package/dist/src/svm/clients/SvmSpoke/accounts/index.js +0 -28
  380. package/dist/src/svm/clients/SvmSpoke/accounts/rootBundle.d.ts +0 -30
  381. package/dist/src/svm/clients/SvmSpoke/accounts/rootBundle.js +0 -69
  382. package/dist/src/svm/clients/SvmSpoke/accounts/state.d.ts +0 -49
  383. package/dist/src/svm/clients/SvmSpoke/accounts/state.js +0 -88
  384. package/dist/src/svm/clients/SvmSpoke/errors/index.d.ts +0 -8
  385. package/dist/src/svm/clients/SvmSpoke/errors/index.js +0 -24
  386. package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.d.ts +0 -131
  387. package/dist/src/svm/clients/SvmSpoke/errors/svmSpoke.js +0 -197
  388. package/dist/src/svm/clients/SvmSpoke/index.d.ts +0 -12
  389. package/dist/src/svm/clients/SvmSpoke/index.js +0 -28
  390. package/dist/src/svm/clients/SvmSpoke/instructions/adapterExecuteAcrossV5.d.ts +0 -75
  391. package/dist/src/svm/clients/SvmSpoke/instructions/adapterExecuteAcrossV5.js +0 -144
  392. package/dist/src/svm/clients/SvmSpoke/instructions/claimRelayerRefund.d.ts +0 -82
  393. package/dist/src/svm/clients/SvmSpoke/instructions/claimRelayerRefund.js +0 -185
  394. package/dist/src/svm/clients/SvmSpoke/instructions/closeClaimAccount.d.ts +0 -54
  395. package/dist/src/svm/clients/SvmSpoke/instructions/closeClaimAccount.js +0 -120
  396. package/dist/src/svm/clients/SvmSpoke/instructions/closeFillPda.d.ts +0 -50
  397. package/dist/src/svm/clients/SvmSpoke/instructions/closeFillPda.js +0 -79
  398. package/dist/src/svm/clients/SvmSpoke/instructions/closeInstructionParams.d.ts +0 -46
  399. package/dist/src/svm/clients/SvmSpoke/instructions/closeInstructionParams.js +0 -119
  400. package/dist/src/svm/clients/SvmSpoke/instructions/createTokenAccounts.d.ts +0 -48
  401. package/dist/src/svm/clients/SvmSpoke/instructions/createTokenAccounts.js +0 -104
  402. package/dist/src/svm/clients/SvmSpoke/instructions/emergencyDeleteRootBundle.d.ts +0 -67
  403. package/dist/src/svm/clients/SvmSpoke/instructions/emergencyDeleteRootBundle.js +0 -140
  404. package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeaf.d.ts +0 -78
  405. package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeaf.js +0 -197
  406. package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeafDeferred.d.ts +0 -78
  407. package/dist/src/svm/clients/SvmSpoke/instructions/executeRelayerRefundLeafDeferred.js +0 -195
  408. package/dist/src/svm/clients/SvmSpoke/instructions/handleReceiveFinalizedMessage.d.ts +0 -75
  409. package/dist/src/svm/clients/SvmSpoke/instructions/handleReceiveFinalizedMessage.js +0 -163
  410. package/dist/src/svm/clients/SvmSpoke/instructions/index.d.ts +0 -28
  411. package/dist/src/svm/clients/SvmSpoke/instructions/index.js +0 -44
  412. package/dist/src/svm/clients/SvmSpoke/instructions/initialize.d.ts +0 -87
  413. package/dist/src/svm/clients/SvmSpoke/instructions/initialize.js +0 -159
  414. package/dist/src/svm/clients/SvmSpoke/instructions/initializeClaimAccount.d.ts +0 -58
  415. package/dist/src/svm/clients/SvmSpoke/instructions/initializeClaimAccount.js +0 -137
  416. package/dist/src/svm/clients/SvmSpoke/instructions/initializeInstructionParams.d.ts +0 -55
  417. package/dist/src/svm/clients/SvmSpoke/instructions/initializeInstructionParams.js +0 -141
  418. package/dist/src/svm/clients/SvmSpoke/instructions/pauseDeposits.d.ts +0 -59
  419. package/dist/src/svm/clients/SvmSpoke/instructions/pauseDeposits.js +0 -127
  420. package/dist/src/svm/clients/SvmSpoke/instructions/pauseFills.d.ts +0 -59
  421. package/dist/src/svm/clients/SvmSpoke/instructions/pauseFills.js +0 -127
  422. package/dist/src/svm/clients/SvmSpoke/instructions/relayRootBundle.d.ts +0 -75
  423. package/dist/src/svm/clients/SvmSpoke/instructions/relayRootBundle.js +0 -153
  424. package/dist/src/svm/clients/SvmSpoke/instructions/setCrossDomainAdmin.d.ts +0 -59
  425. package/dist/src/svm/clients/SvmSpoke/instructions/setCrossDomainAdmin.js +0 -130
  426. package/dist/src/svm/clients/SvmSpoke/instructions/setCurrentTime.d.ts +0 -43
  427. package/dist/src/svm/clients/SvmSpoke/instructions/setCurrentTime.js +0 -79
  428. package/dist/src/svm/clients/SvmSpoke/instructions/transferOwnership.d.ts +0 -59
  429. package/dist/src/svm/clients/SvmSpoke/instructions/transferOwnership.js +0 -127
  430. package/dist/src/svm/clients/SvmSpoke/instructions/withdrawV5FillPayer.d.ts +0 -58
  431. package/dist/src/svm/clients/SvmSpoke/instructions/withdrawV5FillPayer.js +0 -134
  432. package/dist/src/svm/clients/SvmSpoke/instructions/writeInstructionParamsFragment.d.ts +0 -59
  433. package/dist/src/svm/clients/SvmSpoke/instructions/writeInstructionParamsFragment.js +0 -143
  434. package/dist/src/svm/clients/SvmSpoke/programs/index.d.ts +0 -8
  435. package/dist/src/svm/clients/SvmSpoke/programs/index.js +0 -24
  436. package/dist/src/svm/clients/SvmSpoke/programs/svmSpoke.d.ts +0 -89
  437. package/dist/src/svm/clients/SvmSpoke/programs/svmSpoke.js +0 -132
  438. package/dist/src/svm/clients/SvmSpoke/shared/index.d.ts +0 -49
  439. package/dist/src/svm/clients/SvmSpoke/shared/index.js +0 -94
  440. package/dist/src/svm/clients/SvmSpoke/types/acrossDepositInput.d.ts +0 -25
  441. package/dist/src/svm/clients/SvmSpoke/types/acrossDepositInput.js +0 -33
  442. package/dist/src/svm/clients/SvmSpoke/types/acrossDepositJitParams.d.ts +0 -18
  443. package/dist/src/svm/clients/SvmSpoke/types/acrossDepositJitParams.js +0 -30
  444. package/dist/src/svm/clients/SvmSpoke/types/acrossDepositParams.d.ts +0 -43
  445. package/dist/src/svm/clients/SvmSpoke/types/acrossDepositParams.js +0 -48
  446. package/dist/src/svm/clients/SvmSpoke/types/claimedRelayerRefund.d.ts +0 -21
  447. package/dist/src/svm/clients/SvmSpoke/types/claimedRelayerRefund.js +0 -30
  448. package/dist/src/svm/clients/SvmSpoke/types/emergencyDeletedRootBundle.d.ts +0 -15
  449. package/dist/src/svm/clients/SvmSpoke/types/emergencyDeletedRootBundle.js +0 -22
  450. package/dist/src/svm/clients/SvmSpoke/types/executedRelayerRefundRoot.d.ts +0 -33
  451. package/dist/src/svm/clients/SvmSpoke/types/executedRelayerRefundRoot.js +0 -42
  452. package/dist/src/svm/clients/SvmSpoke/types/fillStatus.d.ts +0 -17
  453. package/dist/src/svm/clients/SvmSpoke/types/fillStatus.js +0 -29
  454. package/dist/src/svm/clients/SvmSpoke/types/fillType.d.ts +0 -17
  455. package/dist/src/svm/clients/SvmSpoke/types/fillType.js +0 -29
  456. package/dist/src/svm/clients/SvmSpoke/types/filledRelay.d.ts +0 -46
  457. package/dist/src/svm/clients/SvmSpoke/types/filledRelay.js +0 -55
  458. package/dist/src/svm/clients/SvmSpoke/types/fundsDeposited.d.ts +0 -41
  459. package/dist/src/svm/clients/SvmSpoke/types/fundsDeposited.js +0 -50
  460. package/dist/src/svm/clients/SvmSpoke/types/index.d.ts +0 -32
  461. package/dist/src/svm/clients/SvmSpoke/types/index.js +0 -48
  462. package/dist/src/svm/clients/SvmSpoke/types/pausedDeposits.d.ts +0 -15
  463. package/dist/src/svm/clients/SvmSpoke/types/pausedDeposits.js +0 -22
  464. package/dist/src/svm/clients/SvmSpoke/types/pausedFills.d.ts +0 -15
  465. package/dist/src/svm/clients/SvmSpoke/types/pausedFills.js +0 -22
  466. package/dist/src/svm/clients/SvmSpoke/types/relayData.d.ts +0 -39
  467. package/dist/src/svm/clients/SvmSpoke/types/relayData.js +0 -48
  468. package/dist/src/svm/clients/SvmSpoke/types/relayExecutionEventInfo.d.ts +0 -24
  469. package/dist/src/svm/clients/SvmSpoke/types/relayExecutionEventInfo.js +0 -33
  470. package/dist/src/svm/clients/SvmSpoke/types/relayedRootBundle.d.ts +0 -17
  471. package/dist/src/svm/clients/SvmSpoke/types/relayedRootBundle.js +0 -30
  472. package/dist/src/svm/clients/SvmSpoke/types/relayerRefundLeaf.d.ts +0 -27
  473. package/dist/src/svm/clients/SvmSpoke/types/relayerRefundLeaf.js +0 -36
  474. package/dist/src/svm/clients/SvmSpoke/types/requestedSlowFill.d.ts +0 -39
  475. package/dist/src/svm/clients/SvmSpoke/types/requestedSlowFill.js +0 -48
  476. package/dist/src/svm/clients/SvmSpoke/types/setXDomainAdmin.d.ts +0 -15
  477. package/dist/src/svm/clients/SvmSpoke/types/setXDomainAdmin.js +0 -22
  478. package/dist/src/svm/clients/SvmSpoke/types/transferredOwnership.d.ts +0 -15
  479. package/dist/src/svm/clients/SvmSpoke/types/transferredOwnership.js +0 -22
  480. package/dist/src/svm/clients/SvmSpoke/types/v5AdapterInput.d.ts +0 -39
  481. package/dist/src/svm/clients/SvmSpoke/types/v5AdapterInput.js +0 -59
  482. package/dist/src/svm/clients/SvmSpoke/types/v5DepositModificationRules.d.ts +0 -17
  483. package/dist/src/svm/clients/SvmSpoke/types/v5DepositModificationRules.js +0 -30
  484. package/dist/src/svm/clients/SvmSpoke/types/v5FillFloatWithdrawn.d.ts +0 -19
  485. package/dist/src/svm/clients/SvmSpoke/types/v5FillFloatWithdrawn.js +0 -28
  486. package/dist/src/svm/clients/SvmSpoke/types/v5FillInput.d.ts +0 -25
  487. package/dist/src/svm/clients/SvmSpoke/types/v5FillInput.js +0 -30
  488. package/dist/src/svm/clients/SvmSpoke/types/v5FillJit.d.ts +0 -23
  489. package/dist/src/svm/clients/SvmSpoke/types/v5FillJit.js +0 -31
  490. package/dist/src/svm/clients/SvmSpoke/types/v5InputAmountMode.d.ts +0 -29
  491. package/dist/src/svm/clients/SvmSpoke/types/v5InputAmountMode.js +0 -38
  492. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/denylistedAccount.d.ts +0 -27
  493. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/denylistedAccount.js +0 -66
  494. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/index.d.ts +0 -14
  495. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/index.js +0 -30
  496. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/localToken.d.ts +0 -43
  497. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/localToken.js +0 -82
  498. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/messageTransmitter.d.ts +0 -44
  499. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/messageTransmitter.js +0 -80
  500. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/remoteTokenMessenger.d.ts +0 -29
  501. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/remoteTokenMessenger.js +0 -71
  502. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMessenger.d.ts +0 -41
  503. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMessenger.js +0 -80
  504. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMinter.d.ts +0 -33
  505. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenMinter.js +0 -72
  506. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenPair.d.ts +0 -33
  507. package/dist/src/svm/clients/TokenMessengerMinterV2/accounts/tokenPair.js +0 -72
  508. package/dist/src/svm/clients/TokenMessengerMinterV2/errors/index.d.ts +0 -8
  509. package/dist/src/svm/clients/TokenMessengerMinterV2/errors/index.js +0 -24
  510. package/dist/src/svm/clients/TokenMessengerMinterV2/errors/tokenMessengerMinterV2.d.ts +0 -37
  511. package/dist/src/svm/clients/TokenMessengerMinterV2/errors/tokenMessengerMinterV2.js +0 -55
  512. package/dist/src/svm/clients/TokenMessengerMinterV2/index.d.ts +0 -12
  513. package/dist/src/svm/clients/TokenMessengerMinterV2/index.js +0 -28
  514. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/acceptOwnership.d.ts +0 -54
  515. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/acceptOwnership.js +0 -119
  516. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addLocalToken.d.ts +0 -78
  517. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addLocalToken.js +0 -196
  518. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addRemoteTokenMessenger.d.ts +0 -75
  519. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/addRemoteTokenMessenger.js +0 -162
  520. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/burnTokenCustody.d.ts +0 -79
  521. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/burnTokenCustody.js +0 -179
  522. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/denylistAccount.d.ts +0 -71
  523. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/denylistAccount.js +0 -151
  524. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurn.d.ts +0 -138
  525. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurn.js +0 -320
  526. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurnWithHook.d.ts +0 -142
  527. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/depositForBurnWithHook.js +0 -325
  528. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveFinalizedMessage.d.ts +0 -92
  529. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveFinalizedMessage.js +0 -221
  530. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveUnfinalizedMessage.d.ts +0 -92
  531. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/handleReceiveUnfinalizedMessage.js +0 -221
  532. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/index.d.ts +0 -32
  533. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/index.js +0 -48
  534. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/initialize.d.ts +0 -103
  535. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/initialize.js +0 -234
  536. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/linkTokenPair.d.ts +0 -79
  537. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/linkTokenPair.js +0 -161
  538. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/pause.d.ts +0 -54
  539. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/pause.js +0 -119
  540. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeLocalToken.d.ts +0 -74
  541. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeLocalToken.js +0 -171
  542. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeRemoteTokenMessenger.d.ts +0 -62
  543. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/removeRemoteTokenMessenger.js +0 -138
  544. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setFeeRecipient.d.ts +0 -59
  545. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setFeeRecipient.js +0 -127
  546. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMaxBurnAmountPerMessage.d.ts +0 -63
  547. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMaxBurnAmountPerMessage.js +0 -141
  548. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFee.d.ts +0 -59
  549. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFee.js +0 -133
  550. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFeeController.d.ts +0 -59
  551. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setMinFeeController.js +0 -130
  552. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setTokenController.d.ts +0 -63
  553. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/setTokenController.js +0 -132
  554. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/transferOwnership.d.ts +0 -59
  555. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/transferOwnership.js +0 -127
  556. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/undenylistAccount.d.ts +0 -71
  557. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/undenylistAccount.js +0 -151
  558. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unlinkTokenPair.d.ts +0 -62
  559. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unlinkTokenPair.js +0 -135
  560. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unpause.d.ts +0 -54
  561. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/unpause.js +0 -119
  562. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updateDenylister.d.ts +0 -59
  563. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updateDenylister.js +0 -127
  564. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updatePauser.d.ts +0 -63
  565. package/dist/src/svm/clients/TokenMessengerMinterV2/instructions/updatePauser.js +0 -132
  566. package/dist/src/svm/clients/TokenMessengerMinterV2/programs/index.d.ts +0 -8
  567. package/dist/src/svm/clients/TokenMessengerMinterV2/programs/index.js +0 -24
  568. package/dist/src/svm/clients/TokenMessengerMinterV2/programs/tokenMessengerMinterV2.d.ts +0 -103
  569. package/dist/src/svm/clients/TokenMessengerMinterV2/programs/tokenMessengerMinterV2.js +0 -156
  570. package/dist/src/svm/clients/TokenMessengerMinterV2/shared/index.d.ts +0 -49
  571. package/dist/src/svm/clients/TokenMessengerMinterV2/shared/index.js +0 -94
  572. package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisted.d.ts +0 -15
  573. package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisted.js +0 -22
  574. package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisterChanged.d.ts +0 -16
  575. package/dist/src/svm/clients/TokenMessengerMinterV2/types/denylisterChanged.js +0 -28
  576. package/dist/src/svm/clients/TokenMessengerMinterV2/types/depositForBurn.d.ts +0 -35
  577. package/dist/src/svm/clients/TokenMessengerMinterV2/types/depositForBurn.js +0 -44
  578. package/dist/src/svm/clients/TokenMessengerMinterV2/types/feeRecipientSet.d.ts +0 -15
  579. package/dist/src/svm/clients/TokenMessengerMinterV2/types/feeRecipientSet.js +0 -22
  580. package/dist/src/svm/clients/TokenMessengerMinterV2/types/handleReceiveMessageParams.d.ts +0 -19
  581. package/dist/src/svm/clients/TokenMessengerMinterV2/types/handleReceiveMessageParams.js +0 -34
  582. package/dist/src/svm/clients/TokenMessengerMinterV2/types/index.d.ts +0 -30
  583. package/dist/src/svm/clients/TokenMessengerMinterV2/types/index.js +0 -46
  584. package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenAdded.d.ts +0 -16
  585. package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenAdded.js +0 -28
  586. package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenRemoved.d.ts +0 -16
  587. package/dist/src/svm/clients/TokenMessengerMinterV2/types/localTokenRemoved.js +0 -28
  588. package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeControllerSet.d.ts +0 -15
  589. package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeControllerSet.js +0 -22
  590. package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeSet.d.ts +0 -15
  591. package/dist/src/svm/clients/TokenMessengerMinterV2/types/minFeeSet.js +0 -22
  592. package/dist/src/svm/clients/TokenMessengerMinterV2/types/mintAndWithdraw.d.ts +0 -23
  593. package/dist/src/svm/clients/TokenMessengerMinterV2/types/mintAndWithdraw.js +0 -32
  594. package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferStarted.d.ts +0 -16
  595. package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferStarted.js +0 -28
  596. package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferred.d.ts +0 -16
  597. package/dist/src/svm/clients/TokenMessengerMinterV2/types/ownershipTransferred.js +0 -28
  598. package/dist/src/svm/clients/TokenMessengerMinterV2/types/pause.d.ts +0 -13
  599. package/dist/src/svm/clients/TokenMessengerMinterV2/types/pause.js +0 -22
  600. package/dist/src/svm/clients/TokenMessengerMinterV2/types/pauserChanged.d.ts +0 -15
  601. package/dist/src/svm/clients/TokenMessengerMinterV2/types/pauserChanged.js +0 -22
  602. package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerAdded.d.ts +0 -16
  603. package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerAdded.js +0 -28
  604. package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerRemoved.d.ts +0 -16
  605. package/dist/src/svm/clients/TokenMessengerMinterV2/types/remoteTokenMessengerRemoved.js +0 -28
  606. package/dist/src/svm/clients/TokenMessengerMinterV2/types/setBurnLimitPerMessage.d.ts +0 -19
  607. package/dist/src/svm/clients/TokenMessengerMinterV2/types/setBurnLimitPerMessage.js +0 -28
  608. package/dist/src/svm/clients/TokenMessengerMinterV2/types/setTokenController.d.ts +0 -15
  609. package/dist/src/svm/clients/TokenMessengerMinterV2/types/setTokenController.js +0 -22
  610. package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenCustodyBurned.d.ts +0 -19
  611. package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenCustodyBurned.js +0 -28
  612. package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairLinked.d.ts +0 -17
  613. package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairLinked.js +0 -30
  614. package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairUnlinked.d.ts +0 -17
  615. package/dist/src/svm/clients/TokenMessengerMinterV2/types/tokenPairUnlinked.js +0 -30
  616. package/dist/src/svm/clients/TokenMessengerMinterV2/types/unDenylisted.d.ts +0 -15
  617. package/dist/src/svm/clients/TokenMessengerMinterV2/types/unDenylisted.js +0 -22
  618. package/dist/src/svm/clients/TokenMessengerMinterV2/types/unpause.d.ts +0 -13
  619. package/dist/src/svm/clients/TokenMessengerMinterV2/types/unpause.js +0 -22
  620. package/dist/src/svm/clients/index.d.ts +0 -6
  621. package/dist/src/svm/clients/index.js +0 -36
  622. package/dist/src/svm/index.d.ts +0 -4
  623. package/dist/src/svm/index.js +0 -26
  624. package/dist/src/svm/web3-v1/cctpV2Helpers.d.ts +0 -402
  625. package/dist/src/svm/web3-v1/cctpV2Helpers.js +0 -242
  626. package/dist/src/svm/web3-v1/coders.d.ts +0 -37
  627. package/dist/src/svm/web3-v1/coders.js +0 -251
  628. package/dist/src/svm/web3-v1/constants.d.ts +0 -9
  629. package/dist/src/svm/web3-v1/constants.js +0 -16
  630. package/dist/src/svm/web3-v1/conversionUtils.d.ts +0 -39
  631. package/dist/src/svm/web3-v1/conversionUtils.js +0 -103
  632. package/dist/src/svm/web3-v1/helpers.d.ts +0 -10
  633. package/dist/src/svm/web3-v1/helpers.js +0 -25
  634. package/dist/src/svm/web3-v1/index.d.ts +0 -10
  635. package/dist/src/svm/web3-v1/index.js +0 -26
  636. package/dist/src/svm/web3-v1/instructionParamsUtils.d.ts +0 -16
  637. package/dist/src/svm/web3-v1/instructionParamsUtils.js +0 -43
  638. package/dist/src/svm/web3-v1/programConnectors.d.ts +0 -14
  639. package/dist/src/svm/web3-v1/programConnectors.js +0 -51
  640. package/dist/src/svm/web3-v1/relayHashUtils.d.ts +0 -26
  641. package/dist/src/svm/web3-v1/relayHashUtils.js +0 -148
  642. package/dist/src/svm/web3-v1/solanaProgramUtils.d.ts +0 -50
  643. package/dist/src/svm/web3-v1/solanaProgramUtils.js +0 -223
  644. package/dist/src/svm/web3-v1/transactionUtils.d.ts +0 -12
  645. package/dist/src/svm/web3-v1/transactionUtils.js +0 -82
  646. package/dist/src/svm/web3-v2/index.d.ts +0 -3
  647. package/dist/src/svm/web3-v2/index.js +0 -19
  648. package/dist/src/svm/web3-v2/solanaProgramUtils.d.ts +0 -32
  649. package/dist/src/svm/web3-v2/solanaProgramUtils.js +0 -106
  650. package/dist/src/svm/web3-v2/transactionUtils.d.ts +0 -24
  651. package/dist/src/svm/web3-v2/transactionUtils.js +0 -76
  652. package/dist/src/svm/web3-v2/types.d.ts +0 -8
  653. package/dist/src/svm/web3-v2/types.js +0 -2
  654. package/dist/src/types/svm.d.ts +0 -121
  655. package/dist/src/types/svm.js +0 -2
  656. package/dist/utils/utils.d.ts +0 -28
  657. package/dist/utils/utils.js +0 -136
@@ -1,185 +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.CLAIM_RELAYER_REFUND_DISCRIMINATOR = void 0;
11
- exports.getClaimRelayerRefundDiscriminatorBytes = getClaimRelayerRefundDiscriminatorBytes;
12
- exports.getClaimRelayerRefundInstructionDataEncoder = getClaimRelayerRefundInstructionDataEncoder;
13
- exports.getClaimRelayerRefundInstructionDataDecoder = getClaimRelayerRefundInstructionDataDecoder;
14
- exports.getClaimRelayerRefundInstructionDataCodec = getClaimRelayerRefundInstructionDataCodec;
15
- exports.getClaimRelayerRefundInstructionAsync = getClaimRelayerRefundInstructionAsync;
16
- exports.getClaimRelayerRefundInstruction = getClaimRelayerRefundInstruction;
17
- exports.parseClaimRelayerRefundInstruction = parseClaimRelayerRefundInstruction;
18
- const kit_1 = require("@solana/kit");
19
- const programs_1 = require("../programs");
20
- const shared_1 = require("../shared");
21
- exports.CLAIM_RELAYER_REFUND_DISCRIMINATOR = new Uint8Array([
22
- 205, 34, 34, 224, 204, 103, 81, 176,
23
- ]);
24
- function getClaimRelayerRefundDiscriminatorBytes() {
25
- return (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8).encode(exports.CLAIM_RELAYER_REFUND_DISCRIMINATOR);
26
- }
27
- function getClaimRelayerRefundInstructionDataEncoder() {
28
- return (0, kit_1.transformEncoder)((0, kit_1.getStructEncoder)([['discriminator', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8)]]), (value) => ({ ...value, discriminator: exports.CLAIM_RELAYER_REFUND_DISCRIMINATOR }));
29
- }
30
- function getClaimRelayerRefundInstructionDataDecoder() {
31
- return (0, kit_1.getStructDecoder)([
32
- ['discriminator', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 8)],
33
- ]);
34
- }
35
- function getClaimRelayerRefundInstructionDataCodec() {
36
- return (0, kit_1.combineCodec)(getClaimRelayerRefundInstructionDataEncoder(), getClaimRelayerRefundInstructionDataDecoder());
37
- }
38
- async function getClaimRelayerRefundInstructionAsync(input, config) {
39
- // Program address.
40
- const programAddress = config?.programAddress ?? programs_1.SVM_SPOKE_PROGRAM_ADDRESS;
41
- // Original accounts.
42
- const originalAccounts = {
43
- signer: { value: input.signer ?? null, isWritable: false },
44
- initializer: { value: input.initializer ?? null, isWritable: true },
45
- state: { value: input.state ?? null, isWritable: false },
46
- vault: { value: input.vault ?? null, isWritable: true },
47
- mint: { value: input.mint ?? null, isWritable: false },
48
- refundAddress: { value: input.refundAddress ?? null, isWritable: false },
49
- tokenAccount: { value: input.tokenAccount ?? null, isWritable: true },
50
- claimAccount: { value: input.claimAccount ?? null, isWritable: true },
51
- tokenProgram: { value: input.tokenProgram ?? null, isWritable: false },
52
- eventAuthority: { value: input.eventAuthority ?? null, isWritable: false },
53
- program: { value: input.program ?? null, isWritable: false },
54
- };
55
- const accounts = originalAccounts;
56
- // Resolve default values.
57
- if (!accounts.tokenProgram.value) {
58
- accounts.tokenProgram.value =
59
- 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
60
- }
61
- if (!accounts.vault.value) {
62
- accounts.vault.value = await (0, kit_1.getProgramDerivedAddress)({
63
- programAddress: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL',
64
- seeds: [
65
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.state.value)),
66
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.tokenProgram.value)),
67
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.mint.value)),
68
- ],
69
- });
70
- }
71
- if (!accounts.claimAccount.value) {
72
- accounts.claimAccount.value = await (0, kit_1.getProgramDerivedAddress)({
73
- programAddress,
74
- seeds: [
75
- (0, kit_1.getBytesEncoder)().encode(new Uint8Array([
76
- 99, 108, 97, 105, 109, 95, 97, 99, 99, 111, 117, 110, 116,
77
- ])),
78
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.mint.value)),
79
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.refundAddress.value)),
80
- ],
81
- });
82
- }
83
- if (!accounts.eventAuthority.value) {
84
- accounts.eventAuthority.value = await (0, kit_1.getProgramDerivedAddress)({
85
- programAddress,
86
- seeds: [
87
- (0, kit_1.getBytesEncoder)().encode(new Uint8Array([
88
- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111, 114,
89
- 105, 116, 121,
90
- ])),
91
- ],
92
- });
93
- }
94
- const getAccountMeta = (0, shared_1.getAccountMetaFactory)(programAddress, 'programId');
95
- const instruction = {
96
- accounts: [
97
- getAccountMeta(accounts.signer),
98
- getAccountMeta(accounts.initializer),
99
- getAccountMeta(accounts.state),
100
- getAccountMeta(accounts.vault),
101
- getAccountMeta(accounts.mint),
102
- getAccountMeta(accounts.refundAddress),
103
- getAccountMeta(accounts.tokenAccount),
104
- getAccountMeta(accounts.claimAccount),
105
- getAccountMeta(accounts.tokenProgram),
106
- getAccountMeta(accounts.eventAuthority),
107
- getAccountMeta(accounts.program),
108
- ],
109
- programAddress,
110
- data: getClaimRelayerRefundInstructionDataEncoder().encode({}),
111
- };
112
- return instruction;
113
- }
114
- function getClaimRelayerRefundInstruction(input, config) {
115
- // Program address.
116
- const programAddress = config?.programAddress ?? programs_1.SVM_SPOKE_PROGRAM_ADDRESS;
117
- // Original accounts.
118
- const originalAccounts = {
119
- signer: { value: input.signer ?? null, isWritable: false },
120
- initializer: { value: input.initializer ?? null, isWritable: true },
121
- state: { value: input.state ?? null, isWritable: false },
122
- vault: { value: input.vault ?? null, isWritable: true },
123
- mint: { value: input.mint ?? null, isWritable: false },
124
- refundAddress: { value: input.refundAddress ?? null, isWritable: false },
125
- tokenAccount: { value: input.tokenAccount ?? null, isWritable: true },
126
- claimAccount: { value: input.claimAccount ?? null, isWritable: true },
127
- tokenProgram: { value: input.tokenProgram ?? null, isWritable: false },
128
- eventAuthority: { value: input.eventAuthority ?? null, isWritable: false },
129
- program: { value: input.program ?? null, isWritable: false },
130
- };
131
- const accounts = originalAccounts;
132
- // Resolve default values.
133
- if (!accounts.tokenProgram.value) {
134
- accounts.tokenProgram.value =
135
- 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
136
- }
137
- const getAccountMeta = (0, shared_1.getAccountMetaFactory)(programAddress, 'programId');
138
- const instruction = {
139
- accounts: [
140
- getAccountMeta(accounts.signer),
141
- getAccountMeta(accounts.initializer),
142
- getAccountMeta(accounts.state),
143
- getAccountMeta(accounts.vault),
144
- getAccountMeta(accounts.mint),
145
- getAccountMeta(accounts.refundAddress),
146
- getAccountMeta(accounts.tokenAccount),
147
- getAccountMeta(accounts.claimAccount),
148
- getAccountMeta(accounts.tokenProgram),
149
- getAccountMeta(accounts.eventAuthority),
150
- getAccountMeta(accounts.program),
151
- ],
152
- programAddress,
153
- data: getClaimRelayerRefundInstructionDataEncoder().encode({}),
154
- };
155
- return instruction;
156
- }
157
- function parseClaimRelayerRefundInstruction(instruction) {
158
- if (instruction.accounts.length < 11) {
159
- // TODO: Coded error.
160
- throw new Error('Not enough accounts');
161
- }
162
- let accountIndex = 0;
163
- const getNextAccount = () => {
164
- const accountMeta = instruction.accounts[accountIndex];
165
- accountIndex += 1;
166
- return accountMeta;
167
- };
168
- return {
169
- programAddress: instruction.programAddress,
170
- accounts: {
171
- signer: getNextAccount(),
172
- initializer: getNextAccount(),
173
- state: getNextAccount(),
174
- vault: getNextAccount(),
175
- mint: getNextAccount(),
176
- refundAddress: getNextAccount(),
177
- tokenAccount: getNextAccount(),
178
- claimAccount: getNextAccount(),
179
- tokenProgram: getNextAccount(),
180
- eventAuthority: getNextAccount(),
181
- program: getNextAccount(),
182
- },
183
- data: getClaimRelayerRefundInstructionDataDecoder().decode(instruction.data),
184
- };
185
- }
@@ -1,54 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
- import { SVM_SPOKE_PROGRAM_ADDRESS } from '../programs';
10
- export declare const CLOSE_CLAIM_ACCOUNT_DISCRIMINATOR: Uint8Array;
11
- export declare function getCloseClaimAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
- export type CloseClaimAccountInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountRefundAddress extends string | AccountMeta<string> = string, TAccountClaimAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
14
- TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
15
- TAccountRefundAddress extends string ? ReadonlyAccount<TAccountRefundAddress> : TAccountRefundAddress,
16
- TAccountClaimAccount extends string ? WritableAccount<TAccountClaimAccount> : TAccountClaimAccount,
17
- ...TRemainingAccounts
18
- ]>;
19
- export type CloseClaimAccountInstructionData = {
20
- discriminator: ReadonlyUint8Array;
21
- };
22
- export type CloseClaimAccountInstructionDataArgs = {};
23
- export declare function getCloseClaimAccountInstructionDataEncoder(): Encoder<CloseClaimAccountInstructionDataArgs>;
24
- export declare function getCloseClaimAccountInstructionDataDecoder(): Decoder<CloseClaimAccountInstructionData>;
25
- export declare function getCloseClaimAccountInstructionDataCodec(): Codec<CloseClaimAccountInstructionDataArgs, CloseClaimAccountInstructionData>;
26
- export type CloseClaimAccountAsyncInput<TAccountSigner extends string = string, TAccountMint extends string = string, TAccountRefundAddress extends string = string, TAccountClaimAccount extends string = string> = {
27
- signer: TransactionSigner<TAccountSigner>;
28
- mint: Address<TAccountMint>;
29
- refundAddress: Address<TAccountRefundAddress>;
30
- claimAccount?: Address<TAccountClaimAccount>;
31
- };
32
- export declare function getCloseClaimAccountInstructionAsync<TAccountSigner extends string, TAccountMint extends string, TAccountRefundAddress extends string, TAccountClaimAccount extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseClaimAccountAsyncInput<TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>, config?: {
33
- programAddress?: TProgramAddress;
34
- }): Promise<CloseClaimAccountInstruction<TProgramAddress, TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>>;
35
- export type CloseClaimAccountInput<TAccountSigner extends string = string, TAccountMint extends string = string, TAccountRefundAddress extends string = string, TAccountClaimAccount extends string = string> = {
36
- signer: TransactionSigner<TAccountSigner>;
37
- mint: Address<TAccountMint>;
38
- refundAddress: Address<TAccountRefundAddress>;
39
- claimAccount: Address<TAccountClaimAccount>;
40
- };
41
- export declare function getCloseClaimAccountInstruction<TAccountSigner extends string, TAccountMint extends string, TAccountRefundAddress extends string, TAccountClaimAccount extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseClaimAccountInput<TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>, config?: {
42
- programAddress?: TProgramAddress;
43
- }): CloseClaimAccountInstruction<TProgramAddress, TAccountSigner, TAccountMint, TAccountRefundAddress, TAccountClaimAccount>;
44
- export type ParsedCloseClaimAccountInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
45
- programAddress: Address<TProgram>;
46
- accounts: {
47
- signer: TAccountMetas[0];
48
- mint: TAccountMetas[1];
49
- refundAddress: TAccountMetas[2];
50
- claimAccount: TAccountMetas[3];
51
- };
52
- data: CloseClaimAccountInstructionData;
53
- };
54
- export declare function parseCloseClaimAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseClaimAccountInstruction<TProgram, TAccountMetas>;
@@ -1,120 +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.CLOSE_CLAIM_ACCOUNT_DISCRIMINATOR = void 0;
11
- exports.getCloseClaimAccountDiscriminatorBytes = getCloseClaimAccountDiscriminatorBytes;
12
- exports.getCloseClaimAccountInstructionDataEncoder = getCloseClaimAccountInstructionDataEncoder;
13
- exports.getCloseClaimAccountInstructionDataDecoder = getCloseClaimAccountInstructionDataDecoder;
14
- exports.getCloseClaimAccountInstructionDataCodec = getCloseClaimAccountInstructionDataCodec;
15
- exports.getCloseClaimAccountInstructionAsync = getCloseClaimAccountInstructionAsync;
16
- exports.getCloseClaimAccountInstruction = getCloseClaimAccountInstruction;
17
- exports.parseCloseClaimAccountInstruction = parseCloseClaimAccountInstruction;
18
- const kit_1 = require("@solana/kit");
19
- const programs_1 = require("../programs");
20
- const shared_1 = require("../shared");
21
- exports.CLOSE_CLAIM_ACCOUNT_DISCRIMINATOR = new Uint8Array([
22
- 241, 146, 203, 216, 58, 222, 91, 118,
23
- ]);
24
- function getCloseClaimAccountDiscriminatorBytes() {
25
- return (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8).encode(exports.CLOSE_CLAIM_ACCOUNT_DISCRIMINATOR);
26
- }
27
- function getCloseClaimAccountInstructionDataEncoder() {
28
- return (0, kit_1.transformEncoder)((0, kit_1.getStructEncoder)([['discriminator', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8)]]), (value) => ({ ...value, discriminator: exports.CLOSE_CLAIM_ACCOUNT_DISCRIMINATOR }));
29
- }
30
- function getCloseClaimAccountInstructionDataDecoder() {
31
- return (0, kit_1.getStructDecoder)([
32
- ['discriminator', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 8)],
33
- ]);
34
- }
35
- function getCloseClaimAccountInstructionDataCodec() {
36
- return (0, kit_1.combineCodec)(getCloseClaimAccountInstructionDataEncoder(), getCloseClaimAccountInstructionDataDecoder());
37
- }
38
- async function getCloseClaimAccountInstructionAsync(input, config) {
39
- // Program address.
40
- const programAddress = config?.programAddress ?? programs_1.SVM_SPOKE_PROGRAM_ADDRESS;
41
- // Original accounts.
42
- const originalAccounts = {
43
- signer: { value: input.signer ?? null, isWritable: true },
44
- mint: { value: input.mint ?? null, isWritable: false },
45
- refundAddress: { value: input.refundAddress ?? null, isWritable: false },
46
- claimAccount: { value: input.claimAccount ?? null, isWritable: true },
47
- };
48
- const accounts = originalAccounts;
49
- // Resolve default values.
50
- if (!accounts.claimAccount.value) {
51
- accounts.claimAccount.value = await (0, kit_1.getProgramDerivedAddress)({
52
- programAddress,
53
- seeds: [
54
- (0, kit_1.getBytesEncoder)().encode(new Uint8Array([
55
- 99, 108, 97, 105, 109, 95, 97, 99, 99, 111, 117, 110, 116,
56
- ])),
57
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.mint.value)),
58
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.refundAddress.value)),
59
- ],
60
- });
61
- }
62
- const getAccountMeta = (0, shared_1.getAccountMetaFactory)(programAddress, 'programId');
63
- const instruction = {
64
- accounts: [
65
- getAccountMeta(accounts.signer),
66
- getAccountMeta(accounts.mint),
67
- getAccountMeta(accounts.refundAddress),
68
- getAccountMeta(accounts.claimAccount),
69
- ],
70
- programAddress,
71
- data: getCloseClaimAccountInstructionDataEncoder().encode({}),
72
- };
73
- return instruction;
74
- }
75
- function getCloseClaimAccountInstruction(input, config) {
76
- // Program address.
77
- const programAddress = config?.programAddress ?? programs_1.SVM_SPOKE_PROGRAM_ADDRESS;
78
- // Original accounts.
79
- const originalAccounts = {
80
- signer: { value: input.signer ?? null, isWritable: true },
81
- mint: { value: input.mint ?? null, isWritable: false },
82
- refundAddress: { value: input.refundAddress ?? null, isWritable: false },
83
- claimAccount: { value: input.claimAccount ?? null, isWritable: true },
84
- };
85
- const accounts = originalAccounts;
86
- const getAccountMeta = (0, shared_1.getAccountMetaFactory)(programAddress, 'programId');
87
- const instruction = {
88
- accounts: [
89
- getAccountMeta(accounts.signer),
90
- getAccountMeta(accounts.mint),
91
- getAccountMeta(accounts.refundAddress),
92
- getAccountMeta(accounts.claimAccount),
93
- ],
94
- programAddress,
95
- data: getCloseClaimAccountInstructionDataEncoder().encode({}),
96
- };
97
- return instruction;
98
- }
99
- function parseCloseClaimAccountInstruction(instruction) {
100
- if (instruction.accounts.length < 4) {
101
- // TODO: Coded error.
102
- throw new Error('Not enough accounts');
103
- }
104
- let accountIndex = 0;
105
- const getNextAccount = () => {
106
- const accountMeta = instruction.accounts[accountIndex];
107
- accountIndex += 1;
108
- return accountMeta;
109
- };
110
- return {
111
- programAddress: instruction.programAddress,
112
- accounts: {
113
- signer: getNextAccount(),
114
- mint: getNextAccount(),
115
- refundAddress: getNextAccount(),
116
- claimAccount: getNextAccount(),
117
- },
118
- data: getCloseClaimAccountInstructionDataDecoder().decode(instruction.data),
119
- };
120
- }
@@ -1,50 +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 AccountMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
- import { SVM_SPOKE_PROGRAM_ADDRESS } from '../programs';
10
- export declare const CLOSE_FILL_PDA_DISCRIMINATOR: Uint8Array;
11
- export declare function getCloseFillPdaDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
- export type CloseFillPdaInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountRentRecipient extends string | AccountMeta<string> = string, TAccountState extends string | AccountMeta<string> = string, TAccountFillStatus extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountRentRecipient extends string ? WritableAccount<TAccountRentRecipient> : TAccountRentRecipient,
14
- TAccountState extends string ? ReadonlyAccount<TAccountState> : TAccountState,
15
- TAccountFillStatus extends string ? WritableAccount<TAccountFillStatus> : TAccountFillStatus,
16
- ...TRemainingAccounts
17
- ]>;
18
- export type CloseFillPdaInstructionData = {
19
- discriminator: ReadonlyUint8Array;
20
- };
21
- export type CloseFillPdaInstructionDataArgs = {};
22
- export declare function getCloseFillPdaInstructionDataEncoder(): Encoder<CloseFillPdaInstructionDataArgs>;
23
- export declare function getCloseFillPdaInstructionDataDecoder(): Decoder<CloseFillPdaInstructionData>;
24
- export declare function getCloseFillPdaInstructionDataCodec(): Codec<CloseFillPdaInstructionDataArgs, CloseFillPdaInstructionData>;
25
- export type CloseFillPdaInput<TAccountRentRecipient extends string = string, TAccountState extends string = string, TAccountFillStatus extends string = string> = {
26
- /**
27
- * For V5 fills, supply the submitter's `["v5_fill_payer", submitter]` PDA recorded in
28
- * `fill_status.rent_recipient`; legacy accounts retain the relayer or slow-fill requester address.
29
- */
30
- rentRecipient: Address<TAccountRentRecipient>;
31
- state: Address<TAccountState>;
32
- fillStatus: Address<TAccountFillStatus>;
33
- };
34
- export declare function getCloseFillPdaInstruction<TAccountRentRecipient extends string, TAccountState extends string, TAccountFillStatus extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseFillPdaInput<TAccountRentRecipient, TAccountState, TAccountFillStatus>, config?: {
35
- programAddress?: TProgramAddress;
36
- }): CloseFillPdaInstruction<TProgramAddress, TAccountRentRecipient, TAccountState, TAccountFillStatus>;
37
- export type ParsedCloseFillPdaInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
38
- programAddress: Address<TProgram>;
39
- accounts: {
40
- /**
41
- * For V5 fills, supply the submitter's `["v5_fill_payer", submitter]` PDA recorded in
42
- * `fill_status.rent_recipient`; legacy accounts retain the relayer or slow-fill requester address.
43
- */
44
- rentRecipient: TAccountMetas[0];
45
- state: TAccountMetas[1];
46
- fillStatus: TAccountMetas[2];
47
- };
48
- data: CloseFillPdaInstructionData;
49
- };
50
- export declare function parseCloseFillPdaInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseFillPdaInstruction<TProgram, TAccountMetas>;
@@ -1,79 +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.CLOSE_FILL_PDA_DISCRIMINATOR = void 0;
11
- exports.getCloseFillPdaDiscriminatorBytes = getCloseFillPdaDiscriminatorBytes;
12
- exports.getCloseFillPdaInstructionDataEncoder = getCloseFillPdaInstructionDataEncoder;
13
- exports.getCloseFillPdaInstructionDataDecoder = getCloseFillPdaInstructionDataDecoder;
14
- exports.getCloseFillPdaInstructionDataCodec = getCloseFillPdaInstructionDataCodec;
15
- exports.getCloseFillPdaInstruction = getCloseFillPdaInstruction;
16
- exports.parseCloseFillPdaInstruction = parseCloseFillPdaInstruction;
17
- const kit_1 = require("@solana/kit");
18
- const programs_1 = require("../programs");
19
- const shared_1 = require("../shared");
20
- exports.CLOSE_FILL_PDA_DISCRIMINATOR = new Uint8Array([
21
- 224, 39, 208, 68, 8, 226, 23, 214,
22
- ]);
23
- function getCloseFillPdaDiscriminatorBytes() {
24
- return (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8).encode(exports.CLOSE_FILL_PDA_DISCRIMINATOR);
25
- }
26
- function getCloseFillPdaInstructionDataEncoder() {
27
- return (0, kit_1.transformEncoder)((0, kit_1.getStructEncoder)([['discriminator', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8)]]), (value) => ({ ...value, discriminator: exports.CLOSE_FILL_PDA_DISCRIMINATOR }));
28
- }
29
- function getCloseFillPdaInstructionDataDecoder() {
30
- return (0, kit_1.getStructDecoder)([
31
- ['discriminator', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 8)],
32
- ]);
33
- }
34
- function getCloseFillPdaInstructionDataCodec() {
35
- return (0, kit_1.combineCodec)(getCloseFillPdaInstructionDataEncoder(), getCloseFillPdaInstructionDataDecoder());
36
- }
37
- function getCloseFillPdaInstruction(input, config) {
38
- // Program address.
39
- const programAddress = config?.programAddress ?? programs_1.SVM_SPOKE_PROGRAM_ADDRESS;
40
- // Original accounts.
41
- const originalAccounts = {
42
- rentRecipient: { value: input.rentRecipient ?? null, isWritable: true },
43
- state: { value: input.state ?? null, isWritable: false },
44
- fillStatus: { value: input.fillStatus ?? null, isWritable: true },
45
- };
46
- const accounts = originalAccounts;
47
- const getAccountMeta = (0, shared_1.getAccountMetaFactory)(programAddress, 'programId');
48
- const instruction = {
49
- accounts: [
50
- getAccountMeta(accounts.rentRecipient),
51
- getAccountMeta(accounts.state),
52
- getAccountMeta(accounts.fillStatus),
53
- ],
54
- programAddress,
55
- data: getCloseFillPdaInstructionDataEncoder().encode({}),
56
- };
57
- return instruction;
58
- }
59
- function parseCloseFillPdaInstruction(instruction) {
60
- if (instruction.accounts.length < 3) {
61
- // TODO: Coded error.
62
- throw new Error('Not enough accounts');
63
- }
64
- let accountIndex = 0;
65
- const getNextAccount = () => {
66
- const accountMeta = instruction.accounts[accountIndex];
67
- accountIndex += 1;
68
- return accountMeta;
69
- };
70
- return {
71
- programAddress: instruction.programAddress,
72
- accounts: {
73
- rentRecipient: getNextAccount(),
74
- state: getNextAccount(),
75
- fillStatus: getNextAccount(),
76
- },
77
- data: getCloseFillPdaInstructionDataDecoder().decode(instruction.data),
78
- };
79
- }
@@ -1,46 +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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
- import { SVM_SPOKE_PROGRAM_ADDRESS } from '../programs';
10
- export declare const CLOSE_INSTRUCTION_PARAMS_DISCRIMINATOR: Uint8Array;
11
- export declare function getCloseInstructionParamsDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
- export type CloseInstructionParamsInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountInstructionParams extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountSigner extends string ? WritableSignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
14
- TAccountInstructionParams extends string ? WritableAccount<TAccountInstructionParams> : TAccountInstructionParams,
15
- ...TRemainingAccounts
16
- ]>;
17
- export type CloseInstructionParamsInstructionData = {
18
- discriminator: ReadonlyUint8Array;
19
- };
20
- export type CloseInstructionParamsInstructionDataArgs = {};
21
- export declare function getCloseInstructionParamsInstructionDataEncoder(): Encoder<CloseInstructionParamsInstructionDataArgs>;
22
- export declare function getCloseInstructionParamsInstructionDataDecoder(): Decoder<CloseInstructionParamsInstructionData>;
23
- export declare function getCloseInstructionParamsInstructionDataCodec(): Codec<CloseInstructionParamsInstructionDataArgs, CloseInstructionParamsInstructionData>;
24
- export type CloseInstructionParamsAsyncInput<TAccountSigner extends string = string, TAccountInstructionParams extends string = string> = {
25
- signer: TransactionSigner<TAccountSigner>;
26
- instructionParams?: Address<TAccountInstructionParams>;
27
- };
28
- export declare function getCloseInstructionParamsInstructionAsync<TAccountSigner extends string, TAccountInstructionParams extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseInstructionParamsAsyncInput<TAccountSigner, TAccountInstructionParams>, config?: {
29
- programAddress?: TProgramAddress;
30
- }): Promise<CloseInstructionParamsInstruction<TProgramAddress, TAccountSigner, TAccountInstructionParams>>;
31
- export type CloseInstructionParamsInput<TAccountSigner extends string = string, TAccountInstructionParams extends string = string> = {
32
- signer: TransactionSigner<TAccountSigner>;
33
- instructionParams: Address<TAccountInstructionParams>;
34
- };
35
- export declare function getCloseInstructionParamsInstruction<TAccountSigner extends string, TAccountInstructionParams extends string, TProgramAddress extends Address = typeof SVM_SPOKE_PROGRAM_ADDRESS>(input: CloseInstructionParamsInput<TAccountSigner, TAccountInstructionParams>, config?: {
36
- programAddress?: TProgramAddress;
37
- }): CloseInstructionParamsInstruction<TProgramAddress, TAccountSigner, TAccountInstructionParams>;
38
- export type ParsedCloseInstructionParamsInstruction<TProgram extends string = typeof SVM_SPOKE_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
39
- programAddress: Address<TProgram>;
40
- accounts: {
41
- signer: TAccountMetas[0];
42
- instructionParams: TAccountMetas[1];
43
- };
44
- data: CloseInstructionParamsInstructionData;
45
- };
46
- export declare function parseCloseInstructionParamsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseInstructionParamsInstruction<TProgram, TAccountMetas>;
@@ -1,119 +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.CLOSE_INSTRUCTION_PARAMS_DISCRIMINATOR = void 0;
11
- exports.getCloseInstructionParamsDiscriminatorBytes = getCloseInstructionParamsDiscriminatorBytes;
12
- exports.getCloseInstructionParamsInstructionDataEncoder = getCloseInstructionParamsInstructionDataEncoder;
13
- exports.getCloseInstructionParamsInstructionDataDecoder = getCloseInstructionParamsInstructionDataDecoder;
14
- exports.getCloseInstructionParamsInstructionDataCodec = getCloseInstructionParamsInstructionDataCodec;
15
- exports.getCloseInstructionParamsInstructionAsync = getCloseInstructionParamsInstructionAsync;
16
- exports.getCloseInstructionParamsInstruction = getCloseInstructionParamsInstruction;
17
- exports.parseCloseInstructionParamsInstruction = parseCloseInstructionParamsInstruction;
18
- const kit_1 = require("@solana/kit");
19
- const programs_1 = require("../programs");
20
- const shared_1 = require("../shared");
21
- exports.CLOSE_INSTRUCTION_PARAMS_DISCRIMINATOR = new Uint8Array([
22
- 224, 44, 254, 10, 216, 8, 172, 96,
23
- ]);
24
- function getCloseInstructionParamsDiscriminatorBytes() {
25
- return (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8).encode(exports.CLOSE_INSTRUCTION_PARAMS_DISCRIMINATOR);
26
- }
27
- function getCloseInstructionParamsInstructionDataEncoder() {
28
- return (0, kit_1.transformEncoder)((0, kit_1.getStructEncoder)([['discriminator', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 8)]]), (value) => ({
29
- ...value,
30
- discriminator: exports.CLOSE_INSTRUCTION_PARAMS_DISCRIMINATOR,
31
- }));
32
- }
33
- function getCloseInstructionParamsInstructionDataDecoder() {
34
- return (0, kit_1.getStructDecoder)([
35
- ['discriminator', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 8)],
36
- ]);
37
- }
38
- function getCloseInstructionParamsInstructionDataCodec() {
39
- return (0, kit_1.combineCodec)(getCloseInstructionParamsInstructionDataEncoder(), getCloseInstructionParamsInstructionDataDecoder());
40
- }
41
- async function getCloseInstructionParamsInstructionAsync(input, config) {
42
- // Program address.
43
- const programAddress = config?.programAddress ?? programs_1.SVM_SPOKE_PROGRAM_ADDRESS;
44
- // Original accounts.
45
- const originalAccounts = {
46
- signer: { value: input.signer ?? null, isWritable: true },
47
- instructionParams: {
48
- value: input.instructionParams ?? null,
49
- isWritable: true,
50
- },
51
- };
52
- const accounts = originalAccounts;
53
- // Resolve default values.
54
- if (!accounts.instructionParams.value) {
55
- accounts.instructionParams.value = await (0, kit_1.getProgramDerivedAddress)({
56
- programAddress,
57
- seeds: [
58
- (0, kit_1.getBytesEncoder)().encode(new Uint8Array([
59
- 105, 110, 115, 116, 114, 117, 99, 116, 105, 111, 110, 95, 112, 97,
60
- 114, 97, 109, 115,
61
- ])),
62
- (0, kit_1.getAddressEncoder)().encode((0, shared_1.expectAddress)(accounts.signer.value)),
63
- ],
64
- });
65
- }
66
- const getAccountMeta = (0, shared_1.getAccountMetaFactory)(programAddress, 'programId');
67
- const instruction = {
68
- accounts: [
69
- getAccountMeta(accounts.signer),
70
- getAccountMeta(accounts.instructionParams),
71
- ],
72
- programAddress,
73
- data: getCloseInstructionParamsInstructionDataEncoder().encode({}),
74
- };
75
- return instruction;
76
- }
77
- function getCloseInstructionParamsInstruction(input, config) {
78
- // Program address.
79
- const programAddress = config?.programAddress ?? programs_1.SVM_SPOKE_PROGRAM_ADDRESS;
80
- // Original accounts.
81
- const originalAccounts = {
82
- signer: { value: input.signer ?? null, isWritable: true },
83
- instructionParams: {
84
- value: input.instructionParams ?? null,
85
- isWritable: true,
86
- },
87
- };
88
- const accounts = originalAccounts;
89
- const getAccountMeta = (0, shared_1.getAccountMetaFactory)(programAddress, 'programId');
90
- const instruction = {
91
- accounts: [
92
- getAccountMeta(accounts.signer),
93
- getAccountMeta(accounts.instructionParams),
94
- ],
95
- programAddress,
96
- data: getCloseInstructionParamsInstructionDataEncoder().encode({}),
97
- };
98
- return instruction;
99
- }
100
- function parseCloseInstructionParamsInstruction(instruction) {
101
- if (instruction.accounts.length < 2) {
102
- // TODO: Coded error.
103
- throw new Error('Not enough accounts');
104
- }
105
- let accountIndex = 0;
106
- const getNextAccount = () => {
107
- const accountMeta = instruction.accounts[accountIndex];
108
- accountIndex += 1;
109
- return accountMeta;
110
- };
111
- return {
112
- programAddress: instruction.programAddress,
113
- accounts: {
114
- signer: getNextAccount(),
115
- instructionParams: getNextAccount(),
116
- },
117
- data: getCloseInstructionParamsInstructionDataDecoder().decode(instruction.data),
118
- };
119
- }