@stargatefinance/stg-evm-sdk-v2 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployments/injectiveevm-mainnet/CreditMessaging.json +1501 -0
- package/deployments/injectiveevm-mainnet/FeeLibV1ETH.json +611 -0
- package/deployments/injectiveevm-mainnet/OFTWrapper.json +1506 -0
- package/deployments/injectiveevm-mainnet/StargateOFTETH.json +1989 -0
- package/deployments/injectiveevm-mainnet/TokenMessaging.json +2475 -0
- package/deployments/injectiveevm-mainnet/Treasurer.json +450 -0
- package/deployments/tempo-mainnet/CreditMessaging.json +31 -31
- package/deployments/tempo-mainnet/FeeLibV1EURC.json +32 -32
- package/deployments/tempo-mainnet/FeeLibV1USDC.json +32 -32
- package/deployments/tempo-mainnet/OFTWrapper.json +23 -23
- package/deployments/tempo-mainnet/StargateOFTEURC.json +40 -40
- package/deployments/tempo-mainnet/StargateOFTUSDC.json +40 -40
- package/deployments/tempo-mainnet/TokenMessaging.json +49 -49
- package/deployments/tempo-mainnet/Treasurer.json +26 -26
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.mts +1943 -0
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.ts +1943 -0
- package/dist/deployed/CreditMessaging.cjs +5 -2
- package/dist/deployed/CreditMessaging.cjs.map +1 -1
- package/dist/deployed/CreditMessaging.d.mts +1 -0
- package/dist/deployed/CreditMessaging.d.ts +1 -0
- package/dist/deployed/CreditMessaging.mjs +5 -2
- package/dist/deployed/CreditMessaging.mjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.mts +497 -0
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.ts +497 -0
- package/dist/deployed/FeeLibV1ETH.cjs +3 -0
- package/dist/deployed/FeeLibV1ETH.cjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.d.mts +1 -0
- package/dist/deployed/FeeLibV1ETH.d.ts +1 -0
- package/dist/deployed/FeeLibV1ETH.mjs +3 -0
- package/dist/deployed/FeeLibV1ETH.mjs.map +1 -1
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.mts +352 -0
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.ts +352 -0
- package/dist/deployed/FeeLibV1EURC.cjs +2 -2
- package/dist/deployed/FeeLibV1EURC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1EURC.d.mts +1 -0
- package/dist/deployed/FeeLibV1EURC.d.ts +1 -0
- package/dist/deployed/FeeLibV1EURC.mjs +2 -2
- package/dist/deployed/FeeLibV1EURC.mjs.map +1 -1
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.mts +328 -0
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.ts +328 -0
- package/dist/deployed/FeeLibV1METIS.d.mts +1 -0
- package/dist/deployed/FeeLibV1METIS.d.ts +1 -0
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.mts +524 -0
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.ts +524 -0
- package/dist/deployed/FeeLibV1USDC.cjs +2 -2
- package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.d.mts +1 -0
- package/dist/deployed/FeeLibV1USDC.d.ts +1 -0
- package/dist/deployed/FeeLibV1USDC.mjs +2 -2
- package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.mts +468 -0
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.ts +468 -0
- package/dist/deployed/FeeLibV1USDT.d.mts +1 -0
- package/dist/deployed/FeeLibV1USDT.d.ts +1 -0
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.mts +328 -0
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.ts +328 -0
- package/dist/deployed/FeeLibV1mETH.d.mts +1 -0
- package/dist/deployed/FeeLibV1mETH.d.ts +1 -0
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.mts +473 -0
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.ts +473 -0
- package/dist/deployed/OFTTokenETH.d.mts +1 -0
- package/dist/deployed/OFTTokenETH.d.ts +1 -0
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.mts +1364 -0
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.ts +1364 -0
- package/dist/deployed/OFTWrapper.cjs +5 -2
- package/dist/deployed/OFTWrapper.cjs.map +1 -1
- package/dist/deployed/OFTWrapper.d.mts +1 -0
- package/dist/deployed/OFTWrapper.d.ts +1 -0
- package/dist/deployed/OFTWrapper.mjs +5 -2
- package/dist/deployed/OFTWrapper.mjs.map +1 -1
- package/dist/deployed/RewardLib-DZPcpNd5.d.mts +115 -0
- package/dist/deployed/RewardLib-DZPcpNd5.d.ts +115 -0
- package/dist/deployed/RewardLib.d.mts +1 -0
- package/dist/deployed/RewardLib.d.ts +1 -0
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.mts +115 -0
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.ts +115 -0
- package/dist/deployed/RewardRegistryLib.d.mts +1 -0
- package/dist/deployed/RewardRegistryLib.d.ts +1 -0
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.mts +308 -0
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.ts +308 -0
- package/dist/deployed/{StargateOFTETH-DKShRecU.d.mts → StargateOFTETH-DnpwT3Cg.d.mts} +3 -0
- package/dist/deployed/{StargateOFTETH-DKShRecU.d.ts → StargateOFTETH-DnpwT3Cg.d.ts} +3 -0
- package/dist/deployed/StargateOFTETH.cjs +3 -0
- package/dist/deployed/StargateOFTETH.cjs.map +1 -1
- package/dist/deployed/StargateOFTETH.d.mts +1 -1
- package/dist/deployed/StargateOFTETH.d.ts +1 -1
- package/dist/deployed/StargateOFTETH.mjs +3 -0
- package/dist/deployed/StargateOFTETH.mjs.map +1 -1
- package/dist/deployed/StargateOFTEURC.cjs +2 -2
- package/dist/deployed/StargateOFTEURC.cjs.map +1 -1
- package/dist/deployed/StargateOFTEURC.mjs +2 -2
- package/dist/deployed/StargateOFTEURC.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.cjs +2 -2
- package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.mjs +2 -2
- package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
- package/dist/deployed/{TokenMessaging-BfnD6v53.d.mts → TokenMessaging-DblIo7R9.d.mts} +3 -0
- package/dist/deployed/{TokenMessaging-BfnD6v53.d.ts → TokenMessaging-DblIo7R9.d.ts} +3 -0
- package/dist/deployed/TokenMessaging.cjs +5 -2
- package/dist/deployed/TokenMessaging.cjs.map +1 -1
- package/dist/deployed/TokenMessaging.d.mts +1 -1
- package/dist/deployed/TokenMessaging.d.ts +1 -1
- package/dist/deployed/TokenMessaging.mjs +5 -2
- package/dist/deployed/TokenMessaging.mjs.map +1 -1
- package/dist/deployed/{Treasurer-DlA2Gv8f.d.mts → Treasurer-OOFshPmY.d.mts} +3 -0
- package/dist/deployed/{Treasurer-DlA2Gv8f.d.ts → Treasurer-OOFshPmY.d.ts} +3 -0
- package/dist/deployed/Treasurer.cjs +5 -2
- package/dist/deployed/Treasurer.cjs.map +1 -1
- package/dist/deployed/Treasurer.d.mts +1 -1
- package/dist/deployed/Treasurer.d.ts +1 -1
- package/dist/deployed/Treasurer.mjs +5 -2
- package/dist/deployed/Treasurer.mjs.map +1 -1
- package/dist/deployed/{contracts-Yg5JhOts.d.ts → contracts-BtrnE9gq.d.ts} +6 -6
- package/dist/deployed/{contracts-CwDH7mzf.d.mts → contracts-CRtAyxkQ.d.mts} +6 -6
- package/dist/deployed/contracts.cjs +34 -16
- package/dist/deployed/contracts.cjs.map +1 -1
- package/dist/deployed/contracts.d.mts +6 -6
- package/dist/deployed/contracts.d.ts +6 -6
- package/dist/deployed/contracts.mjs +34 -16
- package/dist/deployed/contracts.mjs.map +1 -1
- package/dist/deployed/index.cjs +34 -16
- package/dist/deployed/index.cjs.map +1 -1
- package/dist/deployed/index.d.mts +7 -7
- package/dist/deployed/index.d.ts +7 -7
- package/dist/deployed/index.mjs +34 -16
- package/dist/deployed/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/deployed/index.mjs
CHANGED
|
@@ -82,6 +82,7 @@ var addresses = {
|
|
|
82
82
|
"hedera-mainnet": "0x0e81579B25C9c458A2030824B7fdBd0194900803",
|
|
83
83
|
"hemi-mainnet": "0x45A01E4e04F14f7A4a6702c74187c5F6222033cd",
|
|
84
84
|
"horizen-mainnet": "0xbbA60da06c2c5424f03f7434542280FCAd453d10",
|
|
85
|
+
"injectiveevm-mainnet": "0xE1AD845D93853fff44990aE0DcecD8575293681e",
|
|
85
86
|
"ink-mainnet": "0xAF54BE5B6eEc24d6BFACf1cce4eaF680A8239398",
|
|
86
87
|
"iota-mainnet": "0x45d417612e177672958dC0537C45a8f8d754Ac2E",
|
|
87
88
|
"islander-mainnet": "0x224D8Fd7aB6AD4c6eb4611Ce56EF35Dec2277F03",
|
|
@@ -122,7 +123,7 @@ var addresses = {
|
|
|
122
123
|
"swell-mainnet": "0x28BEc7E30E6faee657a03e19Bf1128AaD7632A00",
|
|
123
124
|
"taiko-mainnet": "0x0dB9afb4C33be43a0a0e396Fd1383B4ea97aB10a",
|
|
124
125
|
"telos-mainnet": "0xbbA60da06c2c5424f03f7434542280FCAd453d10",
|
|
125
|
-
"tempo-mainnet": "
|
|
126
|
+
"tempo-mainnet": "0x0CDab740d1aA2f8ED0055C69769Ee2ac48554140",
|
|
126
127
|
"unichain-mainnet": "0xAf368c91793CB22739386DFCbBb2F1A9e4bCBeBf",
|
|
127
128
|
"xdc-mainnet": "0xef9ec60e186c8A1a0439AF0AedB6dEb9f34A2c88",
|
|
128
129
|
"zkconsensys-mainnet": "0x138EB30f73BC423c6455C53df6D89CB01d9eBc63"
|
|
@@ -161,6 +162,7 @@ var transactionHashes = {
|
|
|
161
162
|
"hedera-mainnet": "0xf31b86403a6b4b281284bd6df151a5c03c3c85b43066983d9bcfb5c53a42490b",
|
|
162
163
|
"hemi-mainnet": "0x01e0eb15e105b244d6841ffb59ac30182e0aefbaf6e102cf94bd1103f61e2325",
|
|
163
164
|
"horizen-mainnet": "0xb7fe19825f0315ccbd22919e34617e01d342ed31bfa8bc0286e2e2d4a544bd3a",
|
|
165
|
+
"injectiveevm-mainnet": "0xfb591e8435542b658807811993ba9531184b16ce39af18b202f5f963b16ab46f",
|
|
164
166
|
"ink-mainnet": "0xd2a2d79a94618f83e09bfc021de0a9858b09a6b200dcd7e331f51ec3d42b1f69",
|
|
165
167
|
"iota-mainnet": "0x3db89adab57462824ac87835d13cb04cf99ef59334b8f752c54fa3db43519c53",
|
|
166
168
|
"islander-mainnet": "0x2763dbb531ba41e2f8b6fae1d07a77cf27255d9aabed20a35a76094448f63e1c",
|
|
@@ -200,7 +202,7 @@ var transactionHashes = {
|
|
|
200
202
|
"swell-mainnet": "0x9e5f6834b2b5a9e5cd2d292e762a5bcb1a879800901ebf08a5c1ec5aa23b3ce7",
|
|
201
203
|
"taiko-mainnet": "0x6cbe2e4159135d923787224dbc6f1b5386a4cab21e345caefe137f4572cc5d16",
|
|
202
204
|
"telos-mainnet": "0x9ad28676114dd5f4ec08f71a609732e702d248284b5427c14bd09d1280838d1b",
|
|
203
|
-
"tempo-mainnet": "
|
|
205
|
+
"tempo-mainnet": "0xf2649ac9e02a99e9fd431eef3ced9e079bd4875c154af6e5125049874fa1c0f1",
|
|
204
206
|
"unichain-mainnet": "0x2348b4502d2a359aa3c5c241e646695ecb229f2ef02db7dd448e9e39cae98bbb",
|
|
205
207
|
"xdc-mainnet": "0x50113dc263ecccb45e6df2474cc907ad158c9fc178fa60fc28e6022497fb6a24",
|
|
206
208
|
"zkconsensys-mainnet": "0x6742fcfa893d1064e87d0d4e6cf03ee07d8a616d5770752ef49a0cd690f2b66b"
|
|
@@ -242,6 +244,7 @@ var abis = {
|
|
|
242
244
|
"hedera-mainnet": abi0,
|
|
243
245
|
"hemi-mainnet": abi0,
|
|
244
246
|
"horizen-mainnet": abi0,
|
|
247
|
+
"injectiveevm-mainnet": abi0,
|
|
245
248
|
"ink-mainnet": abi0,
|
|
246
249
|
"iota-mainnet": abi0,
|
|
247
250
|
"islander-mainnet": abi0,
|
|
@@ -320,6 +323,7 @@ var addresses2 = {
|
|
|
320
323
|
"gravity-mainnet": "0x77C71633C34C3784ede189d74223122422492a0f",
|
|
321
324
|
"hedera-mainnet": "0xaC7D7780C3338fc306033e443d6232Da12B5A907",
|
|
322
325
|
"hemi-mainnet": "0x9d1B1669c73b033DFe47ae5a0164Ab96df25B944",
|
|
326
|
+
"injectiveevm-mainnet": "0x6D205337F45D6850c3c3006e28d5b52c8a432c35",
|
|
323
327
|
"iota-mainnet": "0x0dB9afb4C33be43a0a0e396Fd1383B4ea97aB10a",
|
|
324
328
|
"islander-mainnet": "0x8731d54E9D02c286767d56ac03e8037C07e01e98",
|
|
325
329
|
"klaytn-mainnet": "0xB83ab1FF56cCD2B9E9914c68C182135C3a7ECFcd",
|
|
@@ -379,6 +383,7 @@ var transactionHashes2 = {
|
|
|
379
383
|
"gravity-mainnet": "0x9271f12dd6551be1fc649212b85d8b661e93d6e03505c4c29ccf3df048968b50",
|
|
380
384
|
"hedera-mainnet": "0x3ea4b6d1c86d6f0023759328e91232e42cf6078932f5b94dd0efa0ae84e61169",
|
|
381
385
|
"hemi-mainnet": "0x43786fd8f18aee792879d9a9c987a284699b8fdc0dd30ee64e117818f1a2d214",
|
|
386
|
+
"injectiveevm-mainnet": "0xe71f2eee1d5cc6f2a08d18cab0067626470a700872a8a1065bb0511504949299",
|
|
382
387
|
"iota-mainnet": "0xdbd0d739ee91849ae17903229646973b26309ba919bc422d01527d10bdf4a8ed",
|
|
383
388
|
"islander-mainnet": "0x97c7694a84990207fe1416b66421fc4660c07afb2555a24def01541d222f219a",
|
|
384
389
|
"klaytn-mainnet": "0xfc6329a840f3eb1655a1202ea8fe9282afd24b41bc8c4e2443ab3e04895fbc30",
|
|
@@ -439,6 +444,7 @@ var abis2 = {
|
|
|
439
444
|
"gravity-mainnet": abi02,
|
|
440
445
|
"hedera-mainnet": abi02,
|
|
441
446
|
"hemi-mainnet": abi02,
|
|
447
|
+
"injectiveevm-mainnet": abi02,
|
|
442
448
|
"iota-mainnet": abi02,
|
|
443
449
|
"islander-mainnet": abi02,
|
|
444
450
|
"klaytn-mainnet": abi02,
|
|
@@ -492,7 +498,7 @@ var addresses3 = {
|
|
|
492
498
|
"moderato-testnet": "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
493
499
|
"plumephoenix-mainnet": "0xf2d112B3b88Cff0F011Cef9BaB2Ec64a69403C1B",
|
|
494
500
|
"sepolia-testnet": "0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b",
|
|
495
|
-
"tempo-mainnet": "
|
|
501
|
+
"tempo-mainnet": "0x007eb5a054cE1099b4C3e5bAB9C91302F9eabC15"
|
|
496
502
|
};
|
|
497
503
|
var transactionHashes3 = {
|
|
498
504
|
"arbsep-testnet": "0xbebbc37d8e1cbe686ec7e7110eb93aca63efbd821c82bc787b8c9044236b2de0",
|
|
@@ -504,7 +510,7 @@ var transactionHashes3 = {
|
|
|
504
510
|
"moderato-testnet": "0x912c839f9f3f47944cadee0a9bf5ad9b975204db91de5c72cfea2f7692d93239",
|
|
505
511
|
"plumephoenix-mainnet": "0x1b44eff45c5581c865d525a4d954c6b12ad10b0e88e6a7c2b59e69f72f857ad7",
|
|
506
512
|
"sepolia-testnet": "0xf99055f50b0e9f1fda634487a67c3a4bf587727b89f3246e6591dcef58be92bf",
|
|
507
|
-
"tempo-mainnet": "
|
|
513
|
+
"tempo-mainnet": "0xf8e411d44160db4b8302b0a4b54900968eeb6e845b1b53daa9ab0ac1f9a696ab"
|
|
508
514
|
};
|
|
509
515
|
var abi03 = [{ "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "FeeLib_InvalidFeeConfiguration", "type": "error" }, { "inputs": [], "name": "FeeLib_Paused", "type": "error" }, { "inputs": [], "name": "FeeLib_Unauthorized", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "components": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "indexed": false, "internalType": "struct FeeConfig", "name": "config", "type": "tuple" }], "name": "FeeConfigSet", "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": "bool", "name": "isPaused", "type": "bool" }], "name": "PausedSet", "type": "event" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFee", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFeeView", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "feeConfigs", "outputs": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "_zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "_zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "_zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_rewardMillionth", "type": "uint24" }], "name": "setFeeConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_isPaused", "type": "bool" }], "name": "setPaused", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stargate", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stargateType", "outputs": [{ "internalType": "enum StargateType", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
510
516
|
var abis3 = {
|
|
@@ -615,7 +621,7 @@ var addresses5 = {
|
|
|
615
621
|
"superposition-mainnet": "0xAfB39384cd5B7d84ed4D569b7ceC294eb1Dc5EE5",
|
|
616
622
|
"taiko-mainnet": "0xCd4302D950e7e6606b6910Cd232758b5ad423311",
|
|
617
623
|
"telos-mainnet": "0xB0B2391a32E066FDf354ef7f4199300f920789F0",
|
|
618
|
-
"tempo-mainnet": "
|
|
624
|
+
"tempo-mainnet": "0x9F317BB668b0cd87b300420Be022b891f96B7145",
|
|
619
625
|
"xdc-mainnet": "0x29eE6138DD4C9815f46D34a4A1ed48F46758A402"
|
|
620
626
|
};
|
|
621
627
|
var transactionHashes5 = {
|
|
@@ -683,7 +689,7 @@ var transactionHashes5 = {
|
|
|
683
689
|
"superposition-mainnet": "0x5d548d1caa4c9847b7031ccaad9052cbb2fe49ecdf7b4979ea0748addcf7ec14",
|
|
684
690
|
"taiko-mainnet": "0x5a53a5b40f675e4b2ccfbca78f6c9b238a4628e03d04bb2b38e0e02f8165986c",
|
|
685
691
|
"telos-mainnet": "0x218abddc7db21a6b8b000316b7a0c79382098783d21f41cd64d3aeaea8039b4f",
|
|
686
|
-
"tempo-mainnet": "
|
|
692
|
+
"tempo-mainnet": "0xdebab7b00edccd554139896540aca8429ceda204aedecb6a7083aed4cb235f27",
|
|
687
693
|
"xdc-mainnet": "0x74e2ff07f09fd66642db577be797a97c3860b8c8aef4d5dc0c7d62e31250cab4"
|
|
688
694
|
};
|
|
689
695
|
var abi05 = [{ "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "FeeLib_InvalidFeeConfiguration", "type": "error" }, { "inputs": [], "name": "FeeLib_Paused", "type": "error" }, { "inputs": [], "name": "FeeLib_Unauthorized", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "components": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "indexed": false, "internalType": "struct FeeConfig", "name": "config", "type": "tuple" }], "name": "FeeConfigSet", "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": "bool", "name": "isPaused", "type": "bool" }], "name": "PausedSet", "type": "event" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFee", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFeeView", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "feeConfigs", "outputs": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "_zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "_zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "_zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_rewardMillionth", "type": "uint24" }], "name": "setFeeConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_isPaused", "type": "bool" }], "name": "setPaused", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stargate", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stargateType", "outputs": [{ "internalType": "enum StargateType", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
@@ -1104,6 +1110,7 @@ var addresses9 = {
|
|
|
1104
1110
|
"hedera-mainnet": "0x783129E4d7bA0Af0C896c239E57C06DF379aAE8c",
|
|
1105
1111
|
"hemi-mainnet": "0x296F55F8Fb28E498B858d0BcDA06D955B2Cb3f97",
|
|
1106
1112
|
"horizen-mainnet": "0x164A2dE1bc5dc56F329909F7c97Bae929CaE557B",
|
|
1113
|
+
"injectiveevm-mainnet": "0xF1815bd50389c46847f0Bda824eC8da914045D14",
|
|
1107
1114
|
"ink-mainnet": "0x9d1B1669c73b033DFe47ae5a0164Ab96df25B944",
|
|
1108
1115
|
"iota-mainnet": "0xf9A525D48fAbFe41c7e81295F08CdEFB8087309B",
|
|
1109
1116
|
"islander-mainnet": "0xB0D502E938ed5f4df2E681fE6E419ff29631d62b",
|
|
@@ -1149,7 +1156,7 @@ var addresses9 = {
|
|
|
1149
1156
|
"swell-mainnet": "0x8ebB731185773Dc7eC7A98cF3b3363d9A5a2D539",
|
|
1150
1157
|
"taiko-mainnet": "0xcc0Ee4232fb1dc01F016b2f3bB3728Acdf7A3563",
|
|
1151
1158
|
"telos-mainnet": "0xA4BbDdefaEE27cd778C4CED30C0535ec06a8502e",
|
|
1152
|
-
"tempo-mainnet": "
|
|
1159
|
+
"tempo-mainnet": "0xaFCC50D1338762BF3DaC7627D0b1Ac9AFcec514d",
|
|
1153
1160
|
"unichain-mainnet": "0xd9492653457A69E9f4987DB43D7fa0112E620Cb4",
|
|
1154
1161
|
"xdc-mainnet": "0x936Ab8C674bcb567CD5dEB85D8A216494704E9D8",
|
|
1155
1162
|
"zkatana-mainnet": "0xE520D724f0C4B72FaEB9C0580281f6FE1F3E79F6",
|
|
@@ -1195,6 +1202,7 @@ var transactionHashes9 = {
|
|
|
1195
1202
|
"hedera-mainnet": "0x5efc319442f1344d6260667e7fc2f9fc258269c646544a5fcaed8fe89f88a745",
|
|
1196
1203
|
"hemi-mainnet": "0x937d66b0b8b77e3fce703e87bc34fc326bb0e1513b5838980a41a3390557154a",
|
|
1197
1204
|
"horizen-mainnet": "0x1c4a1ad074fbc1b8854ae89c889c5e0dec52736b767e395fe526f3406303b538",
|
|
1205
|
+
"injectiveevm-mainnet": "0x470214862fa20a437d7e8dbea85b031b666193b849130c1dc2a6c5af8108b675",
|
|
1198
1206
|
"ink-mainnet": "0xb253e65eaf80b8e618a0a37444c5923c3e62942b63609a6dcb79caee84d0ebcd",
|
|
1199
1207
|
"iota-mainnet": "0xa96b276b1ac17b64b7b94ace4546d517c62aad2f2bb5d3f80188699b6b30c21f",
|
|
1200
1208
|
"islander-mainnet": "0x7fb566f69327dc724830909370cfa3d188ef63002a504a1ed915ea9655ff322b",
|
|
@@ -1239,7 +1247,7 @@ var transactionHashes9 = {
|
|
|
1239
1247
|
"swell-mainnet": "0x04a240fbbced1999634df659be7e3401ea3fc2c46498d672a3a264d9572c1f92",
|
|
1240
1248
|
"taiko-mainnet": "0xa054927ca4fb6432f81f12e5a3f8c32abcc4a5d3a5875c76e7d4e4a54efddf2d",
|
|
1241
1249
|
"telos-mainnet": "0xfca6eaf86e381cabaad6889b28161084ddf05451a1ab0ff4a7de915e169ec88a",
|
|
1242
|
-
"tempo-mainnet": "
|
|
1250
|
+
"tempo-mainnet": "0x958d8819c86e856f0715e106c83cf8a10bfdd39712cef142bbd4430c93bc8104",
|
|
1243
1251
|
"unichain-mainnet": "0xc58e9fabf17f3fa52866e67557d4ddd249dcf91eff761e2b0782bc0701faf8f5",
|
|
1244
1252
|
"xdc-mainnet": "0x0a322cd585ac327482edb2e80800e2d458c4e5ff9e4301fc16deb0a9b882a9f8",
|
|
1245
1253
|
"zkatana-mainnet": "0x0abecd493cb5c65a1b2a54a1bda7745fa177aee91caeb6f9d76ccd0796fcd159",
|
|
@@ -1287,6 +1295,7 @@ var abis9 = {
|
|
|
1287
1295
|
"hedera-mainnet": abi09,
|
|
1288
1296
|
"hemi-mainnet": abi09,
|
|
1289
1297
|
"horizen-mainnet": abi09,
|
|
1298
|
+
"injectiveevm-mainnet": abi09,
|
|
1290
1299
|
"ink-mainnet": abi09,
|
|
1291
1300
|
"iota-mainnet": abi09,
|
|
1292
1301
|
"islander-mainnet": abi09,
|
|
@@ -1744,6 +1753,7 @@ var addresses14 = {
|
|
|
1744
1753
|
"goat-mainnet": "0x88853D410299BCBfE5fCC9Eef93c03115E908279",
|
|
1745
1754
|
"gravity-mainnet": "0x17d65bF79E77B6Ab21d8a0afed3bC8657d8Ee0B2",
|
|
1746
1755
|
"hedera-mainnet": "0xda6087E69C51E7D31b6DBAD276a3c44703DFdCAd",
|
|
1756
|
+
"injectiveevm-mainnet": "0xB1EeAD6959cb5bB9B20417d6689922523B2B86C3",
|
|
1747
1757
|
"iota-mainnet": "0x9c2dc7377717603eB92b2655c5f2E7997a4945BD",
|
|
1748
1758
|
"islander-mainnet": "0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6",
|
|
1749
1759
|
"klaytn-mainnet": "0xBB4957E44401a31ED81Cab33539d9e8993FA13Ce",
|
|
@@ -1780,6 +1790,7 @@ var transactionHashes14 = {
|
|
|
1780
1790
|
"goat-mainnet": "0x38409fd92e544bfcd218599723f74514d0c7f7fd451b36055d9032d6b08c4d60",
|
|
1781
1791
|
"gravity-mainnet": "0xe0060b7e0f9e17997ae30e9f70dc9e6ffb24801865b0d0cd6b216ef294df2ded",
|
|
1782
1792
|
"hedera-mainnet": "0x9feeddf9f4fa02294240cd0a2b115d28602549f8bbac5024cd50fda3a8cb8229",
|
|
1793
|
+
"injectiveevm-mainnet": "0xbc0cdda0d80b089a4e61fd01f283d6c648ddff3ec278790e9c094d89719c6779",
|
|
1783
1794
|
"iota-mainnet": "0xf439380e8ac03d970ed0e707ff9caec573d6874c2c61add9c93fbf2a189a9666",
|
|
1784
1795
|
"islander-mainnet": "0x95b6f36ab01f94bacfe0df41310baf38347017225d912c8f3136bc785ce3c709",
|
|
1785
1796
|
"klaytn-mainnet": "0xebe97dea0d89516c3e7cd5935b06dc4b0d5e9e234ccad706c7eee3fa53d9c5f6",
|
|
@@ -1818,6 +1829,7 @@ var abis14 = {
|
|
|
1818
1829
|
"goat-mainnet": abi014,
|
|
1819
1830
|
"gravity-mainnet": abi12,
|
|
1820
1831
|
"hedera-mainnet": abi014,
|
|
1832
|
+
"injectiveevm-mainnet": abi014,
|
|
1821
1833
|
"iota-mainnet": abi12,
|
|
1822
1834
|
"islander-mainnet": abi014,
|
|
1823
1835
|
"klaytn-mainnet": abi12,
|
|
@@ -1851,14 +1863,14 @@ var addresses15 = {
|
|
|
1851
1863
|
"bera-mainnet": "0x28BEc7E30E6faee657a03e19Bf1128AaD7632A00",
|
|
1852
1864
|
"moderato-testnet": "0x3d7882273E5410E981a470924fBA5DF3EA0dc14a",
|
|
1853
1865
|
"plumephoenix-mainnet": "0x5e2519045B5e38863c879c694fb0811dba333a60",
|
|
1854
|
-
"tempo-mainnet": "
|
|
1866
|
+
"tempo-mainnet": "0x7753Dc8d4bd48Db599Da21E08b1Ab1D6FDFfdC71"
|
|
1855
1867
|
};
|
|
1856
1868
|
var transactionHashes15 = {
|
|
1857
1869
|
"arbsep-testnet": "0x5036b62614736ecad02b339fe51a1bfdc3495de8e6b4446e0cb11bb9024338f2",
|
|
1858
1870
|
"bera-mainnet": "0x61a684bbcde0927af8aac1b12338ac2d397a848c25ce57096eb9037e99d46f92",
|
|
1859
1871
|
"moderato-testnet": "0x1c4e1dd5b84b1e928e2c334a7051874676cd461ae431f23b405faefd00deb5a1",
|
|
1860
1872
|
"plumephoenix-mainnet": "0x2af0e44104890b51a0aaf53a305cb0b5f2f7bf5a316659e8b6c3e80106c6d716",
|
|
1861
|
-
"tempo-mainnet": "
|
|
1873
|
+
"tempo-mainnet": "0x9871c5246f3c6c65f224c505e39d259584fc2c4a1fd91b11e84d772c687bfe09"
|
|
1862
1874
|
};
|
|
1863
1875
|
var abi015 = [{ "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint8", "name": "_sharedDecimals", "type": "uint8" }, { "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InvalidLocalDecimals", "type": "error" }, { "inputs": [], "name": "Path_AlreadyHasCredit", "type": "error" }, { "inputs": [], "name": "Path_InsufficientCredit", "type": "error" }, { "inputs": [], "name": "Path_UnlimitedCredit", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }], "name": "SlippageExceeded", "type": "error" }, { "inputs": [], "name": "Stargate_InsufficientFare", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidAmount", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidPath", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidTokenDecimals", "type": "error" }, { "inputs": [], "name": "Stargate_LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "Stargate_OutflowFailed", "type": "error" }, { "inputs": [], "name": "Stargate_Paused", "type": "error" }, { "inputs": [], "name": "Stargate_RecoverTokenUnsupported", "type": "error" }, { "inputs": [], "name": "Stargate_ReentrantCall", "type": "error" }, { "inputs": [], "name": "Stargate_SlippageTooHigh", "type": "error" }, { "inputs": [], "name": "Stargate_Unauthorized", "type": "error" }, { "inputs": [], "name": "Stargate_UnreceivedTokenNotFound", "type": "error" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "indexed": false, "internalType": "struct StargateBase.AddressConfig", "name": "config", "type": "tuple" }], "name": "AddressConfigSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "indexed": false, "internalType": "struct Credit[]", "name": "credits", "type": "tuple[]" }], "name": "CreditsReceived", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "indexed": false, "internalType": "struct Credit[]", "name": "credits", "type": "tuple[]" }], "name": "CreditsSent", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "bool", "name": "oft", "type": "bool" }], "name": "OFTPathSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "toAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "name": "OFTReceived", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "fromAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "name": "OFTSent", "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": "bool", "name": "paused", "type": "bool" }], "name": "PauseSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "PlannerFeeWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint64", "name": "amountSD", "type": "uint64" }], "name": "TreasuryFeeAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "amountSD", "type": "uint64" }], "name": "TreasuryFeeWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint8", "name": "index", "type": "uint8" }, { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "composeMsg", "type": "bytes" }], "name": "UnreceivedTokenCached", "type": "event" }, { "inputs": [{ "internalType": "uint256", "name": "_amountLD", "type": "uint256" }], "name": "addTreasuryFee", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "approvalRequired", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getAddressConfig", "outputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "internalType": "struct StargateBase.AddressConfig", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "localEid", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oftVersion", "outputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }, { "internalType": "uint64", "name": "version", "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": "paths", "outputs": [{ "internalType": "uint64", "name": "credit", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "plannerFee", "outputs": [{ "internalType": "uint256", "name": "available", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }], "name": "quoteOFT", "outputs": [{ "components": [{ "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "uint256", "name": "maxAmountLD", "type": "uint256" }], "internalType": "struct OFTLimit", "name": "limit", "type": "tuple" }, { "components": [{ "internalType": "int256", "name": "feeAmountLD", "type": "int256" }, { "internalType": "string", "name": "description", "type": "string" }], "internalType": "struct OFTFeeDetail[]", "name": "oftFeeDetails", "type": "tuple[]" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }], "name": "quoteSend", "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": "_srcEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "internalType": "struct Credit[]", "name": "_credits", "type": "tuple[]" }], "name": "receiveCredits", "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": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "uint8", "name": "_seatNumber", "type": "uint8" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }], "name": "receiveTokenBus", "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": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "_composeMsg", "type": "bytes" }], "name": "receiveTokenTaxi", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "recoverToken", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "uint8", "name": "_index", "type": "uint8" }, { "internalType": "uint32", "name": "_srcEid", "type": "uint32" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint256", "name": "_amountLD", "type": "uint256" }, { "internalType": "bytes", "name": "_composeMsg", "type": "bytes" }], "name": "retryReceiveToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_fee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "send", "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": "msgReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "oftReceipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }, { "internalType": "uint64", "name": "minAmount", "type": "uint64" }], "internalType": "struct TargetCredit[]", "name": "_credits", "type": "tuple[]" }], "name": "sendCredits", "outputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "internalType": "struct Credit[]", "name": "", "type": "tuple[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_fee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "sendToken", "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": "msgReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "oftReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "internalType": "bytes", "name": "passengerBytes", "type": "bytes" }], "internalType": "struct Ticket", "name": "ticket", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "internalType": "struct StargateBase.AddressConfig", "name": "_config", "type": "tuple" }], "name": "setAddressConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_oft", "type": "bool" }], "name": "setOFTPath", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "setPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sharedDecimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stargateType", "outputs": [{ "internalType": "enum StargateType", "name": "", "type": "uint8" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "status", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "token", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferTokenOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "treasuryFee", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint8", "name": "index", "type": "uint8" }], "name": "unreceivedTokens", "outputs": [{ "internalType": "bytes32", "name": "hash", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "withdrawPlannerFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }], "name": "withdrawTreasuryFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
1864
1876
|
var abi13 = [{ "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint8", "name": "_sharedDecimals", "type": "uint8" }, { "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InvalidLocalDecimals", "type": "error" }, { "inputs": [], "name": "Path_AlreadyHasCredit", "type": "error" }, { "inputs": [], "name": "Path_InsufficientCredit", "type": "error" }, { "inputs": [], "name": "Path_UnlimitedCredit", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }], "name": "SlippageExceeded", "type": "error" }, { "inputs": [], "name": "Stargate_BusNotAllowedInAlt", "type": "error" }, { "inputs": [], "name": "Stargate_InsufficientFare", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidAmount", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidPath", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidTokenDecimals", "type": "error" }, { "inputs": [], "name": "Stargate_LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "Stargate_NotAnAltEndpoint", "type": "error" }, { "inputs": [], "name": "Stargate_OnlyAltToken", "type": "error" }, { "inputs": [], "name": "Stargate_OutflowFailed", "type": "error" }, { "inputs": [], "name": "Stargate_Paused", "type": "error" }, { "inputs": [], "name": "Stargate_RecoverTokenUnsupported", "type": "error" }, { "inputs": [], "name": "Stargate_ReentrantCall", "type": "error" }, { "inputs": [], "name": "Stargate_SlippageTooHigh", "type": "error" }, { "inputs": [], "name": "Stargate_Unauthorized", "type": "error" }, { "inputs": [], "name": "Stargate_UnreceivedTokenNotFound", "type": "error" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "indexed": false, "internalType": "struct StargateBase.AddressConfig", "name": "config", "type": "tuple" }], "name": "AddressConfigSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "indexed": false, "internalType": "struct Credit[]", "name": "credits", "type": "tuple[]" }], "name": "CreditsReceived", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "indexed": false, "internalType": "struct Credit[]", "name": "credits", "type": "tuple[]" }], "name": "CreditsSent", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "bool", "name": "oft", "type": "bool" }], "name": "OFTPathSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "toAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "name": "OFTReceived", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "fromAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "name": "OFTSent", "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": "bool", "name": "paused", "type": "bool" }], "name": "PauseSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "PlannerFeeWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint64", "name": "amountSD", "type": "uint64" }], "name": "TreasuryFeeAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "amountSD", "type": "uint64" }], "name": "TreasuryFeeWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint8", "name": "index", "type": "uint8" }, { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "composeMsg", "type": "bytes" }], "name": "UnreceivedTokenCached", "type": "event" }, { "inputs": [{ "internalType": "uint256", "name": "_amountLD", "type": "uint256" }], "name": "addTreasuryFee", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "approvalRequired", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feeToken", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getAddressConfig", "outputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "internalType": "struct StargateBase.AddressConfig", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "localEid", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oftVersion", "outputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }, { "internalType": "uint64", "name": "version", "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": "paths", "outputs": [{ "internalType": "uint64", "name": "credit", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "plannerFee", "outputs": [{ "internalType": "uint256", "name": "available", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }], "name": "quoteOFT", "outputs": [{ "components": [{ "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "uint256", "name": "maxAmountLD", "type": "uint256" }], "internalType": "struct OFTLimit", "name": "limit", "type": "tuple" }, { "components": [{ "internalType": "int256", "name": "feeAmountLD", "type": "int256" }, { "internalType": "string", "name": "description", "type": "string" }], "internalType": "struct OFTFeeDetail[]", "name": "oftFeeDetails", "type": "tuple[]" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }], "name": "quoteSend", "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": "_srcEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "internalType": "struct Credit[]", "name": "_credits", "type": "tuple[]" }], "name": "receiveCredits", "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": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "uint8", "name": "_seatNumber", "type": "uint8" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }], "name": "receiveTokenBus", "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": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "_composeMsg", "type": "bytes" }], "name": "receiveTokenTaxi", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "recoverToken", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "uint8", "name": "_index", "type": "uint8" }, { "internalType": "uint32", "name": "_srcEid", "type": "uint32" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint256", "name": "_amountLD", "type": "uint256" }, { "internalType": "bytes", "name": "_composeMsg", "type": "bytes" }], "name": "retryReceiveToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_fee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "send", "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": "msgReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "oftReceipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }, { "internalType": "uint64", "name": "minAmount", "type": "uint64" }], "internalType": "struct TargetCredit[]", "name": "_credits", "type": "tuple[]" }], "name": "sendCredits", "outputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "internalType": "struct Credit[]", "name": "", "type": "tuple[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_fee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "sendToken", "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": "msgReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "oftReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "internalType": "bytes", "name": "passengerBytes", "type": "bytes" }], "internalType": "struct Ticket", "name": "ticket", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "internalType": "struct StargateBase.AddressConfig", "name": "_config", "type": "tuple" }], "name": "setAddressConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_oft", "type": "bool" }], "name": "setOFTPath", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "setPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sharedDecimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stargateType", "outputs": [{ "internalType": "enum StargateType", "name": "", "type": "uint8" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "status", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "token", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferTokenOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "treasuryFee", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint8", "name": "index", "type": "uint8" }], "name": "unreceivedTokens", "outputs": [{ "internalType": "bytes32", "name": "hash", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "withdrawPlannerFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }], "name": "withdrawTreasuryFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
@@ -1923,7 +1935,7 @@ var addresses16 = {
|
|
|
1923
1935
|
"superposition-mainnet": "0x8EE21165Ecb7562BA716c9549C1dE751282b9B33",
|
|
1924
1936
|
"taiko-mainnet": "0x77C71633C34C3784ede189d74223122422492a0f",
|
|
1925
1937
|
"telos-mainnet": "0x2086f755A6d9254045C257ea3d382ef854849B0f",
|
|
1926
|
-
"tempo-mainnet": "
|
|
1938
|
+
"tempo-mainnet": "0x8c76e2F6C5ceDA9AA7772e7efF30280226c44392",
|
|
1927
1939
|
"xdc-mainnet": "0x8E2E38711080bF8AAb9C74f434d2bae70e67ae44"
|
|
1928
1940
|
};
|
|
1929
1941
|
var transactionHashes16 = {
|
|
@@ -1970,7 +1982,7 @@ var transactionHashes16 = {
|
|
|
1970
1982
|
"superposition-mainnet": "0x787861ff02160a6172e96d7f4b064a016a39179b0886842b5f3e0d8266062419",
|
|
1971
1983
|
"taiko-mainnet": "0x850187f5dc8c40aee5265bd9eff929e329dac20a0943d4cf2981b77db9de27f1",
|
|
1972
1984
|
"telos-mainnet": "0x56fce4f5ab8243e01b8a4972c913e22549a450db69da3e8482b45038b1cece29",
|
|
1973
|
-
"tempo-mainnet": "
|
|
1985
|
+
"tempo-mainnet": "0x1aa94df9901367cdc3669b873892d859ebd3c9c5d24a4a5d89ade5c08e54fa3b",
|
|
1974
1986
|
"xdc-mainnet": "0x3f3a8d1953ea9b5109fcd53e03ca94bc61463c07e3ae67836a4bc16a87fe5070"
|
|
1975
1987
|
};
|
|
1976
1988
|
var abi016 = [{ "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint8", "name": "_sharedDecimals", "type": "uint8" }, { "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InvalidLocalDecimals", "type": "error" }, { "inputs": [], "name": "Path_AlreadyHasCredit", "type": "error" }, { "inputs": [], "name": "Path_InsufficientCredit", "type": "error" }, { "inputs": [], "name": "Path_UnlimitedCredit", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }], "name": "SlippageExceeded", "type": "error" }, { "inputs": [], "name": "Stargate_InsufficientFare", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidAmount", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidPath", "type": "error" }, { "inputs": [], "name": "Stargate_InvalidTokenDecimals", "type": "error" }, { "inputs": [], "name": "Stargate_LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "Stargate_OutflowFailed", "type": "error" }, { "inputs": [], "name": "Stargate_Paused", "type": "error" }, { "inputs": [], "name": "Stargate_RecoverTokenUnsupported", "type": "error" }, { "inputs": [], "name": "Stargate_ReentrantCall", "type": "error" }, { "inputs": [], "name": "Stargate_SlippageTooHigh", "type": "error" }, { "inputs": [], "name": "Stargate_Unauthorized", "type": "error" }, { "inputs": [], "name": "Stargate_UnreceivedTokenNotFound", "type": "error" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "indexed": false, "internalType": "struct StargateBase.AddressConfig", "name": "config", "type": "tuple" }], "name": "AddressConfigSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "indexed": false, "internalType": "struct Credit[]", "name": "credits", "type": "tuple[]" }], "name": "CreditsReceived", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "indexed": false, "internalType": "struct Credit[]", "name": "credits", "type": "tuple[]" }], "name": "CreditsSent", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "bool", "name": "oft", "type": "bool" }], "name": "OFTPathSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "toAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "name": "OFTReceived", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "fromAddress", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "name": "OFTSent", "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": "bool", "name": "paused", "type": "bool" }], "name": "PauseSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "PlannerFeeWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint64", "name": "amountSD", "type": "uint64" }], "name": "TreasuryFeeAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "amountSD", "type": "uint64" }], "name": "TreasuryFeeWithdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "indexed": false, "internalType": "uint8", "name": "index", "type": "uint8" }, { "indexed": false, "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "composeMsg", "type": "bytes" }], "name": "UnreceivedTokenCached", "type": "event" }, { "inputs": [{ "internalType": "uint256", "name": "_amountLD", "type": "uint256" }], "name": "addTreasuryFee", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "approvalRequired", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getAddressConfig", "outputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "internalType": "struct StargateBase.AddressConfig", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "localEid", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oftVersion", "outputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }, { "internalType": "uint64", "name": "version", "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": "paths", "outputs": [{ "internalType": "uint64", "name": "credit", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "plannerFee", "outputs": [{ "internalType": "uint256", "name": "available", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }], "name": "quoteOFT", "outputs": [{ "components": [{ "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "uint256", "name": "maxAmountLD", "type": "uint256" }], "internalType": "struct OFTLimit", "name": "limit", "type": "tuple" }, { "components": [{ "internalType": "int256", "name": "feeAmountLD", "type": "int256" }, { "internalType": "string", "name": "description", "type": "string" }], "internalType": "struct OFTFeeDetail[]", "name": "oftFeeDetails", "type": "tuple[]" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }], "name": "quoteSend", "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": "_srcEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "internalType": "struct Credit[]", "name": "_credits", "type": "tuple[]" }], "name": "receiveCredits", "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": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "uint8", "name": "_seatNumber", "type": "uint8" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }], "name": "receiveTokenBus", "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": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "_composeMsg", "type": "bytes" }], "name": "receiveTokenTaxi", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "recoverToken", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "uint8", "name": "_index", "type": "uint8" }, { "internalType": "uint32", "name": "_srcEid", "type": "uint32" }, { "internalType": "address", "name": "_receiver", "type": "address" }, { "internalType": "uint256", "name": "_amountLD", "type": "uint256" }, { "internalType": "bytes", "name": "_composeMsg", "type": "bytes" }], "name": "retryReceiveToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_fee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "send", "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": "msgReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "oftReceipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }, { "internalType": "uint64", "name": "minAmount", "type": "uint64" }], "internalType": "struct TargetCredit[]", "name": "_credits", "type": "tuple[]" }], "name": "sendCredits", "outputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }], "internalType": "struct Credit[]", "name": "", "type": "tuple[]" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "to", "type": "bytes32" }, { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "oftCmd", "type": "bytes" }], "internalType": "struct SendParam", "name": "_sendParam", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_fee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "sendToken", "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": "msgReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" }], "internalType": "struct OFTReceipt", "name": "oftReceipt", "type": "tuple" }, { "components": [{ "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "internalType": "bytes", "name": "passengerBytes", "type": "bytes" }], "internalType": "struct Ticket", "name": "ticket", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "feeLib", "type": "address" }, { "internalType": "address", "name": "planner", "type": "address" }, { "internalType": "address", "name": "treasurer", "type": "address" }, { "internalType": "address", "name": "tokenMessaging", "type": "address" }, { "internalType": "address", "name": "creditMessaging", "type": "address" }, { "internalType": "address", "name": "lzToken", "type": "address" }], "internalType": "struct StargateBase.AddressConfig", "name": "_config", "type": "tuple" }], "name": "setAddressConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_oft", "type": "bool" }], "name": "setOFTPath", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "_paused", "type": "bool" }], "name": "setPause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sharedDecimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stargateType", "outputs": [{ "internalType": "enum StargateType", "name": "", "type": "uint8" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "status", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "token", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferTokenOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "treasuryFee", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint8", "name": "index", "type": "uint8" }], "name": "unreceivedTokens", "outputs": [{ "internalType": "bytes32", "name": "hash", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "withdrawPlannerFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }], "name": "withdrawTreasuryFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
@@ -2609,6 +2621,7 @@ var addresses26 = {
|
|
|
2609
2621
|
"hedera-mainnet": "0x8a2B28364102Bea189D99A475C494330Ef2bDD0B",
|
|
2610
2622
|
"hemi-mainnet": "0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6",
|
|
2611
2623
|
"horizen-mainnet": "0x88853D410299BCBfE5fCC9Eef93c03115E908279",
|
|
2624
|
+
"injectiveevm-mainnet": "0xAf368c91793CB22739386DFCbBb2F1A9e4bCBeBf",
|
|
2612
2625
|
"ink-mainnet": "0x45f1A95A4D3f3836523F5c83673c797f4d4d263B",
|
|
2613
2626
|
"iota-mainnet": "0x1C10CC06DC6D35970d1D53B2A23c76ef370d4135",
|
|
2614
2627
|
"islander-mainnet": "0x808d7c71ad2ba3FA531b068a2417C63106BC0949",
|
|
@@ -2649,7 +2662,7 @@ var addresses26 = {
|
|
|
2649
2662
|
"swell-mainnet": "0x851C9D74BF5cfAEB4a0082A55a65A8F2718b337F",
|
|
2650
2663
|
"taiko-mainnet": "0x45d417612e177672958dC0537C45a8f8d754Ac2E",
|
|
2651
2664
|
"telos-mainnet": "0x88853D410299BCBfE5fCC9Eef93c03115E908279",
|
|
2652
|
-
"tempo-mainnet": "
|
|
2665
|
+
"tempo-mainnet": "0x19Ff94Fe4C93D546e4DB3E1FB124D45366B0b9F5",
|
|
2653
2666
|
"unichain-mainnet": "0xB1EeAD6959cb5bB9B20417d6689922523B2B86C3",
|
|
2654
2667
|
"xdc-mainnet": "0x2761c39102BCF7fc6365580d94cd1882F9cc2650",
|
|
2655
2668
|
"zkconsensys-mainnet": "0x5f688F563Dc16590e570f97b542FA87931AF2feD"
|
|
@@ -2688,6 +2701,7 @@ var transactionHashes26 = {
|
|
|
2688
2701
|
"hedera-mainnet": "0xf299ebdeb1187a42d8c86f5238772489335540499084e0d8addcd327d49561d4",
|
|
2689
2702
|
"hemi-mainnet": "0x0a42c1ba9dae5a54366083824587eda117e56d5135e4010ebc1ab9fba1131eb4",
|
|
2690
2703
|
"horizen-mainnet": "0x196152d134461fc95a87d55d94621af86bf8f932746abd68ecbdb537563ae3e6",
|
|
2704
|
+
"injectiveevm-mainnet": "0xff8ce17375269f89e867aa2061684f7bfab901e67bfe25ab1501f2b87d966507",
|
|
2691
2705
|
"ink-mainnet": "0x88c09ca4533e0711aa59c4eb8ce82ce2a402a561975a40822918244cca015133",
|
|
2692
2706
|
"iota-mainnet": "0x8d8d71e6620f16e3d21da01aff8590531c15f0a3639283437aa5cf81081245c4",
|
|
2693
2707
|
"islander-mainnet": "0xc449519259930b36073d3699ce0b6f7419ece1e35827afccca4906fb7af4b49d",
|
|
@@ -2727,7 +2741,7 @@ var transactionHashes26 = {
|
|
|
2727
2741
|
"swell-mainnet": "0x15efb795d18d92ed02681e380ac4b952bb6ae595a8844f558ba279cbfd3f13e1",
|
|
2728
2742
|
"taiko-mainnet": "0x8e3284393f7b4b8c42d7f5a7341b8b37edcb39268ab797720867a1a5768a2349",
|
|
2729
2743
|
"telos-mainnet": "0x4fdb7ee7f263bda17296c408bd5ab9c40cd870a2c76aacdbe57aad19e3806f87",
|
|
2730
|
-
"tempo-mainnet": "
|
|
2744
|
+
"tempo-mainnet": "0x0bdee3348a9e89bca28478975e43e652422aa45acbecb3fafe66d2b6c8676110",
|
|
2731
2745
|
"unichain-mainnet": "0x615ce6efe0118e25f19d1c32712b764b51154e69f480af1716bb981ec7999a71",
|
|
2732
2746
|
"xdc-mainnet": "0x96433e60dee0257efc761a4590c5a0bb32ceb2acdd6a1a3ac52bcbd5d286e756",
|
|
2733
2747
|
"zkconsensys-mainnet": "0xb2cebe8a3e8b60dc2da92c6d16bb88f1e1550f110dd64a3274030cda08cc494e"
|
|
@@ -2769,6 +2783,7 @@ var abis26 = {
|
|
|
2769
2783
|
"hedera-mainnet": abi026,
|
|
2770
2784
|
"hemi-mainnet": abi026,
|
|
2771
2785
|
"horizen-mainnet": abi026,
|
|
2786
|
+
"injectiveevm-mainnet": abi026,
|
|
2772
2787
|
"ink-mainnet": abi026,
|
|
2773
2788
|
"iota-mainnet": abi026,
|
|
2774
2789
|
"islander-mainnet": abi026,
|
|
@@ -2857,6 +2872,7 @@ var addresses27 = {
|
|
|
2857
2872
|
"hedera-mainnet": "0xc8D5b106fb3dB1140cfa12a94666de02A1d26183",
|
|
2858
2873
|
"hemi-mainnet": "0x8731d54E9D02c286767d56ac03e8037C07e01e98",
|
|
2859
2874
|
"horizen-mainnet": "0xB0B2391a32E066FDf354ef7f4199300f920789F0",
|
|
2875
|
+
"injectiveevm-mainnet": "0xd9492653457A69E9f4987DB43D7fa0112E620Cb4",
|
|
2860
2876
|
"ink-mainnet": "0x45A01E4e04F14f7A4a6702c74187c5F6222033cd",
|
|
2861
2877
|
"iota-mainnet": "0x8c1014B5936dD88BAA5F4DB0423C3003615E03a0",
|
|
2862
2878
|
"islander-mainnet": "0x693604E757AC7e2c4A8263594A18d69c35562341",
|
|
@@ -2897,7 +2913,7 @@ var addresses27 = {
|
|
|
2897
2913
|
"swell-mainnet": "0x93819FfD972Fd57b1AAf42ba85e6B437D60FC807",
|
|
2898
2914
|
"taiko-mainnet": "0x8c1014B5936dD88BAA5F4DB0423C3003615E03a0",
|
|
2899
2915
|
"telos-mainnet": "0xa7F3e26df31Abcb20a6Fe6bE35DdC60702a32455",
|
|
2900
|
-
"tempo-mainnet": "
|
|
2916
|
+
"tempo-mainnet": "0x8F90F13463231F7FB6148077b0d989d2eeb956aD",
|
|
2901
2917
|
"unichain-mainnet": "0x6D205337F45D6850c3c3006e28d5b52c8a432c35",
|
|
2902
2918
|
"xdc-mainnet": "0x67B302E35Aef5EEE8c32D934F5856869EF428330",
|
|
2903
2919
|
"zkconsensys-mainnet": "0xf5F74d2508e97A3a7CCA2ccb75c8325D66b46152"
|
|
@@ -2936,6 +2952,7 @@ var transactionHashes27 = {
|
|
|
2936
2952
|
"hedera-mainnet": "0x4d15bfc718e15d8fcca2b4429adee42c4556ddfc3e46a99179c38a276e0b24db",
|
|
2937
2953
|
"hemi-mainnet": "0x2e80159d36c83f0bf6b82024a380b50143a283e35dc234a040bf6890540f3d6a",
|
|
2938
2954
|
"horizen-mainnet": "0x424978266c6c2de412511500ad8a31386f4431e659240a01286d8398af4d8ce3",
|
|
2955
|
+
"injectiveevm-mainnet": "0xdbaf8aee7d6475c063c613083a002d7b820ce682867f683eb516f92226dafdb3",
|
|
2939
2956
|
"ink-mainnet": "0x093ea14517788278432ec700404fc441c848c4af55f4e1ba6bc5f0217732adfc",
|
|
2940
2957
|
"iota-mainnet": "0x5eaf7ec9da82638a2a5ace19e27d0289996b63229cd3b1deebf3d237c85890fc",
|
|
2941
2958
|
"islander-mainnet": "0xd56828bb08fd00cf46167d95598472020865d23f5b7cb4ca86a516d709d6d38b",
|
|
@@ -2975,7 +2992,7 @@ var transactionHashes27 = {
|
|
|
2975
2992
|
"swell-mainnet": "0xab6d5e17117e1955d7b621635fb59c9ef984572420572d0b3915302e1f0306ea",
|
|
2976
2993
|
"taiko-mainnet": "0x68764a18b669f644f0eadc0110979079a1f7af5d251639f7dc1c948c76c0eb28",
|
|
2977
2994
|
"telos-mainnet": "0x75a469e6993c6687e9cb5ae636328b66855604c2ebde8258a7faa6a28bbeeecd",
|
|
2978
|
-
"tempo-mainnet": "
|
|
2995
|
+
"tempo-mainnet": "0x9cdf5dcafe5754616b74cbb919849155faa68f4e066bb0d9490bdff354e94096",
|
|
2979
2996
|
"unichain-mainnet": "0x2bdd21924441a2d0072a66733969b8dbec7c2b872da5eaff06ed252e42f7910e",
|
|
2980
2997
|
"xdc-mainnet": "0x3787355174b56d26ce240943c8e99712e5c227f238b1d3a56a603fb89691dcbe",
|
|
2981
2998
|
"zkconsensys-mainnet": "0x26a6acdc3c158680401ad46327df0396257319403fafa87cc2454514b94f304e"
|
|
@@ -3016,6 +3033,7 @@ var abis27 = {
|
|
|
3016
3033
|
"hedera-mainnet": abi027,
|
|
3017
3034
|
"hemi-mainnet": abi027,
|
|
3018
3035
|
"horizen-mainnet": abi027,
|
|
3036
|
+
"injectiveevm-mainnet": abi027,
|
|
3019
3037
|
"ink-mainnet": abi027,
|
|
3020
3038
|
"iota-mainnet": abi027,
|
|
3021
3039
|
"islander-mainnet": abi027,
|