@stargatefinance/stg-evm-sdk-v2 1.0.0 → 1.0.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/iota-mainnet/CreditMessaging.json +1501 -0
- package/deployments/iota-mainnet/FeeLibV1ETH.json +611 -0
- package/deployments/iota-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/iota-mainnet/FeeLibV1USDT.json +611 -0
- package/deployments/iota-mainnet/OFTTokenETH.json +693 -0
- package/deployments/iota-mainnet/StargateOFTETH.json +1968 -0
- package/deployments/iota-mainnet/StargateOFTUSDC.json +1957 -0
- package/deployments/iota-mainnet/StargateOFTUSDT.json +1968 -0
- package/deployments/iota-mainnet/TokenMessaging.json +2470 -0
- package/deployments/iota-mainnet/Treasurer.json +450 -0
- package/deployments/iota-mainnet/USDCImpl.json +2132 -0
- package/deployments/iota-mainnet/USDCProxy.json +205 -0
- package/deployments/iota-mainnet/USDCSignatureLib.json +80 -0
- package/deployments/iota-mainnet/USDT.json +754 -0
- package/deployments/sei-mainnet/CreditMessaging.json +1501 -0
- package/deployments/sei-mainnet/FeeLibV1ETH.json +611 -0
- package/deployments/sei-mainnet/OFTTokenETH.json +693 -0
- package/deployments/sei-mainnet/StargateOFTETH.json +1968 -0
- package/deployments/sei-mainnet/TokenMessaging.json +2470 -0
- package/deployments/sei-mainnet/Treasurer.json +450 -0
- package/deployments/taiko-mainnet/CreditMessaging.json +1501 -0
- package/deployments/taiko-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/taiko-mainnet/FeeLibV1USDT.json +611 -0
- package/deployments/taiko-mainnet/StargateOFTUSDC.json +1957 -0
- package/deployments/taiko-mainnet/StargateOFTUSDT.json +1968 -0
- package/deployments/taiko-mainnet/TokenMessaging.json +2470 -0
- package/deployments/taiko-mainnet/Treasurer.json +450 -0
- package/deployments/taiko-mainnet/USDCImpl.json +2132 -0
- package/deployments/taiko-mainnet/USDCProxy.json +205 -0
- package/deployments/taiko-mainnet/USDCSignatureLib.json +80 -0
- package/deployments/taiko-mainnet/USDT.json +754 -0
- package/deployments/xchain-mainnet/CreditMessaging.json +1501 -0
- package/deployments/xchain-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/xchain-mainnet/StargateOFTUSDC.json +1957 -0
- package/deployments/xchain-mainnet/TokenMessaging.json +2470 -0
- package/deployments/xchain-mainnet/Treasurer.json +450 -0
- package/deployments/xchain-mainnet/USDCImpl.json +2132 -0
- package/deployments/xchain-mainnet/USDCProxy.json +205 -0
- package/deployments/xchain-mainnet/USDCSignatureLib.json +80 -0
- package/dist/deployed/CreditMessaging.cjs +12 -0
- package/dist/deployed/CreditMessaging.cjs.map +1 -1
- package/dist/deployed/CreditMessaging.mjs +12 -0
- package/dist/deployed/CreditMessaging.mjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.cjs +6 -0
- package/dist/deployed/FeeLibV1ETH.cjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.mjs +6 -0
- package/dist/deployed/FeeLibV1ETH.mjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.cjs +12 -3
- package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.mjs +12 -3
- package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
- package/dist/deployed/FeeLibV1USDT.cjs +9 -3
- package/dist/deployed/FeeLibV1USDT.cjs.map +1 -1
- package/dist/deployed/FeeLibV1USDT.mjs +9 -3
- package/dist/deployed/FeeLibV1USDT.mjs.map +1 -1
- package/dist/deployed/OFTTokenETH.cjs +9 -3
- package/dist/deployed/OFTTokenETH.cjs.map +1 -1
- package/dist/deployed/OFTTokenETH.mjs +9 -3
- package/dist/deployed/OFTTokenETH.mjs.map +1 -1
- package/dist/deployed/StargateOFTETH.cjs +9 -3
- package/dist/deployed/StargateOFTETH.cjs.map +1 -1
- package/dist/deployed/StargateOFTETH.mjs +9 -3
- package/dist/deployed/StargateOFTETH.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.cjs +12 -3
- package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.mjs +12 -3
- package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDT.cjs +9 -3
- package/dist/deployed/StargateOFTUSDT.cjs.map +1 -1
- package/dist/deployed/StargateOFTUSDT.mjs +9 -3
- package/dist/deployed/StargateOFTUSDT.mjs.map +1 -1
- package/dist/deployed/TokenMessaging.cjs +12 -0
- package/dist/deployed/TokenMessaging.cjs.map +1 -1
- package/dist/deployed/TokenMessaging.mjs +12 -0
- package/dist/deployed/TokenMessaging.mjs.map +1 -1
- package/dist/deployed/Treasurer.cjs +12 -0
- package/dist/deployed/Treasurer.cjs.map +1 -1
- package/dist/deployed/Treasurer.mjs +12 -0
- package/dist/deployed/Treasurer.mjs.map +1 -1
- package/dist/deployed/USDCImpl.cjs +12 -3
- package/dist/deployed/USDCImpl.cjs.map +1 -1
- package/dist/deployed/USDCImpl.mjs +12 -3
- package/dist/deployed/USDCImpl.mjs.map +1 -1
- package/dist/deployed/USDCProxy.cjs +12 -3
- package/dist/deployed/USDCProxy.cjs.map +1 -1
- package/dist/deployed/USDCProxy.mjs +12 -3
- package/dist/deployed/USDCProxy.mjs.map +1 -1
- package/dist/deployed/USDCSignatureLib.cjs +12 -3
- package/dist/deployed/USDCSignatureLib.cjs.map +1 -1
- package/dist/deployed/USDCSignatureLib.mjs +12 -3
- package/dist/deployed/USDCSignatureLib.mjs.map +1 -1
- package/dist/deployed/USDT.cjs +9 -3
- package/dist/deployed/USDT.cjs.map +1 -1
- package/dist/deployed/USDT.mjs +9 -3
- package/dist/deployed/USDT.mjs.map +1 -1
- package/dist/deployed/contracts.cjs +147 -30
- package/dist/deployed/contracts.cjs.map +1 -1
- package/dist/deployed/contracts.mjs +147 -30
- package/dist/deployed/contracts.mjs.map +1 -1
- package/dist/deployed/index.cjs +147 -30
- package/dist/deployed/index.cjs.map +1 -1
- package/dist/deployed/index.mjs +147 -30
- package/dist/deployed/index.mjs.map +1 -1
- package/dist/index.cjs +511 -202
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +565 -200
- package/dist/index.d.ts +565 -200
- package/dist/index.mjs +512 -202
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -6
package/dist/deployed/index.cjs
CHANGED
|
@@ -57,6 +57,7 @@ var addresses = {
|
|
|
57
57
|
"ebi-mainnet": "0xc6a281b90727FD77165F756690561C214786fbA1",
|
|
58
58
|
"ethereum-mainnet": "0x6b8aD17795d89B283e6D0362A87A403f3544bb9d",
|
|
59
59
|
"ethereum-sandbox-local": "0xBcD94c5F9C4102Ba6445F1569B40B9972BAff6a5",
|
|
60
|
+
"iota-mainnet": "0x45d417612e177672958dC0537C45a8f8d754Ac2E",
|
|
60
61
|
"kava-mainnet": "0x15EFb7850aA5B7a05184579b0AaB501091E7b389",
|
|
61
62
|
"klaytn-mainnet": "0xb67192699c2832bDbB912b5cbe7B99850AB7e022",
|
|
62
63
|
"klaytn-testnet": "0xc26eD6ceC052D6A4935C240628841c069d2E7327",
|
|
@@ -68,7 +69,10 @@ var addresses = {
|
|
|
68
69
|
"polygon-sandbox-local": "0xb8b938c4BFDaCc95ec4d76600c7Ea57bbBB8DA52",
|
|
69
70
|
"rarible-mainnet": "0x0B38e83B86d491735fEaa0a791F65c2B99535396",
|
|
70
71
|
"scroll-mainnet": "0x4694900bDbA99Edf07A2E46C4093f88F9106a90D",
|
|
72
|
+
"sei-mainnet": "0x13379B489Fb2e76CEdF96BCEaA2441e5930d75e1",
|
|
71
73
|
"sepolia-testnet": "0x5E6a88BB6AaD9346eC70d0E28fd822037A26FFDD",
|
|
74
|
+
"taiko-mainnet": "0x0dB9afb4C33be43a0a0e396Fd1383B4ea97aB10a",
|
|
75
|
+
"xchain-mainnet": "0x0B38e83B86d491735fEaa0a791F65c2B99535396",
|
|
72
76
|
"zkconsensys-mainnet": "0x138EB30f73BC423c6455C53df6D89CB01d9eBc63"
|
|
73
77
|
};
|
|
74
78
|
var transactionHashes = {
|
|
@@ -83,6 +87,7 @@ var transactionHashes = {
|
|
|
83
87
|
"ebi-mainnet": "0xd57073c5689f1cafddef9b98eb562f930608856fac4448acebc1df66df0eb588",
|
|
84
88
|
"ethereum-mainnet": "0x208ec98a2255be3b19ca6135482f344b0d2ebaad9f76bd237f7a1c4c0aa56666",
|
|
85
89
|
"ethereum-sandbox-local": "0x09964d13e31d6ed333799cd38619d7494aa7ed031007c1d0b73dfb2c437725af",
|
|
90
|
+
"iota-mainnet": "0x3db89adab57462824ac87835d13cb04cf99ef59334b8f752c54fa3db43519c53",
|
|
86
91
|
"kava-mainnet": "0x684ff1de0723decf57a379d61670df992e22f443756de9839304a9ab0c7f78b5",
|
|
87
92
|
"klaytn-mainnet": "0x7089cf3403282fb127fbbd8ec78c1e472fa35c8a1be6d01d750f17fc831920ce",
|
|
88
93
|
"klaytn-testnet": "0x2a9440d8307f8f83b673613167bb5f4fdef89dc40eb03c62394928b612595795",
|
|
@@ -94,7 +99,10 @@ var transactionHashes = {
|
|
|
94
99
|
"polygon-sandbox-local": "0x4d2d2063045a1920e9ede5da8337fd24a26862f8e3376348aafcab37953d53e4",
|
|
95
100
|
"rarible-mainnet": "0x7f84a77610f377a4ab6cfd6917c37eb956b91b3818f36db2a06918f10c778c12",
|
|
96
101
|
"scroll-mainnet": "0x48168c6d6a0be453718c85a46dcf7e5a6257c6c1759915cb125bc85b5a34bbb2",
|
|
102
|
+
"sei-mainnet": "0x2ea10fcd83be086e337019cc493633c677f56dc2e7ed0be30a9a06a38024030f",
|
|
97
103
|
"sepolia-testnet": "0x719a7394343399483d9d9c829d66af8364d3603499bc0691344fccebbab8c9d6",
|
|
104
|
+
"taiko-mainnet": "0x6cbe2e4159135d923787224dbc6f1b5386a4cab21e345caefe137f4572cc5d16",
|
|
105
|
+
"xchain-mainnet": "0x6a82602c4cf7f4530e56a7a78bca86d98011c1fd16681cc5c115ca9df6c80e4a",
|
|
98
106
|
"zkconsensys-mainnet": "0x6742fcfa893d1064e87d0d4e6cf03ee07d8a616d5770752ef49a0cd690f2b66b"
|
|
99
107
|
};
|
|
100
108
|
var abi0 = [{ "inputs": [{ "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "CreditMsgCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "InvalidDelegate", "type": "error" }, { "inputs": [], "name": "InvalidEndpointCall", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "options", "type": "bytes" }], "name": "InvalidOptions", "type": "error" }, { "inputs": [], "name": "LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "MessagingOptions_ZeroGasLimit", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidAssetId", "type": "error" }, { "inputs": [], "name": "Messaging_Unauthorized", "type": "error" }, { "inputs": [], "name": "Messaging_Unavailable", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "NoPeer", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "msgValue", "type": "uint256" }], "name": "NotEnoughNative", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "OnlyEndpoint", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }], "name": "OnlyPeer", "type": "error" }, { "inputs": [], "name": "OnlySelf", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }], "name": "SimulationResult", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "stargateImpl", "type": "address" }, { "indexed": false, "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "AssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "indexed": false, "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "EnforcedOptionSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "gasLimit", "type": "uint128" }], "name": "GasLimitSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint16", "name": "maxAssetId", "type": "uint16" }], "name": "MaxAssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "name": "PeerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "planner", "type": "address" }], "name": "PlannerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "preCrimeAddress", "type": "address" }], "name": "PreCrimeSet", "type": "event" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }], "name": "allowInitializePath", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "name": "assetIds", "outputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint16", "name": "_msgType", "type": "uint16" }, { "internalType": "bytes", "name": "_extraOptions", "type": "bytes" }], "name": "combineOptions", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }], "name": "enforcedOptions", "outputs": [{ "internalType": "bytes", "name": "enforcedOption", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "gasLimits", "outputs": [{ "internalType": "uint128", "name": "gasLimit", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "", "type": "tuple" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "address", "name": "_sender", "type": "address" }], "name": "isComposeMsgSender", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "isPeer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceive", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "bytes", "name": "message", "type": "bytes" }, { "internalType": "bytes", "name": "extraData", "type": "bytes" }], "internalType": "struct InboundPacket[]", "name": "_packets", "type": "tuple[]" }], "name": "lzReceiveAndRevert", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceiveSimulate", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "maxAssetId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "nextNonce", "outputs": [{ "internalType": "uint64", "name": "nonce", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oApp", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oAppVersion", "outputs": [{ "internalType": "uint64", "name": "senderVersion", "type": "uint64" }, { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "peers", "outputs": [{ "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "planner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "preCrime", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }, { "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[]" }], "internalType": "struct TargetCreditBatch[]", "name": "_creditBatches", "type": "tuple[]" }], "name": "quoteSendCredits", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "components": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }, { "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[]" }], "internalType": "struct TargetCreditBatch[]", "name": "_creditBatches", "type": "tuple[]" }], "name": "sendCredits", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargateImpl", "type": "address" }, { "internalType": "uint16", "name": "_assetId", "type": "uint16" }], "name": "setAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_delegate", "type": "address" }], "name": "setDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "setEnforcedOptions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint128", "name": "_gasLimit", "type": "uint128" }], "name": "setGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "_maxAssetId", "type": "uint16" }], "name": "setMaxAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "setPeer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_planner", "type": "address" }], "name": "setPlanner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_preCrime", "type": "address" }], "name": "setPreCrime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "stargateImpls", "outputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
@@ -111,6 +119,7 @@ var abis = {
|
|
|
111
119
|
"ebi-mainnet": abi0,
|
|
112
120
|
"ethereum-mainnet": abi0,
|
|
113
121
|
"ethereum-sandbox-local": abi0,
|
|
122
|
+
"iota-mainnet": abi0,
|
|
114
123
|
"kava-mainnet": abi0,
|
|
115
124
|
"klaytn-mainnet": abi0,
|
|
116
125
|
"klaytn-testnet": abi1,
|
|
@@ -122,7 +131,10 @@ var abis = {
|
|
|
122
131
|
"polygon-sandbox-local": abi0,
|
|
123
132
|
"rarible-mainnet": abi0,
|
|
124
133
|
"scroll-mainnet": abi0,
|
|
134
|
+
"sei-mainnet": abi0,
|
|
125
135
|
"sepolia-testnet": abi1,
|
|
136
|
+
"taiko-mainnet": abi0,
|
|
137
|
+
"xchain-mainnet": abi0,
|
|
126
138
|
"zkconsensys-mainnet": abi0
|
|
127
139
|
};
|
|
128
140
|
|
|
@@ -139,6 +151,7 @@ var addresses2 = {
|
|
|
139
151
|
"base-mainnet": "0x17E450Be3Ba9557F2378E20d64AD417E59Ef9A34",
|
|
140
152
|
"ethereum-mainnet": "0x3E368B6C95c6fEfB7A16dCc0D756389F3c658a06",
|
|
141
153
|
"ethereum-sandbox-local": "0xb8b938c4BFDaCc95ec4d76600c7Ea57bbBB8DA52",
|
|
154
|
+
"iota-mainnet": "0x0dB9afb4C33be43a0a0e396Fd1383B4ea97aB10a",
|
|
142
155
|
"klaytn-mainnet": "0xB83ab1FF56cCD2B9E9914c68C182135C3a7ECFcd",
|
|
143
156
|
"klaytn-testnet": "0xcDD249F414D36594121379bC04bad085cC27F271",
|
|
144
157
|
"mantle-mainnet": "0x2BC3141AaeA1d84bcd557EeB543253fd9685c0C4",
|
|
@@ -147,6 +160,7 @@ var addresses2 = {
|
|
|
147
160
|
"optsep-testnet": "0x6C90B6EDdFCD46818061Aa1Fe13CC30c676e276E",
|
|
148
161
|
"polygon-sandbox-local": "0x65816bf78E206Cbd3a0542E5E1ddb1484D8d87f8",
|
|
149
162
|
"scroll-mainnet": "0x2A6c43e0DBDCde23d40c82F45682BC6D8A6dB219",
|
|
163
|
+
"sei-mainnet": "0xDe48600aA18Ae707f5D57e0FaafEC7C118ABaeb2",
|
|
150
164
|
"sepolia-testnet": "0x273e333dd2C17D7fe9822322fAdBBfcBe47b8132",
|
|
151
165
|
"zkconsensys-mainnet": "0x6E3d884C96d640526F273C61dfcF08915eBd7e2B"
|
|
152
166
|
};
|
|
@@ -156,6 +170,7 @@ var transactionHashes2 = {
|
|
|
156
170
|
"base-mainnet": "0xb2c13b2ad4db46487b07886d9319872721def33155a2e9488f4f11764b600000",
|
|
157
171
|
"ethereum-mainnet": "0xcf5afa46a55d46ba89a321e0bd91bd843422545cef807d75143069e96ae85785",
|
|
158
172
|
"ethereum-sandbox-local": "0x85472211a9be65ed045ab4907e3da4cc9041591e2d0ffaebe5650f7ce0578350",
|
|
173
|
+
"iota-mainnet": "0xdbd0d739ee91849ae17903229646973b26309ba919bc422d01527d10bdf4a8ed",
|
|
159
174
|
"klaytn-mainnet": "0xfc6329a840f3eb1655a1202ea8fe9282afd24b41bc8c4e2443ab3e04895fbc30",
|
|
160
175
|
"klaytn-testnet": "0xd71abc2b7e79a4a4d271e6b4148da1d4d4cd059a2b152168b54e33de359c2aed",
|
|
161
176
|
"mantle-mainnet": "0xa8955a1f9d006054348dec47df8fec5cf35cc9b1a1f1b7f2e50a85f8451dbe4b",
|
|
@@ -164,6 +179,7 @@ var transactionHashes2 = {
|
|
|
164
179
|
"optsep-testnet": "0xfce9885716b89b23fa265293fe5fa405e9c05b2e55d5f645612987f2e7096ade",
|
|
165
180
|
"polygon-sandbox-local": "0x9f8ce1a4348b8d6d60c4c67c100c224d424ee1ab90b742e1ea99c2f873d124ce",
|
|
166
181
|
"scroll-mainnet": "0xe41ce196aacffbac4c51a11c5ecd86ca415de8c8feb7cf07762ba230ed2e7299",
|
|
182
|
+
"sei-mainnet": "0x5bb9c3e0319a3ec0fe07c6428475ca11040c1ae77918780b45a3fda8f44f85ef",
|
|
167
183
|
"sepolia-testnet": "0xc8fe6882ec34c79c8adb2b5e34eb22c069331b31a4991743c3f7e5d9b6594847",
|
|
168
184
|
"zkconsensys-mainnet": "0xa40f56f720658b2f4cfab0a969eda9f8fad116d94c12764244e3444606c82436"
|
|
169
185
|
};
|
|
@@ -174,6 +190,7 @@ var abis2 = {
|
|
|
174
190
|
"base-mainnet": abi02,
|
|
175
191
|
"ethereum-mainnet": abi02,
|
|
176
192
|
"ethereum-sandbox-local": abi02,
|
|
193
|
+
"iota-mainnet": abi02,
|
|
177
194
|
"klaytn-mainnet": abi02,
|
|
178
195
|
"klaytn-testnet": abi02,
|
|
179
196
|
"mantle-mainnet": abi02,
|
|
@@ -182,6 +199,7 @@ var abis2 = {
|
|
|
182
199
|
"optsep-testnet": abi02,
|
|
183
200
|
"polygon-sandbox-local": abi02,
|
|
184
201
|
"scroll-mainnet": abi02,
|
|
202
|
+
"sei-mainnet": abi02,
|
|
185
203
|
"sepolia-testnet": abi02,
|
|
186
204
|
"zkconsensys-mainnet": abi02
|
|
187
205
|
};
|
|
@@ -223,6 +241,7 @@ var addresses4 = {
|
|
|
223
241
|
"bsc-sandbox-local": "0xb8b938c4BFDaCc95ec4d76600c7Ea57bbBB8DA52",
|
|
224
242
|
"ethereum-mainnet": "0x52B35406CB2FB5e0038EdEcFc129A152a1f74087",
|
|
225
243
|
"ethereum-sandbox-local": "0x65816bf78E206Cbd3a0542E5E1ddb1484D8d87f8",
|
|
244
|
+
"iota-mainnet": "0xCd4302D950e7e6606b6910Cd232758b5ad423311",
|
|
226
245
|
"klaytn-mainnet": "0x8d92105ae654f494CE10B3b3e4C58186E3e0dA00",
|
|
227
246
|
"klaytn-testnet": "0x9352001271a0af0d09a4e7F6C431663A2D5AA9d2",
|
|
228
247
|
"mantle-mainnet": "0x288968ffF40543F168eAf29A54D5C0affD3C8df7",
|
|
@@ -232,7 +251,9 @@ var addresses4 = {
|
|
|
232
251
|
"polygon-sandbox-local": "0x0c69A96C417dcD7A352b6bD71Fdc80306712C013",
|
|
233
252
|
"rarible-mainnet": "0x9c2dc7377717603eB92b2655c5f2E7997a4945BD",
|
|
234
253
|
"scroll-mainnet": "0x503C5cFEa3477E0A576C8Cf5354023854b7A06Ff",
|
|
235
|
-
"sepolia-testnet": "0xE66B2eFfbc756076fFd1aDaA21Ed5C8FB75eF929"
|
|
254
|
+
"sepolia-testnet": "0xE66B2eFfbc756076fFd1aDaA21Ed5C8FB75eF929",
|
|
255
|
+
"taiko-mainnet": "0xCd4302D950e7e6606b6910Cd232758b5ad423311",
|
|
256
|
+
"xchain-mainnet": "0x9c2dc7377717603eB92b2655c5f2E7997a4945BD"
|
|
236
257
|
};
|
|
237
258
|
var transactionHashes4 = {
|
|
238
259
|
"arbitrum-mainnet": "0x535e2452818df79194bb77a3ac3e39fbeb3a14057ef2a3632d7da2079f807699",
|
|
@@ -243,6 +264,7 @@ var transactionHashes4 = {
|
|
|
243
264
|
"bsc-sandbox-local": "0x514bafe98eae05fb7d61aea413f72999442e06361744ea1f2b59e54c3c262335",
|
|
244
265
|
"ethereum-mainnet": "0x3dde3b4f145e33c10ca78085a06326b108fb20a1a09eaf9d16df03a421eedada",
|
|
245
266
|
"ethereum-sandbox-local": "0xa0b50a9fc4ecc7693ff18b1aa57217a8b9e99489d15e36b1b1288089e67ef513",
|
|
267
|
+
"iota-mainnet": "0xa460ad739b056249ed796f3d8e89ed0ca0d2ce81867be2cb2ab01f15ec1534d2",
|
|
246
268
|
"klaytn-mainnet": "0x955428c4727dadb5ab2b9ec43a3faf527ec1b86a29ddcbd07a9db4cc440099d6",
|
|
247
269
|
"klaytn-testnet": "0x02c43ab42d5425cc26e99ff29f6f59fa03a9d93c04685c541c27ae6722546310",
|
|
248
270
|
"mantle-mainnet": "0x3e47710de854a7fd96765f15d7f55641a836c967183de9d20ad44328f2505204",
|
|
@@ -252,7 +274,9 @@ var transactionHashes4 = {
|
|
|
252
274
|
"polygon-sandbox-local": "0xacce775575240499d6898c6d3e7c4e30e3d07977d0042b293482cf5c6f1571b9",
|
|
253
275
|
"rarible-mainnet": "0x01123aa7529b2a0d24097700a198cdb33cefc23917ad167a95a751a19e80466a",
|
|
254
276
|
"scroll-mainnet": "0xaf4d64f3a433a1c5d4930baba912a39d771e3c5321f06b2ac4e707e04020fe85",
|
|
255
|
-
"sepolia-testnet": "0x60f07c6eb59d92e738ecb6015579018fe02c57771a709fce7b2d6d08c7ca1231"
|
|
277
|
+
"sepolia-testnet": "0x60f07c6eb59d92e738ecb6015579018fe02c57771a709fce7b2d6d08c7ca1231",
|
|
278
|
+
"taiko-mainnet": "0x5a53a5b40f675e4b2ccfbca78f6c9b238a4628e03d04bb2b38e0e02f8165986c",
|
|
279
|
+
"xchain-mainnet": "0x57eb172bd5c4f6cb5e7a6be25305eac44251b8f9a046f96478987abf6b1b75a0"
|
|
256
280
|
};
|
|
257
281
|
var abi04 = [{ "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" }];
|
|
258
282
|
var abis4 = {
|
|
@@ -264,6 +288,7 @@ var abis4 = {
|
|
|
264
288
|
"bsc-sandbox-local": abi04,
|
|
265
289
|
"ethereum-mainnet": abi04,
|
|
266
290
|
"ethereum-sandbox-local": abi04,
|
|
291
|
+
"iota-mainnet": abi04,
|
|
267
292
|
"klaytn-mainnet": abi04,
|
|
268
293
|
"klaytn-testnet": abi04,
|
|
269
294
|
"mantle-mainnet": abi04,
|
|
@@ -273,7 +298,9 @@ var abis4 = {
|
|
|
273
298
|
"polygon-sandbox-local": abi04,
|
|
274
299
|
"rarible-mainnet": abi04,
|
|
275
300
|
"scroll-mainnet": abi04,
|
|
276
|
-
"sepolia-testnet": abi04
|
|
301
|
+
"sepolia-testnet": abi04,
|
|
302
|
+
"taiko-mainnet": abi04,
|
|
303
|
+
"xchain-mainnet": abi04
|
|
277
304
|
};
|
|
278
305
|
|
|
279
306
|
// deployed/FeeLibV1USDT.ts
|
|
@@ -293,6 +320,7 @@ var addresses5 = {
|
|
|
293
320
|
"ebi-mainnet": "0x1a6437BeF5b8615Ef523d00Ef7c9D58D66c0F246",
|
|
294
321
|
"ethereum-mainnet": "0xe171AFcd1E0394b3312e68ca823D5BC87F3Db311",
|
|
295
322
|
"ethereum-sandbox-local": "0x0c69A96C417dcD7A352b6bD71Fdc80306712C013",
|
|
323
|
+
"iota-mainnet": "0x711b5aAFd4d0A5b7B863Ca434A2678D086830d8E",
|
|
296
324
|
"kava-mainnet": "0xA76CD3a43751090c40a35C37B38aA06973Cc6184",
|
|
297
325
|
"klaytn-mainnet": "0x6eFfA1afE190a652a8204D318fec03D3dD9402d2",
|
|
298
326
|
"klaytn-testnet": "0x3C0Dea5955cb490F78e330A213c960cA63f66314",
|
|
@@ -303,7 +331,8 @@ var addresses5 = {
|
|
|
303
331
|
"polygon-mainnet": "0x4e422B0aCb2Bd7e3aC70B5c0E5eb806e86a94038",
|
|
304
332
|
"polygon-sandbox-local": "0x67bC3C7b91660ac110075ab3036Fd8f659DD54Ad",
|
|
305
333
|
"rarible-mainnet": "0x8e8539e4CcD69123c623a106773F2b0cbbc58746",
|
|
306
|
-
"sepolia-testnet": "0x32F4d65b9DF20480242f40D8A1dfC57145AdEE39"
|
|
334
|
+
"sepolia-testnet": "0x32F4d65b9DF20480242f40D8A1dfC57145AdEE39",
|
|
335
|
+
"taiko-mainnet": "0x711b5aAFd4d0A5b7B863Ca434A2678D086830d8E"
|
|
307
336
|
};
|
|
308
337
|
var transactionHashes5 = {
|
|
309
338
|
"arbitrum-mainnet": "0xb16529c5279ecaeab4b49c4c1ca8e39c34d3a2904b6193d7d66b21e22bafda34",
|
|
@@ -315,6 +344,7 @@ var transactionHashes5 = {
|
|
|
315
344
|
"ebi-mainnet": "0xa09e8cd73cfe94437014a3e1826cb600bd1f073e04d02e8b8b22c64a55920c49",
|
|
316
345
|
"ethereum-mainnet": "0xed22c5f9b729d10cabb9ad0555f7548f37373838b8d59c3be9dc177d641aaab4",
|
|
317
346
|
"ethereum-sandbox-local": "0x9bf41f930425737074d9fc57780611071961a90a34d8d93bbe124adc77c8fcf9",
|
|
347
|
+
"iota-mainnet": "0x0d581f9aa2735ed1b198f856326dac8bef8175e69357ad1ee04265bbb0e5e230",
|
|
318
348
|
"kava-mainnet": "0xa826829721c0886e753f06d18d8cc17332ff22c6c052a228cfd40404453e9854",
|
|
319
349
|
"klaytn-mainnet": "0x4be1f7d6d9c22885edc83a708fc5901b09044a47b6e0f1c725a22677253a2ec4",
|
|
320
350
|
"klaytn-testnet": "0xb22574117619c56cfc1019841f190b81211b53936ce21b15e0a9a1e1a828ea7b",
|
|
@@ -325,7 +355,8 @@ var transactionHashes5 = {
|
|
|
325
355
|
"polygon-mainnet": "0x91a073e0448a2f42fc14401a2a7ee3c4605b3baa452aa63fbabe786d6a8e6ec2",
|
|
326
356
|
"polygon-sandbox-local": "0xa1c73799c1f6d97cafff2aee55e0449d46bd745016c67036b45241b6a8db65df",
|
|
327
357
|
"rarible-mainnet": "0x2c4e96794b3fa3e3d7f25e4bdd296bbec6a2a326a88781fb7a9cc29e8875e9dc",
|
|
328
|
-
"sepolia-testnet": "0xf1a5e51633fecfe27ea6a7978bf65c0580d608eb2495da3ed7d5fff25820549c"
|
|
358
|
+
"sepolia-testnet": "0xf1a5e51633fecfe27ea6a7978bf65c0580d608eb2495da3ed7d5fff25820549c",
|
|
359
|
+
"taiko-mainnet": "0x94e2413949feb0ad17a22081cf637b32a41844a3345ea219cd1509c6f564b324"
|
|
329
360
|
};
|
|
330
361
|
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" }];
|
|
331
362
|
var abis5 = {
|
|
@@ -338,6 +369,7 @@ var abis5 = {
|
|
|
338
369
|
"ebi-mainnet": abi05,
|
|
339
370
|
"ethereum-mainnet": abi05,
|
|
340
371
|
"ethereum-sandbox-local": abi05,
|
|
372
|
+
"iota-mainnet": abi05,
|
|
341
373
|
"kava-mainnet": abi05,
|
|
342
374
|
"klaytn-mainnet": abi05,
|
|
343
375
|
"klaytn-testnet": abi05,
|
|
@@ -348,7 +380,8 @@ var abis5 = {
|
|
|
348
380
|
"polygon-mainnet": abi05,
|
|
349
381
|
"polygon-sandbox-local": abi05,
|
|
350
382
|
"rarible-mainnet": abi05,
|
|
351
|
-
"sepolia-testnet": abi05
|
|
383
|
+
"sepolia-testnet": abi05,
|
|
384
|
+
"taiko-mainnet": abi05
|
|
352
385
|
};
|
|
353
386
|
|
|
354
387
|
// deployed/FeeLibV1mETH.ts
|
|
@@ -380,21 +413,27 @@ __export(OFTTokenETH_exports, {
|
|
|
380
413
|
transactionHashes: () => transactionHashes7
|
|
381
414
|
});
|
|
382
415
|
var addresses7 = {
|
|
416
|
+
"iota-mainnet": "0x160345fC359604fC6e70E3c5fAcbdE5F7A9342d8",
|
|
383
417
|
"klaytn-mainnet": "0x55Acee547DF909CF844e32DD66eE55a6F81dC71b",
|
|
384
418
|
"klaytn-testnet": "0xE26d6ABA383A7f452D3f66B9A4a51A1dfe79DF2E",
|
|
385
|
-
"polygon-sandbox-local": "0x88782f69E44da37A4fd7B95f64bAf58661e6601A"
|
|
419
|
+
"polygon-sandbox-local": "0x88782f69E44da37A4fd7B95f64bAf58661e6601A",
|
|
420
|
+
"sei-mainnet": "0x160345fC359604fC6e70E3c5fAcbdE5F7A9342d8"
|
|
386
421
|
};
|
|
387
422
|
var transactionHashes7 = {
|
|
423
|
+
"iota-mainnet": "0xb8ea296c88c2bb3d757802282d8f82b8b2b77faa5d3d77c9d32c3d5a5b03cd86",
|
|
388
424
|
"klaytn-mainnet": "0xc149e7e2e2e8df235a823779a5751908bf661160cfb9b505c95a2714f8af2890",
|
|
389
425
|
"klaytn-testnet": "0xad0de08eb08591e51d24720dfd3f649548ac8d5ad5fef36f460b3141b5ac812a",
|
|
390
|
-
"polygon-sandbox-local": "0xf91cf64ca4551fc9cbb135669fdeb454af6fabed83d2e102f46c780a93a5856e"
|
|
426
|
+
"polygon-sandbox-local": "0xf91cf64ca4551fc9cbb135669fdeb454af6fabed83d2e102f46c780a93a5856e",
|
|
427
|
+
"sei-mainnet": "0xea87de9c5d447959123c41d066bede7afadb82ce16086aba2b84f84d6abdf782"
|
|
391
428
|
};
|
|
392
429
|
var abi07 = [{ "inputs": [{ "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [{ "internalType": "address", "name": "caller", "type": "address" }], "name": "OnlyMinter", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }], "name": "MinterAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }], "name": "MinterRemoved", "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": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "_minter", "type": "address" }], "name": "addMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" }], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" }], "name": "increaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "minters", "outputs": [{ "internalType": "bool", "name": "canMint", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_minter", "type": "address" }], "name": "removeMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
393
430
|
var abi12 = [{ "inputs": [{ "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [{ "internalType": "address", "name": "caller", "type": "address" }], "name": "OnlyMinter", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }], "name": "MinterAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }], "name": "MinterRemoved", "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": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "_minter", "type": "address" }], "name": "addMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" }], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" }], "name": "increaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "minters", "outputs": [{ "internalType": "bool", "name": "canMint", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_minter", "type": "address" }], "name": "removeMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
394
431
|
var abis7 = {
|
|
432
|
+
"iota-mainnet": abi07,
|
|
395
433
|
"klaytn-mainnet": abi07,
|
|
396
434
|
"klaytn-testnet": abi12,
|
|
397
|
-
"polygon-sandbox-local": abi12
|
|
435
|
+
"polygon-sandbox-local": abi12,
|
|
436
|
+
"sei-mainnet": abi07
|
|
398
437
|
};
|
|
399
438
|
|
|
400
439
|
// deployed/RewardLib.ts
|
|
@@ -666,21 +705,27 @@ __export(StargateOFTETH_exports, {
|
|
|
666
705
|
transactionHashes: () => transactionHashes12
|
|
667
706
|
});
|
|
668
707
|
var addresses12 = {
|
|
708
|
+
"iota-mainnet": "0x9c2dc7377717603eB92b2655c5f2E7997a4945BD",
|
|
669
709
|
"klaytn-mainnet": "0xBB4957E44401a31ED81Cab33539d9e8993FA13Ce",
|
|
670
710
|
"klaytn-testnet": "0xf1b69ee3097c6E8CC6487B7667dB818FeDC7b1a9",
|
|
671
|
-
"polygon-sandbox-local": "0xD9A5D06f1e60255C52DcD7B8a3dA6aCdbf4521Bf"
|
|
711
|
+
"polygon-sandbox-local": "0xD9A5D06f1e60255C52DcD7B8a3dA6aCdbf4521Bf",
|
|
712
|
+
"sei-mainnet": "0x5c386D85b1B82FD9Db681b9176C8a4248bb6345B"
|
|
672
713
|
};
|
|
673
714
|
var transactionHashes12 = {
|
|
715
|
+
"iota-mainnet": "0xf439380e8ac03d970ed0e707ff9caec573d6874c2c61add9c93fbf2a189a9666",
|
|
674
716
|
"klaytn-mainnet": "0xebe97dea0d89516c3e7cd5935b06dc4b0d5e9e234ccad706c7eee3fa53d9c5f6",
|
|
675
717
|
"klaytn-testnet": "0x80bee3ec507b54b72e2c57ed5d03383fa6222bee7ee4c5fd3fd70b95da0d38a9",
|
|
676
|
-
"polygon-sandbox-local": "0xe1b2da18f3de2c6d3e79ce6c79ef3a1271fbb62562243ec30ce2f4baeb839bfd"
|
|
718
|
+
"polygon-sandbox-local": "0xe1b2da18f3de2c6d3e79ce6c79ef3a1271fbb62562243ec30ce2f4baeb839bfd",
|
|
719
|
+
"sei-mainnet": "0x48853d5586c2d9f625b378e07514d325c95cb92c52a16388d9e4caa47d52ac5e"
|
|
677
720
|
};
|
|
678
721
|
var abi012 = [{ "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": [], "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" }];
|
|
679
722
|
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_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": "Stargate_WithdrawPlannerFeeFailed", "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": "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": [], "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": [], "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" }];
|
|
680
723
|
var abis12 = {
|
|
724
|
+
"iota-mainnet": abi012,
|
|
681
725
|
"klaytn-mainnet": abi012,
|
|
682
726
|
"klaytn-testnet": abi13,
|
|
683
|
-
"polygon-sandbox-local": abi13
|
|
727
|
+
"polygon-sandbox-local": abi13,
|
|
728
|
+
"sei-mainnet": abi012
|
|
684
729
|
};
|
|
685
730
|
|
|
686
731
|
// deployed/StargateOFTUSDC.ts
|
|
@@ -692,26 +737,35 @@ __export(StargateOFTUSDC_exports, {
|
|
|
692
737
|
});
|
|
693
738
|
var addresses13 = {
|
|
694
739
|
"bsc-sandbox-local": "0xD9A5D06f1e60255C52DcD7B8a3dA6aCdbf4521Bf",
|
|
740
|
+
"iota-mainnet": "0x8e8539e4CcD69123c623a106773F2b0cbbc58746",
|
|
695
741
|
"klaytn-mainnet": "0x01A7c805cc47AbDB254CD8AaD29dE5e447F59224",
|
|
696
742
|
"klaytn-testnet": "0xe19525580913971d220dBa3BbD01eE2A0b1adc6F",
|
|
697
743
|
"polygon-sandbox-local": "0x4AB051fb655A6DaAE76F1916C5E3151B762f1116",
|
|
698
|
-
"rarible-mainnet": "0x875bee36739e7Ce6b60E056451c556a88c59b086"
|
|
744
|
+
"rarible-mainnet": "0x875bee36739e7Ce6b60E056451c556a88c59b086",
|
|
745
|
+
"taiko-mainnet": "0x77C71633C34C3784ede189d74223122422492a0f",
|
|
746
|
+
"xchain-mainnet": "0x17d65bF79E77B6Ab21d8a0afed3bC8657d8Ee0B2"
|
|
699
747
|
};
|
|
700
748
|
var transactionHashes13 = {
|
|
701
749
|
"bsc-sandbox-local": "0xd27f81d3058e155116ae9f884deeba593f6398a8882f785fd50dabce84cd7a7b",
|
|
750
|
+
"iota-mainnet": "0x0ecb6e912bdeaacb31b7a5e78b900cdb09eb05626db7fe2b910586e74f3a74d0",
|
|
702
751
|
"klaytn-mainnet": "0x7f198d23225a137fd5e590378175bf2a420f707fa62c7a50191cb9a3b60a0774",
|
|
703
752
|
"klaytn-testnet": "0xed3267afa4e107dd71985b6125796f045dc6ecad18ec504ee7f6c9d4e4659465",
|
|
704
753
|
"polygon-sandbox-local": "0x235e9b15defec7dccdbe6d07eb8b9caa84f6def8eea00d94d6bd50c0bcb58aab",
|
|
705
|
-
"rarible-mainnet": "0x4da81821f3d77469f4b91b206afce853eb238e4d962c51d2d8c0c775fdf2c153"
|
|
754
|
+
"rarible-mainnet": "0x4da81821f3d77469f4b91b206afce853eb238e4d962c51d2d8c0c775fdf2c153",
|
|
755
|
+
"taiko-mainnet": "0x850187f5dc8c40aee5265bd9eff929e329dac20a0943d4cf2981b77db9de27f1",
|
|
756
|
+
"xchain-mainnet": "0x99ffa4a045be986d8021c6ba72e7e8d2e8114deaa3508a185f4b72a68d0f47fd"
|
|
706
757
|
};
|
|
707
758
|
var abi013 = [{ "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": "Stargate_WithdrawPlannerFeeFailed", "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": "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": [], "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": [], "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" }];
|
|
708
759
|
var abi14 = [{ "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": [], "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" }];
|
|
709
760
|
var abis13 = {
|
|
710
761
|
"bsc-sandbox-local": abi013,
|
|
762
|
+
"iota-mainnet": abi14,
|
|
711
763
|
"klaytn-mainnet": abi14,
|
|
712
764
|
"klaytn-testnet": abi013,
|
|
713
765
|
"polygon-sandbox-local": abi013,
|
|
714
|
-
"rarible-mainnet": abi14
|
|
766
|
+
"rarible-mainnet": abi14,
|
|
767
|
+
"taiko-mainnet": abi14,
|
|
768
|
+
"xchain-mainnet": abi14
|
|
715
769
|
};
|
|
716
770
|
|
|
717
771
|
// deployed/StargateOFTUSDT.ts
|
|
@@ -724,25 +778,31 @@ __export(StargateOFTUSDT_exports, {
|
|
|
724
778
|
var addresses14 = {
|
|
725
779
|
"bsc-sandbox-local": "0x4AB051fb655A6DaAE76F1916C5E3151B762f1116",
|
|
726
780
|
"ebi-mainnet": "0xF8c61c8F4Fdd41dd444f7b582C9F440e1b1ADcc8",
|
|
781
|
+
"iota-mainnet": "0x77C71633C34C3784ede189d74223122422492a0f",
|
|
727
782
|
"klaytn-mainnet": "0x8619bA1B324e099CB2227060c4BC5bDEe14456c6",
|
|
728
783
|
"klaytn-testnet": "0x0fd58375f7849487f14F68812DDb35d59E1bAD79",
|
|
729
|
-
"rarible-mainnet": "0x17d65bF79E77B6Ab21d8a0afed3bC8657d8Ee0B2"
|
|
784
|
+
"rarible-mainnet": "0x17d65bF79E77B6Ab21d8a0afed3bC8657d8Ee0B2",
|
|
785
|
+
"taiko-mainnet": "0x1C10CC06DC6D35970d1D53B2A23c76ef370d4135"
|
|
730
786
|
};
|
|
731
787
|
var transactionHashes14 = {
|
|
732
788
|
"bsc-sandbox-local": "0xda944b85934dcffb6b631cec47e6c12acf442b2419d161a660fcce06b505fa34",
|
|
733
789
|
"ebi-mainnet": "0x6efe43d3f30ba7059a405b2886821d34e2ac54d8a04aa5dbebe0a6d5107fddc0",
|
|
790
|
+
"iota-mainnet": "0x916652b52a38cab01e3a2ae595238d210831fdfb9046753ec6636381654639ce",
|
|
734
791
|
"klaytn-mainnet": "0x7611ee363a80196291c78a60b1aba9be08c79333722f472ef65cdd4578ff440b",
|
|
735
792
|
"klaytn-testnet": "0xcc9a69d98b37ecdc7bf42db41fa10552d742500d784a5bfa0b89af2b461059d2",
|
|
736
|
-
"rarible-mainnet": "0x8968bafba74fbd20ffcb56ccbf699b46bbf2820dab1f1f17df6c3d1ec93c443e"
|
|
793
|
+
"rarible-mainnet": "0x8968bafba74fbd20ffcb56ccbf699b46bbf2820dab1f1f17df6c3d1ec93c443e",
|
|
794
|
+
"taiko-mainnet": "0x7fc1455bc536186f780d9ab65256997c530e08a655b43bcb77146e657473cc34"
|
|
737
795
|
};
|
|
738
796
|
var abi014 = [{ "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": "Stargate_WithdrawPlannerFeeFailed", "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": "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": [], "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": [], "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" }];
|
|
739
797
|
var abi15 = [{ "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": [], "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" }];
|
|
740
798
|
var abis14 = {
|
|
741
799
|
"bsc-sandbox-local": abi014,
|
|
742
800
|
"ebi-mainnet": abi15,
|
|
801
|
+
"iota-mainnet": abi15,
|
|
743
802
|
"klaytn-mainnet": abi15,
|
|
744
803
|
"klaytn-testnet": abi014,
|
|
745
|
-
"rarible-mainnet": abi15
|
|
804
|
+
"rarible-mainnet": abi15,
|
|
805
|
+
"taiko-mainnet": abi15
|
|
746
806
|
};
|
|
747
807
|
|
|
748
808
|
// deployed/StargatePoolETH.ts
|
|
@@ -1064,6 +1124,7 @@ var addresses22 = {
|
|
|
1064
1124
|
"ebi-mainnet": "0x4EeBa4E168b23601EB7716A5D1Ac243B8D375290",
|
|
1065
1125
|
"ethereum-mainnet": "0x6d6620eFa72948C5f68A3C8646d58C00d3f4A980",
|
|
1066
1126
|
"ethereum-sandbox-local": "0x6b41E26D7bADe7AF19b73F4B83B3324C00F7CF33",
|
|
1127
|
+
"iota-mainnet": "0x1C10CC06DC6D35970d1D53B2A23c76ef370d4135",
|
|
1067
1128
|
"kava-mainnet": "0x6B73D3cBbb278Ce2E8698E983AecCdD94Dc4594B",
|
|
1068
1129
|
"klaytn-mainnet": "0x16F3F98D82d965988E6853681fD578F4d719A1c0",
|
|
1069
1130
|
"klaytn-testnet": "0x6C2d1Dc35C69296C0a1661D9f1c757d6Fc3080E8",
|
|
@@ -1075,7 +1136,10 @@ var addresses22 = {
|
|
|
1075
1136
|
"polygon-sandbox-local": "0xBcD94c5F9C4102Ba6445F1569B40B9972BAff6a5",
|
|
1076
1137
|
"rarible-mainnet": "0xC1B8045A6ef2934Cf0f78B0dbD489969Fa9Be7E4",
|
|
1077
1138
|
"scroll-mainnet": "0x4e422B0aCb2Bd7e3aC70B5c0E5eb806e86a94038",
|
|
1139
|
+
"sei-mainnet": "0x1502FA4be69d526124D453619276FacCab275d3D",
|
|
1078
1140
|
"sepolia-testnet": "0xe5EcECEc372382A96Fe8E88fDC52f327e0895245",
|
|
1141
|
+
"taiko-mainnet": "0x45d417612e177672958dC0537C45a8f8d754Ac2E",
|
|
1142
|
+
"xchain-mainnet": "0xC1B8045A6ef2934Cf0f78B0dbD489969Fa9Be7E4",
|
|
1079
1143
|
"zkconsensys-mainnet": "0x5f688F563Dc16590e570f97b542FA87931AF2feD"
|
|
1080
1144
|
};
|
|
1081
1145
|
var transactionHashes22 = {
|
|
@@ -1090,6 +1154,7 @@ var transactionHashes22 = {
|
|
|
1090
1154
|
"ebi-mainnet": "0x60b297ecfca14bc9054a930541006a92a29a23f174ec0b7ea27150995997ea39",
|
|
1091
1155
|
"ethereum-mainnet": "0x547bc40983066467fcfcbfed64b4a89fd56518268b602ac965123bd0f67e1f10",
|
|
1092
1156
|
"ethereum-sandbox-local": "0x8bf50b7297045f87fdd53b65726e5360195df77be4386492a598237e8f2ed3f2",
|
|
1157
|
+
"iota-mainnet": "0x8d8d71e6620f16e3d21da01aff8590531c15f0a3639283437aa5cf81081245c4",
|
|
1093
1158
|
"kava-mainnet": "0x463ea1afc5a7eed46a0d1dd80739a96a208af10be213dbec48278bea8eec86e8",
|
|
1094
1159
|
"klaytn-mainnet": "0x270c0413e8f4634113994c17c63553c8e4f67229f205afc4a7ce86e627d261a5",
|
|
1095
1160
|
"klaytn-testnet": "0xb19f8ed7ce7de27d087ef0c9cebb05e33a95bdaa9dac5a54bfe6dedc91bfe0f4",
|
|
@@ -1101,7 +1166,10 @@ var transactionHashes22 = {
|
|
|
1101
1166
|
"polygon-sandbox-local": "0xe54101d72880b6ecaefdedb4f9e30e46cdfbe50dcea1a2512341418f3b75930c",
|
|
1102
1167
|
"rarible-mainnet": "0xd50836a635afa399e3581938a773a6a669fc8da82a015a48e769775c0734ed82",
|
|
1103
1168
|
"scroll-mainnet": "0x50882c96b3ca4130ff77773582d0f2fdc97afa7c3b81260db25ab6014b8c880b",
|
|
1169
|
+
"sei-mainnet": "0xd4e20be069855fe3ebee946761813ed5881d13dc965cfa36fe8bfbcb70253f70",
|
|
1104
1170
|
"sepolia-testnet": "0x16b9ccddf1a19182ef71517d469b863a692e155593d0f541313193c3132d7b07",
|
|
1171
|
+
"taiko-mainnet": "0x8e3284393f7b4b8c42d7f5a7341b8b37edcb39268ab797720867a1a5768a2349",
|
|
1172
|
+
"xchain-mainnet": "0xb23b985b90442c67f5fb243f51a34cb5674d7c9e90076b21eb27e89f8e33648c",
|
|
1105
1173
|
"zkconsensys-mainnet": "0xb2cebe8a3e8b60dc2da92c6d16bb88f1e1550f110dd64a3274030cda08cc494e"
|
|
1106
1174
|
};
|
|
1107
1175
|
var abi022 = [{ "inputs": [{ "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "uint16", "name": "_queueCapacity", "type": "uint16" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "BusCodec_InvalidBusBytesLength", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidPassengersBytesLength", "type": "error" }, { "inputs": [{ "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "name": "Bus_InvalidFare", "type": "error" }, { "inputs": [{ "internalType": "uint8", "name": "numPassengers", "type": "uint8" }], "name": "Bus_InvalidNumPassengers", "type": "error" }, { "inputs": [], "name": "Bus_InvalidPassenger", "type": "error" }, { "inputs": [], "name": "Bus_QueueFull", "type": "error" }, { "inputs": [], "name": "InvalidDelegate", "type": "error" }, { "inputs": [], "name": "InvalidEndpointCall", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "options", "type": "bytes" }], "name": "InvalidOptions", "type": "error" }, { "inputs": [], "name": "LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "MessagingOptions_ZeroGasLimit", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidAssetId", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidEid", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidMsgValue", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_MaxNumPassengersExceedsQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_NotEnoughPassengers", "type": "error" }, { "inputs": [], "name": "Messaging_Unauthorized", "type": "error" }, { "inputs": [], "name": "Messaging_Unavailable", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "NoPeer", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "msgValue", "type": "uint256" }], "name": "NotEnoughNative", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "OnlyEndpoint", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }], "name": "OnlyPeer", "type": "error" }, { "inputs": [], "name": "OnlySelf", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }], "name": "SimulationResult", "type": "error" }, { "inputs": [], "name": "TaxiCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "stargateImpl", "type": "address" }, { "indexed": false, "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "AssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "startTicketId", "type": "uint72" }, { "indexed": false, "internalType": "uint8", "name": "numPassengers", "type": "uint8" }, { "indexed": false, "internalType": "bytes32", "name": "guid", "type": "bytes32" }], "name": "BusDriven", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint16", "name": "startSlot", "type": "uint16" }, { "indexed": false, "internalType": "uint16", "name": "endSlot", "type": "uint16" }], "name": "BusQueueStorageInitialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "indexed": false, "internalType": "uint80", "name": "fare", "type": "uint80" }, { "indexed": false, "internalType": "bytes", "name": "passenger", "type": "bytes" }], "name": "BusRode", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "indexed": false, "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "EnforcedOptionSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "indexed": false, "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }], "name": "FaresSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "name": "GasLimitSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint16", "name": "maxAssetId", "type": "uint16" }], "name": "MaxAssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }], "name": "MaxNumPassengersSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "name": "NativeDropAmountSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropApplied", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropFailed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "name": "PeerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "planner", "type": "address" }], "name": "PlannerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "preCrimeAddress", "type": "address" }], "name": "PreCrimeSet", "type": "event" }, { "inputs": [], "name": "MSG_TYPE_BUS", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MSG_TYPE_TAXI", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }], "name": "allowInitializePath", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "name": "assetIds", "outputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "busQueues", "outputs": [{ "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }, { "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }, { "internalType": "uint16", "name": "qLength", "type": "uint16" }, { "internalType": "uint72", "name": "nextTicketId", "type": "uint72" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint16", "name": "_msgType", "type": "uint16" }, { "internalType": "bytes", "name": "_extraOptions", "type": "bytes" }], "name": "combineOptions", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "driveBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }], "name": "enforcedOptions", "outputs": [{ "internalType": "bytes", "name": "enforcedOption", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "gasLimits", "outputs": [{ "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint16", "name": "_index", "type": "uint16" }], "name": "getPassengerHash", "outputs": [{ "internalType": "bytes32", "name": "hash", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32[]", "name": "_dstEids", "type": "uint32[]" }, { "internalType": "uint16", "name": "_startSlot", "type": "uint16" }, { "internalType": "uint16", "name": "_endSlot", "type": "uint16" }], "name": "initializeBusQueueStorage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "", "type": "tuple" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_sender", "type": "address" }], "name": "isComposeMsgSender", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "isPeer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceive", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "bytes", "name": "message", "type": "bytes" }, { "internalType": "bytes", "name": "extraData", "type": "bytes" }], "internalType": "struct InboundPacket[]", "name": "_packets", "type": "tuple[]" }], "name": "lzReceiveAndRevert", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceiveSimulate", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "maxAssetId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "nativeDropAmounts", "outputs": [{ "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "nextNonce", "outputs": [{ "internalType": "uint64", "name": "nonce", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oApp", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oAppVersion", "outputs": [{ "internalType": "uint64", "name": "senderVersion", "type": "uint64" }, { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "peers", "outputs": [{ "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "planner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "preCrime", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "queueCapacity", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "quoteDriveBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_numPassengers", "type": "uint8" }], "name": "quoteFares", "outputs": [{ "internalType": "uint256", "name": "busFare", "type": "uint256" }, { "internalType": "uint256", "name": "busAndNativeDropFare", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_airdrop", "type": "bool" }], "name": "quoteRideBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }], "name": "quoteTaxi", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "internalType": "struct RideBusParams", "name": "_params", "type": "tuple" }], "name": "rideBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }, { "components": [{ "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "internalType": "bytes", "name": "passengerBytes", "type": "bytes" }], "internalType": "struct Ticket", "name": "ticket", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargateImpl", "type": "address" }, { "internalType": "uint16", "name": "_assetId", "type": "uint16" }], "name": "setAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_delegate", "type": "address" }], "name": "setDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "setEnforcedOptions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint80", "name": "_busFare", "type": "uint80" }, { "internalType": "uint80", "name": "_busAndNativeDropFare", "type": "uint80" }], "name": "setFares", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint128", "name": "_gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "_nativeDropGasLimit", "type": "uint128" }], "name": "setGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "_maxAssetId", "type": "uint16" }], "name": "setMaxAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_maxNumPassengers", "type": "uint8" }], "name": "setMaxNumPassengers", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint128", "name": "_nativeDropAmount", "type": "uint128" }], "name": "setNativeDropAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "setPeer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_planner", "type": "address" }], "name": "setPlanner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_preCrime", "type": "address" }], "name": "setPreCrime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "stargateImpls", "outputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_messagingFee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "taxi", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
@@ -1118,6 +1186,7 @@ var abis22 = {
|
|
|
1118
1186
|
"ebi-mainnet": abi022,
|
|
1119
1187
|
"ethereum-mainnet": abi022,
|
|
1120
1188
|
"ethereum-sandbox-local": abi19,
|
|
1189
|
+
"iota-mainnet": abi022,
|
|
1121
1190
|
"kava-mainnet": abi022,
|
|
1122
1191
|
"klaytn-mainnet": abi022,
|
|
1123
1192
|
"klaytn-testnet": abi19,
|
|
@@ -1129,7 +1198,10 @@ var abis22 = {
|
|
|
1129
1198
|
"polygon-sandbox-local": abi19,
|
|
1130
1199
|
"rarible-mainnet": abi022,
|
|
1131
1200
|
"scroll-mainnet": abi022,
|
|
1201
|
+
"sei-mainnet": abi022,
|
|
1132
1202
|
"sepolia-testnet": abi19,
|
|
1203
|
+
"taiko-mainnet": abi022,
|
|
1204
|
+
"xchain-mainnet": abi022,
|
|
1133
1205
|
"zkconsensys-mainnet": abi022
|
|
1134
1206
|
};
|
|
1135
1207
|
|
|
@@ -1152,6 +1224,7 @@ var addresses23 = {
|
|
|
1152
1224
|
"ebi-mainnet": "0xcf2eAF72EA49bd802A057DBaE6E4CC8b7493b398",
|
|
1153
1225
|
"ethereum-mainnet": "0x1041D127b2d4BC700F0F563883bC689502606918",
|
|
1154
1226
|
"ethereum-sandbox-local": "0x5868B71c225BE428Ae65e48c7d8Ef9e12AB76766",
|
|
1227
|
+
"iota-mainnet": "0x8c1014B5936dD88BAA5F4DB0423C3003615E03a0",
|
|
1155
1228
|
"kava-mainnet": "0xb7A05A3a687ef09cc70E3F98b5f6a62f32E3AE58",
|
|
1156
1229
|
"klaytn-mainnet": "0x259EF40ebe42073bd70966519B53791f03a9212f",
|
|
1157
1230
|
"klaytn-testnet": "0x1E8A86EcC9dc41106d3834c6F1033D86939B1e0D",
|
|
@@ -1163,7 +1236,10 @@ var addresses23 = {
|
|
|
1163
1236
|
"polygon-sandbox-local": "0x654A4318A2433c8a300c1F8855E68862AC6e1cf1",
|
|
1164
1237
|
"rarible-mainnet": "0x77C71633C34C3784ede189d74223122422492a0f",
|
|
1165
1238
|
"scroll-mainnet": "0xcbE78230CcA58b9EF4c3c5D1bC0D7E4b3206588a",
|
|
1239
|
+
"sei-mainnet": "0x873cfB4bAe1Ab6A5DE753400e9d0616e10Dced22",
|
|
1166
1240
|
"sepolia-testnet": "0xa97D0D74A756cbEEFC79697B66E90fB141F436b8",
|
|
1241
|
+
"taiko-mainnet": "0x8c1014B5936dD88BAA5F4DB0423C3003615E03a0",
|
|
1242
|
+
"xchain-mainnet": "0x8e8539e4CcD69123c623a106773F2b0cbbc58746",
|
|
1167
1243
|
"zkconsensys-mainnet": "0xf5F74d2508e97A3a7CCA2ccb75c8325D66b46152"
|
|
1168
1244
|
};
|
|
1169
1245
|
var transactionHashes23 = {
|
|
@@ -1178,6 +1254,7 @@ var transactionHashes23 = {
|
|
|
1178
1254
|
"ebi-mainnet": "0x40c1e3075805be8f612701b6f3b3d2f810f7090593b6b4aa4bb861da6c72c944",
|
|
1179
1255
|
"ethereum-mainnet": "0x93a53c5bce2da4731de00f6dfc5f778cd674631bfd5f67cee6f5acd4b11c723f",
|
|
1180
1256
|
"ethereum-sandbox-local": "0x240e3691c35b4583e45061e816945fd43990a24b421915ffa124ab0e0f784d8c",
|
|
1257
|
+
"iota-mainnet": "0x5eaf7ec9da82638a2a5ace19e27d0289996b63229cd3b1deebf3d237c85890fc",
|
|
1181
1258
|
"kava-mainnet": "0xb2d665c831d1e143367cf239f9d8bc93fb588b0581676291d806bd631e8b30f4",
|
|
1182
1259
|
"klaytn-mainnet": "0x3e93ff02d9be0f8b85f4270820c381fe5dc635258595fa4392159379da2c2a63",
|
|
1183
1260
|
"klaytn-testnet": "0x541879e4429b5692d1224cbe774feda72521c3eaf3924b16920c7d1d8d451828",
|
|
@@ -1189,7 +1266,10 @@ var transactionHashes23 = {
|
|
|
1189
1266
|
"polygon-sandbox-local": "0x27f6ebb66e0d9e898b25a2249384874b2aa0b75f4f1401b3a581701ab8f57e0d",
|
|
1190
1267
|
"rarible-mainnet": "0x8e20cdd3dd395a81e5d8a02e406f893be18722ddec5857cfcc3dcadd5c53b626",
|
|
1191
1268
|
"scroll-mainnet": "0x97e8ac39e8955c9b424ed7059e94e56abcb42de3285c7f85c547334546f57ecf",
|
|
1269
|
+
"sei-mainnet": "0xfaea902dbcecac50f6e74342107e2d61f1ecc45e1d1c5d8392f7b55e02eccb03",
|
|
1192
1270
|
"sepolia-testnet": "0x5b2bd72dd19630dee8b5a967821b5680c1ae4bfff1345003a0d1ac5559eb3441",
|
|
1271
|
+
"taiko-mainnet": "0x68764a18b669f644f0eadc0110979079a1f7af5d251639f7dc1c948c76c0eb28",
|
|
1272
|
+
"xchain-mainnet": "0x652059f36d100445546c6095cf9405beef2dd6e2609f9469e5c9d4c514755b36",
|
|
1193
1273
|
"zkconsensys-mainnet": "0x26a6acdc3c158680401ad46327df0396257319403fafa87cc2454514b94f304e"
|
|
1194
1274
|
};
|
|
1195
1275
|
var abi023 = [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_admin", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "inputs": [], "name": "Unauthorized", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }, { "internalType": "uint256", "name": "_amountLD", "type": "uint256" }], "name": "addTreasuryFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "admin", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }, { "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "recoverToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_admin", "type": "address" }], "name": "setAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }, { "internalType": "bool", "name": "_value", "type": "bool" }], "name": "setStargate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "stargates", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "transfer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }, { "internalType": "uint64", "name": "_amountSD", "type": "uint64" }], "name": "withdrawTreasuryFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" }];
|
|
@@ -1206,6 +1286,7 @@ var abis23 = {
|
|
|
1206
1286
|
"ebi-mainnet": abi023,
|
|
1207
1287
|
"ethereum-mainnet": abi023,
|
|
1208
1288
|
"ethereum-sandbox-local": abi110,
|
|
1289
|
+
"iota-mainnet": abi023,
|
|
1209
1290
|
"kava-mainnet": abi023,
|
|
1210
1291
|
"klaytn-mainnet": abi023,
|
|
1211
1292
|
"klaytn-testnet": abi110,
|
|
@@ -1217,7 +1298,10 @@ var abis23 = {
|
|
|
1217
1298
|
"polygon-sandbox-local": abi110,
|
|
1218
1299
|
"rarible-mainnet": abi023,
|
|
1219
1300
|
"scroll-mainnet": abi023,
|
|
1301
|
+
"sei-mainnet": abi023,
|
|
1220
1302
|
"sepolia-testnet": abi110,
|
|
1303
|
+
"taiko-mainnet": abi023,
|
|
1304
|
+
"xchain-mainnet": abi023,
|
|
1221
1305
|
"zkconsensys-mainnet": abi023
|
|
1222
1306
|
};
|
|
1223
1307
|
|
|
@@ -1231,27 +1315,36 @@ __export(USDCImpl_exports, {
|
|
|
1231
1315
|
var addresses24 = {
|
|
1232
1316
|
"bsc-sandbox-local": "0x057ef64E23666F000b34aE31332854aCBd1c8544",
|
|
1233
1317
|
"ethereum-sandbox-local": "0x057ef64E23666F000b34aE31332854aCBd1c8544",
|
|
1318
|
+
"iota-mainnet": "0x3AdAE7Ad0449e26ad2e95059e08CC29ECB93E194",
|
|
1234
1319
|
"klaytn-mainnet": "0x4C467D61914997A3B07A56AB8316bB5B52d4ad56",
|
|
1235
1320
|
"klaytn-testnet": "0xdBEF66b49c5E388eEaE763e4F337156EF63761Ea",
|
|
1236
1321
|
"polygon-sandbox-local": "0x057ef64E23666F000b34aE31332854aCBd1c8544",
|
|
1237
|
-
"rarible-mainnet": "0x3AdAE7Ad0449e26ad2e95059e08CC29ECB93E194"
|
|
1322
|
+
"rarible-mainnet": "0x3AdAE7Ad0449e26ad2e95059e08CC29ECB93E194",
|
|
1323
|
+
"taiko-mainnet": "0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6",
|
|
1324
|
+
"xchain-mainnet": "0x3AdAE7Ad0449e26ad2e95059e08CC29ECB93E194"
|
|
1238
1325
|
};
|
|
1239
1326
|
var transactionHashes24 = {
|
|
1240
1327
|
"bsc-sandbox-local": "0x0aaf33d88f619b2ade8e4bd42245d0c8fedb67a6cbb97f389743d681eb54e984",
|
|
1241
1328
|
"ethereum-sandbox-local": "0xd82c01d3eb77d2dad51c1e11ffa74de903f839a7f44ed38cd5b73ee8e322277c",
|
|
1329
|
+
"iota-mainnet": "0x6a5e2fa472f649ba7acb348d898fd6cee02356aa4a5ad586481add17a75477c9",
|
|
1242
1330
|
"klaytn-mainnet": "0x40c979560c458994344e80ea6b2806d37081ed4a888b4b75641ad831df83f101",
|
|
1243
1331
|
"klaytn-testnet": "0xa33acd4b27e8e06ff2cf5bc81688158b28da3fbf34c16c5dccddf0fd1abbe1c7",
|
|
1244
1332
|
"polygon-sandbox-local": "0xeed571bc92b11785e5e3c315bb7e35d6c9c2fa9d5c71c2cbf648da1865e8c5dd",
|
|
1245
|
-
"rarible-mainnet": "0x455bfcf5eee8e6ccb78996dadeff76cefe50d6f29c71b73b9f6be614e6b49e61"
|
|
1333
|
+
"rarible-mainnet": "0x455bfcf5eee8e6ccb78996dadeff76cefe50d6f29c71b73b9f6be614e6b49e61",
|
|
1334
|
+
"taiko-mainnet": "0x3a464507aa04b5ffd48e6503c80e2f254fd9459b890ed358dd306efabaa1990b",
|
|
1335
|
+
"xchain-mainnet": "0x4f0a53179783606f4e090b390bf8452f0ac758659f33efc7cf9b7e304ab31218"
|
|
1246
1336
|
};
|
|
1247
1337
|
var abi024 = [{ "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "authorizer", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "nonce", "type": "bytes32" }], "name": "AuthorizationCanceled", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "authorizer", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "nonce", "type": "bytes32" }], "name": "AuthorizationUsed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "_account", "type": "address" }], "name": "Blacklisted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "newBlacklister", "type": "address" }], "name": "BlacklisterChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "burner", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Burn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "newMasterMinter", "type": "address" }], "name": "MasterMinterChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Mint", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "minterAllowedAmount", "type": "uint256" }], "name": "MinterConfigured", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "oldMinter", "type": "address" }], "name": "MinterRemoved", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [], "name": "Pause", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "newAddress", "type": "address" }], "name": "PauserChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "newRescuer", "type": "address" }], "name": "RescuerChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "_account", "type": "address" }], "name": "UnBlacklisted", "type": "event" }, { "anonymous": false, "inputs": [], "name": "Unpause", "type": "event" }, { "inputs": [], "name": "CANCEL_AUTHORIZATION_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "RECEIVE_WITH_AUTHORIZATION_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TRANSFER_WITH_AUTHORIZATION_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "authorizer", "type": "address" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }], "name": "authorizationState", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }], "name": "blacklist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "blacklister", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "authorizer", "type": "address" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "cancelAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "authorizer", "type": "address" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "name": "cancelAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "minter", "type": "address" }, { "internalType": "uint256", "name": "minterAllowedAmount", "type": "uint256" }], "name": "configureMinter", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "currency", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "decrement", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "increment", "type": "uint256" }], "name": "increaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "string", "name": "tokenName", "type": "string" }, { "internalType": "string", "name": "tokenSymbol", "type": "string" }, { "internalType": "string", "name": "tokenCurrency", "type": "string" }, { "internalType": "uint8", "name": "tokenDecimals", "type": "uint8" }, { "internalType": "address", "name": "newMasterMinter", "type": "address" }, { "internalType": "address", "name": "newPauser", "type": "address" }, { "internalType": "address", "name": "newBlacklister", "type": "address" }, { "internalType": "address", "name": "newOwner", "type": "address" }], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "string", "name": "newName", "type": "string" }], "name": "initializeV2", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "lostAndFound", "type": "address" }], "name": "initializeV2_1", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address[]", "name": "accountsToBlacklist", "type": "address[]" }, { "internalType": "string", "name": "newSymbol", "type": "string" }], "name": "initializeV2_2", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }], "name": "isBlacklisted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "isMinter", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "masterMinter", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "mint", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "minter", "type": "address" }], "name": "minterAllowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "nonces", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "paused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pauser", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "validAfter", "type": "uint256" }, { "internalType": "uint256", "name": "validBefore", "type": "uint256" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "name": "receiveWithAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "validAfter", "type": "uint256" }, { "internalType": "uint256", "name": "validBefore", "type": "uint256" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "receiveWithAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "minter", "type": "address" }], "name": "removeMinter", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IERC20", "name": "tokenContract", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "rescueERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rescuer", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "validAfter", "type": "uint256" }, { "internalType": "uint256", "name": "validBefore", "type": "uint256" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "name": "transferWithAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "validAfter", "type": "uint256" }, { "internalType": "uint256", "name": "validBefore", "type": "uint256" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "transferWithAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }], "name": "unBlacklist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "unpause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newBlacklister", "type": "address" }], "name": "updateBlacklister", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newMasterMinter", "type": "address" }], "name": "updateMasterMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newPauser", "type": "address" }], "name": "updatePauser", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newRescuer", "type": "address" }], "name": "updateRescuer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "pure", "type": "function" }];
|
|
1248
1338
|
var abis24 = {
|
|
1249
1339
|
"bsc-sandbox-local": abi024,
|
|
1250
1340
|
"ethereum-sandbox-local": abi024,
|
|
1341
|
+
"iota-mainnet": abi024,
|
|
1251
1342
|
"klaytn-mainnet": abi024,
|
|
1252
1343
|
"klaytn-testnet": abi024,
|
|
1253
1344
|
"polygon-sandbox-local": abi024,
|
|
1254
|
-
"rarible-mainnet": abi024
|
|
1345
|
+
"rarible-mainnet": abi024,
|
|
1346
|
+
"taiko-mainnet": abi024,
|
|
1347
|
+
"xchain-mainnet": abi024
|
|
1255
1348
|
};
|
|
1256
1349
|
|
|
1257
1350
|
// deployed/USDCProxy.ts
|
|
@@ -1264,27 +1357,36 @@ __export(USDCProxy_exports, {
|
|
|
1264
1357
|
var addresses25 = {
|
|
1265
1358
|
"bsc-sandbox-local": "0x261D8c5e9742e6f7f1076Fa1F560894524e19cad",
|
|
1266
1359
|
"ethereum-sandbox-local": "0x261D8c5e9742e6f7f1076Fa1F560894524e19cad",
|
|
1360
|
+
"iota-mainnet": "0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6",
|
|
1267
1361
|
"klaytn-mainnet": "0xE2053BCf56D2030d2470Fb454574237cF9ee3D4B",
|
|
1268
1362
|
"klaytn-testnet": "0xCfd388493f182211165EB01b92cE5626B6D2eC0F",
|
|
1269
1363
|
"polygon-sandbox-local": "0x261D8c5e9742e6f7f1076Fa1F560894524e19cad",
|
|
1270
|
-
"rarible-mainnet": "0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6"
|
|
1364
|
+
"rarible-mainnet": "0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6",
|
|
1365
|
+
"taiko-mainnet": "0x19e26B0638bf63aa9fa4d14c6baF8D52eBE86C5C",
|
|
1366
|
+
"xchain-mainnet": "0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6"
|
|
1271
1367
|
};
|
|
1272
1368
|
var transactionHashes25 = {
|
|
1273
1369
|
"bsc-sandbox-local": "0xd237e9aebb2774b4f3e642d25bd1d25066c5ee0bf61ff9dd15194a8c1d12243b",
|
|
1274
1370
|
"ethereum-sandbox-local": "0xbf46b01c7f4981737c0a2290c525db262c1e673feed8169ef9d91b2d51661475",
|
|
1371
|
+
"iota-mainnet": "0x5d13d6ebd77b934a9e854413950ee85e1520cd0121834c3feb92f47b75a4a15f",
|
|
1275
1372
|
"klaytn-mainnet": "0x0d6236b543eec046cf1f4dfff5fcd088e5bef49da15bceb38af5baf9c71fa9b9",
|
|
1276
1373
|
"klaytn-testnet": "0x598333bcc3042dc406b592b384b5862275d5d7dea4760279807889d9b4135673",
|
|
1277
1374
|
"polygon-sandbox-local": "0x2f9711721bf392277d7e65c01f7c079d6e69e81dc6a0aede7e78d566ed0b8058",
|
|
1278
|
-
"rarible-mainnet": "0xa0b63761c5bb986cdabe1e78ce2cddb3db2677e4102a9e960541275d8603108c"
|
|
1375
|
+
"rarible-mainnet": "0xa0b63761c5bb986cdabe1e78ce2cddb3db2677e4102a9e960541275d8603108c",
|
|
1376
|
+
"taiko-mainnet": "0x95b156bafc81860f23bee59a925f6f015d6ee6db2c2c00ba98da38e5233ac74c",
|
|
1377
|
+
"xchain-mainnet": "0x53659f057c73ec69cedd51631418a46414ec1f84693bb7d58f575892c0c4602f"
|
|
1279
1378
|
};
|
|
1280
1379
|
var abi025 = [{ "inputs": [{ "internalType": "address", "name": "implementationContract", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "AdminChanged", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "implementation", "type": "address" }], "name": "Upgraded", "type": "event" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "admin", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newAdmin", "type": "address" }], "name": "changeAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "implementation", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }], "name": "upgradeTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" }];
|
|
1281
1380
|
var abis25 = {
|
|
1282
1381
|
"bsc-sandbox-local": abi025,
|
|
1283
1382
|
"ethereum-sandbox-local": abi025,
|
|
1383
|
+
"iota-mainnet": abi025,
|
|
1284
1384
|
"klaytn-mainnet": abi025,
|
|
1285
1385
|
"klaytn-testnet": abi025,
|
|
1286
1386
|
"polygon-sandbox-local": abi025,
|
|
1287
|
-
"rarible-mainnet": abi025
|
|
1387
|
+
"rarible-mainnet": abi025,
|
|
1388
|
+
"taiko-mainnet": abi025,
|
|
1389
|
+
"xchain-mainnet": abi025
|
|
1288
1390
|
};
|
|
1289
1391
|
|
|
1290
1392
|
// deployed/USDCSignatureLib.ts
|
|
@@ -1297,27 +1399,36 @@ __export(USDCSignatureLib_exports, {
|
|
|
1297
1399
|
var addresses26 = {
|
|
1298
1400
|
"bsc-sandbox-local": "0x88782f69E44da37A4fd7B95f64bAf58661e6601A",
|
|
1299
1401
|
"ethereum-sandbox-local": "0x88782f69E44da37A4fd7B95f64bAf58661e6601A",
|
|
1402
|
+
"iota-mainnet": "0x5c386D85b1B82FD9Db681b9176C8a4248bb6345B",
|
|
1300
1403
|
"klaytn-mainnet": "0x8C16672e9D304249309C19984F687b67b7f224C0",
|
|
1301
1404
|
"klaytn-testnet": "0x1AC55ccD9C9e5087A758f9F190552038513FB686",
|
|
1302
1405
|
"polygon-sandbox-local": "0x12759527549C0D3d2DFe3fC831c9a452322A49EA",
|
|
1303
|
-
"rarible-mainnet": "0xf6f832466Cd6C21967E0D954109403f36Bc8ceaA"
|
|
1406
|
+
"rarible-mainnet": "0xf6f832466Cd6C21967E0D954109403f36Bc8ceaA",
|
|
1407
|
+
"taiko-mainnet": "0xDe48600aA18Ae707f5D57e0FaafEC7C118ABaeb2",
|
|
1408
|
+
"xchain-mainnet": "0x5c386D85b1B82FD9Db681b9176C8a4248bb6345B"
|
|
1304
1409
|
};
|
|
1305
1410
|
var transactionHashes26 = {
|
|
1306
1411
|
"bsc-sandbox-local": "0x4ffe258da7f1c185f2341d97f7e36a9305a02de4ec3da0b66643b4154a0434fb",
|
|
1307
1412
|
"ethereum-sandbox-local": "0xac5489fc94879c37c7ef7f3e4a73568b6b182624b0b02f3709cf46ace27ae565",
|
|
1413
|
+
"iota-mainnet": "0x84ad8a8c584825012e6c10c350d34a8856aa3c15a038fdd69f7a793ca7ab0b06",
|
|
1308
1414
|
"klaytn-mainnet": "0xcf6b2663de0adec3d5a960b7130e66798e77b6c8d0fd3cb7516822606df53751",
|
|
1309
1415
|
"klaytn-testnet": "0xa60a8b73e67112b69e879359043055dd7f0bb73b0250a3846d0b5b6bd609c3d0",
|
|
1310
1416
|
"polygon-sandbox-local": "0xe99582be4abbd23119eeb9c431e87cd93556af0e1a698793d3b1eae47b01fe59",
|
|
1311
|
-
"rarible-mainnet": "0x9222245efd1ece9f1dca4040f16d7510769e9e1b1beaa2cb299ef4b54a2afe2b"
|
|
1417
|
+
"rarible-mainnet": "0x9222245efd1ece9f1dca4040f16d7510769e9e1b1beaa2cb299ef4b54a2afe2b",
|
|
1418
|
+
"taiko-mainnet": "0xf86000a91843dbcf064218e2dc2ed2346c61e266fc67262a51c888e5f91b6c6f",
|
|
1419
|
+
"xchain-mainnet": "0x7895cbf5cca65b373c2b0b141082b3c0eff87e06c72d27602f7ab5c9b2849b0c"
|
|
1312
1420
|
};
|
|
1313
1421
|
var abi026 = [{ "inputs": [{ "internalType": "address", "name": "signer", "type": "address" }, { "internalType": "bytes32", "name": "digest", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" }], "name": "isValidSignatureNow", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }];
|
|
1314
1422
|
var abis26 = {
|
|
1315
1423
|
"bsc-sandbox-local": abi026,
|
|
1316
1424
|
"ethereum-sandbox-local": abi026,
|
|
1425
|
+
"iota-mainnet": abi026,
|
|
1317
1426
|
"klaytn-mainnet": abi026,
|
|
1318
1427
|
"klaytn-testnet": abi026,
|
|
1319
1428
|
"polygon-sandbox-local": abi026,
|
|
1320
|
-
"rarible-mainnet": abi026
|
|
1429
|
+
"rarible-mainnet": abi026,
|
|
1430
|
+
"taiko-mainnet": abi026,
|
|
1431
|
+
"xchain-mainnet": abi026
|
|
1321
1432
|
};
|
|
1322
1433
|
|
|
1323
1434
|
// deployed/USDT.ts
|
|
@@ -1332,24 +1443,28 @@ var addresses27 = {
|
|
|
1332
1443
|
"bsc-sandbox-local": "0xcc783140446C68edC7B3C601E63665E17e232eE8",
|
|
1333
1444
|
"ebi-mainnet": "0x5489DDAb89609580835eE6d655CD9B3503E7F97D",
|
|
1334
1445
|
"ethereum-sandbox-local": "0xcc783140446C68edC7B3C601E63665E17e232eE8",
|
|
1446
|
+
"iota-mainnet": "0xC1B8045A6ef2934Cf0f78B0dbD489969Fa9Be7E4",
|
|
1335
1447
|
"klaytn-mainnet": "0x9025095263d1E548dc890A7589A4C78038aC40ab",
|
|
1336
1448
|
"klaytn-testnet": "0xEAFCc3713E7CeF6565f358ad4497A319A2aE30FC",
|
|
1337
1449
|
"optsep-testnet": "0x9352001271a0af0d09a4e7F6C431663A2D5AA9d2",
|
|
1338
1450
|
"polygon-sandbox-local": "0x4026F10CAB74300fC2AF54215532d0b75088FcE2",
|
|
1339
1451
|
"rarible-mainnet": "0x362FAE9A75B27BBc550aAc28a7c1F96C8D483120",
|
|
1340
|
-
"sepolia-testnet": "0xB15a3F6E64D2CaffAF7927431AB0D1c21e429644"
|
|
1452
|
+
"sepolia-testnet": "0xB15a3F6E64D2CaffAF7927431AB0D1c21e429644",
|
|
1453
|
+
"taiko-mainnet": "0x9c2dc7377717603eB92b2655c5f2E7997a4945BD"
|
|
1341
1454
|
};
|
|
1342
1455
|
var transactionHashes27 = {
|
|
1343
1456
|
"arbsep-testnet": "0xdc6587d5f351397bc1bf6559d1d41643db5b367de1cf729eb7c05a753347202d",
|
|
1344
1457
|
"bsc-sandbox-local": "0xbaee199837a73a361947928f05412ddfb52385f9454e2a33602156ee70c7b2d6",
|
|
1345
1458
|
"ebi-mainnet": "0x47f2dcdf672faed23613fc257d9b58852dcf72a4cd041d596d94bbbf9cf7ab96",
|
|
1346
1459
|
"ethereum-sandbox-local": "0xafd9c74954de11731701bef66693da8c89909f63ffe9d24a28d10181585b8188",
|
|
1460
|
+
"iota-mainnet": "0xec65f7df88519c641fa9cc07c299e0bcf14298f6243909aa1b60f3b65abc4945",
|
|
1347
1461
|
"klaytn-mainnet": "0x22e092b9d3fc1e20e00d9690ed9dc946a8c4660a08f877e6a4904209d33126c6",
|
|
1348
1462
|
"klaytn-testnet": "0xc18206ac1a63403d0961405bd627e7ec932f41cd6af588196bd9c53d6eea5b28",
|
|
1349
1463
|
"optsep-testnet": "0x45672462b25f11366b21c825f0066f31e03f9277642dae644c93fc177f23c44b",
|
|
1350
1464
|
"polygon-sandbox-local": "0xf7055b2eb80e65f165b8b74aabda0910b15e42a054d88902a2ed0b88ae1bd0f7",
|
|
1351
1465
|
"rarible-mainnet": "0x8cc9ab031a7e04bfc8ef317f23e2865123439f3a7643b14909b990952fabeb18",
|
|
1352
|
-
"sepolia-testnet": "0xb71bd3d9fbb903bea16bf8f5f9d291228555ded42ab2053f99d10a53e6ee2885"
|
|
1466
|
+
"sepolia-testnet": "0xb71bd3d9fbb903bea16bf8f5f9d291228555ded42ab2053f99d10a53e6ee2885",
|
|
1467
|
+
"taiko-mainnet": "0xa7545d266337e5e72aa8b2c14f9f0c4983c1266bf52673c0a721a3c9d53f1950"
|
|
1353
1468
|
};
|
|
1354
1469
|
var abi027 = [{ "inputs": [{ "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" }], "name": "increaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }];
|
|
1355
1470
|
var abi111 = [{ "inputs": [{ "internalType": "address", "name": "caller", "type": "address" }], "name": "OnlyMinter", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" }], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }], "name": "MinterAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "minter", "type": "address" }], "name": "MinterRemoved", "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": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "_minter", "type": "address" }], "name": "addMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" }], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" }], "name": "increaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "minters", "outputs": [{ "internalType": "bool", "name": "canMint", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_minter", "type": "address" }], "name": "removeMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
@@ -1359,12 +1474,14 @@ var abis27 = {
|
|
|
1359
1474
|
"bsc-sandbox-local": abi111,
|
|
1360
1475
|
"ebi-mainnet": abi2,
|
|
1361
1476
|
"ethereum-sandbox-local": abi027,
|
|
1477
|
+
"iota-mainnet": abi2,
|
|
1362
1478
|
"klaytn-mainnet": abi2,
|
|
1363
1479
|
"klaytn-testnet": abi111,
|
|
1364
1480
|
"optsep-testnet": abi027,
|
|
1365
1481
|
"polygon-sandbox-local": abi027,
|
|
1366
1482
|
"rarible-mainnet": abi2,
|
|
1367
|
-
"sepolia-testnet": abi027
|
|
1483
|
+
"sepolia-testnet": abi027,
|
|
1484
|
+
"taiko-mainnet": abi2
|
|
1368
1485
|
};
|
|
1369
1486
|
|
|
1370
1487
|
// deployed/index.ts
|