@stargatefinance/stg-evm-sdk-v2 2.0.4 → 2.0.5

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.
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ // deployed/CreditMessaging_old.ts
4
+ var addresses = {
5
+ "ethereum-mainnet": "0x6b8aD17795d89B283e6D0362A87A403f3544bb9d"
6
+ };
7
+ var transactionHashes = {
8
+ "ethereum-mainnet": "0x208ec98a2255be3b19ca6135482f344b0d2ebaad9f76bd237f7a1c4c0aa56666"
9
+ };
10
+ 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" }];
11
+ var abis = {
12
+ "ethereum-mainnet": abi0
13
+ };
14
+
15
+ exports.abis = abis;
16
+ exports.addresses = addresses;
17
+ exports.transactionHashes = transactionHashes;
18
+ //# sourceMappingURL=out.js.map
19
+ //# sourceMappingURL=CreditMessaging_old.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../deployed/CreditMessaging_old.ts"],"names":[],"mappings":";AAAO,IAAM,YAAY;AAAA,EACrB,oBAAoB;AACxB;AACO,IAAM,oBAAoB;AAAA,EAC7B,oBAAoB;AACxB;AACA,IAAM,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,gBAAgB,WAAW,QAAQ,aAAa,QAAQ,UAAU,GAAG,EAAE,gBAAgB,WAAW,QAAQ,UAAU,QAAQ,UAAU,CAAC,GAAG,mBAAmB,cAAc,QAAQ,cAAc,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,iCAAiC,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,mBAAmB,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,uBAAuB,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,EAAE,gBAAgB,SAAS,QAAQ,WAAW,QAAQ,QAAQ,CAAC,GAAG,QAAQ,kBAAkB,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,sBAAsB,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,iCAAiC,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,4BAA4B,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b0d2ebaad9f76bd237f7a1c4c0aa56666\"\n};\nconst 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\" }] as const;\ntype Abi0 = typeof abi0;\ntype Abis = {\n \"ethereum-mainnet\": Abi0;\n};\nexport const abis: Abis = {\n \"ethereum-mainnet\": abi0\n};\n"]}
@@ -0,0 +1,15 @@
1
+ // deployed/CreditMessaging_old.ts
2
+ var addresses = {
3
+ "ethereum-mainnet": "0x6b8aD17795d89B283e6D0362A87A403f3544bb9d"
4
+ };
5
+ var transactionHashes = {
6
+ "ethereum-mainnet": "0x208ec98a2255be3b19ca6135482f344b0d2ebaad9f76bd237f7a1c4c0aa56666"
7
+ };
8
+ 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" }];
9
+ var abis = {
10
+ "ethereum-mainnet": abi0
11
+ };
12
+
13
+ export { abis, addresses, transactionHashes };
14
+ //# sourceMappingURL=out.js.map
15
+ //# sourceMappingURL=CreditMessaging_old.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../deployed/CreditMessaging_old.ts"],"names":[],"mappings":";AAAO,IAAM,YAAY;AAAA,EACrB,oBAAoB;AACxB;AACO,IAAM,oBAAoB;AAAA,EAC7B,oBAAoB;AACxB;AACA,IAAM,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,gBAAgB,WAAW,QAAQ,aAAa,QAAQ,UAAU,GAAG,EAAE,gBAAgB,WAAW,QAAQ,UAAU,QAAQ,UAAU,CAAC,GAAG,mBAAmB,cAAc,QAAQ,cAAc,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,iCAAiC,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,mBAAmB,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,uBAAuB,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,EAAE,gBAAgB,SAAS,QAAQ,WAAW,QAAQ,QAAQ,CAAC,GAAG,QAAQ,kBAAkB,QA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IAAM,OAAa;AAAA,EACtB,oBAAoB;AACxB","sourcesContent":["export const addresses = {\n \"ethereum-mainnet\": \"0x6b8aD17795d89B283e6D0362A87A403f3544bb9d\"\n};\nexport const transactionHashes = {\n \"ethereum-mainnet\": \"0x208ec98a2255be3b19ca6135482f344b0d2ebaad9f76bd237f7a1c4c0aa56666\"\n};\nconst 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\" }] as const;\ntype Abi0 = typeof abi0;\ntype Abis = {\n \"ethereum-mainnet\": Abi0;\n};\nexport const abis: Abis = {\n \"ethereum-mainnet\": abi0\n};\n"]}