@stargatefinance/stg-evm-sdk-v2 1.2.7 → 1.3.1

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 (159) hide show
  1. package/artifacts/src/StargateOFT.sol/StargateOFT.json +2 -2
  2. package/artifacts/src/StargateOFTAlt.sol/StargateOFTAlt.json +1584 -0
  3. package/artifacts/src/StargatePool.sol/StargatePool.json +2 -2
  4. package/artifacts/src/StargatePoolMigratable.sol/StargatePoolMigratable.json +2 -2
  5. package/artifacts/src/StargatePoolNative.sol/StargatePoolNative.json +2 -2
  6. package/artifacts/src/eurc/StargateOFTEURC.sol/StargateOFTEURC.json +2 -2
  7. package/artifacts/src/eurc/StargatePoolEURC.sol/StargatePoolEURC.json +2 -2
  8. package/artifacts/src/interfaces/tip20/ITIP20.sol/ITIP20.json +1065 -0
  9. package/artifacts/src/interfaces/tip20/ITIP20RolesAuth.sol/ITIP20RolesAuth.json +139 -0
  10. package/artifacts/src/messaging/CreditMessagingAlt.sol/CreditMessagingAlt.json +1142 -0
  11. package/artifacts/src/messaging/TokenMessaging.sol/TokenMessaging.json +2 -2
  12. package/artifacts/src/messaging/TokenMessagingAlt.sol/TokenMessagingAlt.json +1907 -0
  13. package/artifacts/src/mocks/tip20/TIP20.sol/TIP20.json +1253 -0
  14. package/artifacts/src/mocks/tip20/TIP403Registry.sol/TIP403Registry.json +335 -0
  15. package/artifacts/src/mocks/tip20/abstracts/TIP20RolesAuth.sol/TIP20RolesAuth.json +163 -0
  16. package/artifacts/src/mocks/tip20/interfaces/ITIP403Registry.sol/ITIP403Registry.json +335 -0
  17. package/artifacts/src/peripheral/Treasurer.sol/Treasurer.json +2 -2
  18. package/artifacts/src/tip20/StargateOFTTIP20.sol/StargateOFTTIP20.json +1595 -0
  19. package/artifacts/src/usdc/StargateOFTUSDC.sol/StargateOFTUSDC.json +2 -2
  20. package/artifacts/src/usdc/StargatePoolUSDC.sol/StargatePoolUSDC.json +2 -2
  21. package/deployments/horizen-mainnet/CreditMessaging.json +1501 -0
  22. package/deployments/horizen-mainnet/FeeLibV1USDC.json +611 -0
  23. package/deployments/horizen-mainnet/OFTWrapper.json +1506 -0
  24. package/deployments/horizen-mainnet/StargateOFTUSDC.json +1978 -0
  25. package/deployments/horizen-mainnet/TokenMessaging.json +2475 -0
  26. package/deployments/horizen-mainnet/Treasurer.json +450 -0
  27. package/deployments/moderato-testnet/CreditMessaging.json +1592 -0
  28. package/deployments/moderato-testnet/FeeLibV1EURC.json +625 -0
  29. package/deployments/moderato-testnet/FeeLibV1USDC.json +625 -0
  30. package/deployments/moderato-testnet/OFTWrapper.json +1520 -0
  31. package/deployments/moderato-testnet/StargateOFTEURC.json +2023 -0
  32. package/deployments/moderato-testnet/StargateOFTUSDC.json +2023 -0
  33. package/deployments/moderato-testnet/TokenMessaging.json +2484 -0
  34. package/deployments/moderato-testnet/Treasurer.json +464 -0
  35. package/deployments/tempo-mainnet/CreditMessaging.json +1592 -0
  36. package/deployments/tempo-mainnet/FeeLibV1EURC.json +625 -0
  37. package/deployments/tempo-mainnet/FeeLibV1USDC.json +625 -0
  38. package/deployments/tempo-mainnet/OFTWrapper.json +1520 -0
  39. package/deployments/tempo-mainnet/StargateOFTEURC.json +2036 -0
  40. package/deployments/tempo-mainnet/StargateOFTUSDC.json +2036 -0
  41. package/deployments/tempo-mainnet/TokenMessaging.json +2481 -0
  42. package/deployments/tempo-mainnet/Treasurer.json +464 -0
  43. package/dist/deployed/CreditMessaging.cjs +10 -0
  44. package/dist/deployed/CreditMessaging.cjs.map +1 -1
  45. package/dist/deployed/CreditMessaging.mjs +10 -0
  46. package/dist/deployed/CreditMessaging.mjs.map +1 -1
  47. package/dist/deployed/FeeLibV1EURC.cjs +9 -3
  48. package/dist/deployed/FeeLibV1EURC.cjs.map +1 -1
  49. package/dist/deployed/FeeLibV1EURC.mjs +9 -3
  50. package/dist/deployed/FeeLibV1EURC.mjs.map +1 -1
  51. package/dist/deployed/FeeLibV1USDC.cjs +9 -0
  52. package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
  53. package/dist/deployed/FeeLibV1USDC.mjs +9 -0
  54. package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
  55. package/dist/deployed/OFTWrapper.cjs +9 -0
  56. package/dist/deployed/OFTWrapper.cjs.map +1 -1
  57. package/dist/deployed/OFTWrapper.mjs +9 -0
  58. package/dist/deployed/OFTWrapper.mjs.map +1 -1
  59. package/dist/deployed/StargateOFTEURC.cjs +11 -3
  60. package/dist/deployed/StargateOFTEURC.cjs.map +1 -1
  61. package/dist/deployed/StargateOFTEURC.mjs +11 -3
  62. package/dist/deployed/StargateOFTEURC.mjs.map +1 -1
  63. package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.mts +4995 -0
  64. package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.ts +4995 -0
  65. package/dist/deployed/StargateOFTUSDC.cjs +11 -0
  66. package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
  67. package/dist/deployed/StargateOFTUSDC.d.mts +1 -0
  68. package/dist/deployed/StargateOFTUSDC.d.ts +1 -0
  69. package/dist/deployed/StargateOFTUSDC.mjs +11 -0
  70. package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
  71. package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.mts +2492 -0
  72. package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.ts +2492 -0
  73. package/dist/deployed/StargateOFTUSDT.d.mts +1 -0
  74. package/dist/deployed/StargateOFTUSDT.d.ts +1 -0
  75. package/dist/deployed/StargatePoolETH-lOsiDbJC.d.mts +1530 -0
  76. package/dist/deployed/StargatePoolETH-lOsiDbJC.d.ts +1530 -0
  77. package/dist/deployed/StargatePoolETH.d.mts +1 -0
  78. package/dist/deployed/StargatePoolETH.d.ts +1 -0
  79. package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.mts +1582 -0
  80. package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.ts +1582 -0
  81. package/dist/deployed/StargatePoolEURC.d.mts +1 -0
  82. package/dist/deployed/StargatePoolEURC.d.ts +1 -0
  83. package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.mts +1519 -0
  84. package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.ts +1519 -0
  85. package/dist/deployed/StargatePoolMETIS.d.mts +1 -0
  86. package/dist/deployed/StargatePoolMETIS.d.ts +1 -0
  87. package/dist/deployed/StargatePoolNative-BKokoo5S.d.mts +1568 -0
  88. package/dist/deployed/StargatePoolNative-BKokoo5S.d.ts +1568 -0
  89. package/dist/deployed/StargatePoolNative.d.mts +1 -0
  90. package/dist/deployed/StargatePoolNative.d.ts +1 -0
  91. package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.mts +1632 -0
  92. package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.ts +1632 -0
  93. package/dist/deployed/StargatePoolUSDC.d.mts +1 -0
  94. package/dist/deployed/StargatePoolUSDC.d.ts +1 -0
  95. package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.mts +1627 -0
  96. package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.ts +1627 -0
  97. package/dist/deployed/StargatePoolUSDT.d.mts +1 -0
  98. package/dist/deployed/StargatePoolUSDT.d.ts +1 -0
  99. package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.mts +1519 -0
  100. package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.ts +1519 -0
  101. package/dist/deployed/StargatePoolmETH.d.mts +1 -0
  102. package/dist/deployed/StargatePoolmETH.d.ts +1 -0
  103. package/dist/deployed/StargateStaking-BL9axih_.d.mts +459 -0
  104. package/dist/deployed/StargateStaking-BL9axih_.d.ts +459 -0
  105. package/dist/deployed/StargateStaking.d.mts +1 -0
  106. package/dist/deployed/StargateStaking.d.ts +1 -0
  107. package/dist/deployed/TokenMessaging-BfnD6v53.d.mts +3174 -0
  108. package/dist/deployed/TokenMessaging-BfnD6v53.d.ts +3174 -0
  109. package/dist/deployed/TokenMessaging.cjs +10 -0
  110. package/dist/deployed/TokenMessaging.cjs.map +1 -1
  111. package/dist/deployed/TokenMessaging.d.mts +1 -0
  112. package/dist/deployed/TokenMessaging.d.ts +1 -0
  113. package/dist/deployed/TokenMessaging.mjs +10 -0
  114. package/dist/deployed/TokenMessaging.mjs.map +1 -1
  115. package/dist/deployed/Treasurer-DlA2Gv8f.d.mts +450 -0
  116. package/dist/deployed/Treasurer-DlA2Gv8f.d.ts +450 -0
  117. package/dist/deployed/Treasurer.cjs +9 -0
  118. package/dist/deployed/Treasurer.cjs.map +1 -1
  119. package/dist/deployed/Treasurer.d.mts +1 -0
  120. package/dist/deployed/Treasurer.d.ts +1 -0
  121. package/dist/deployed/Treasurer.mjs +9 -0
  122. package/dist/deployed/Treasurer.mjs.map +1 -1
  123. package/dist/deployed/USDCImpl-DN89Rpdz.d.mts +1124 -0
  124. package/dist/deployed/USDCImpl-DN89Rpdz.d.ts +1124 -0
  125. package/dist/deployed/USDCImpl.d.mts +1 -0
  126. package/dist/deployed/USDCImpl.d.ts +1 -0
  127. package/dist/deployed/USDCProxy-BsrYumZv.d.mts +141 -0
  128. package/dist/deployed/USDCProxy-BsrYumZv.d.ts +141 -0
  129. package/dist/deployed/USDCProxy.d.mts +1 -0
  130. package/dist/deployed/USDCProxy.d.ts +1 -0
  131. package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.mts +73 -0
  132. package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.ts +73 -0
  133. package/dist/deployed/USDCSignatureLib.d.mts +1 -0
  134. package/dist/deployed/USDCSignatureLib.d.ts +1 -0
  135. package/dist/deployed/USDT-DVAQjDdu.d.mts +690 -0
  136. package/dist/deployed/USDT-DVAQjDdu.d.ts +690 -0
  137. package/dist/deployed/USDT.d.mts +1 -0
  138. package/dist/deployed/USDT.d.ts +1 -0
  139. package/dist/deployed/contracts-CwDH7mzf.d.mts +68 -0
  140. package/dist/deployed/contracts-Yg5JhOts.d.ts +68 -0
  141. package/dist/deployed/contracts.cjs +119 -47
  142. package/dist/deployed/contracts.cjs.map +1 -1
  143. package/dist/deployed/contracts.d.mts +31 -0
  144. package/dist/deployed/contracts.d.ts +31 -0
  145. package/dist/deployed/contracts.mjs +119 -47
  146. package/dist/deployed/contracts.mjs.map +1 -1
  147. package/dist/deployed/index.cjs +119 -47
  148. package/dist/deployed/index.cjs.map +1 -1
  149. package/dist/deployed/index.d.mts +36 -0
  150. package/dist/deployed/index.d.ts +36 -0
  151. package/dist/deployed/index.mjs +119 -47
  152. package/dist/deployed/index.mjs.map +1 -1
  153. package/dist/index.cjs +43 -2
  154. package/dist/index.cjs.map +1 -1
  155. package/dist/index.d.mts +49 -2
  156. package/dist/index.d.ts +49 -2
  157. package/dist/index.mjs +43 -2
  158. package/dist/index.mjs.map +1 -1
  159. package/package.json +2 -2
@@ -33,6 +33,7 @@ var addresses = {
33
33
  "gravity-mainnet": "0x9c2dc7377717603eB92b2655c5f2E7997a4945BD",
34
34
  "hedera-mainnet": "0x8a2B28364102Bea189D99A475C494330Ef2bDD0B",
35
35
  "hemi-mainnet": "0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6",
36
+ "horizen-mainnet": "0x88853D410299BCBfE5fCC9Eef93c03115E908279",
36
37
  "ink-mainnet": "0x45f1A95A4D3f3836523F5c83673c797f4d4d263B",
37
38
  "iota-mainnet": "0x1C10CC06DC6D35970d1D53B2A23c76ef370d4135",
38
39
  "islander-mainnet": "0x808d7c71ad2ba3FA531b068a2417C63106BC0949",
@@ -44,6 +45,7 @@ var addresses = {
44
45
  "mantle-mainnet": "0x41B491285A4f888F9f636cEc8a363AB9770a0AEF",
45
46
  "mantlesep-testnet": "0xF1815bd50389c46847f0Bda824eC8da914045D14",
46
47
  "metis-mainnet": "0xcbE78230CcA58b9EF4c3c5D1bC0D7E4b3206588a",
48
+ "moderato-testnet": "0x60219C44E146BAf36002eA73767820238Ebc1db6",
47
49
  "monad-testnet": "0x43F2376D5D03553aE72F4A8093bbe9de4336EB08",
48
50
  "nibiru-mainnet": "0x08C49257767c1f92634A9cDbF0663Af0356a472A",
49
51
  "odyssey-testnet": "0xf4D9235269a96aaDaFc9aDAe454a0618eBE37949",
@@ -72,6 +74,7 @@ var addresses = {
72
74
  "swell-mainnet": "0x851C9D74BF5cfAEB4a0082A55a65A8F2718b337F",
73
75
  "taiko-mainnet": "0x45d417612e177672958dC0537C45a8f8d754Ac2E",
74
76
  "telos-mainnet": "0x88853D410299BCBfE5fCC9Eef93c03115E908279",
77
+ "tempo-mainnet": "0x19Ff94Fe4C93D546e4DB3E1FB124D45366B0b9F5",
75
78
  "unichain-mainnet": "0xB1EeAD6959cb5bB9B20417d6689922523B2B86C3",
76
79
  "xdc-mainnet": "0x2761c39102BCF7fc6365580d94cd1882F9cc2650",
77
80
  "zkconsensys-mainnet": "0x5f688F563Dc16590e570f97b542FA87931AF2feD"
@@ -109,6 +112,7 @@ var transactionHashes = {
109
112
  "gravity-mainnet": "0xd817c9f51782f326707974d92c41d64444dfc34b848fecd4a3ef044558d3456b",
110
113
  "hedera-mainnet": "0xf299ebdeb1187a42d8c86f5238772489335540499084e0d8addcd327d49561d4",
111
114
  "hemi-mainnet": "0x0a42c1ba9dae5a54366083824587eda117e56d5135e4010ebc1ab9fba1131eb4",
115
+ "horizen-mainnet": "0x196152d134461fc95a87d55d94621af86bf8f932746abd68ecbdb537563ae3e6",
112
116
  "ink-mainnet": "0x88c09ca4533e0711aa59c4eb8ce82ce2a402a561975a40822918244cca015133",
113
117
  "iota-mainnet": "0x8d8d71e6620f16e3d21da01aff8590531c15f0a3639283437aa5cf81081245c4",
114
118
  "islander-mainnet": "0xc449519259930b36073d3699ce0b6f7419ece1e35827afccca4906fb7af4b49d",
@@ -120,6 +124,7 @@ var transactionHashes = {
120
124
  "mantle-mainnet": "0x778e33a4ab167019fed9215b07dd79ee0e5fd39d1f13e8439b7a932f1433cdd9",
121
125
  "mantlesep-testnet": "0xfccddd244ae5059f75bed8c4df25c68757451db037444d811de3b703fa624dd1",
122
126
  "metis-mainnet": "0x0444fdf3d5b1a49ddb05319f26c368ed5d508f41a31e9bddd339ca14c2414f50",
127
+ "moderato-testnet": "0x6bfeb0bc7ad884972482accb9d444c14ce2540abf90523544393ffe7b82fdd23",
123
128
  "monad-testnet": "0x6c6deef6c38dc7cfb68f5c73826f594987fa607c874b24e1e61c60e12da678c1",
124
129
  "nibiru-mainnet": "0xa2bd96d48c61455850142cb2498656a989ca010c6b58aabe90695d2380109c8f",
125
130
  "odyssey-testnet": "0x283495091b82614ee6ff98f333309d8fae3e81dbc6127e5fea6779e049f5954d",
@@ -147,11 +152,13 @@ var transactionHashes = {
147
152
  "swell-mainnet": "0x15efb795d18d92ed02681e380ac4b952bb6ae595a8844f558ba279cbfd3f13e1",
148
153
  "taiko-mainnet": "0x8e3284393f7b4b8c42d7f5a7341b8b37edcb39268ab797720867a1a5768a2349",
149
154
  "telos-mainnet": "0x4fdb7ee7f263bda17296c408bd5ab9c40cd870a2c76aacdbe57aad19e3806f87",
155
+ "tempo-mainnet": "0x0bdee3348a9e89bca28478975e43e652422aa45acbecb3fafe66d2b6c8676110",
150
156
  "unichain-mainnet": "0x615ce6efe0118e25f19d1c32712b764b51154e69f480af1716bb981ec7999a71",
151
157
  "xdc-mainnet": "0x96433e60dee0257efc761a4590c5a0bb32ceb2acdd6a1a3ac52bcbd5d286e756",
152
158
  "zkconsensys-mainnet": "0xb2cebe8a3e8b60dc2da92c6d16bb88f1e1550f110dd64a3274030cda08cc494e"
153
159
  };
154
160
  var abi0 = [{ "inputs": [{ "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "uint16", "name": "_queueCapacity", "type": "uint16" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "BusCodec_InvalidBusBytesLength", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidPassengersBytesLength", "type": "error" }, { "inputs": [{ "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "name": "Bus_InvalidFare", "type": "error" }, { "inputs": [{ "internalType": "uint8", "name": "numPassengers", "type": "uint8" }], "name": "Bus_InvalidNumPassengers", "type": "error" }, { "inputs": [], "name": "Bus_InvalidPassenger", "type": "error" }, { "inputs": [], "name": "Bus_QueueFull", "type": "error" }, { "inputs": [], "name": "InvalidDelegate", "type": "error" }, { "inputs": [], "name": "InvalidEndpointCall", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "options", "type": "bytes" }], "name": "InvalidOptions", "type": "error" }, { "inputs": [], "name": "LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "MessagingOptions_ZeroGasLimit", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidAssetId", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidEid", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidMsgValue", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_MaxNumPassengersExceedsQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_NotEnoughPassengers", "type": "error" }, { "inputs": [], "name": "Messaging_Unauthorized", "type": "error" }, { "inputs": [], "name": "Messaging_Unavailable", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "NoPeer", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "msgValue", "type": "uint256" }], "name": "NotEnoughNative", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "OnlyEndpoint", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }], "name": "OnlyPeer", "type": "error" }, { "inputs": [], "name": "OnlySelf", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }], "name": "SimulationResult", "type": "error" }, { "inputs": [], "name": "TaxiCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "stargateImpl", "type": "address" }, { "indexed": false, "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "AssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "startTicketId", "type": "uint72" }, { "indexed": false, "internalType": "uint8", "name": "numPassengers", "type": "uint8" }, { "indexed": false, "internalType": "bytes32", "name": "guid", "type": "bytes32" }], "name": "BusDriven", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint16", "name": "startSlot", "type": "uint16" }, { "indexed": false, "internalType": "uint16", "name": "endSlot", "type": "uint16" }], "name": "BusQueueStorageInitialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "indexed": false, "internalType": "uint80", "name": "fare", "type": "uint80" }, { "indexed": false, "internalType": "bytes", "name": "passenger", "type": "bytes" }], "name": "BusRode", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "indexed": false, "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "EnforcedOptionSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "indexed": false, "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }], "name": "FaresSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "name": "GasLimitSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint16", "name": "maxAssetId", "type": "uint16" }], "name": "MaxAssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }], "name": "MaxNumPassengersSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "name": "NativeDropAmountSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropApplied", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropFailed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "name": "PeerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "planner", "type": "address" }], "name": "PlannerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "preCrimeAddress", "type": "address" }], "name": "PreCrimeSet", "type": "event" }, { "inputs": [], "name": "MSG_TYPE_BUS", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MSG_TYPE_TAXI", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }], "name": "allowInitializePath", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "name": "assetIds", "outputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "busQueues", "outputs": [{ "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }, { "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }, { "internalType": "uint16", "name": "qLength", "type": "uint16" }, { "internalType": "uint72", "name": "nextTicketId", "type": "uint72" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint16", "name": "_msgType", "type": "uint16" }, { "internalType": "bytes", "name": "_extraOptions", "type": "bytes" }], "name": "combineOptions", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "driveBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }], "name": "enforcedOptions", "outputs": [{ "internalType": "bytes", "name": "enforcedOption", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "gasLimits", "outputs": [{ "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint16", "name": "_index", "type": "uint16" }], "name": "getPassengerHash", "outputs": [{ "internalType": "bytes32", "name": "hash", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32[]", "name": "_dstEids", "type": "uint32[]" }, { "internalType": "uint16", "name": "_startSlot", "type": "uint16" }, { "internalType": "uint16", "name": "_endSlot", "type": "uint16" }], "name": "initializeBusQueueStorage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "", "type": "tuple" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_sender", "type": "address" }], "name": "isComposeMsgSender", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "isPeer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceive", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "bytes", "name": "message", "type": "bytes" }, { "internalType": "bytes", "name": "extraData", "type": "bytes" }], "internalType": "struct InboundPacket[]", "name": "_packets", "type": "tuple[]" }], "name": "lzReceiveAndRevert", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceiveSimulate", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "maxAssetId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "nativeDropAmounts", "outputs": [{ "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "nextNonce", "outputs": [{ "internalType": "uint64", "name": "nonce", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oApp", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oAppVersion", "outputs": [{ "internalType": "uint64", "name": "senderVersion", "type": "uint64" }, { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "peers", "outputs": [{ "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "planner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "preCrime", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "queueCapacity", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "quoteDriveBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_numPassengers", "type": "uint8" }], "name": "quoteFares", "outputs": [{ "internalType": "uint256", "name": "busFare", "type": "uint256" }, { "internalType": "uint256", "name": "busAndNativeDropFare", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_airdrop", "type": "bool" }], "name": "quoteRideBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }], "name": "quoteTaxi", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "internalType": "struct RideBusParams", "name": "_params", "type": "tuple" }], "name": "rideBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }, { "components": [{ "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "internalType": "bytes", "name": "passengerBytes", "type": "bytes" }], "internalType": "struct Ticket", "name": "ticket", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargateImpl", "type": "address" }, { "internalType": "uint16", "name": "_assetId", "type": "uint16" }], "name": "setAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_delegate", "type": "address" }], "name": "setDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "setEnforcedOptions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint80", "name": "_busFare", "type": "uint80" }, { "internalType": "uint80", "name": "_busAndNativeDropFare", "type": "uint80" }], "name": "setFares", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint128", "name": "_gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "_nativeDropGasLimit", "type": "uint128" }], "name": "setGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "_maxAssetId", "type": "uint16" }], "name": "setMaxAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_maxNumPassengers", "type": "uint8" }], "name": "setMaxNumPassengers", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint128", "name": "_nativeDropAmount", "type": "uint128" }], "name": "setNativeDropAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "setPeer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_planner", "type": "address" }], "name": "setPlanner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_preCrime", "type": "address" }], "name": "setPreCrime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "stargateImpls", "outputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_messagingFee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "taxi", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
161
+ var abi1 = [{ "inputs": [{ "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "uint16", "name": "_queueCapacity", "type": "uint16" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "BusCodec_InvalidBusBytesLength", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidPassengersBytesLength", "type": "error" }, { "inputs": [{ "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "name": "Bus_InvalidFare", "type": "error" }, { "inputs": [{ "internalType": "uint8", "name": "numPassengers", "type": "uint8" }], "name": "Bus_InvalidNumPassengers", "type": "error" }, { "inputs": [], "name": "Bus_InvalidPassenger", "type": "error" }, { "inputs": [], "name": "Bus_QueueFull", "type": "error" }, { "inputs": [], "name": "InvalidDelegate", "type": "error" }, { "inputs": [], "name": "InvalidEndpointCall", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "options", "type": "bytes" }], "name": "InvalidOptions", "type": "error" }, { "inputs": [], "name": "LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "MessagingOptions_ZeroGasLimit", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidAssetId", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidEid", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidMsgValue", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_MaxNumPassengersExceedsQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_NotEnoughPassengers", "type": "error" }, { "inputs": [], "name": "Messaging_Unauthorized", "type": "error" }, { "inputs": [], "name": "Messaging_Unavailable", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "NoPeer", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "msgValue", "type": "uint256" }], "name": "NotEnoughNative", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "OnlyEndpoint", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }], "name": "OnlyPeer", "type": "error" }, { "inputs": [], "name": "OnlySelf", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }], "name": "SimulationResult", "type": "error" }, { "inputs": [], "name": "TaxiCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "TokenMessaging_OnlyAltToken", "type": "error" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "stargateImpl", "type": "address" }, { "indexed": false, "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "AssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "startTicketId", "type": "uint72" }, { "indexed": false, "internalType": "uint8", "name": "numPassengers", "type": "uint8" }, { "indexed": false, "internalType": "bytes32", "name": "guid", "type": "bytes32" }], "name": "BusDriven", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint16", "name": "startSlot", "type": "uint16" }, { "indexed": false, "internalType": "uint16", "name": "endSlot", "type": "uint16" }], "name": "BusQueueStorageInitialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "indexed": false, "internalType": "uint80", "name": "fare", "type": "uint80" }, { "indexed": false, "internalType": "bytes", "name": "passenger", "type": "bytes" }], "name": "BusRode", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "indexed": false, "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "EnforcedOptionSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "indexed": false, "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }], "name": "FaresSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "name": "GasLimitSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint16", "name": "maxAssetId", "type": "uint16" }], "name": "MaxAssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }], "name": "MaxNumPassengersSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "name": "NativeDropAmountSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropApplied", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropFailed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "name": "PeerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "planner", "type": "address" }], "name": "PlannerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "preCrimeAddress", "type": "address" }], "name": "PreCrimeSet", "type": "event" }, { "inputs": [], "name": "MSG_TYPE_BUS", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MSG_TYPE_TAXI", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }], "name": "allowInitializePath", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "name": "assetIds", "outputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "busQueues", "outputs": [{ "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }, { "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }, { "internalType": "uint16", "name": "qLength", "type": "uint16" }, { "internalType": "uint72", "name": "nextTicketId", "type": "uint72" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint16", "name": "_msgType", "type": "uint16" }, { "internalType": "bytes", "name": "_extraOptions", "type": "bytes" }], "name": "combineOptions", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "driveBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }], "name": "enforcedOptions", "outputs": [{ "internalType": "bytes", "name": "enforcedOption", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "gasLimits", "outputs": [{ "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint16", "name": "_index", "type": "uint16" }], "name": "getPassengerHash", "outputs": [{ "internalType": "bytes32", "name": "hash", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32[]", "name": "_dstEids", "type": "uint32[]" }, { "internalType": "uint16", "name": "_startSlot", "type": "uint16" }, { "internalType": "uint16", "name": "_endSlot", "type": "uint16" }], "name": "initializeBusQueueStorage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "", "type": "tuple" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_sender", "type": "address" }], "name": "isComposeMsgSender", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "isPeer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceive", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "bytes", "name": "message", "type": "bytes" }, { "internalType": "bytes", "name": "extraData", "type": "bytes" }], "internalType": "struct InboundPacket[]", "name": "_packets", "type": "tuple[]" }], "name": "lzReceiveAndRevert", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceiveSimulate", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "maxAssetId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "nativeDropAmounts", "outputs": [{ "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "nextNonce", "outputs": [{ "internalType": "uint64", "name": "nonce", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oApp", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oAppVersion", "outputs": [{ "internalType": "uint64", "name": "senderVersion", "type": "uint64" }, { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "peers", "outputs": [{ "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "planner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "preCrime", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "queueCapacity", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "quoteDriveBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_numPassengers", "type": "uint8" }], "name": "quoteFares", "outputs": [{ "internalType": "uint256", "name": "busFare", "type": "uint256" }, { "internalType": "uint256", "name": "busAndNativeDropFare", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_airdrop", "type": "bool" }], "name": "quoteRideBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }], "name": "quoteTaxi", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "internalType": "struct RideBusParams", "name": "_params", "type": "tuple" }], "name": "rideBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }, { "components": [{ "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "internalType": "bytes", "name": "passengerBytes", "type": "bytes" }], "internalType": "struct Ticket", "name": "ticket", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargateImpl", "type": "address" }, { "internalType": "uint16", "name": "_assetId", "type": "uint16" }], "name": "setAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_delegate", "type": "address" }], "name": "setDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "setEnforcedOptions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint80", "name": "_busFare", "type": "uint80" }, { "internalType": "uint80", "name": "_busAndNativeDropFare", "type": "uint80" }], "name": "setFares", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint128", "name": "_gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "_nativeDropGasLimit", "type": "uint128" }], "name": "setGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "_maxAssetId", "type": "uint16" }], "name": "setMaxAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_maxNumPassengers", "type": "uint8" }], "name": "setMaxNumPassengers", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint128", "name": "_nativeDropAmount", "type": "uint128" }], "name": "setNativeDropAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "setPeer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_planner", "type": "address" }], "name": "setPlanner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_preCrime", "type": "address" }], "name": "setPreCrime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "stargateImpls", "outputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_messagingFee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "taxi", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
155
162
  var abis = {
156
163
  "abstract-mainnet": abi0,
157
164
  "ape-mainnet": abi0,
@@ -186,6 +193,7 @@ var abis = {
186
193
  "gravity-mainnet": abi0,
187
194
  "hedera-mainnet": abi0,
188
195
  "hemi-mainnet": abi0,
196
+ "horizen-mainnet": abi0,
189
197
  "ink-mainnet": abi0,
190
198
  "iota-mainnet": abi0,
191
199
  "islander-mainnet": abi0,
@@ -197,6 +205,7 @@ var abis = {
197
205
  "mantle-mainnet": abi0,
198
206
  "mantlesep-testnet": abi0,
199
207
  "metis-mainnet": abi0,
208
+ "moderato-testnet": abi1,
200
209
  "monad-testnet": abi0,
201
210
  "nibiru-mainnet": abi0,
202
211
  "odyssey-testnet": abi0,
@@ -225,6 +234,7 @@ var abis = {
225
234
  "swell-mainnet": abi0,
226
235
  "taiko-mainnet": abi0,
227
236
  "telos-mainnet": abi0,
237
+ "tempo-mainnet": abi0,
228
238
  "unichain-mainnet": abi0,
229
239
  "xdc-mainnet": abi0,
230
240
  "zkconsensys-mainnet": abi0