@stargatefinance/stg-evm-sdk-v2 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployments/injectiveevm-mainnet/CreditMessaging.json +1501 -0
- package/deployments/injectiveevm-mainnet/FeeLibV1ETH.json +611 -0
- package/deployments/injectiveevm-mainnet/OFTWrapper.json +1506 -0
- package/deployments/injectiveevm-mainnet/StargateOFTETH.json +1989 -0
- package/deployments/injectiveevm-mainnet/TokenMessaging.json +2475 -0
- package/deployments/injectiveevm-mainnet/Treasurer.json +450 -0
- package/deployments/tempo-mainnet/CreditMessaging.json +31 -31
- package/deployments/tempo-mainnet/FeeLibV1EURC.json +32 -32
- package/deployments/tempo-mainnet/FeeLibV1USDC.json +32 -32
- package/deployments/tempo-mainnet/OFTWrapper.json +23 -23
- package/deployments/tempo-mainnet/StargateOFTEURC.json +40 -40
- package/deployments/tempo-mainnet/StargateOFTUSDC.json +40 -40
- package/deployments/tempo-mainnet/TokenMessaging.json +49 -49
- package/deployments/tempo-mainnet/Treasurer.json +26 -26
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.mts +1943 -0
- package/dist/deployed/CreditMessaging-IGOQxSXd.d.ts +1943 -0
- package/dist/deployed/CreditMessaging.cjs +5 -2
- package/dist/deployed/CreditMessaging.cjs.map +1 -1
- package/dist/deployed/CreditMessaging.d.mts +1 -0
- package/dist/deployed/CreditMessaging.d.ts +1 -0
- package/dist/deployed/CreditMessaging.mjs +5 -2
- package/dist/deployed/CreditMessaging.mjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.mts +497 -0
- package/dist/deployed/FeeLibV1ETH-8z96VA3A.d.ts +497 -0
- package/dist/deployed/FeeLibV1ETH.cjs +3 -0
- package/dist/deployed/FeeLibV1ETH.cjs.map +1 -1
- package/dist/deployed/FeeLibV1ETH.d.mts +1 -0
- package/dist/deployed/FeeLibV1ETH.d.ts +1 -0
- package/dist/deployed/FeeLibV1ETH.mjs +3 -0
- package/dist/deployed/FeeLibV1ETH.mjs.map +1 -1
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.mts +352 -0
- package/dist/deployed/FeeLibV1EURC-yReJhQhE.d.ts +352 -0
- package/dist/deployed/FeeLibV1EURC.cjs +2 -2
- package/dist/deployed/FeeLibV1EURC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1EURC.d.mts +1 -0
- package/dist/deployed/FeeLibV1EURC.d.ts +1 -0
- package/dist/deployed/FeeLibV1EURC.mjs +2 -2
- package/dist/deployed/FeeLibV1EURC.mjs.map +1 -1
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.mts +328 -0
- package/dist/deployed/FeeLibV1METIS-B3y8ZOp-.d.ts +328 -0
- package/dist/deployed/FeeLibV1METIS.d.mts +1 -0
- package/dist/deployed/FeeLibV1METIS.d.ts +1 -0
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.mts +524 -0
- package/dist/deployed/FeeLibV1USDC-C8_hd8f9.d.ts +524 -0
- package/dist/deployed/FeeLibV1USDC.cjs +2 -2
- package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.d.mts +1 -0
- package/dist/deployed/FeeLibV1USDC.d.ts +1 -0
- package/dist/deployed/FeeLibV1USDC.mjs +2 -2
- package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.mts +468 -0
- package/dist/deployed/FeeLibV1USDT-aw57zGRO.d.ts +468 -0
- package/dist/deployed/FeeLibV1USDT.d.mts +1 -0
- package/dist/deployed/FeeLibV1USDT.d.ts +1 -0
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.mts +328 -0
- package/dist/deployed/FeeLibV1mETH-D6xTtHP2.d.ts +328 -0
- package/dist/deployed/FeeLibV1mETH.d.mts +1 -0
- package/dist/deployed/FeeLibV1mETH.d.ts +1 -0
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.mts +473 -0
- package/dist/deployed/OFTTokenETH-D8zQcFzC.d.ts +473 -0
- package/dist/deployed/OFTTokenETH.d.mts +1 -0
- package/dist/deployed/OFTTokenETH.d.ts +1 -0
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.mts +1364 -0
- package/dist/deployed/OFTWrapper-Ct2E5Mwd.d.ts +1364 -0
- package/dist/deployed/OFTWrapper.cjs +5 -2
- package/dist/deployed/OFTWrapper.cjs.map +1 -1
- package/dist/deployed/OFTWrapper.d.mts +1 -0
- package/dist/deployed/OFTWrapper.d.ts +1 -0
- package/dist/deployed/OFTWrapper.mjs +5 -2
- package/dist/deployed/OFTWrapper.mjs.map +1 -1
- package/dist/deployed/RewardLib-DZPcpNd5.d.mts +115 -0
- package/dist/deployed/RewardLib-DZPcpNd5.d.ts +115 -0
- package/dist/deployed/RewardLib.d.mts +1 -0
- package/dist/deployed/RewardLib.d.ts +1 -0
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.mts +115 -0
- package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.ts +115 -0
- package/dist/deployed/RewardRegistryLib.d.mts +1 -0
- package/dist/deployed/RewardRegistryLib.d.ts +1 -0
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.mts +308 -0
- package/dist/deployed/RewardTokenMock-B_bipjnn.d.ts +308 -0
- package/dist/deployed/{StargateOFTETH-DKShRecU.d.mts → StargateOFTETH-DnpwT3Cg.d.mts} +3 -0
- package/dist/deployed/{StargateOFTETH-DKShRecU.d.ts → StargateOFTETH-DnpwT3Cg.d.ts} +3 -0
- package/dist/deployed/StargateOFTETH.cjs +3 -0
- package/dist/deployed/StargateOFTETH.cjs.map +1 -1
- package/dist/deployed/StargateOFTETH.d.mts +1 -1
- package/dist/deployed/StargateOFTETH.d.ts +1 -1
- package/dist/deployed/StargateOFTETH.mjs +3 -0
- package/dist/deployed/StargateOFTETH.mjs.map +1 -1
- package/dist/deployed/StargateOFTEURC.cjs +2 -2
- package/dist/deployed/StargateOFTEURC.cjs.map +1 -1
- package/dist/deployed/StargateOFTEURC.mjs +2 -2
- package/dist/deployed/StargateOFTEURC.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.cjs +2 -2
- package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.mjs +2 -2
- package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
- package/dist/deployed/{TokenMessaging-BfnD6v53.d.mts → TokenMessaging-DblIo7R9.d.mts} +3 -0
- package/dist/deployed/{TokenMessaging-BfnD6v53.d.ts → TokenMessaging-DblIo7R9.d.ts} +3 -0
- package/dist/deployed/TokenMessaging.cjs +5 -2
- package/dist/deployed/TokenMessaging.cjs.map +1 -1
- package/dist/deployed/TokenMessaging.d.mts +1 -1
- package/dist/deployed/TokenMessaging.d.ts +1 -1
- package/dist/deployed/TokenMessaging.mjs +5 -2
- package/dist/deployed/TokenMessaging.mjs.map +1 -1
- package/dist/deployed/{Treasurer-DlA2Gv8f.d.mts → Treasurer-OOFshPmY.d.mts} +3 -0
- package/dist/deployed/{Treasurer-DlA2Gv8f.d.ts → Treasurer-OOFshPmY.d.ts} +3 -0
- package/dist/deployed/Treasurer.cjs +5 -2
- package/dist/deployed/Treasurer.cjs.map +1 -1
- package/dist/deployed/Treasurer.d.mts +1 -1
- package/dist/deployed/Treasurer.d.ts +1 -1
- package/dist/deployed/Treasurer.mjs +5 -2
- package/dist/deployed/Treasurer.mjs.map +1 -1
- package/dist/deployed/{contracts-Yg5JhOts.d.ts → contracts-BtrnE9gq.d.ts} +6 -6
- package/dist/deployed/{contracts-CwDH7mzf.d.mts → contracts-CRtAyxkQ.d.mts} +6 -6
- package/dist/deployed/contracts.cjs +34 -16
- package/dist/deployed/contracts.cjs.map +1 -1
- package/dist/deployed/contracts.d.mts +6 -6
- package/dist/deployed/contracts.d.ts +6 -6
- package/dist/deployed/contracts.mjs +34 -16
- package/dist/deployed/contracts.mjs.map +1 -1
- package/dist/deployed/index.cjs +34 -16
- package/dist/deployed/index.cjs.map +1 -1
- package/dist/deployed/index.d.mts +7 -7
- package/dist/deployed/index.d.ts +7 -7
- package/dist/deployed/index.mjs +34 -16
- package/dist/deployed/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -11,7 +11,7 @@ var addresses = {
|
|
|
11
11
|
"moderato-testnet": "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
12
12
|
"plumephoenix-mainnet": "0xf2d112B3b88Cff0F011Cef9BaB2Ec64a69403C1B",
|
|
13
13
|
"sepolia-testnet": "0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b",
|
|
14
|
-
"tempo-mainnet": "
|
|
14
|
+
"tempo-mainnet": "0x007eb5a054cE1099b4C3e5bAB9C91302F9eabC15"
|
|
15
15
|
};
|
|
16
16
|
var transactionHashes = {
|
|
17
17
|
"arbsep-testnet": "0xbebbc37d8e1cbe686ec7e7110eb93aca63efbd821c82bc787b8c9044236b2de0",
|
|
@@ -23,7 +23,7 @@ var transactionHashes = {
|
|
|
23
23
|
"moderato-testnet": "0x912c839f9f3f47944cadee0a9bf5ad9b975204db91de5c72cfea2f7692d93239",
|
|
24
24
|
"plumephoenix-mainnet": "0x1b44eff45c5581c865d525a4d954c6b12ad10b0e88e6a7c2b59e69f72f857ad7",
|
|
25
25
|
"sepolia-testnet": "0xf99055f50b0e9f1fda634487a67c3a4bf587727b89f3246e6591dcef58be92bf",
|
|
26
|
-
"tempo-mainnet": "
|
|
26
|
+
"tempo-mainnet": "0xf8e411d44160db4b8302b0a4b54900968eeb6e845b1b53daa9ab0ac1f9a696ab"
|
|
27
27
|
};
|
|
28
28
|
var abi0 = [{ "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "FeeLib_InvalidFeeConfiguration", "type": "error" }, { "inputs": [], "name": "FeeLib_Paused", "type": "error" }, { "inputs": [], "name": "FeeLib_Unauthorized", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "components": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "indexed": false, "internalType": "struct FeeConfig", "name": "config", "type": "tuple" }], "name": "FeeConfigSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bool", "name": "isPaused", "type": "bool" }], "name": "PausedSet", "type": "event" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFee", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFeeView", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "feeConfigs", "outputs": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "_zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "_zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "_zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_rewardMillionth", "type": "uint24" }], "name": "setFeeConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_isPaused", "type": "bool" }], "name": "setPaused", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stargate", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stargateType", "outputs": [{ "internalType": "enum StargateType", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
29
29
|
var abis = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../deployed/FeeLibV1EURC.ts"],"names":[],"mappings":";AAAO,IAAM,YAAY;AAAA,EACrB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,iBAAiB;AACrB;AACO,IAAM,oBAAoB;AAAA,EAC7B,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,iBAAiB;AACrB;AACA,IAAM,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,gBAAgB,WAAW,QAAQ,aAAa,QAAQ,UAAU,CAAC,GAAG,mBAAmB,cAAc,QAAQ,cAAc,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,kCAAkC,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,iBAAiB,QAAQ,QAAQ,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,uBAAuB,QAAQ,QAAQ,GAAG,EAAE,aAAa,OAAO,UAAU,CAAC,EAAE,WAAW,OAAO,gBAAgB,UAAU,QAAQ,OAAO,QAAQ,SAAS,GAAG,EAAE,cAAc,CAAC,EAAE,gBAAgB,QAAQ,QAAQ,UAAU,QAAQ,OAAO,GAAG,EAAE,gBAAgB,UAAU,QAAQ,mBAAmB,QAA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Q,qBAAqB,WAAW,CAAC,GAAG,mBAAmB,cAAc,QAAQ,WAAW,CAAC;AAc3qK,IAAM,OAAa;AAAA,EACtB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,iBAAiB;AACrB","sourcesContent":["export const addresses = {\n \"arbsep-testnet\": \"0xD34e23b4509fF894FA939DC29baC987b7A5465C0\",\n \"avalanche-mainnet\": \"0x102d758f688a4C1C5a80b116bD945d4455460282\",\n \"avalanche-testnet\": \"0xef75B3BDFa7F8dBd2be01F29a21725eC5Cc0116f\",\n \"base-mainnet\": \"0x93819FfD972Fd57b1AAf42ba85e6B437D60FC807\",\n \"bera-mainnet\": \"0x87Dd5A7481726a53C5Ac6b0D296F5846f95a72f2\",\n \"ethereum-mainnet\": \"0x0F3273eA5d8B182CD87C8630Dc436a6133b9bE39\",\n \"moderato-testnet\": \"0x0829F361A05D993d5CEb035cA6DF3446b060970b\",\n \"plumephoenix-mainnet\": \"0xf2d112B3b88Cff0F011Cef9BaB2Ec64a69403C1B\",\n \"sepolia-testnet\": \"0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b\",\n \"tempo-mainnet\": \"0xB0d27478A40223e427697Da523c6A3DAF29AaFfB\"\n};\nexport const transactionHashes = {\n \"arbsep-testnet\": \"0xbebbc37d8e1cbe686ec7e7110eb93aca63efbd821c82bc787b8c9044236b2de0\",\n \"avalanche-mainnet\": \"0x3a34a8cbe1f7cb022d2bf4f90496d35e8d9996db99cd8b2b39040d656d864fba\",\n \"avalanche-testnet\": \"0x29e488c1388bd54268d9bc464d80e2662b3f3702981b7955309e804a1f748f0c\",\n \"base-mainnet\": \"0xa288015160a3cba8fb8e7fd5a5eebff8a00420c61d2d0076e7e0b3579bfcc835\",\n \"bera-mainnet\": \"0xaeab245d4cb7ffcddc0975629224d6560d96c5daf3ee39e4e85a2cc60a31ff74\",\n \"ethereum-mainnet\": \"0x8be2d8d053490034cb6892ff6dfff032e66bacd2cc19ee21ed8581d25e70cf6b\",\n \"moderato-testnet\": \"0x912c839f9f3f47944cadee0a9bf5ad9b975204db91de5c72cfea2f7692d93239\",\n \"plumephoenix-mainnet\": \"0x1b44eff45c5581c865d525a4d954c6b12ad10b0e88e6a7c2b59e69f72f857ad7\",\n \"sepolia-testnet\": \"0xf99055f50b0e9f1fda634487a67c3a4bf587727b89f3246e6591dcef58be92bf\",\n \"tempo-mainnet\": \"0xd0ac5107cf3a39a2eb19824a8a948fc064020af43fd7d53a1053faf8c7323466\"\n};\nconst abi0 = [{ \"inputs\": [{ \"internalType\": \"address\", \"name\": \"_stargate\", \"type\": \"address\" }], \"stateMutability\": \"nonpayable\", \"type\": \"constructor\" }, { \"inputs\": [], \"name\": \"FeeLib_InvalidFeeConfiguration\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Paused\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Unauthorized\", \"type\": \"error\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"components\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"indexed\": false, \"internalType\": \"struct FeeConfig\", \"name\": \"config\", \"type\": \"tuple\" }], \"name\": \"FeeConfigSet\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": true, \"internalType\": \"address\", \"name\": \"previousOwner\", \"type\": \"address\" }, { \"indexed\": true, \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"OwnershipTransferred\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"indexed\": false, \"internalType\": \"bool\", \"name\": \"isPaused\", \"type\": \"bool\" }], \"name\": \"PausedSet\", \"type\": \"event\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFee\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFeeView\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }], \"name\": \"feeConfigs\", \"outputs\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"owner\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"renounceOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"_zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"_zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"_zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_rewardMillionth\", \"type\": \"uint24\" }], \"name\": \"setFeeConfig\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"bool\", \"name\": \"_isPaused\", \"type\": \"bool\" }], \"name\": \"setPaused\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargate\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargateType\", \"outputs\": [{ \"internalType\": \"enum StargateType\", \"name\": \"\", \"type\": \"uint8\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"transferOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }] as const;\ntype Abi0 = typeof abi0;\ntype Abis = {\n \"arbsep-testnet\": Abi0;\n \"avalanche-mainnet\": Abi0;\n \"avalanche-testnet\": Abi0;\n \"base-mainnet\": Abi0;\n \"bera-mainnet\": Abi0;\n \"ethereum-mainnet\": Abi0;\n \"moderato-testnet\": Abi0;\n \"plumephoenix-mainnet\": Abi0;\n \"sepolia-testnet\": Abi0;\n \"tempo-mainnet\": Abi0;\n};\nexport const abis: Abis = {\n \"arbsep-testnet\": abi0,\n \"avalanche-mainnet\": abi0,\n \"avalanche-testnet\": abi0,\n \"base-mainnet\": abi0,\n \"bera-mainnet\": abi0,\n \"ethereum-mainnet\": abi0,\n \"moderato-testnet\": abi0,\n \"plumephoenix-mainnet\": abi0,\n \"sepolia-testnet\": abi0,\n \"tempo-mainnet\": abi0\n};\n"]}
|
|
1
|
+
{"version":3,"sources":["../../deployed/FeeLibV1EURC.ts"],"names":[],"mappings":";AAAO,IAAM,YAAY;AAAA,EACrB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA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\"arbsep-testnet\": \"0xD34e23b4509fF894FA939DC29baC987b7A5465C0\",\n \"avalanche-mainnet\": \"0x102d758f688a4C1C5a80b116bD945d4455460282\",\n \"avalanche-testnet\": \"0xef75B3BDFa7F8dBd2be01F29a21725eC5Cc0116f\",\n \"base-mainnet\": \"0x93819FfD972Fd57b1AAf42ba85e6B437D60FC807\",\n \"bera-mainnet\": \"0x87Dd5A7481726a53C5Ac6b0D296F5846f95a72f2\",\n \"ethereum-mainnet\": \"0x0F3273eA5d8B182CD87C8630Dc436a6133b9bE39\",\n \"moderato-testnet\": \"0x0829F361A05D993d5CEb035cA6DF3446b060970b\",\n \"plumephoenix-mainnet\": \"0xf2d112B3b88Cff0F011Cef9BaB2Ec64a69403C1B\",\n \"sepolia-testnet\": \"0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b\",\n \"tempo-mainnet\": \"0x007eb5a054cE1099b4C3e5bAB9C91302F9eabC15\"\n};\nexport const transactionHashes = {\n \"arbsep-testnet\": \"0xbebbc37d8e1cbe686ec7e7110eb93aca63efbd821c82bc787b8c9044236b2de0\",\n \"avalanche-mainnet\": \"0x3a34a8cbe1f7cb022d2bf4f90496d35e8d9996db99cd8b2b39040d656d864fba\",\n \"avalanche-testnet\": \"0x29e488c1388bd54268d9bc464d80e2662b3f3702981b7955309e804a1f748f0c\",\n \"base-mainnet\": \"0xa288015160a3cba8fb8e7fd5a5eebff8a00420c61d2d0076e7e0b3579bfcc835\",\n \"bera-mainnet\": \"0xaeab245d4cb7ffcddc0975629224d6560d96c5daf3ee39e4e85a2cc60a31ff74\",\n \"ethereum-mainnet\": \"0x8be2d8d053490034cb6892ff6dfff032e66bacd2cc19ee21ed8581d25e70cf6b\",\n \"moderato-testnet\": \"0x912c839f9f3f47944cadee0a9bf5ad9b975204db91de5c72cfea2f7692d93239\",\n \"plumephoenix-mainnet\": \"0x1b44eff45c5581c865d525a4d954c6b12ad10b0e88e6a7c2b59e69f72f857ad7\",\n \"sepolia-testnet\": \"0xf99055f50b0e9f1fda634487a67c3a4bf587727b89f3246e6591dcef58be92bf\",\n \"tempo-mainnet\": \"0xf8e411d44160db4b8302b0a4b54900968eeb6e845b1b53daa9ab0ac1f9a696ab\"\n};\nconst abi0 = [{ \"inputs\": [{ \"internalType\": \"address\", \"name\": \"_stargate\", \"type\": \"address\" }], \"stateMutability\": \"nonpayable\", \"type\": \"constructor\" }, { \"inputs\": [], \"name\": \"FeeLib_InvalidFeeConfiguration\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Paused\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Unauthorized\", \"type\": \"error\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"components\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"indexed\": false, \"internalType\": \"struct FeeConfig\", \"name\": \"config\", \"type\": \"tuple\" }], \"name\": \"FeeConfigSet\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": true, \"internalType\": \"address\", \"name\": \"previousOwner\", \"type\": \"address\" }, { \"indexed\": true, \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"OwnershipTransferred\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"indexed\": false, \"internalType\": \"bool\", \"name\": \"isPaused\", \"type\": \"bool\" }], \"name\": \"PausedSet\", \"type\": \"event\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFee\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFeeView\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }], \"name\": \"feeConfigs\", \"outputs\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"owner\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"renounceOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"_zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"_zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"_zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_rewardMillionth\", \"type\": \"uint24\" }], \"name\": \"setFeeConfig\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"bool\", \"name\": \"_isPaused\", \"type\": \"bool\" }], \"name\": \"setPaused\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargate\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargateType\", \"outputs\": [{ \"internalType\": \"enum StargateType\", \"name\": \"\", \"type\": \"uint8\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"transferOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }] as const;\ntype Abi0 = typeof abi0;\ntype Abis = {\n \"arbsep-testnet\": Abi0;\n \"avalanche-mainnet\": Abi0;\n \"avalanche-testnet\": Abi0;\n \"base-mainnet\": Abi0;\n \"bera-mainnet\": Abi0;\n \"ethereum-mainnet\": Abi0;\n \"moderato-testnet\": Abi0;\n \"plumephoenix-mainnet\": Abi0;\n \"sepolia-testnet\": Abi0;\n \"tempo-mainnet\": Abi0;\n};\nexport const abis: Abis = {\n \"arbsep-testnet\": abi0,\n \"avalanche-mainnet\": abi0,\n \"avalanche-testnet\": abi0,\n \"base-mainnet\": abi0,\n \"bera-mainnet\": abi0,\n \"ethereum-mainnet\": abi0,\n \"moderato-testnet\": abi0,\n \"plumephoenix-mainnet\": abi0,\n \"sepolia-testnet\": abi0,\n \"tempo-mainnet\": abi0\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { b as abis, a as addresses, t as transactionHashes } from './FeeLibV1EURC-yReJhQhE.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { b as abis, a as addresses, t as transactionHashes } from './FeeLibV1EURC-yReJhQhE.js';
|
|
@@ -9,7 +9,7 @@ var addresses = {
|
|
|
9
9
|
"moderato-testnet": "0x0829F361A05D993d5CEb035cA6DF3446b060970b",
|
|
10
10
|
"plumephoenix-mainnet": "0xf2d112B3b88Cff0F011Cef9BaB2Ec64a69403C1B",
|
|
11
11
|
"sepolia-testnet": "0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b",
|
|
12
|
-
"tempo-mainnet": "
|
|
12
|
+
"tempo-mainnet": "0x007eb5a054cE1099b4C3e5bAB9C91302F9eabC15"
|
|
13
13
|
};
|
|
14
14
|
var transactionHashes = {
|
|
15
15
|
"arbsep-testnet": "0xbebbc37d8e1cbe686ec7e7110eb93aca63efbd821c82bc787b8c9044236b2de0",
|
|
@@ -21,7 +21,7 @@ var transactionHashes = {
|
|
|
21
21
|
"moderato-testnet": "0x912c839f9f3f47944cadee0a9bf5ad9b975204db91de5c72cfea2f7692d93239",
|
|
22
22
|
"plumephoenix-mainnet": "0x1b44eff45c5581c865d525a4d954c6b12ad10b0e88e6a7c2b59e69f72f857ad7",
|
|
23
23
|
"sepolia-testnet": "0xf99055f50b0e9f1fda634487a67c3a4bf587727b89f3246e6591dcef58be92bf",
|
|
24
|
-
"tempo-mainnet": "
|
|
24
|
+
"tempo-mainnet": "0xf8e411d44160db4b8302b0a4b54900968eeb6e845b1b53daa9ab0ac1f9a696ab"
|
|
25
25
|
};
|
|
26
26
|
var abi0 = [{ "inputs": [{ "internalType": "address", "name": "_stargate", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "FeeLib_InvalidFeeConfiguration", "type": "error" }, { "inputs": [], "name": "FeeLib_Paused", "type": "error" }, { "inputs": [], "name": "FeeLib_Unauthorized", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "components": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "indexed": false, "internalType": "struct FeeConfig", "name": "config", "type": "tuple" }], "name": "FeeConfigSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bool", "name": "isPaused", "type": "bool" }], "name": "PausedSet", "type": "event" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFee", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "amountInSD", "type": "uint64" }, { "internalType": "uint64", "name": "deficitSD", "type": "uint64" }, { "internalType": "bool", "name": "toOFT", "type": "bool" }, { "internalType": "bool", "name": "isTaxi", "type": "bool" }], "internalType": "struct FeeParams", "name": "_params", "type": "tuple" }], "name": "applyFeeView", "outputs": [{ "internalType": "uint64", "name": "amountOutSD", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "eid", "type": "uint32" }], "name": "feeConfigs", "outputs": [{ "internalType": "bool", "name": "paused", "type": "bool" }, { "internalType": "uint64", "name": "zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "rewardMillionth", "type": "uint24" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "uint64", "name": "_zone1UpperBound", "type": "uint64" }, { "internalType": "uint64", "name": "_zone2UpperBound", "type": "uint64" }, { "internalType": "uint24", "name": "_zone1FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone2FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_zone3FeeMillionth", "type": "uint24" }, { "internalType": "uint24", "name": "_rewardMillionth", "type": "uint24" }], "name": "setFeeConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_dstEid", "type": "uint32" }, { "internalType": "bool", "name": "_isPaused", "type": "bool" }], "name": "setPaused", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stargate", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stargateType", "outputs": [{ "internalType": "enum StargateType", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }];
|
|
27
27
|
var abis = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../deployed/FeeLibV1EURC.ts"],"names":[],"mappings":";AAAO,IAAM,YAAY;AAAA,EACrB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,wB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alanche-testnet\": \"0xef75B3BDFa7F8dBd2be01F29a21725eC5Cc0116f\",\n \"base-mainnet\": \"0x93819FfD972Fd57b1AAf42ba85e6B437D60FC807\",\n \"bera-mainnet\": \"0x87Dd5A7481726a53C5Ac6b0D296F5846f95a72f2\",\n \"ethereum-mainnet\": \"0x0F3273eA5d8B182CD87C8630Dc436a6133b9bE39\",\n \"moderato-testnet\": \"0x0829F361A05D993d5CEb035cA6DF3446b060970b\",\n \"plumephoenix-mainnet\": \"0xf2d112B3b88Cff0F011Cef9BaB2Ec64a69403C1B\",\n \"sepolia-testnet\": \"0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b\",\n \"tempo-mainnet\": \"0xB0d27478A40223e427697Da523c6A3DAF29AaFfB\"\n};\nexport const transactionHashes = {\n \"arbsep-testnet\": \"0xbebbc37d8e1cbe686ec7e7110eb93aca63efbd821c82bc787b8c9044236b2de0\",\n \"avalanche-mainnet\": \"0x3a34a8cbe1f7cb022d2bf4f90496d35e8d9996db99cd8b2b39040d656d864fba\",\n \"avalanche-testnet\": \"0x29e488c1388bd54268d9bc464d80e2662b3f3702981b7955309e804a1f748f0c\",\n \"base-mainnet\": \"0xa288015160a3cba8fb8e7fd5a5eebff8a00420c61d2d0076e7e0b3579bfcc835\",\n \"bera-mainnet\": \"0xaeab245d4cb7ffcddc0975629224d6560d96c5daf3ee39e4e85a2cc60a31ff74\",\n \"ethereum-mainnet\": \"0x8be2d8d053490034cb6892ff6dfff032e66bacd2cc19ee21ed8581d25e70cf6b\",\n \"moderato-testnet\": \"0x912c839f9f3f47944cadee0a9bf5ad9b975204db91de5c72cfea2f7692d93239\",\n \"plumephoenix-mainnet\": \"0x1b44eff45c5581c865d525a4d954c6b12ad10b0e88e6a7c2b59e69f72f857ad7\",\n \"sepolia-testnet\": \"0xf99055f50b0e9f1fda634487a67c3a4bf587727b89f3246e6591dcef58be92bf\",\n \"tempo-mainnet\": \"0xd0ac5107cf3a39a2eb19824a8a948fc064020af43fd7d53a1053faf8c7323466\"\n};\nconst abi0 = [{ \"inputs\": [{ \"internalType\": \"address\", \"name\": \"_stargate\", \"type\": \"address\" }], \"stateMutability\": \"nonpayable\", \"type\": \"constructor\" }, { \"inputs\": [], \"name\": \"FeeLib_InvalidFeeConfiguration\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Paused\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Unauthorized\", \"type\": \"error\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"components\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"indexed\": false, \"internalType\": \"struct FeeConfig\", \"name\": \"config\", \"type\": \"tuple\" }], \"name\": \"FeeConfigSet\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": true, \"internalType\": \"address\", \"name\": \"previousOwner\", \"type\": \"address\" }, { \"indexed\": true, \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"OwnershipTransferred\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"indexed\": false, \"internalType\": \"bool\", \"name\": \"isPaused\", \"type\": \"bool\" }], \"name\": \"PausedSet\", \"type\": \"event\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFee\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFeeView\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }], \"name\": \"feeConfigs\", \"outputs\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"owner\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"renounceOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"_zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"_zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"_zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_rewardMillionth\", \"type\": \"uint24\" }], \"name\": \"setFeeConfig\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"bool\", \"name\": \"_isPaused\", \"type\": \"bool\" }], \"name\": \"setPaused\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargate\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargateType\", \"outputs\": [{ \"internalType\": \"enum StargateType\", \"name\": \"\", \"type\": \"uint8\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"transferOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }] as const;\ntype Abi0 = typeof abi0;\ntype Abis = {\n \"arbsep-testnet\": Abi0;\n \"avalanche-mainnet\": Abi0;\n \"avalanche-testnet\": Abi0;\n \"base-mainnet\": Abi0;\n \"bera-mainnet\": Abi0;\n \"ethereum-mainnet\": Abi0;\n \"moderato-testnet\": Abi0;\n \"plumephoenix-mainnet\": Abi0;\n \"sepolia-testnet\": Abi0;\n \"tempo-mainnet\": Abi0;\n};\nexport const abis: Abis = {\n \"arbsep-testnet\": abi0,\n \"avalanche-mainnet\": abi0,\n \"avalanche-testnet\": abi0,\n \"base-mainnet\": abi0,\n \"bera-mainnet\": abi0,\n \"ethereum-mainnet\": abi0,\n \"moderato-testnet\": abi0,\n \"plumephoenix-mainnet\": abi0,\n \"sepolia-testnet\": abi0,\n \"tempo-mainnet\": abi0\n};\n"]}
|
|
1
|
+
{"version":3,"sources":["../../deployed/FeeLibV1EURC.ts"],"names":[],"mappings":";AAAO,IAAM,YAAY;AAAA,EACrB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,iBAAiB;AACrB;AACO,IAAM,oBAAoB;AAAA,EAC7B,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,iBAAiB;AACrB;AACA,IAAM,OAAO,CAAC,EAAE,UA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AAgB,QAAQ,QAAQ,aAAa,QAAQ,OAAO,CAAC,GAAG,QAAQ,aAAa,WAAW,CAAC,GAAG,mBAAmB,cAAc,QAAQ,WAAW,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,YAAY,WAAW,CAAC,EAAE,gBAAgB,WAAW,QAAQ,IAAI,QAAQ,UAAU,CAAC,GAAG,mBAAmB,QAAQ,QAAQ,WAAW,GAAG,EAAE,UAAU,CAAC,GAAG,QAAQ,gBAAgB,WAAW,CAAC,EAAE,gBAAgB,qBAAqB,QAAQ,IAAI,QAAQ,QAAQ,CAAC,GAAG,mBAAmB,QAAQ,QAAQ,WAAW,GAAG,EAAE,UAAU,CAAC,EAAE,gBAAgB,WAAW,QAAQ,YAAY,QAAQ,UAAU,CAAC,GAAG,QAAQ,qBAAqB,WAAW,CAAC,GAAG,mBAAmB,cAAc,QAAQ,WAAW,CAAC;AAc3qK,IAAM,OAAa;AAAA,EACtB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,iBAAiB;AACrB","sourcesContent":["export const addresses = {\n \"arbsep-testnet\": \"0xD34e23b4509fF894FA939DC29baC987b7A5465C0\",\n \"avalanche-mainnet\": \"0x102d758f688a4C1C5a80b116bD945d4455460282\",\n \"avalanche-testnet\": \"0xef75B3BDFa7F8dBd2be01F29a21725eC5Cc0116f\",\n \"base-mainnet\": \"0x93819FfD972Fd57b1AAf42ba85e6B437D60FC807\",\n \"bera-mainnet\": \"0x87Dd5A7481726a53C5Ac6b0D296F5846f95a72f2\",\n \"ethereum-mainnet\": \"0x0F3273eA5d8B182CD87C8630Dc436a6133b9bE39\",\n \"moderato-testnet\": \"0x0829F361A05D993d5CEb035cA6DF3446b060970b\",\n \"plumephoenix-mainnet\": \"0xf2d112B3b88Cff0F011Cef9BaB2Ec64a69403C1B\",\n \"sepolia-testnet\": \"0xA4272ad93AC5d2FF048DD6419c88Eb4C1002Ec6b\",\n \"tempo-mainnet\": \"0x007eb5a054cE1099b4C3e5bAB9C91302F9eabC15\"\n};\nexport const transactionHashes = {\n \"arbsep-testnet\": \"0xbebbc37d8e1cbe686ec7e7110eb93aca63efbd821c82bc787b8c9044236b2de0\",\n \"avalanche-mainnet\": \"0x3a34a8cbe1f7cb022d2bf4f90496d35e8d9996db99cd8b2b39040d656d864fba\",\n \"avalanche-testnet\": \"0x29e488c1388bd54268d9bc464d80e2662b3f3702981b7955309e804a1f748f0c\",\n \"base-mainnet\": \"0xa288015160a3cba8fb8e7fd5a5eebff8a00420c61d2d0076e7e0b3579bfcc835\",\n \"bera-mainnet\": \"0xaeab245d4cb7ffcddc0975629224d6560d96c5daf3ee39e4e85a2cc60a31ff74\",\n \"ethereum-mainnet\": \"0x8be2d8d053490034cb6892ff6dfff032e66bacd2cc19ee21ed8581d25e70cf6b\",\n \"moderato-testnet\": \"0x912c839f9f3f47944cadee0a9bf5ad9b975204db91de5c72cfea2f7692d93239\",\n \"plumephoenix-mainnet\": \"0x1b44eff45c5581c865d525a4d954c6b12ad10b0e88e6a7c2b59e69f72f857ad7\",\n \"sepolia-testnet\": \"0xf99055f50b0e9f1fda634487a67c3a4bf587727b89f3246e6591dcef58be92bf\",\n \"tempo-mainnet\": \"0xf8e411d44160db4b8302b0a4b54900968eeb6e845b1b53daa9ab0ac1f9a696ab\"\n};\nconst abi0 = [{ \"inputs\": [{ \"internalType\": \"address\", \"name\": \"_stargate\", \"type\": \"address\" }], \"stateMutability\": \"nonpayable\", \"type\": \"constructor\" }, { \"inputs\": [], \"name\": \"FeeLib_InvalidFeeConfiguration\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Paused\", \"type\": \"error\" }, { \"inputs\": [], \"name\": \"FeeLib_Unauthorized\", \"type\": \"error\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"components\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"indexed\": false, \"internalType\": \"struct FeeConfig\", \"name\": \"config\", \"type\": \"tuple\" }], \"name\": \"FeeConfigSet\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": true, \"internalType\": \"address\", \"name\": \"previousOwner\", \"type\": \"address\" }, { \"indexed\": true, \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"OwnershipTransferred\", \"type\": \"event\" }, { \"anonymous\": false, \"inputs\": [{ \"indexed\": false, \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }, { \"indexed\": false, \"internalType\": \"bool\", \"name\": \"isPaused\", \"type\": \"bool\" }], \"name\": \"PausedSet\", \"type\": \"event\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFee\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"components\": [{ \"internalType\": \"address\", \"name\": \"sender\", \"type\": \"address\" }, { \"internalType\": \"uint32\", \"name\": \"dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"amountInSD\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"deficitSD\", \"type\": \"uint64\" }, { \"internalType\": \"bool\", \"name\": \"toOFT\", \"type\": \"bool\" }, { \"internalType\": \"bool\", \"name\": \"isTaxi\", \"type\": \"bool\" }], \"internalType\": \"struct FeeParams\", \"name\": \"_params\", \"type\": \"tuple\" }], \"name\": \"applyFeeView\", \"outputs\": [{ \"internalType\": \"uint64\", \"name\": \"amountOutSD\", \"type\": \"uint64\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"eid\", \"type\": \"uint32\" }], \"name\": \"feeConfigs\", \"outputs\": [{ \"internalType\": \"bool\", \"name\": \"paused\", \"type\": \"bool\" }, { \"internalType\": \"uint64\", \"name\": \"zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"rewardMillionth\", \"type\": \"uint24\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"owner\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"renounceOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"uint64\", \"name\": \"_zone1UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint64\", \"name\": \"_zone2UpperBound\", \"type\": \"uint64\" }, { \"internalType\": \"uint24\", \"name\": \"_zone1FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone2FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_zone3FeeMillionth\", \"type\": \"uint24\" }, { \"internalType\": \"uint24\", \"name\": \"_rewardMillionth\", \"type\": \"uint24\" }], \"name\": \"setFeeConfig\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"uint32\", \"name\": \"_dstEid\", \"type\": \"uint32\" }, { \"internalType\": \"bool\", \"name\": \"_isPaused\", \"type\": \"bool\" }], \"name\": \"setPaused\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargate\", \"outputs\": [{ \"internalType\": \"address\", \"name\": \"\", \"type\": \"address\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [], \"name\": \"stargateType\", \"outputs\": [{ \"internalType\": \"enum StargateType\", \"name\": \"\", \"type\": \"uint8\" }], \"stateMutability\": \"view\", \"type\": \"function\" }, { \"inputs\": [{ \"internalType\": \"address\", \"name\": \"newOwner\", \"type\": \"address\" }], \"name\": \"transferOwnership\", \"outputs\": [], \"stateMutability\": \"nonpayable\", \"type\": \"function\" }] as const;\ntype Abi0 = typeof abi0;\ntype Abis = {\n \"arbsep-testnet\": Abi0;\n \"avalanche-mainnet\": Abi0;\n \"avalanche-testnet\": Abi0;\n \"base-mainnet\": Abi0;\n \"bera-mainnet\": Abi0;\n \"ethereum-mainnet\": Abi0;\n \"moderato-testnet\": Abi0;\n \"plumephoenix-mainnet\": Abi0;\n \"sepolia-testnet\": Abi0;\n \"tempo-mainnet\": Abi0;\n};\nexport const abis: Abis = {\n \"arbsep-testnet\": abi0,\n \"avalanche-mainnet\": abi0,\n \"avalanche-testnet\": abi0,\n \"base-mainnet\": abi0,\n \"bera-mainnet\": abi0,\n \"ethereum-mainnet\": abi0,\n \"moderato-testnet\": abi0,\n \"plumephoenix-mainnet\": abi0,\n \"sepolia-testnet\": abi0,\n \"tempo-mainnet\": abi0\n};\n"]}
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
declare const addresses: {
|
|
2
|
+
"ethereum-mainnet": string;
|
|
3
|
+
"metis-mainnet": string;
|
|
4
|
+
};
|
|
5
|
+
declare const transactionHashes: {
|
|
6
|
+
"ethereum-mainnet": string;
|
|
7
|
+
"metis-mainnet": string;
|
|
8
|
+
};
|
|
9
|
+
declare const abi0: readonly [{
|
|
10
|
+
readonly inputs: readonly [{
|
|
11
|
+
readonly internalType: "address";
|
|
12
|
+
readonly name: "_stargate";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}];
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
16
|
+
readonly type: "constructor";
|
|
17
|
+
}, {
|
|
18
|
+
readonly inputs: readonly [];
|
|
19
|
+
readonly name: "FeeLib_InvalidFeeConfiguration";
|
|
20
|
+
readonly type: "error";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly name: "FeeLib_Paused";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "FeeLib_Unauthorized";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly anonymous: false;
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly indexed: false;
|
|
33
|
+
readonly internalType: "uint32";
|
|
34
|
+
readonly name: "eid";
|
|
35
|
+
readonly type: "uint32";
|
|
36
|
+
}, {
|
|
37
|
+
readonly components: readonly [{
|
|
38
|
+
readonly internalType: "bool";
|
|
39
|
+
readonly name: "paused";
|
|
40
|
+
readonly type: "bool";
|
|
41
|
+
}, {
|
|
42
|
+
readonly internalType: "uint64";
|
|
43
|
+
readonly name: "zone1UpperBound";
|
|
44
|
+
readonly type: "uint64";
|
|
45
|
+
}, {
|
|
46
|
+
readonly internalType: "uint64";
|
|
47
|
+
readonly name: "zone2UpperBound";
|
|
48
|
+
readonly type: "uint64";
|
|
49
|
+
}, {
|
|
50
|
+
readonly internalType: "uint24";
|
|
51
|
+
readonly name: "zone1FeeMillionth";
|
|
52
|
+
readonly type: "uint24";
|
|
53
|
+
}, {
|
|
54
|
+
readonly internalType: "uint24";
|
|
55
|
+
readonly name: "zone2FeeMillionth";
|
|
56
|
+
readonly type: "uint24";
|
|
57
|
+
}, {
|
|
58
|
+
readonly internalType: "uint24";
|
|
59
|
+
readonly name: "zone3FeeMillionth";
|
|
60
|
+
readonly type: "uint24";
|
|
61
|
+
}, {
|
|
62
|
+
readonly internalType: "uint24";
|
|
63
|
+
readonly name: "rewardMillionth";
|
|
64
|
+
readonly type: "uint24";
|
|
65
|
+
}];
|
|
66
|
+
readonly indexed: false;
|
|
67
|
+
readonly internalType: "struct FeeConfig";
|
|
68
|
+
readonly name: "config";
|
|
69
|
+
readonly type: "tuple";
|
|
70
|
+
}];
|
|
71
|
+
readonly name: "FeeConfigSet";
|
|
72
|
+
readonly type: "event";
|
|
73
|
+
}, {
|
|
74
|
+
readonly anonymous: false;
|
|
75
|
+
readonly inputs: readonly [{
|
|
76
|
+
readonly indexed: true;
|
|
77
|
+
readonly internalType: "address";
|
|
78
|
+
readonly name: "previousOwner";
|
|
79
|
+
readonly type: "address";
|
|
80
|
+
}, {
|
|
81
|
+
readonly indexed: true;
|
|
82
|
+
readonly internalType: "address";
|
|
83
|
+
readonly name: "newOwner";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
}];
|
|
86
|
+
readonly name: "OwnershipTransferred";
|
|
87
|
+
readonly type: "event";
|
|
88
|
+
}, {
|
|
89
|
+
readonly anonymous: false;
|
|
90
|
+
readonly inputs: readonly [{
|
|
91
|
+
readonly indexed: false;
|
|
92
|
+
readonly internalType: "uint32";
|
|
93
|
+
readonly name: "eid";
|
|
94
|
+
readonly type: "uint32";
|
|
95
|
+
}, {
|
|
96
|
+
readonly indexed: false;
|
|
97
|
+
readonly internalType: "bool";
|
|
98
|
+
readonly name: "isPaused";
|
|
99
|
+
readonly type: "bool";
|
|
100
|
+
}];
|
|
101
|
+
readonly name: "PausedSet";
|
|
102
|
+
readonly type: "event";
|
|
103
|
+
}, {
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly components: readonly [{
|
|
106
|
+
readonly internalType: "address";
|
|
107
|
+
readonly name: "sender";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
}, {
|
|
110
|
+
readonly internalType: "uint32";
|
|
111
|
+
readonly name: "dstEid";
|
|
112
|
+
readonly type: "uint32";
|
|
113
|
+
}, {
|
|
114
|
+
readonly internalType: "uint64";
|
|
115
|
+
readonly name: "amountInSD";
|
|
116
|
+
readonly type: "uint64";
|
|
117
|
+
}, {
|
|
118
|
+
readonly internalType: "uint64";
|
|
119
|
+
readonly name: "deficitSD";
|
|
120
|
+
readonly type: "uint64";
|
|
121
|
+
}, {
|
|
122
|
+
readonly internalType: "bool";
|
|
123
|
+
readonly name: "toOFT";
|
|
124
|
+
readonly type: "bool";
|
|
125
|
+
}, {
|
|
126
|
+
readonly internalType: "bool";
|
|
127
|
+
readonly name: "isTaxi";
|
|
128
|
+
readonly type: "bool";
|
|
129
|
+
}];
|
|
130
|
+
readonly internalType: "struct FeeParams";
|
|
131
|
+
readonly name: "_params";
|
|
132
|
+
readonly type: "tuple";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "applyFee";
|
|
135
|
+
readonly outputs: readonly [{
|
|
136
|
+
readonly internalType: "uint64";
|
|
137
|
+
readonly name: "amountOutSD";
|
|
138
|
+
readonly type: "uint64";
|
|
139
|
+
}];
|
|
140
|
+
readonly stateMutability: "view";
|
|
141
|
+
readonly type: "function";
|
|
142
|
+
}, {
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly components: readonly [{
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly name: "sender";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly internalType: "uint32";
|
|
150
|
+
readonly name: "dstEid";
|
|
151
|
+
readonly type: "uint32";
|
|
152
|
+
}, {
|
|
153
|
+
readonly internalType: "uint64";
|
|
154
|
+
readonly name: "amountInSD";
|
|
155
|
+
readonly type: "uint64";
|
|
156
|
+
}, {
|
|
157
|
+
readonly internalType: "uint64";
|
|
158
|
+
readonly name: "deficitSD";
|
|
159
|
+
readonly type: "uint64";
|
|
160
|
+
}, {
|
|
161
|
+
readonly internalType: "bool";
|
|
162
|
+
readonly name: "toOFT";
|
|
163
|
+
readonly type: "bool";
|
|
164
|
+
}, {
|
|
165
|
+
readonly internalType: "bool";
|
|
166
|
+
readonly name: "isTaxi";
|
|
167
|
+
readonly type: "bool";
|
|
168
|
+
}];
|
|
169
|
+
readonly internalType: "struct FeeParams";
|
|
170
|
+
readonly name: "_params";
|
|
171
|
+
readonly type: "tuple";
|
|
172
|
+
}];
|
|
173
|
+
readonly name: "applyFeeView";
|
|
174
|
+
readonly outputs: readonly [{
|
|
175
|
+
readonly internalType: "uint64";
|
|
176
|
+
readonly name: "amountOutSD";
|
|
177
|
+
readonly type: "uint64";
|
|
178
|
+
}];
|
|
179
|
+
readonly stateMutability: "view";
|
|
180
|
+
readonly type: "function";
|
|
181
|
+
}, {
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly internalType: "uint32";
|
|
184
|
+
readonly name: "eid";
|
|
185
|
+
readonly type: "uint32";
|
|
186
|
+
}];
|
|
187
|
+
readonly name: "feeConfigs";
|
|
188
|
+
readonly outputs: readonly [{
|
|
189
|
+
readonly internalType: "bool";
|
|
190
|
+
readonly name: "paused";
|
|
191
|
+
readonly type: "bool";
|
|
192
|
+
}, {
|
|
193
|
+
readonly internalType: "uint64";
|
|
194
|
+
readonly name: "zone1UpperBound";
|
|
195
|
+
readonly type: "uint64";
|
|
196
|
+
}, {
|
|
197
|
+
readonly internalType: "uint64";
|
|
198
|
+
readonly name: "zone2UpperBound";
|
|
199
|
+
readonly type: "uint64";
|
|
200
|
+
}, {
|
|
201
|
+
readonly internalType: "uint24";
|
|
202
|
+
readonly name: "zone1FeeMillionth";
|
|
203
|
+
readonly type: "uint24";
|
|
204
|
+
}, {
|
|
205
|
+
readonly internalType: "uint24";
|
|
206
|
+
readonly name: "zone2FeeMillionth";
|
|
207
|
+
readonly type: "uint24";
|
|
208
|
+
}, {
|
|
209
|
+
readonly internalType: "uint24";
|
|
210
|
+
readonly name: "zone3FeeMillionth";
|
|
211
|
+
readonly type: "uint24";
|
|
212
|
+
}, {
|
|
213
|
+
readonly internalType: "uint24";
|
|
214
|
+
readonly name: "rewardMillionth";
|
|
215
|
+
readonly type: "uint24";
|
|
216
|
+
}];
|
|
217
|
+
readonly stateMutability: "view";
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
}, {
|
|
220
|
+
readonly inputs: readonly [];
|
|
221
|
+
readonly name: "owner";
|
|
222
|
+
readonly outputs: readonly [{
|
|
223
|
+
readonly internalType: "address";
|
|
224
|
+
readonly name: "";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
}];
|
|
227
|
+
readonly stateMutability: "view";
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
}, {
|
|
230
|
+
readonly inputs: readonly [];
|
|
231
|
+
readonly name: "renounceOwnership";
|
|
232
|
+
readonly outputs: readonly [];
|
|
233
|
+
readonly stateMutability: "nonpayable";
|
|
234
|
+
readonly type: "function";
|
|
235
|
+
}, {
|
|
236
|
+
readonly inputs: readonly [{
|
|
237
|
+
readonly internalType: "uint32";
|
|
238
|
+
readonly name: "_dstEid";
|
|
239
|
+
readonly type: "uint32";
|
|
240
|
+
}, {
|
|
241
|
+
readonly internalType: "uint64";
|
|
242
|
+
readonly name: "_zone1UpperBound";
|
|
243
|
+
readonly type: "uint64";
|
|
244
|
+
}, {
|
|
245
|
+
readonly internalType: "uint64";
|
|
246
|
+
readonly name: "_zone2UpperBound";
|
|
247
|
+
readonly type: "uint64";
|
|
248
|
+
}, {
|
|
249
|
+
readonly internalType: "uint24";
|
|
250
|
+
readonly name: "_zone1FeeMillionth";
|
|
251
|
+
readonly type: "uint24";
|
|
252
|
+
}, {
|
|
253
|
+
readonly internalType: "uint24";
|
|
254
|
+
readonly name: "_zone2FeeMillionth";
|
|
255
|
+
readonly type: "uint24";
|
|
256
|
+
}, {
|
|
257
|
+
readonly internalType: "uint24";
|
|
258
|
+
readonly name: "_zone3FeeMillionth";
|
|
259
|
+
readonly type: "uint24";
|
|
260
|
+
}, {
|
|
261
|
+
readonly internalType: "uint24";
|
|
262
|
+
readonly name: "_rewardMillionth";
|
|
263
|
+
readonly type: "uint24";
|
|
264
|
+
}];
|
|
265
|
+
readonly name: "setFeeConfig";
|
|
266
|
+
readonly outputs: readonly [];
|
|
267
|
+
readonly stateMutability: "nonpayable";
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
}, {
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly internalType: "uint32";
|
|
272
|
+
readonly name: "_dstEid";
|
|
273
|
+
readonly type: "uint32";
|
|
274
|
+
}, {
|
|
275
|
+
readonly internalType: "bool";
|
|
276
|
+
readonly name: "_isPaused";
|
|
277
|
+
readonly type: "bool";
|
|
278
|
+
}];
|
|
279
|
+
readonly name: "setPaused";
|
|
280
|
+
readonly outputs: readonly [];
|
|
281
|
+
readonly stateMutability: "nonpayable";
|
|
282
|
+
readonly type: "function";
|
|
283
|
+
}, {
|
|
284
|
+
readonly inputs: readonly [];
|
|
285
|
+
readonly name: "stargate";
|
|
286
|
+
readonly outputs: readonly [{
|
|
287
|
+
readonly internalType: "address";
|
|
288
|
+
readonly name: "";
|
|
289
|
+
readonly type: "address";
|
|
290
|
+
}];
|
|
291
|
+
readonly stateMutability: "view";
|
|
292
|
+
readonly type: "function";
|
|
293
|
+
}, {
|
|
294
|
+
readonly inputs: readonly [];
|
|
295
|
+
readonly name: "stargateType";
|
|
296
|
+
readonly outputs: readonly [{
|
|
297
|
+
readonly internalType: "enum StargateType";
|
|
298
|
+
readonly name: "";
|
|
299
|
+
readonly type: "uint8";
|
|
300
|
+
}];
|
|
301
|
+
readonly stateMutability: "view";
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
}, {
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly internalType: "address";
|
|
306
|
+
readonly name: "newOwner";
|
|
307
|
+
readonly type: "address";
|
|
308
|
+
}];
|
|
309
|
+
readonly name: "transferOwnership";
|
|
310
|
+
readonly outputs: readonly [];
|
|
311
|
+
readonly stateMutability: "nonpayable";
|
|
312
|
+
readonly type: "function";
|
|
313
|
+
}];
|
|
314
|
+
type Abi0 = typeof abi0;
|
|
315
|
+
type Abis = {
|
|
316
|
+
"ethereum-mainnet": Abi0;
|
|
317
|
+
"metis-mainnet": Abi0;
|
|
318
|
+
};
|
|
319
|
+
declare const abis: Abis;
|
|
320
|
+
|
|
321
|
+
declare const FeeLibV1METIS_abis: typeof abis;
|
|
322
|
+
declare const FeeLibV1METIS_addresses: typeof addresses;
|
|
323
|
+
declare const FeeLibV1METIS_transactionHashes: typeof transactionHashes;
|
|
324
|
+
declare namespace FeeLibV1METIS {
|
|
325
|
+
export { FeeLibV1METIS_abis as abis, FeeLibV1METIS_addresses as addresses, FeeLibV1METIS_transactionHashes as transactionHashes };
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export { FeeLibV1METIS as F, addresses as a, abis as b, transactionHashes as t };
|