@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
|
@@ -11,6 +11,7 @@ var addresses = {
|
|
|
11
11
|
"ebi-mainnet": "0x4EeBa4E168b23601EB7716A5D1Ac243B8D375290",
|
|
12
12
|
"ethereum-mainnet": "0x6d6620eFa72948C5f68A3C8646d58C00d3f4A980",
|
|
13
13
|
"ethereum-sandbox-local": "0x6b41E26D7bADe7AF19b73F4B83B3324C00F7CF33",
|
|
14
|
+
"iota-mainnet": "0x1C10CC06DC6D35970d1D53B2A23c76ef370d4135",
|
|
14
15
|
"kava-mainnet": "0x6B73D3cBbb278Ce2E8698E983AecCdD94Dc4594B",
|
|
15
16
|
"klaytn-mainnet": "0x16F3F98D82d965988E6853681fD578F4d719A1c0",
|
|
16
17
|
"klaytn-testnet": "0x6C2d1Dc35C69296C0a1661D9f1c757d6Fc3080E8",
|
|
@@ -22,7 +23,10 @@ var addresses = {
|
|
|
22
23
|
"polygon-sandbox-local": "0xBcD94c5F9C4102Ba6445F1569B40B9972BAff6a5",
|
|
23
24
|
"rarible-mainnet": "0xC1B8045A6ef2934Cf0f78B0dbD489969Fa9Be7E4",
|
|
24
25
|
"scroll-mainnet": "0x4e422B0aCb2Bd7e3aC70B5c0E5eb806e86a94038",
|
|
26
|
+
"sei-mainnet": "0x1502FA4be69d526124D453619276FacCab275d3D",
|
|
25
27
|
"sepolia-testnet": "0xe5EcECEc372382A96Fe8E88fDC52f327e0895245",
|
|
28
|
+
"taiko-mainnet": "0x45d417612e177672958dC0537C45a8f8d754Ac2E",
|
|
29
|
+
"xchain-mainnet": "0xC1B8045A6ef2934Cf0f78B0dbD489969Fa9Be7E4",
|
|
26
30
|
"zkconsensys-mainnet": "0x5f688F563Dc16590e570f97b542FA87931AF2feD"
|
|
27
31
|
};
|
|
28
32
|
var transactionHashes = {
|
|
@@ -37,6 +41,7 @@ var transactionHashes = {
|
|
|
37
41
|
"ebi-mainnet": "0x60b297ecfca14bc9054a930541006a92a29a23f174ec0b7ea27150995997ea39",
|
|
38
42
|
"ethereum-mainnet": "0x547bc40983066467fcfcbfed64b4a89fd56518268b602ac965123bd0f67e1f10",
|
|
39
43
|
"ethereum-sandbox-local": "0x8bf50b7297045f87fdd53b65726e5360195df77be4386492a598237e8f2ed3f2",
|
|
44
|
+
"iota-mainnet": "0x8d8d71e6620f16e3d21da01aff8590531c15f0a3639283437aa5cf81081245c4",
|
|
40
45
|
"kava-mainnet": "0x463ea1afc5a7eed46a0d1dd80739a96a208af10be213dbec48278bea8eec86e8",
|
|
41
46
|
"klaytn-mainnet": "0x270c0413e8f4634113994c17c63553c8e4f67229f205afc4a7ce86e627d261a5",
|
|
42
47
|
"klaytn-testnet": "0xb19f8ed7ce7de27d087ef0c9cebb05e33a95bdaa9dac5a54bfe6dedc91bfe0f4",
|
|
@@ -48,7 +53,10 @@ var transactionHashes = {
|
|
|
48
53
|
"polygon-sandbox-local": "0xe54101d72880b6ecaefdedb4f9e30e46cdfbe50dcea1a2512341418f3b75930c",
|
|
49
54
|
"rarible-mainnet": "0xd50836a635afa399e3581938a773a6a669fc8da82a015a48e769775c0734ed82",
|
|
50
55
|
"scroll-mainnet": "0x50882c96b3ca4130ff77773582d0f2fdc97afa7c3b81260db25ab6014b8c880b",
|
|
56
|
+
"sei-mainnet": "0xd4e20be069855fe3ebee946761813ed5881d13dc965cfa36fe8bfbcb70253f70",
|
|
51
57
|
"sepolia-testnet": "0x16b9ccddf1a19182ef71517d469b863a692e155593d0f541313193c3132d7b07",
|
|
58
|
+
"taiko-mainnet": "0x8e3284393f7b4b8c42d7f5a7341b8b37edcb39268ab797720867a1a5768a2349",
|
|
59
|
+
"xchain-mainnet": "0xb23b985b90442c67f5fb243f51a34cb5674d7c9e90076b21eb27e89f8e33648c",
|
|
52
60
|
"zkconsensys-mainnet": "0xb2cebe8a3e8b60dc2da92c6d16bb88f1e1550f110dd64a3274030cda08cc494e"
|
|
53
61
|
};
|
|
54
62
|
var abi0 = [{ "inputs": [{ "internalType": "address", "name": "_endpoint", "type": "address" }, { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "uint16", "name": "_queueCapacity", "type": "uint16" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "BusCodec_InvalidBusBytesLength", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "BusCodec_InvalidPassengersBytesLength", "type": "error" }, { "inputs": [{ "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "name": "Bus_InvalidFare", "type": "error" }, { "inputs": [{ "internalType": "uint8", "name": "numPassengers", "type": "uint8" }], "name": "Bus_InvalidNumPassengers", "type": "error" }, { "inputs": [], "name": "Bus_InvalidPassenger", "type": "error" }, { "inputs": [], "name": "Bus_QueueFull", "type": "error" }, { "inputs": [], "name": "InvalidDelegate", "type": "error" }, { "inputs": [], "name": "InvalidEndpointCall", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "options", "type": "bytes" }], "name": "InvalidOptions", "type": "error" }, { "inputs": [], "name": "LzTokenUnavailable", "type": "error" }, { "inputs": [], "name": "MessagingOptions_ZeroGasLimit", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidAssetId", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidEid", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidMsgValue", "type": "error" }, { "inputs": [], "name": "Messaging_InvalidQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_MaxNumPassengersExceedsQueueCapacity", "type": "error" }, { "inputs": [], "name": "Messaging_NotEnoughPassengers", "type": "error" }, { "inputs": [], "name": "Messaging_Unauthorized", "type": "error" }, { "inputs": [], "name": "Messaging_Unavailable", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "NoPeer", "type": "error" }, { "inputs": [{ "internalType": "uint256", "name": "msgValue", "type": "uint256" }], "name": "NotEnoughNative", "type": "error" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "OnlyEndpoint", "type": "error" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }], "name": "OnlyPeer", "type": "error" }, { "inputs": [], "name": "OnlySelf", "type": "error" }, { "inputs": [{ "internalType": "bytes", "name": "result", "type": "bytes" }], "name": "SimulationResult", "type": "error" }, { "inputs": [], "name": "TaxiCodec_InvalidMessage", "type": "error" }, { "inputs": [], "name": "Transfer_ApproveFailed", "type": "error" }, { "inputs": [], "name": "Transfer_TransferFailed", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "stargateImpl", "type": "address" }, { "indexed": false, "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "AssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "startTicketId", "type": "uint72" }, { "indexed": false, "internalType": "uint8", "name": "numPassengers", "type": "uint8" }, { "indexed": false, "internalType": "bytes32", "name": "guid", "type": "bytes32" }], "name": "BusDriven", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint16", "name": "startSlot", "type": "uint16" }, { "indexed": false, "internalType": "uint16", "name": "endSlot", "type": "uint16" }], "name": "BusQueueStorageInitialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "indexed": false, "internalType": "uint80", "name": "fare", "type": "uint80" }, { "indexed": false, "internalType": "bytes", "name": "passenger", "type": "bytes" }], "name": "BusRode", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "indexed": false, "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "EnforcedOptionSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "indexed": false, "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }], "name": "FaresSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "name": "GasLimitSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint16", "name": "maxAssetId", "type": "uint16" }], "name": "MaxAssetIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }], "name": "MaxNumPassengersSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "indexed": false, "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "name": "NativeDropAmountSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropApplied", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "receiver", "type": "address" }, { "indexed": false, "internalType": "uint128", "name": "amount", "type": "uint128" }], "name": "NativeDropFailed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "name": "PeerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "planner", "type": "address" }], "name": "PlannerSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "preCrimeAddress", "type": "address" }], "name": "PreCrimeSet", "type": "event" }, { "inputs": [], "name": "MSG_TYPE_BUS", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MSG_TYPE_TAXI", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }], "name": "allowInitializePath", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "name": "assetIds", "outputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "busQueues", "outputs": [{ "internalType": "uint8", "name": "maxNumPassengers", "type": "uint8" }, { "internalType": "uint80", "name": "busFare", "type": "uint80" }, { "internalType": "uint80", "name": "busAndNativeDropFare", "type": "uint80" }, { "internalType": "uint16", "name": "qLength", "type": "uint16" }, { "internalType": "uint72", "name": "nextTicketId", "type": "uint72" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint16", "name": "_msgType", "type": "uint16" }, { "internalType": "bytes", "name": "_extraOptions", "type": "bytes" }], "name": "combineOptions", "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "driveBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [{ "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }], "name": "enforcedOptions", "outputs": [{ "internalType": "bytes", "name": "enforcedOption", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "gasLimits", "outputs": [{ "internalType": "uint128", "name": "gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "nativeDropGasLimit", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint16", "name": "_index", "type": "uint16" }], "name": "getPassengerHash", "outputs": [{ "internalType": "bytes32", "name": "hash", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTransferGasLimit", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32[]", "name": "_dstEids", "type": "uint32[]" }, { "internalType": "uint16", "name": "_startSlot", "type": "uint16" }, { "internalType": "uint16", "name": "_endSlot", "type": "uint16" }], "name": "initializeBusQueueStorage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "", "type": "tuple" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_sender", "type": "address" }], "name": "isComposeMsgSender", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "isPeer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceive", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "origin", "type": "tuple" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "bytes", "name": "message", "type": "bytes" }, { "internalType": "bytes", "name": "extraData", "type": "bytes" }], "internalType": "struct InboundPacket[]", "name": "_packets", "type": "tuple[]" }], "name": "lzReceiveAndRevert", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" }], "name": "lzReceiveSimulate", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "maxAssetId", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "dstEid", "type": "uint32" }], "name": "nativeDropAmounts", "outputs": [{ "internalType": "uint128", "name": "nativeDropAmount", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" }], "name": "nextNonce", "outputs": [{ "internalType": "uint64", "name": "nonce", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oApp", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oAppVersion", "outputs": [{ "internalType": "uint64", "name": "senderVersion", "type": "uint64" }, { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "peers", "outputs": [{ "internalType": "bytes32", "name": "peer", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "planner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "preCrime", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "queueCapacity", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bytes", "name": "_passengers", "type": "bytes" }], "name": "quoteDriveBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_numPassengers", "type": "uint8" }], "name": "quoteFares", "outputs": [{ "internalType": "uint256", "name": "busFare", "type": "uint256" }, { "internalType": "uint256", "name": "busAndNativeDropFare", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_airdrop", "type": "bool" }], "name": "quoteRideBus", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "internalType": "bool", "name": "_payInLzToken", "type": "bool" }], "name": "quoteTaxi", "outputs": [{ "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bool", "name": "nativeDrop", "type": "bool" }], "internalType": "struct RideBusParams", "name": "_params", "type": "tuple" }], "name": "rideBus", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }, { "components": [{ "internalType": "uint72", "name": "ticketId", "type": "uint72" }, { "internalType": "bytes", "name": "passengerBytes", "type": "bytes" }], "internalType": "struct Ticket", "name": "ticket", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_stargateImpl", "type": "address" }, { "internalType": "uint16", "name": "_assetId", "type": "uint16" }], "name": "setAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_delegate", "type": "address" }], "name": "setDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "uint16", "name": "msgType", "type": "uint16" }, { "internalType": "bytes", "name": "options", "type": "bytes" }], "internalType": "struct EnforcedOptionParam[]", "name": "_enforcedOptions", "type": "tuple[]" }], "name": "setEnforcedOptions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint80", "name": "_busFare", "type": "uint80" }, { "internalType": "uint80", "name": "_busAndNativeDropFare", "type": "uint80" }], "name": "setFares", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "uint128", "name": "_gasLimit", "type": "uint128" }, { "internalType": "uint128", "name": "_nativeDropGasLimit", "type": "uint128" }], "name": "setGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "_maxAssetId", "type": "uint16" }], "name": "setMaxAssetId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint8", "name": "_maxNumPassengers", "type": "uint8" }], "name": "setMaxNumPassengers", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint128", "name": "_nativeDropAmount", "type": "uint128" }], "name": "setNativeDropAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" }], "name": "setPeer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_planner", "type": "address" }], "name": "setPlanner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_preCrime", "type": "address" }], "name": "setPreCrime", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_gasLimit", "type": "uint256" }], "name": "setTransferGasLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint16", "name": "assetId", "type": "uint16" }], "name": "stargateImpls", "outputs": [{ "internalType": "address", "name": "stargateImpl", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "bytes32", "name": "receiver", "type": "bytes32" }, { "internalType": "uint64", "name": "amountSD", "type": "uint64" }, { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }], "internalType": "struct TaxiParams", "name": "_params", "type": "tuple" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "_messagingFee", "type": "tuple" }, { "internalType": "address", "name": "_refundAddress", "type": "address" }], "name": "taxi", "outputs": [{ "components": [{ "internalType": "bytes32", "name": "guid", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" }, { "components": [{ "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" }], "internalType": "struct MessagingFee", "name": "fee", "type": "tuple" }], "internalType": "struct MessagingReceipt", "name": "receipt", "type": "tuple" }], "stateMutability": "payable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
@@ -65,6 +73,7 @@ var abis = {
|
|
|
65
73
|
"ebi-mainnet": abi0,
|
|
66
74
|
"ethereum-mainnet": abi0,
|
|
67
75
|
"ethereum-sandbox-local": abi1,
|
|
76
|
+
"iota-mainnet": abi0,
|
|
68
77
|
"kava-mainnet": abi0,
|
|
69
78
|
"klaytn-mainnet": abi0,
|
|
70
79
|
"klaytn-testnet": abi1,
|
|
@@ -76,7 +85,10 @@ var abis = {
|
|
|
76
85
|
"polygon-sandbox-local": abi1,
|
|
77
86
|
"rarible-mainnet": abi0,
|
|
78
87
|
"scroll-mainnet": abi0,
|
|
88
|
+
"sei-mainnet": abi0,
|
|
79
89
|
"sepolia-testnet": abi1,
|
|
90
|
+
"taiko-mainnet": abi0,
|
|
91
|
+
"xchain-mainnet": abi0,
|
|
80
92
|
"zkconsensys-mainnet": abi0
|
|
81
93
|
};
|
|
82
94
|
|