@layerzerolabs/lz-evm-sdk-v2 2.1.9 → 2.1.11
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/artifacts/contracts/EndpointV2View.sol/EndpointV2View.json +2 -2
- package/artifacts/contracts/EndpointV2ViewUpgradeable.sol/EndpointV2ViewUpgradeable.json +2 -2
- package/artifacts/contracts/uln/LzExecutor.sol/LzExecutor.json +2 -2
- package/artifacts/contracts/uln/uln301/ReceiveUln301View.sol/ReceiveUln301View.json +2 -2
- package/artifacts/contracts/uln/uln302/ReceiveUln302View.sol/ReceiveUln302View.json +2 -2
- package/deployments/arbitrum-sandbox-local/DVN.json +40 -40
- package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +13 -13
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +9 -9
- package/deployments/arbitrum-sandbox-local/PriceFeed.json +28 -28
- package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +17 -17
- package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +32 -32
- package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +27 -27
- package/deployments/avalanche-sandbox-local/DVN.json +37 -37
- package/deployments/avalanche-sandbox-local/DVNDecompressor.json +10 -10
- package/deployments/avalanche-sandbox-local/DVNFeeLib.json +7 -7
- package/deployments/avalanche-sandbox-local/DefaultProxyAdmin.json +2 -2
- package/deployments/avalanche-sandbox-local/EndpointV2.json +27 -27
- package/deployments/avalanche-sandbox-local/EndpointV2View.json +9 -9
- package/deployments/avalanche-sandbox-local/EndpointV2View_Implementation.json +11 -11
- package/deployments/avalanche-sandbox-local/EndpointV2View_Proxy.json +9 -9
- package/deployments/avalanche-sandbox-local/Executor.json +29 -29
- package/deployments/avalanche-sandbox-local/ExecutorDecompressor.json +8 -8
- package/deployments/avalanche-sandbox-local/ExecutorFeeLib.json +7 -7
- package/deployments/avalanche-sandbox-local/ExecutorProxyAdmin.json +9 -9
- package/deployments/avalanche-sandbox-local/Executor_Implementation.json +38 -38
- package/deployments/avalanche-sandbox-local/Executor_Proxy.json +29 -29
- package/deployments/avalanche-sandbox-local/LzExecutor.json +11 -11
- package/deployments/avalanche-sandbox-local/LzExecutor_Implementation.json +19 -19
- package/deployments/avalanche-sandbox-local/LzExecutor_Proxy.json +11 -11
- package/deployments/avalanche-sandbox-local/NonceContractMock.json +5 -5
- package/deployments/avalanche-sandbox-local/PriceFeed.json +5 -5
- package/deployments/avalanche-sandbox-local/PriceFeedProxyAdmin.json +5 -5
- package/deployments/avalanche-sandbox-local/PriceFeed_Implementation.json +27 -27
- package/deployments/avalanche-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/avalanche-sandbox-local/ReceiveUln301.json +34 -34
- package/deployments/avalanche-sandbox-local/ReceiveUln301View.json +9 -9
- package/deployments/avalanche-sandbox-local/ReceiveUln301View_Implementation.json +15 -15
- package/deployments/avalanche-sandbox-local/ReceiveUln301View_Proxy.json +9 -9
- package/deployments/avalanche-sandbox-local/ReceiveUln302.json +31 -31
- package/deployments/avalanche-sandbox-local/ReceiveUln302View.json +9 -9
- package/deployments/avalanche-sandbox-local/ReceiveUln302View_Implementation.json +17 -17
- package/deployments/avalanche-sandbox-local/ReceiveUln302View_Proxy.json +9 -9
- package/deployments/avalanche-sandbox-local/SendUln301.json +34 -34
- package/deployments/avalanche-sandbox-local/SendUln302.json +32 -32
- package/deployments/avalanche-sandbox-local/SimpleMessageLib.json +10 -10
- package/deployments/avalanche-sandbox-local/Treasury.json +10 -10
- package/deployments/avalanche-sandbox-local/TreasuryFeeHandler.json +4 -4
- package/deployments/bsc-sandbox-local/DVN.json +37 -37
- package/deployments/bsc-sandbox-local/DVNDecompressor.json +10 -10
- package/deployments/bsc-sandbox-local/DVNFeeLib.json +7 -7
- package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +2 -2
- package/deployments/bsc-sandbox-local/EndpointV2.json +27 -27
- package/deployments/bsc-sandbox-local/EndpointV2View.json +9 -9
- package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +11 -11
- package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +9 -9
- package/deployments/bsc-sandbox-local/Executor.json +29 -29
- package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +8 -8
- package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +7 -7
- package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +9 -9
- package/deployments/bsc-sandbox-local/Executor_Implementation.json +38 -38
- package/deployments/bsc-sandbox-local/Executor_Proxy.json +29 -29
- package/deployments/bsc-sandbox-local/LzExecutor.json +11 -11
- package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +19 -19
- package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +11 -11
- package/deployments/bsc-sandbox-local/NonceContractMock.json +5 -5
- package/deployments/bsc-sandbox-local/PriceFeed.json +5 -5
- package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +5 -5
- package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +27 -27
- package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/bsc-sandbox-local/ReceiveUln301.json +34 -34
- package/deployments/bsc-sandbox-local/ReceiveUln301View.json +9 -9
- package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +15 -15
- package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +9 -9
- package/deployments/bsc-sandbox-local/ReceiveUln302.json +31 -31
- package/deployments/bsc-sandbox-local/ReceiveUln302View.json +9 -9
- package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +17 -17
- package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +9 -9
- package/deployments/bsc-sandbox-local/SendUln301.json +34 -34
- package/deployments/bsc-sandbox-local/SendUln302.json +32 -32
- package/deployments/bsc-sandbox-local/SimpleMessageLib.json +10 -10
- package/deployments/bsc-sandbox-local/Treasury.json +10 -10
- package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +4 -4
- package/deployments/ethereum-sandbox-local/DVN.json +50 -50
- package/deployments/ethereum-sandbox-local/DVNDecompressor.json +15 -15
- package/deployments/ethereum-sandbox-local/DVNFeeLib.json +9 -9
- package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +11 -11
- package/deployments/ethereum-sandbox-local/EndpointV2.json +43 -43
- package/deployments/ethereum-sandbox-local/EndpointV2View.json +26 -26
- package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +14 -14
- package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +24 -24
- package/deployments/ethereum-sandbox-local/Executor.json +74 -74
- package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +15 -15
- package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +13 -13
- package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +17 -17
- package/deployments/ethereum-sandbox-local/Executor_Implementation.json +41 -41
- package/deployments/ethereum-sandbox-local/Executor_Proxy.json +67 -67
- package/deployments/ethereum-sandbox-local/LzExecutor.json +34 -34
- package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +22 -22
- package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +30 -30
- package/deployments/ethereum-sandbox-local/NonceContractMock.json +9 -9
- package/deployments/ethereum-sandbox-local/PriceFeed.json +28 -28
- package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +17 -17
- package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +32 -32
- package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +27 -27
- package/deployments/ethereum-sandbox-local/ReceiveUln301.json +41 -41
- package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +27 -27
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +18 -18
- package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +24 -24
- package/deployments/ethereum-sandbox-local/ReceiveUln302.json +38 -38
- package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +29 -29
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +20 -20
- package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +26 -26
- package/deployments/ethereum-sandbox-local/SendUln301.json +45 -45
- package/deployments/ethereum-sandbox-local/SendUln302.json +39 -39
- package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +17 -17
- package/deployments/ethereum-sandbox-local/Treasury.json +16 -16
- package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +8 -8
- package/deployments/exocore-testnet/DVN.json +39 -39
- package/deployments/exocore-testnet/DVNFeeLib.json +5 -5
- package/deployments/exocore-testnet/DefaultProxyAdmin.json +4 -4
- package/deployments/exocore-testnet/EndpointV2.json +23 -23
- package/deployments/exocore-testnet/EndpointV2View.json +8 -8
- package/deployments/exocore-testnet/EndpointV2View_Implementation.json +2 -2
- package/deployments/exocore-testnet/EndpointV2View_Proxy.json +8 -8
- package/deployments/exocore-testnet/Executor.json +26 -26
- package/deployments/exocore-testnet/ExecutorFeeLib.json +5 -5
- package/deployments/exocore-testnet/ExecutorProxyAdmin.json +7 -7
- package/deployments/exocore-testnet/Executor_Implementation.json +17 -17
- package/deployments/exocore-testnet/Executor_Proxy.json +26 -26
- package/deployments/exocore-testnet/LzExecutor.json +10 -10
- package/deployments/exocore-testnet/LzExecutor_Implementation.json +6 -6
- package/deployments/exocore-testnet/LzExecutor_Proxy.json +10 -10
- package/deployments/exocore-testnet/PriceFeed.json +10 -10
- package/deployments/exocore-testnet/PriceFeedProxyAdmin.json +7 -7
- package/deployments/exocore-testnet/PriceFeed_Implementation.json +14 -14
- package/deployments/exocore-testnet/PriceFeed_Proxy.json +10 -10
- package/deployments/exocore-testnet/ReceiveUln301.json +36 -36
- package/deployments/exocore-testnet/ReceiveUln301View.json +15 -15
- package/deployments/exocore-testnet/ReceiveUln301View_Implementation.json +8 -8
- package/deployments/exocore-testnet/ReceiveUln301View_Proxy.json +14 -14
- package/deployments/exocore-testnet/ReceiveUln302.json +29 -29
- package/deployments/exocore-testnet/ReceiveUln302View.json +8 -8
- package/deployments/exocore-testnet/ReceiveUln302View_Implementation.json +7 -7
- package/deployments/exocore-testnet/ReceiveUln302View_Proxy.json +8 -8
- package/deployments/exocore-testnet/SendUln301.json +24 -24
- package/deployments/exocore-testnet/SendUln302.json +18 -18
- package/deployments/exocore-testnet/Treasury.json +5 -5
- package/deployments/exocore-testnet/TreasuryFeeHandler.json +3 -3
- package/deployments/mantle-mainnet/AxelarDVNAdapter.json +1578 -0
- package/deployments/mantle-mainnet/AxelarDVNAdapterFeeLib.json +813 -0
- package/deployments/mantle-mainnet/AxelarDVNAdapterFeeLib_Implementation.json +803 -0
- package/deployments/mantle-mainnet/AxelarDVNAdapterFeeLib_Proxy.json +245 -0
- package/deployments/mantle-mainnet/DVNFeeLibProxyAdmin.json +284 -0
- package/deployments/mode-testnet/DVN.json +1929 -0
- package/deployments/mode-testnet/DVNFeeLib.json +398 -0
- package/deployments/mode-testnet/DefaultProxyAdmin.json +258 -0
- package/deployments/mode-testnet/EndpointV2.json +3000 -0
- package/deployments/mode-testnet/EndpointV2View.json +435 -0
- package/deployments/mode-testnet/EndpointV2View_Implementation.json +313 -0
- package/deployments/mode-testnet/EndpointV2View_Proxy.json +230 -0
- package/deployments/mode-testnet/Executor.json +1532 -0
- package/deployments/mode-testnet/ExecutorFeeLib.json +423 -0
- package/deployments/mode-testnet/ExecutorProxyAdmin.json +283 -0
- package/deployments/mode-testnet/Executor_Implementation.json +1591 -0
- package/deployments/mode-testnet/Executor_Proxy.json +365 -0
- package/deployments/mode-testnet/LzExecutor.json +757 -0
- package/deployments/mode-testnet/LzExecutor_Implementation.json +703 -0
- package/deployments/mode-testnet/LzExecutor_Proxy.json +244 -0
- package/deployments/mode-testnet/PriceFeed.json +890 -0
- package/deployments/mode-testnet/PriceFeedProxyAdmin.json +283 -0
- package/deployments/mode-testnet/PriceFeed_Implementation.json +912 -0
- package/deployments/mode-testnet/PriceFeed_Proxy.json +244 -0
- package/deployments/mode-testnet/ReceiveUln301.json +1292 -0
- package/deployments/mode-testnet/ReceiveUln301View.json +354 -0
- package/deployments/mode-testnet/ReceiveUln301View_Implementation.json +231 -0
- package/deployments/mode-testnet/ReceiveUln301View_Proxy.json +230 -0
- package/deployments/mode-testnet/ReceiveUln302.json +1006 -0
- package/deployments/mode-testnet/ReceiveUln302View.json +478 -0
- package/deployments/mode-testnet/ReceiveUln302View_Implementation.json +384 -0
- package/deployments/mode-testnet/ReceiveUln302View_Proxy.json +230 -0
- package/deployments/mode-testnet/SendUln301.json +1569 -0
- package/deployments/mode-testnet/SendUln302.json +1527 -0
- package/deployments/mode-testnet/Treasury.json +412 -0
- package/deployments/mode-testnet/TreasuryFeeHandler.json +125 -0
- package/deployments/polygon-sandbox-local/DVN.json +50 -50
- package/deployments/polygon-sandbox-local/DVNDecompressor.json +15 -15
- package/deployments/polygon-sandbox-local/DVNFeeLib.json +9 -9
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +11 -11
- package/deployments/polygon-sandbox-local/EndpointV2.json +43 -43
- package/deployments/polygon-sandbox-local/EndpointV2View.json +26 -26
- package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +14 -14
- package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +24 -24
- package/deployments/polygon-sandbox-local/Executor.json +74 -74
- package/deployments/polygon-sandbox-local/ExecutorDecompressor.json +15 -15
- package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +13 -13
- package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +17 -17
- package/deployments/polygon-sandbox-local/Executor_Implementation.json +41 -41
- package/deployments/polygon-sandbox-local/Executor_Proxy.json +67 -67
- package/deployments/polygon-sandbox-local/LzExecutor.json +34 -34
- package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +22 -22
- package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +30 -30
- package/deployments/polygon-sandbox-local/NonceContractMock.json +9 -9
- package/deployments/polygon-sandbox-local/PriceFeed.json +28 -28
- package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +17 -17
- package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +32 -32
- package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +27 -27
- package/deployments/polygon-sandbox-local/ReceiveUln301.json +41 -41
- package/deployments/polygon-sandbox-local/ReceiveUln301View.json +27 -27
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +18 -18
- package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +24 -24
- package/deployments/polygon-sandbox-local/ReceiveUln302.json +38 -38
- package/deployments/polygon-sandbox-local/ReceiveUln302View.json +29 -29
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +20 -20
- package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +26 -26
- package/deployments/polygon-sandbox-local/SendUln301.json +45 -45
- package/deployments/polygon-sandbox-local/SendUln302.json +39 -39
- package/deployments/polygon-sandbox-local/SimpleMessageLib.json +17 -17
- package/deployments/polygon-sandbox-local/Treasury.json +16 -16
- package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +8 -8
- package/deployments/tron-sandbox-local/DVN.json +43 -43
- package/deployments/tron-sandbox-local/DVNDecompressor.json +17 -17
- package/deployments/tron-sandbox-local/DVNFeeLib.json +12 -12
- package/deployments/tron-sandbox-local/PriceFeed.json +27 -27
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +16 -16
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +32 -32
- package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +26 -26
- package/dist/{index-RhNRGtbi.d.mts → index-JB_kbnX5.d.mts} +5 -5
- package/dist/{index-RhNRGtbi.d.ts → index-JB_kbnX5.d.ts} +5 -5
- package/dist/index.browser.cjs +5 -5
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.mts +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.mjs +5 -5
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
|
@@ -0,0 +1,803 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x80C4c3768dD5A3Dd105cf2BD868fdc50280E398B",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "uint32",
|
|
8
|
+
"name": "eid",
|
|
9
|
+
"type": "uint32"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"name": "AxelarDVNAdapter_EidNotSupported",
|
|
13
|
+
"type": "error"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"inputs": [
|
|
17
|
+
{
|
|
18
|
+
"internalType": "uint256",
|
|
19
|
+
"name": "actual",
|
|
20
|
+
"type": "uint256"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"internalType": "uint256",
|
|
24
|
+
"name": "requested",
|
|
25
|
+
"type": "uint256"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"name": "AxelarDVNAdapter_InsufficientBalance",
|
|
29
|
+
"type": "error"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"inputs": [],
|
|
33
|
+
"name": "AxelarDVNAdapter_OptionsUnsupported",
|
|
34
|
+
"type": "error"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"inputs": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "address",
|
|
40
|
+
"name": "_to",
|
|
41
|
+
"type": "address"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "uint256",
|
|
45
|
+
"name": "_value",
|
|
46
|
+
"type": "uint256"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"name": "Transfer_NativeFailed",
|
|
50
|
+
"type": "error"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"inputs": [],
|
|
54
|
+
"name": "Transfer_ToAddressIsZero",
|
|
55
|
+
"type": "error"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"anonymous": false,
|
|
59
|
+
"inputs": [
|
|
60
|
+
{
|
|
61
|
+
"components": [
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint32",
|
|
64
|
+
"name": "dstEid",
|
|
65
|
+
"type": "uint32"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"internalType": "uint64",
|
|
69
|
+
"name": "gas",
|
|
70
|
+
"type": "uint64"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"internalType": "uint128",
|
|
74
|
+
"name": "floorMarginUSD",
|
|
75
|
+
"type": "uint128"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"indexed": false,
|
|
79
|
+
"internalType": "struct IAxelarDVNAdapterFeeLib.DstConfigParam[]",
|
|
80
|
+
"name": "params",
|
|
81
|
+
"type": "tuple[]"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"name": "DstConfigSet",
|
|
85
|
+
"type": "event"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"anonymous": false,
|
|
89
|
+
"inputs": [
|
|
90
|
+
{
|
|
91
|
+
"indexed": false,
|
|
92
|
+
"internalType": "address",
|
|
93
|
+
"name": "gasService",
|
|
94
|
+
"type": "address"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"name": "GasServiceSet",
|
|
98
|
+
"type": "event"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"anonymous": false,
|
|
102
|
+
"inputs": [
|
|
103
|
+
{
|
|
104
|
+
"indexed": false,
|
|
105
|
+
"internalType": "uint8",
|
|
106
|
+
"name": "version",
|
|
107
|
+
"type": "uint8"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"name": "Initialized",
|
|
111
|
+
"type": "event"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"anonymous": false,
|
|
115
|
+
"inputs": [
|
|
116
|
+
{
|
|
117
|
+
"indexed": false,
|
|
118
|
+
"internalType": "uint16",
|
|
119
|
+
"name": "multiplierBps",
|
|
120
|
+
"type": "uint16"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"name": "NativeGasFeeMultiplierBpsSet",
|
|
124
|
+
"type": "event"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"anonymous": false,
|
|
128
|
+
"inputs": [
|
|
129
|
+
{
|
|
130
|
+
"indexed": true,
|
|
131
|
+
"internalType": "address",
|
|
132
|
+
"name": "previousOwner",
|
|
133
|
+
"type": "address"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"indexed": true,
|
|
137
|
+
"internalType": "address",
|
|
138
|
+
"name": "newOwner",
|
|
139
|
+
"type": "address"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"name": "OwnershipTransferred",
|
|
143
|
+
"type": "event"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"anonymous": false,
|
|
147
|
+
"inputs": [
|
|
148
|
+
{
|
|
149
|
+
"indexed": false,
|
|
150
|
+
"internalType": "address",
|
|
151
|
+
"name": "priceFeed",
|
|
152
|
+
"type": "address"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"name": "PriceFeedSet",
|
|
156
|
+
"type": "event"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"anonymous": false,
|
|
160
|
+
"inputs": [
|
|
161
|
+
{
|
|
162
|
+
"indexed": false,
|
|
163
|
+
"internalType": "address",
|
|
164
|
+
"name": "token",
|
|
165
|
+
"type": "address"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"indexed": false,
|
|
169
|
+
"internalType": "address",
|
|
170
|
+
"name": "to",
|
|
171
|
+
"type": "address"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"indexed": false,
|
|
175
|
+
"internalType": "uint256",
|
|
176
|
+
"name": "amount",
|
|
177
|
+
"type": "uint256"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"name": "TokenWithdrawn",
|
|
181
|
+
"type": "event"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"inputs": [
|
|
185
|
+
{
|
|
186
|
+
"internalType": "uint32",
|
|
187
|
+
"name": "dstEid",
|
|
188
|
+
"type": "uint32"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"name": "dstConfig",
|
|
192
|
+
"outputs": [
|
|
193
|
+
{
|
|
194
|
+
"internalType": "uint64",
|
|
195
|
+
"name": "gas",
|
|
196
|
+
"type": "uint64"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"internalType": "uint128",
|
|
200
|
+
"name": "floorMarginUSD",
|
|
201
|
+
"type": "uint128"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"stateMutability": "view",
|
|
205
|
+
"type": "function"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"inputs": [],
|
|
209
|
+
"name": "dvn",
|
|
210
|
+
"outputs": [
|
|
211
|
+
{
|
|
212
|
+
"internalType": "contract IAxelarDVNAdapter",
|
|
213
|
+
"name": "",
|
|
214
|
+
"type": "address"
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"stateMutability": "view",
|
|
218
|
+
"type": "function"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"inputs": [],
|
|
222
|
+
"name": "gasService",
|
|
223
|
+
"outputs": [
|
|
224
|
+
{
|
|
225
|
+
"internalType": "contract IAxelarGasService",
|
|
226
|
+
"name": "",
|
|
227
|
+
"type": "address"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"stateMutability": "view",
|
|
231
|
+
"type": "function"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"inputs": [
|
|
235
|
+
{
|
|
236
|
+
"components": [
|
|
237
|
+
{
|
|
238
|
+
"internalType": "uint32",
|
|
239
|
+
"name": "dstEid",
|
|
240
|
+
"type": "uint32"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"internalType": "uint64",
|
|
244
|
+
"name": "confirmations",
|
|
245
|
+
"type": "uint64"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"internalType": "address",
|
|
249
|
+
"name": "sender",
|
|
250
|
+
"type": "address"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"internalType": "uint16",
|
|
254
|
+
"name": "defaultMultiplierBps",
|
|
255
|
+
"type": "uint16"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"internalType": "struct IAxelarDVNAdapterFeeLib.Param",
|
|
259
|
+
"name": "_param",
|
|
260
|
+
"type": "tuple"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"components": [
|
|
264
|
+
{
|
|
265
|
+
"internalType": "string",
|
|
266
|
+
"name": "chainName",
|
|
267
|
+
"type": "string"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"internalType": "string",
|
|
271
|
+
"name": "peer",
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"internalType": "uint16",
|
|
276
|
+
"name": "multiplierBps",
|
|
277
|
+
"type": "uint16"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"internalType": "uint256",
|
|
281
|
+
"name": "nativeGasFee",
|
|
282
|
+
"type": "uint256"
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"internalType": "struct IAxelarDVNAdapter.DstConfig",
|
|
286
|
+
"name": "_dstConfig",
|
|
287
|
+
"type": "tuple"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"internalType": "bytes",
|
|
291
|
+
"name": "_options",
|
|
292
|
+
"type": "bytes"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"name": "getFee",
|
|
296
|
+
"outputs": [
|
|
297
|
+
{
|
|
298
|
+
"internalType": "uint256",
|
|
299
|
+
"name": "totalFee",
|
|
300
|
+
"type": "uint256"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"stateMutability": "view",
|
|
304
|
+
"type": "function"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"inputs": [
|
|
308
|
+
{
|
|
309
|
+
"components": [
|
|
310
|
+
{
|
|
311
|
+
"internalType": "uint32",
|
|
312
|
+
"name": "dstEid",
|
|
313
|
+
"type": "uint32"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"internalType": "uint64",
|
|
317
|
+
"name": "confirmations",
|
|
318
|
+
"type": "uint64"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"internalType": "address",
|
|
322
|
+
"name": "sender",
|
|
323
|
+
"type": "address"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"internalType": "uint16",
|
|
327
|
+
"name": "defaultMultiplierBps",
|
|
328
|
+
"type": "uint16"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"internalType": "struct IAxelarDVNAdapterFeeLib.Param",
|
|
332
|
+
"name": "_param",
|
|
333
|
+
"type": "tuple"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"components": [
|
|
337
|
+
{
|
|
338
|
+
"internalType": "string",
|
|
339
|
+
"name": "chainName",
|
|
340
|
+
"type": "string"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"internalType": "string",
|
|
344
|
+
"name": "peer",
|
|
345
|
+
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"internalType": "uint16",
|
|
349
|
+
"name": "multiplierBps",
|
|
350
|
+
"type": "uint16"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"internalType": "uint256",
|
|
354
|
+
"name": "nativeGasFee",
|
|
355
|
+
"type": "uint256"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"internalType": "struct IAxelarDVNAdapter.DstConfig",
|
|
359
|
+
"name": "_dstConfig",
|
|
360
|
+
"type": "tuple"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"internalType": "bytes",
|
|
364
|
+
"name": "_payload",
|
|
365
|
+
"type": "bytes"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"internalType": "bytes",
|
|
369
|
+
"name": "_options",
|
|
370
|
+
"type": "bytes"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"internalType": "address",
|
|
374
|
+
"name": "_sendLib",
|
|
375
|
+
"type": "address"
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"name": "getFeeOnSend",
|
|
379
|
+
"outputs": [
|
|
380
|
+
{
|
|
381
|
+
"internalType": "uint256",
|
|
382
|
+
"name": "totalFee",
|
|
383
|
+
"type": "uint256"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"stateMutability": "payable",
|
|
387
|
+
"type": "function"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"inputs": [
|
|
391
|
+
{
|
|
392
|
+
"internalType": "address",
|
|
393
|
+
"name": "_gasService",
|
|
394
|
+
"type": "address"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"internalType": "address",
|
|
398
|
+
"name": "_dvn",
|
|
399
|
+
"type": "address"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"internalType": "uint16",
|
|
403
|
+
"name": "_nativeGasFeeMultiplierBps",
|
|
404
|
+
"type": "uint16"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"name": "initialize",
|
|
408
|
+
"outputs": [],
|
|
409
|
+
"stateMutability": "nonpayable",
|
|
410
|
+
"type": "function"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"inputs": [],
|
|
414
|
+
"name": "nativeGasFeeMultiplierBps",
|
|
415
|
+
"outputs": [
|
|
416
|
+
{
|
|
417
|
+
"internalType": "uint16",
|
|
418
|
+
"name": "",
|
|
419
|
+
"type": "uint16"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"stateMutability": "view",
|
|
423
|
+
"type": "function"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"inputs": [],
|
|
427
|
+
"name": "owner",
|
|
428
|
+
"outputs": [
|
|
429
|
+
{
|
|
430
|
+
"internalType": "address",
|
|
431
|
+
"name": "",
|
|
432
|
+
"type": "address"
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"stateMutability": "view",
|
|
436
|
+
"type": "function"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"inputs": [],
|
|
440
|
+
"name": "priceFeed",
|
|
441
|
+
"outputs": [
|
|
442
|
+
{
|
|
443
|
+
"internalType": "contract ILayerZeroPriceFeed",
|
|
444
|
+
"name": "",
|
|
445
|
+
"type": "address"
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"stateMutability": "view",
|
|
449
|
+
"type": "function"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"inputs": [],
|
|
453
|
+
"name": "renounceOwnership",
|
|
454
|
+
"outputs": [],
|
|
455
|
+
"stateMutability": "nonpayable",
|
|
456
|
+
"type": "function"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"inputs": [
|
|
460
|
+
{
|
|
461
|
+
"components": [
|
|
462
|
+
{
|
|
463
|
+
"internalType": "uint32",
|
|
464
|
+
"name": "dstEid",
|
|
465
|
+
"type": "uint32"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"internalType": "uint64",
|
|
469
|
+
"name": "gas",
|
|
470
|
+
"type": "uint64"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"internalType": "uint128",
|
|
474
|
+
"name": "floorMarginUSD",
|
|
475
|
+
"type": "uint128"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"internalType": "struct IAxelarDVNAdapterFeeLib.DstConfigParam[]",
|
|
479
|
+
"name": "_param",
|
|
480
|
+
"type": "tuple[]"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"name": "setDstConfig",
|
|
484
|
+
"outputs": [],
|
|
485
|
+
"stateMutability": "nonpayable",
|
|
486
|
+
"type": "function"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"inputs": [
|
|
490
|
+
{
|
|
491
|
+
"internalType": "address",
|
|
492
|
+
"name": "_gasService",
|
|
493
|
+
"type": "address"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"name": "setGasService",
|
|
497
|
+
"outputs": [],
|
|
498
|
+
"stateMutability": "nonpayable",
|
|
499
|
+
"type": "function"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"inputs": [
|
|
503
|
+
{
|
|
504
|
+
"internalType": "uint16",
|
|
505
|
+
"name": "_multiplierBps",
|
|
506
|
+
"type": "uint16"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"name": "setNativeGasFeeMultiplierBps",
|
|
510
|
+
"outputs": [],
|
|
511
|
+
"stateMutability": "nonpayable",
|
|
512
|
+
"type": "function"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"inputs": [
|
|
516
|
+
{
|
|
517
|
+
"internalType": "address",
|
|
518
|
+
"name": "_priceFeed",
|
|
519
|
+
"type": "address"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"name": "setPriceFeed",
|
|
523
|
+
"outputs": [],
|
|
524
|
+
"stateMutability": "nonpayable",
|
|
525
|
+
"type": "function"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"inputs": [
|
|
529
|
+
{
|
|
530
|
+
"internalType": "address",
|
|
531
|
+
"name": "newOwner",
|
|
532
|
+
"type": "address"
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"name": "transferOwnership",
|
|
536
|
+
"outputs": [],
|
|
537
|
+
"stateMutability": "nonpayable",
|
|
538
|
+
"type": "function"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"inputs": [
|
|
542
|
+
{
|
|
543
|
+
"internalType": "address",
|
|
544
|
+
"name": "_token",
|
|
545
|
+
"type": "address"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"internalType": "address",
|
|
549
|
+
"name": "_to",
|
|
550
|
+
"type": "address"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"internalType": "uint256",
|
|
554
|
+
"name": "_amount",
|
|
555
|
+
"type": "uint256"
|
|
556
|
+
}
|
|
557
|
+
],
|
|
558
|
+
"name": "withdrawToken",
|
|
559
|
+
"outputs": [],
|
|
560
|
+
"stateMutability": "nonpayable",
|
|
561
|
+
"type": "function"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"stateMutability": "payable",
|
|
565
|
+
"type": "receive"
|
|
566
|
+
}
|
|
567
|
+
],
|
|
568
|
+
"transactionHash": "0xd51c0eff535886416f110635a0acb053e04a3908042aa6f1d2530cfc08ff3902",
|
|
569
|
+
"receipt": {
|
|
570
|
+
"to": null,
|
|
571
|
+
"from": "0x9F403140Bc0574D7d36eA472b82DAa1Bbd4eF327",
|
|
572
|
+
"contractAddress": "0x80C4c3768dD5A3Dd105cf2BD868fdc50280E398B",
|
|
573
|
+
"transactionIndex": 0,
|
|
574
|
+
"gasUsed": "1636773",
|
|
575
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
576
|
+
"blockHash": "0x24b9401853e723af175a86312cff56a70f6a22f433a01b250a801ff7aac0ba40",
|
|
577
|
+
"transactionHash": "0xd51c0eff535886416f110635a0acb053e04a3908042aa6f1d2530cfc08ff3902",
|
|
578
|
+
"logs": [],
|
|
579
|
+
"blockNumber": 56923170,
|
|
580
|
+
"cumulativeGasUsed": "1636773",
|
|
581
|
+
"status": 1,
|
|
582
|
+
"byzantium": true
|
|
583
|
+
},
|
|
584
|
+
"args": [],
|
|
585
|
+
"numDeployments": 1,
|
|
586
|
+
"solcInputHash": "a02895da4e26717c8c5ac06356be07de",
|
|
587
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"eid\",\"type\":\"uint32\"}],\"name\":\"AxelarDVNAdapter_EidNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"actual\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requested\",\"type\":\"uint256\"}],\"name\":\"AxelarDVNAdapter_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AxelarDVNAdapter_OptionsUnsupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer_NativeFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Transfer_ToAddressIsZero\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstEid\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"gas\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"floorMarginUSD\",\"type\":\"uint128\"}],\"indexed\":false,\"internalType\":\"struct IAxelarDVNAdapterFeeLib.DstConfigParam[]\",\"name\":\"params\",\"type\":\"tuple[]\"}],\"name\":\"DstConfigSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"gasService\",\"type\":\"address\"}],\"name\":\"GasServiceSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"multiplierBps\",\"type\":\"uint16\"}],\"name\":\"NativeGasFeeMultiplierBpsSet\",\"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\":\"address\",\"name\":\"priceFeed\",\"type\":\"address\"}],\"name\":\"PriceFeedSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenWithdrawn\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"dstEid\",\"type\":\"uint32\"}],\"name\":\"dstConfig\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"gas\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"floorMarginUSD\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dvn\",\"outputs\":[{\"internalType\":\"contract IAxelarDVNAdapter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasService\",\"outputs\":[{\"internalType\":\"contract IAxelarGasService\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstEid\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"confirmations\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"defaultMultiplierBps\",\"type\":\"uint16\"}],\"internalType\":\"struct IAxelarDVNAdapterFeeLib.Param\",\"name\":\"_param\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"peer\",\"type\":\"string\"},{\"internalType\":\"uint16\",\"name\":\"multiplierBps\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"nativeGasFee\",\"type\":\"uint256\"}],\"internalType\":\"struct IAxelarDVNAdapter.DstConfig\",\"name\":\"_dstConfig\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"_options\",\"type\":\"bytes\"}],\"name\":\"getFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalFee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstEid\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"confirmations\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"defaultMultiplierBps\",\"type\":\"uint16\"}],\"internalType\":\"struct IAxelarDVNAdapterFeeLib.Param\",\"name\":\"_param\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"peer\",\"type\":\"string\"},{\"internalType\":\"uint16\",\"name\":\"multiplierBps\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"nativeGasFee\",\"type\":\"uint256\"}],\"internalType\":\"struct IAxelarDVNAdapter.DstConfig\",\"name\":\"_dstConfig\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_options\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"_sendLib\",\"type\":\"address\"}],\"name\":\"getFeeOnSend\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalFee\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gasService\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dvn\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_nativeGasFeeMultiplierBps\",\"type\":\"uint16\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeGasFeeMultiplierBps\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priceFeed\",\"outputs\":[{\"internalType\":\"contract ILayerZeroPriceFeed\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstEid\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"gas\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"floorMarginUSD\",\"type\":\"uint128\"}],\"internalType\":\"struct IAxelarDVNAdapterFeeLib.DstConfigParam[]\",\"name\":\"_param\",\"type\":\"tuple[]\"}],\"name\":\"setDstConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gasService\",\"type\":\"address\"}],\"name\":\"setGasService\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_multiplierBps\",\"type\":\"uint16\"}],\"name\":\"setNativeGasFeeMultiplierBps\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_priceFeed\",\"type\":\"address\"}],\"name\":\"setPriceFeed\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"events\":{\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"stateVariables\":{\"nativeGasFeeMultiplierBps\":{\"details\":\"to be applied to native gas fee before sending to Axelar Gas Service\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol\":\"AxelarDVNAdapterFeeLib\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":20000},\"remappings\":[]},\"sources\":{\"@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGasService.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { IUpgradable } from '../interfaces/IUpgradable.sol';\\n\\n/**\\n * @title IAxelarGasService Interface\\n * @notice This is an interface for the AxelarGasService contract which manages gas payments\\n * and refunds for cross-chain communication on the Axelar network.\\n * @dev This interface inherits IUpgradable\\n */\\ninterface IAxelarGasService is IUpgradable {\\n error NothingReceived();\\n error InvalidAddress();\\n error NotCollector();\\n error InvalidAmounts();\\n\\n event GasPaidForContractCall(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event GasPaidForContractCallWithToken(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n string symbol,\\n uint256 amount,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event NativeGasPaidForContractCall(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event NativeGasPaidForContractCallWithToken(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n string symbol,\\n uint256 amount,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event GasPaidForExpressCall(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event GasPaidForExpressCallWithToken(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n string symbol,\\n uint256 amount,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event NativeGasPaidForExpressCall(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event NativeGasPaidForExpressCallWithToken(\\n address indexed sourceAddress,\\n string destinationChain,\\n string destinationAddress,\\n bytes32 indexed payloadHash,\\n string symbol,\\n uint256 amount,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event GasAdded(\\n bytes32 indexed txHash,\\n uint256 indexed logIndex,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event NativeGasAdded(bytes32 indexed txHash, uint256 indexed logIndex, uint256 gasFeeAmount, address refundAddress);\\n\\n event ExpressGasAdded(\\n bytes32 indexed txHash,\\n uint256 indexed logIndex,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event NativeExpressGasAdded(\\n bytes32 indexed txHash,\\n uint256 indexed logIndex,\\n uint256 gasFeeAmount,\\n address refundAddress\\n );\\n\\n event Refunded(\\n bytes32 indexed txHash,\\n uint256 indexed logIndex,\\n address payable receiver,\\n address token,\\n uint256 amount\\n );\\n\\n /**\\n * @notice Pay for gas using ERC20 tokens for a contract call on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call\\n * @param gasToken The address of the ERC20 token used to pay for gas\\n * @param gasFeeAmount The amount of tokens to pay for gas\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payGasForContractCall(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n ) external;\\n\\n /**\\n * @notice Pay for gas using ERC20 tokens for a contract call with tokens on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call with tokens will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call with tokens\\n * @param symbol The symbol of the token to be sent with the call\\n * @param amount The amount of tokens to be sent with the call\\n * @param gasToken The address of the ERC20 token used to pay for gas\\n * @param gasFeeAmount The amount of tokens to pay for gas\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payGasForContractCallWithToken(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n string calldata symbol,\\n uint256 amount,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n ) external;\\n\\n /**\\n * @notice Pay for gas using native currency for a contract call on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payNativeGasForContractCall(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n address refundAddress\\n ) external payable;\\n\\n /**\\n * @notice Pay for gas using native currency for a contract call with tokens on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call with tokens will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call with tokens\\n * @param symbol The symbol of the token to be sent with the call\\n * @param amount The amount of tokens to be sent with the call\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payNativeGasForContractCallWithToken(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n string calldata symbol,\\n uint256 amount,\\n address refundAddress\\n ) external payable;\\n\\n /**\\n * @notice Pay for gas using ERC20 tokens for an express contract call on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to express execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call\\n * @param gasToken The address of the ERC20 token used to pay for gas\\n * @param gasFeeAmount The amount of tokens to pay for gas\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payGasForExpressCall(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n ) external;\\n\\n /**\\n * @notice Pay for gas using ERC20 tokens for an express contract call with tokens on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to express execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call with tokens will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call with tokens\\n * @param symbol The symbol of the token to be sent with the call\\n * @param amount The amount of tokens to be sent with the call\\n * @param gasToken The address of the ERC20 token used to pay for gas\\n * @param gasFeeAmount The amount of tokens to pay for gas\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payGasForExpressCallWithToken(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n string calldata symbol,\\n uint256 amount,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n ) external;\\n\\n /**\\n * @notice Pay for gas using native currency for an express contract call on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to express execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payNativeGasForExpressCall(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n address refundAddress\\n ) external payable;\\n\\n /**\\n * @notice Pay for gas using native currency for an express contract call with tokens on a destination chain.\\n * @dev This function is called on the source chain before calling the gateway to express execute a remote contract.\\n * @param sender The address making the payment\\n * @param destinationChain The target chain where the contract call with tokens will be made\\n * @param destinationAddress The target address on the destination chain\\n * @param payload Data payload for the contract call with tokens\\n * @param symbol The symbol of the token to be sent with the call\\n * @param amount The amount of tokens to be sent with the call\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function payNativeGasForExpressCallWithToken(\\n address sender,\\n string calldata destinationChain,\\n string calldata destinationAddress,\\n bytes calldata payload,\\n string calldata symbol,\\n uint256 amount,\\n address refundAddress\\n ) external payable;\\n\\n /**\\n * @notice Add additional gas payment using ERC20 tokens after initiating a cross-chain call.\\n * @dev This function can be called on the source chain after calling the gateway to execute a remote contract.\\n * @param txHash The transaction hash of the cross-chain call\\n * @param logIndex The log index for the cross-chain call\\n * @param gasToken The ERC20 token address used to add gas\\n * @param gasFeeAmount The amount of tokens to add as gas\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function addGas(\\n bytes32 txHash,\\n uint256 logIndex,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n ) external;\\n\\n /**\\n * @notice Add additional gas payment using native currency after initiating a cross-chain call.\\n * @dev This function can be called on the source chain after calling the gateway to execute a remote contract.\\n * @param txHash The transaction hash of the cross-chain call\\n * @param logIndex The log index for the cross-chain call\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function addNativeGas(\\n bytes32 txHash,\\n uint256 logIndex,\\n address refundAddress\\n ) external payable;\\n\\n /**\\n * @notice Add additional gas payment using ERC20 tokens after initiating an express cross-chain call.\\n * @dev This function can be called on the source chain after calling the gateway to express execute a remote contract.\\n * @param txHash The transaction hash of the cross-chain call\\n * @param logIndex The log index for the cross-chain call\\n * @param gasToken The ERC20 token address used to add gas\\n * @param gasFeeAmount The amount of tokens to add as gas\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function addExpressGas(\\n bytes32 txHash,\\n uint256 logIndex,\\n address gasToken,\\n uint256 gasFeeAmount,\\n address refundAddress\\n ) external;\\n\\n /**\\n * @notice Add additional gas payment using native currency after initiating an express cross-chain call.\\n * @dev This function can be called on the source chain after calling the gateway to express execute a remote contract.\\n * @param txHash The transaction hash of the cross-chain call\\n * @param logIndex The log index for the cross-chain call\\n * @param refundAddress The address where refunds, if any, should be sent\\n */\\n function addNativeExpressGas(\\n bytes32 txHash,\\n uint256 logIndex,\\n address refundAddress\\n ) external payable;\\n\\n /**\\n * @notice Allows the gasCollector to collect accumulated fees from the contract.\\n * @dev Use address(0) as the token address for native currency.\\n * @param receiver The address to receive the collected fees\\n * @param tokens Array of token addresses to be collected\\n * @param amounts Array of amounts to be collected for each respective token address\\n */\\n function collectFees(\\n address payable receiver,\\n address[] calldata tokens,\\n uint256[] calldata amounts\\n ) external;\\n\\n /**\\n * @notice Refunds gas payment to the receiver in relation to a specific cross-chain transaction.\\n * @dev Only callable by the gasCollector.\\n * @dev Use address(0) as the token address to refund native currency.\\n * @param txHash The transaction hash of the cross-chain call\\n * @param logIndex The log index for the cross-chain call\\n * @param receiver The address to receive the refund\\n * @param token The token address to be refunded\\n * @param amount The amount to refund\\n */\\n function refund(\\n bytes32 txHash,\\n uint256 logIndex,\\n address payable receiver,\\n address token,\\n uint256 amount\\n ) external;\\n\\n /**\\n * @notice Returns the address of the designated gas collector.\\n * @return address of the gas collector\\n */\\n function gasCollector() external returns (address);\\n}\\n\",\"keccak256\":\"0x79ea1d76ed952ddf0dd052c7a6dc5b24af198addcb91da20ead5145c697ecb39\",\"license\":\"MIT\"},\"@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IContractIdentifier.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\n// General interface for upgradable contracts\\ninterface IContractIdentifier {\\n /**\\n * @notice Returns the contract ID. It can be used as a check during upgrades.\\n * @dev Meant to be overridden in derived contracts.\\n * @return bytes32 The contract ID\\n */\\n function contractId() external pure returns (bytes32);\\n}\\n\",\"keccak256\":\"0x21a94655f7f1ed3d7188bd38ce6187892c615b80f9a74e123cbc38113d855a35\",\"license\":\"MIT\"},\"@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IImplementation.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { IContractIdentifier } from './IContractIdentifier.sol';\\n\\ninterface IImplementation is IContractIdentifier {\\n error NotProxy();\\n\\n function setup(bytes calldata data) external;\\n}\\n\",\"keccak256\":\"0xa7f275514d44bec3ab8ab8c768736329174d7cc6c5cd329c3509a66bce9cd468\",\"license\":\"MIT\"},\"@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IOwnable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title IOwnable Interface\\n * @notice IOwnable is an interface that abstracts the implementation of a\\n * contract with ownership control features. It's commonly used in upgradable\\n * contracts and includes the functionality to get current owner, transfer\\n * ownership, and propose and accept ownership.\\n */\\ninterface IOwnable {\\n error NotOwner();\\n error InvalidOwner();\\n error InvalidOwnerAddress();\\n\\n event OwnershipTransferStarted(address indexed newOwner);\\n event OwnershipTransferred(address indexed newOwner);\\n\\n /**\\n * @notice Returns the current owner of the contract.\\n * @return address The address of the current owner\\n */\\n function owner() external view returns (address);\\n\\n /**\\n * @notice Returns the address of the pending owner of the contract.\\n * @return address The address of the pending owner\\n */\\n function pendingOwner() external view returns (address);\\n\\n /**\\n * @notice Transfers ownership of the contract to a new address\\n * @param newOwner The address to transfer ownership to\\n */\\n function transferOwnership(address newOwner) external;\\n\\n /**\\n * @notice Proposes to transfer the contract's ownership to a new address.\\n * The new owner needs to accept the ownership explicitly.\\n * @param newOwner The address to transfer ownership to\\n */\\n function proposeOwnership(address newOwner) external;\\n\\n /**\\n * @notice Transfers ownership to the pending owner.\\n * @dev Can only be called by the pending owner\\n */\\n function acceptOwnership() external;\\n}\\n\",\"keccak256\":\"0x5cb5691c9293e3011e1b133485411e8933ca1e110f2436a663df12991d134bf7\",\"license\":\"MIT\"},\"@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IUpgradable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.0;\\n\\nimport { IOwnable } from './IOwnable.sol';\\nimport { IImplementation } from './IImplementation.sol';\\n\\n// General interface for upgradable contracts\\ninterface IUpgradable is IOwnable, IImplementation {\\n error InvalidCodeHash();\\n error InvalidImplementation();\\n error SetupFailed();\\n\\n event Upgraded(address indexed newImplementation);\\n\\n function implementation() external view returns (address);\\n\\n function upgrade(\\n address newImplementation,\\n bytes32 newImplementationCodeHash,\\n bytes calldata params\\n ) external;\\n}\\n\",\"keccak256\":\"0x4e1f84c9711c3c15c77aee5fce8de99fcb49a902c7e6ff24626c924a60b8c22d\",\"license\":\"MIT\"},\"@layerzerolabs/lz-evm-protocol-v2/contracts/libs/Transfer.sol\":{\"content\":\"// SPDX-License-Identifier: LZBL-1.2\\n\\npragma solidity ^0.8.20;\\n\\nimport { SafeERC20 } from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport { IERC20 } from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\nlibrary Transfer {\\n using SafeERC20 for IERC20;\\n\\n address internal constant ADDRESS_ZERO = address(0);\\n\\n error Transfer_NativeFailed(address _to, uint256 _value);\\n error Transfer_ToAddressIsZero();\\n\\n function native(address _to, uint256 _value) internal {\\n if (_to == ADDRESS_ZERO) revert Transfer_ToAddressIsZero();\\n (bool success, ) = _to.call{ value: _value }(\\\"\\\");\\n if (!success) revert Transfer_NativeFailed(_to, _value);\\n }\\n\\n function token(address _token, address _to, uint256 _value) internal {\\n if (_to == ADDRESS_ZERO) revert Transfer_ToAddressIsZero();\\n IERC20(_token).safeTransfer(_to, _value);\\n }\\n\\n function nativeOrToken(address _token, address _to, uint256 _value) internal {\\n if (_token == ADDRESS_ZERO) {\\n native(_to, _value);\\n } else {\\n token(_token, _to, _value);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x621d6dd5b8b7e827351459fff4ac87c16ba4656757592cf67de8b199aea4cf9a\",\"license\":\"LZBL-1.2\"},\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n function __Ownable_init() internal onlyInitializing {\\n __Ownable_init_unchained();\\n }\\n\\n function __Ownable_init_unchained() internal onlyInitializing {\\n _transferOwnership(_msgSender());\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby disabling any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0x359a1ab89b46b9aba7bcad3fb651924baf4893d15153049b9976b0fc9be1358e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```solidity\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\n * }\\n *\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n * function initializeV2() reinitializer(2) public {\\n * __ERC20Permit_init(\\\"MyToken\\\");\\n * }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n * _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n * @custom:oz-retyped-from bool\\n */\\n uint8 private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint8 version);\\n\\n /**\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n * `onlyInitializing` functions can be used to initialize parent contracts.\\n *\\n * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\\n * constructor.\\n *\\n * Emits an {Initialized} event.\\n */\\n modifier initializer() {\\n bool isTopLevelCall = !_initializing;\\n require(\\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n _initialized = 1;\\n if (isTopLevelCall) {\\n _initializing = true;\\n }\\n _;\\n if (isTopLevelCall) {\\n _initializing = false;\\n emit Initialized(1);\\n }\\n }\\n\\n /**\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n * used to initialize parent contracts.\\n *\\n * A reinitializer may be used after the original initialization step. This is essential to configure modules that\\n * are added through upgrades and that require initialization.\\n *\\n * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\\n * cannot be nested. If one is invoked in the context of another, execution will revert.\\n *\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n * a contract, executing them in the right order is up to the developer or operator.\\n *\\n * WARNING: setting the version to 255 will prevent any future reinitialization.\\n *\\n * Emits an {Initialized} event.\\n */\\n modifier reinitializer(uint8 version) {\\n require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n _initialized = version;\\n _initializing = true;\\n _;\\n _initializing = false;\\n emit Initialized(version);\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n /**\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n * through proxies.\\n *\\n * Emits an {Initialized} event the first time it is successfully executed.\\n */\\n function _disableInitializers() internal virtual {\\n require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n if (_initialized != type(uint8).max) {\\n _initialized = type(uint8).max;\\n emit Initialized(type(uint8).max);\\n }\\n }\\n\\n /**\\n * @dev Returns the highest version that has been initialized. See {reinitializer}.\\n */\\n function _getInitializedVersion() internal view returns (uint8) {\\n return _initialized;\\n }\\n\\n /**\\n * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\\n */\\n function _isInitializing() internal view returns (bool) {\\n return _initializing;\\n }\\n}\\n\",\"keccak256\":\"0x89be10e757d242e9b18d5a32c9fbe2019f6d63052bbe46397a430a1d60d7f794\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n *\\n * Furthermore, `isContract` will also return true if the target contract within\\n * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\\n * which only has an effect at the end of a transaction.\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n *\\n * _Available since v4.8._\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n if (success) {\\n if (returndata.length == 0) {\\n // only check isContract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n }\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason or using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x9c80f545915582e63fe206c6ce27cbe85a86fc10b9cd2a0e8c9488fb7c2ee422\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\nimport {Initializable} from \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n function __Context_init() internal onlyInitializing {\\n }\\n\\n function __Context_init_unchained() internal onlyInitializing {\\n }\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n\\n function _contextSuffixLength() internal view virtual returns (uint256) {\\n return 0;\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0x75097e35253e7fb282ee4d7f27a80eaacfa759923185bf17302a89cbc059c5ef\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `to`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address to, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `from` to `to` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(address from, address to, uint256 amount) external returns (bool);\\n}\\n\",\"keccak256\":\"0x287b55befed2961a7eabd7d7b1b2839cbca8a5b80ef8dcbb25ed3d4c2002c305\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\\n *\\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\\n * need to send a transaction, and thus is not required to hold Ether at all.\\n *\\n * ==== Security Considerations\\n *\\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\\n * generally recommended is:\\n *\\n * ```solidity\\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\\n * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\\n * doThing(..., value);\\n * }\\n *\\n * function doThing(..., uint256 value) public {\\n * token.safeTransferFrom(msg.sender, address(this), value);\\n * ...\\n * }\\n * ```\\n *\\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\\n * {SafeERC20-safeTransferFrom}).\\n *\\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\\n * contracts should have entry points that don't rely on permit.\\n */\\ninterface IERC20Permit {\\n /**\\n * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\\n * given ``owner``'s signed approval.\\n *\\n * IMPORTANT: The same issues {IERC20-approve} has related to transaction\\n * ordering also apply here.\\n *\\n * Emits an {Approval} event.\\n *\\n * Requirements:\\n *\\n * - `spender` cannot be the zero address.\\n * - `deadline` must be a timestamp in the future.\\n * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\\n * over the EIP712-formatted function arguments.\\n * - the signature must use ``owner``'s current nonce (see {nonces}).\\n *\\n * For more information on the signature format, see the\\n * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\\n * section].\\n *\\n * CAUTION: See Security Considerations above.\\n */\\n function permit(\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) external;\\n\\n /**\\n * @dev Returns the current nonce for `owner`. This value must be\\n * included whenever a signature is generated for {permit}.\\n *\\n * Every successful call to {permit} increases ``owner``'s nonce by one. This\\n * prevents a signature from being used multiple times.\\n */\\n function nonces(address owner) external view returns (uint256);\\n\\n /**\\n * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\\n */\\n // solhint-disable-next-line func-name-mixedcase\\n function DOMAIN_SEPARATOR() external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0xb264c03a3442eb37a68ad620cefd1182766b58bee6cec40343480392d6b14d69\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../extensions/IERC20Permit.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using Address for address;\\n\\n /**\\n * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeTransfer(IERC20 token, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n /**\\n * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\\n * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\\n */\\n function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(IERC20 token, address spender, uint256 value) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n require(\\n (value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n /**\\n * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n uint256 oldAllowance = token.allowance(address(this), spender);\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));\\n }\\n\\n /**\\n * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful.\\n */\\n function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {\\n unchecked {\\n uint256 oldAllowance = token.allowance(address(this), spender);\\n require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));\\n }\\n }\\n\\n /**\\n * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\\n * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\\n * to be set to zero before setting it to a non-zero value, such as USDT.\\n */\\n function forceApprove(IERC20 token, address spender, uint256 value) internal {\\n bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);\\n\\n if (!_callOptionalReturnBool(token, approvalCall)) {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));\\n _callOptionalReturn(token, approvalCall);\\n }\\n }\\n\\n /**\\n * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.\\n * Revert on invalid signature.\\n */\\n function safePermit(\\n IERC20Permit token,\\n address owner,\\n address spender,\\n uint256 value,\\n uint256 deadline,\\n uint8 v,\\n bytes32 r,\\n bytes32 s\\n ) internal {\\n uint256 nonceBefore = token.nonces(owner);\\n token.permit(owner, spender, value, deadline, v, r, s);\\n uint256 nonceAfter = token.nonces(owner);\\n require(nonceAfter == nonceBefore + 1, \\\"SafeERC20: permit did not succeed\\\");\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n require(returndata.length == 0 || abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n *\\n * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\\n */\\n function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\\n // and not revert is the subcall reverts.\\n\\n (bool success, bytes memory returndata) = address(token).call(data);\\n return\\n success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));\\n }\\n}\\n\",\"keccak256\":\"0xabefac93435967b4d36a4fabcbdbb918d1f0b7ae3c3d85bc30923b326c927ed1\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n *\\n * Furthermore, `isContract` will also return true if the target contract within\\n * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\\n * which only has an effect at the end of a transaction.\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\\n *\\n * _Available since v4.8._\\n */\\n function verifyCallResultFromTarget(\\n address target,\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n if (success) {\\n if (returndata.length == 0) {\\n // only check isContract if the call was successful and the return data is empty\\n // otherwise we already know that it was a contract\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n }\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n /**\\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason or using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n _revert(returndata, errorMessage);\\n }\\n }\\n\\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x006dd67219697fe68d7fbfdea512e7c4cb64a43565ed86171d67e844982da6fa\",\"license\":\"MIT\"},\"contracts/interfaces/ILayerZeroPriceFeed.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.8.0;\\n\\ninterface ILayerZeroPriceFeed {\\n /**\\n * @dev\\n * priceRatio: (USD price of 1 unit of remote native token in unit of local native token) * PRICE_RATIO_DENOMINATOR\\n */\\n\\n struct Price {\\n uint128 priceRatio; // float value * 10 ^ 20, decimal awared. for aptos to evm, the basis would be (10^18 / 10^8) * 10 ^20 = 10 ^ 30.\\n uint64 gasPriceInUnit; // for evm, it is in wei, for aptos, it is in octas.\\n uint32 gasPerByte;\\n }\\n\\n struct UpdatePrice {\\n uint32 eid;\\n Price price;\\n }\\n\\n /**\\n * @dev\\n * ArbGasInfo.go:GetPricesInArbGas\\n *\\n */\\n struct ArbitrumPriceExt {\\n uint64 gasPerL2Tx; // L2 overhead\\n uint32 gasPerL1CallDataByte;\\n }\\n\\n struct UpdatePriceExt {\\n uint32 eid;\\n Price price;\\n ArbitrumPriceExt extend;\\n }\\n\\n error LZ_PriceFeed_OnlyPriceUpdater();\\n error LZ_PriceFeed_InsufficientFee(uint256 provided, uint256 required);\\n error LZ_PriceFeed_UnknownL2Eid(uint32 l2Eid);\\n\\n function nativeTokenPriceUSD() external view returns (uint128);\\n\\n function getFee(uint32 _dstEid, uint256 _callDataSize, uint256 _gas) external view returns (uint256);\\n\\n function getPrice(uint32 _dstEid) external view returns (Price memory);\\n\\n function getPriceRatioDenominator() external view returns (uint128);\\n\\n function estimateFeeByEid(\\n uint32 _dstEid,\\n uint256 _callDataSize,\\n uint256 _gas\\n ) external view returns (uint256 fee, uint128 priceRatio, uint128 priceRatioDenominator, uint128 nativePriceUSD);\\n\\n function estimateFeeOnSend(\\n uint32 _dstEid,\\n uint256 _callDataSize,\\n uint256 _gas\\n ) external payable returns (uint256 fee, uint128 priceRatio, uint128 priceRatioDenominator, uint128 nativePriceUSD);\\n}\\n\",\"keccak256\":\"0x56f65a2b19f45d10c5d15adcaab699483a3090861e895bbed392b0ea7944dc5b\",\"license\":\"MIT\"},\"contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol\":{\"content\":\"// SPDX-License-Identifier: LZBL-1.2\\n\\npragma solidity ^0.8.20;\\n\\nimport { Proxied } from \\\"hardhat-deploy/solc_0.8/proxy/Proxied.sol\\\";\\nimport { OwnableUpgradeable } from \\\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\\\";\\nimport { IAxelarGasService } from \\\"@axelar-network/axelar-gmp-sdk-solidity/contracts/interfaces/IAxelarGasService.sol\\\";\\nimport { Transfer } from \\\"@layerzerolabs/lz-evm-protocol-v2/contracts/libs/Transfer.sol\\\";\\n\\nimport { IAxelarDVNAdapter } from \\\"../../../interfaces/adapters/IAxelarDVNAdapter.sol\\\";\\nimport { IAxelarDVNAdapterFeeLib } from \\\"../../../interfaces/adapters/IAxelarDVNAdapterFeeLib.sol\\\";\\nimport { ILayerZeroPriceFeed } from \\\"../../../../interfaces/ILayerZeroPriceFeed.sol\\\";\\n\\ncontract AxelarDVNAdapterFeeLib is OwnableUpgradeable, Proxied, IAxelarDVNAdapterFeeLib {\\n uint16 internal constant BPS_DENOMINATOR = 10000;\\n\\n /// @dev to be applied to native gas fee before sending to Axelar Gas Service\\n uint16 public nativeGasFeeMultiplierBps;\\n\\n IAxelarDVNAdapter public dvn;\\n IAxelarGasService public gasService;\\n ILayerZeroPriceFeed public priceFeed;\\n\\n mapping(uint32 dstEid => DstConfig) public dstConfig;\\n\\n function initialize(\\n address _gasService,\\n address _dvn,\\n uint16 _nativeGasFeeMultiplierBps\\n ) external proxied initializer {\\n __Ownable_init();\\n gasService = IAxelarGasService(_gasService);\\n dvn = IAxelarDVNAdapter(_dvn);\\n nativeGasFeeMultiplierBps = _nativeGasFeeMultiplierBps;\\n }\\n\\n // ================================ OnlyOwner ================================\\n function withdrawToken(address _token, address _to, uint256 _amount) external onlyOwner {\\n // transfers native if _token is address(0x0)\\n Transfer.nativeOrToken(_token, _to, _amount);\\n emit TokenWithdrawn(_token, _to, _amount);\\n }\\n\\n function setGasService(address _gasService) external onlyOwner {\\n gasService = IAxelarGasService(_gasService);\\n emit GasServiceSet(_gasService);\\n }\\n\\n function setPriceFeed(address _priceFeed) external onlyOwner {\\n priceFeed = ILayerZeroPriceFeed(_priceFeed);\\n emit PriceFeedSet(_priceFeed);\\n }\\n\\n function setDstConfig(DstConfigParam[] calldata _param) external onlyOwner {\\n for (uint256 i = 0; i < _param.length; i++) {\\n DstConfigParam calldata param = _param[i];\\n dstConfig[param.dstEid] = DstConfig({ gas: param.gas, floorMarginUSD: param.floorMarginUSD });\\n }\\n emit DstConfigSet(_param);\\n }\\n\\n function setNativeGasFeeMultiplierBps(uint16 _multiplierBps) external onlyOwner {\\n nativeGasFeeMultiplierBps = _multiplierBps;\\n emit NativeGasFeeMultiplierBpsSet(_multiplierBps);\\n }\\n\\n // ================================ External ================================\\n function getFeeOnSend(\\n Param calldata _param,\\n IAxelarDVNAdapter.DstConfig calldata _dstConfig,\\n bytes memory _payload,\\n bytes calldata _options,\\n address _sendLib\\n ) external payable returns (uint256 totalFee) {\\n if (_dstConfig.nativeGasFee == 0) revert AxelarDVNAdapter_EidNotSupported(_param.dstEid);\\n if (_options.length > 0) revert AxelarDVNAdapter_OptionsUnsupported();\\n\\n uint256 axelarFee = _getAxelarFee(_dstConfig.nativeGasFee);\\n totalFee = _applyPremium(_dstConfig.multiplierBps, _param.defaultMultiplierBps, axelarFee);\\n\\n // withdraw from uln to fee lib if not enough balance\\n uint256 balance = address(this).balance;\\n if (balance < axelarFee) {\\n dvn.withdrawToFeeLib(_sendLib);\\n\\n // revert if still not enough\\n balance = address(this).balance;\\n if (balance < axelarFee) revert AxelarDVNAdapter_InsufficientBalance(balance, axelarFee);\\n }\\n\\n // pay axelar gas service\\n gasService.payNativeGasForContractCall{ value: axelarFee }(\\n msg.sender, // sender\\n _dstConfig.chainName, // destinationChain\\n _dstConfig.peer, // destinationAddress\\n _payload, // payload\\n address(this) // refundAddress\\n );\\n }\\n\\n function getFee(\\n Param calldata _param,\\n IAxelarDVNAdapter.DstConfig calldata _dstConfig,\\n bytes calldata _options\\n ) external view returns (uint256 totalFee) {\\n if (_dstConfig.nativeGasFee == 0) revert AxelarDVNAdapter_EidNotSupported(_param.dstEid);\\n if (_options.length > 0) revert AxelarDVNAdapter_OptionsUnsupported();\\n\\n uint256 axelarFee = _getAxelarFee(_dstConfig.nativeGasFee);\\n totalFee = _applyPremium(_dstConfig.multiplierBps, _param.defaultMultiplierBps, axelarFee);\\n }\\n\\n // ================================ Internal ================================\\n function _getAxelarFee(uint256 _nativeGasFee) internal view returns (uint256) {\\n return (_nativeGasFee * nativeGasFeeMultiplierBps) / BPS_DENOMINATOR;\\n }\\n\\n function _applyPremium(\\n uint16 multiplierBps,\\n uint16 defaultMultiplierBps,\\n uint256 fee\\n ) internal pure returns (uint256) {\\n uint256 multiplier = multiplierBps == 0 ? defaultMultiplierBps : multiplierBps;\\n return (fee * multiplier) / BPS_DENOMINATOR;\\n }\\n\\n receive() external payable {}\\n}\\n\",\"keccak256\":\"0x4395625059cc365b74f023a4a5fe413cb412440d7ab3bce13d5dfe2567c213c2\",\"license\":\"LZBL-1.2\"},\"contracts/uln/interfaces/adapters/IAxelarDVNAdapter.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.8.0;\\n\\ninterface IAxelarDVNAdapter {\\n struct MultiplierParam {\\n uint32 dstEid;\\n uint16 multiplierBps;\\n }\\n\\n struct FloorMarginUSDParam {\\n uint32 dstEid;\\n uint128 floorMarginUSD;\\n }\\n\\n struct NativeGasFeeParam {\\n uint32 dstEid;\\n uint256 nativeGasFee;\\n }\\n\\n struct DstConfigParam {\\n uint32 dstEid;\\n string chainName;\\n string peer;\\n uint16 multiplierBps;\\n uint256 nativeGasFee;\\n }\\n\\n struct DstConfig {\\n string chainName;\\n string peer;\\n uint16 multiplierBps;\\n uint256 nativeGasFee;\\n }\\n\\n event DstConfigSet(DstConfigParam[] params);\\n event NativeGasFeeSet(NativeGasFeeParam[] params);\\n event MultiplierSet(MultiplierParam[] params);\\n event FloorMarginUSDSet(FloorMarginUSDParam[] params);\\n\\n error AxelarDVNAdapter_UntrustedPeer(string chainName, string peer);\\n error AxelarDVNAdapter_OnlyWorkerFeeLib();\\n\\n function withdrawToFeeLib(address _sendLib) external;\\n}\\n\",\"keccak256\":\"0x4daaafa243c178bcbb1a7b1bd180ecfc028f300e9ff8845ceef5129ed08e8129\",\"license\":\"MIT\"},\"contracts/uln/interfaces/adapters/IAxelarDVNAdapterFeeLib.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity >=0.8.0;\\n\\nimport { IAxelarDVNAdapter } from \\\"./IAxelarDVNAdapter.sol\\\";\\n\\ninterface IAxelarDVNAdapterFeeLib {\\n struct Param {\\n uint32 dstEid;\\n uint64 confirmations;\\n address sender;\\n uint16 defaultMultiplierBps;\\n }\\n\\n struct DstConfig {\\n uint64 gas;\\n uint128 floorMarginUSD; // uses priceFeed PRICE_RATIO_DENOMINATOR\\n }\\n\\n struct DstConfigParam {\\n uint32 dstEid;\\n uint64 gas;\\n uint128 floorMarginUSD; // uses priceFeed PRICE_RATIO_DENOMINATOR\\n }\\n\\n event DstConfigSet(DstConfigParam[] params);\\n event TokenWithdrawn(address token, address to, uint256 amount);\\n event GasServiceSet(address gasService);\\n event PriceFeedSet(address priceFeed);\\n event NativeGasFeeMultiplierBpsSet(uint16 multiplierBps);\\n\\n error AxelarDVNAdapter_OptionsUnsupported();\\n error AxelarDVNAdapter_InsufficientBalance(uint256 actual, uint256 requested);\\n error AxelarDVNAdapter_EidNotSupported(uint32 eid);\\n\\n function getFeeOnSend(\\n Param calldata _params,\\n IAxelarDVNAdapter.DstConfig calldata _dstConfig,\\n bytes memory _payload,\\n bytes calldata _options,\\n address _sendLib\\n ) external payable returns (uint256 totalFee);\\n\\n function getFee(\\n Param calldata _params,\\n IAxelarDVNAdapter.DstConfig calldata _dstConfig,\\n bytes calldata _options\\n ) external view returns (uint256 totalFee);\\n}\\n\",\"keccak256\":\"0x494695873b2c667540efd0727fe101b9b06b9012884c0b8790790e620b6c2fc7\",\"license\":\"MIT\"},\"hardhat-deploy/solc_0.8/proxy/Proxied.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nabstract contract Proxied {\\n /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n /// It also allows these functions to be called inside a contructor\\n /// even if the contract is meant to be used without proxy\\n modifier proxied() {\\n address proxyAdminAddress = _proxyAdmin();\\n // With hardhat-deploy proxies\\n // the proxyAdminAddress is zero only for the implementation contract\\n // if the implementation contract want to be used as a standalone/immutable contract\\n // it simply has to execute the `proxied` function\\n // This ensure the proxyAdminAddress is never zero post deployment\\n // And allow you to keep the same code for both proxied contract and immutable contract\\n if (proxyAdminAddress == address(0)) {\\n // ensure can not be called twice when used outside of proxy : no admin\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n sstore(\\n 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n )\\n }\\n } else {\\n require(msg.sender == proxyAdminAddress);\\n }\\n _;\\n }\\n\\n modifier onlyProxyAdmin() {\\n require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n _;\\n }\\n\\n function _proxyAdmin() internal view returns (address ownerAddress) {\\n // solhint-disable-next-line security/no-inline-assembly\\n assembly {\\n ownerAddress := sload(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103)\\n }\\n }\\n}\\n\",\"keccak256\":\"0xaaceeafeeaf0d200ca3942d8bf14c1c4f787a77f79cc87c08bb668e65acdee29\",\"license\":\"MIT\"}},\"version\":1}",
|
|
588
|
+
"bytecode": "0x608060405234801561001057600080fd5b50611cd6806100206000396000f3fe6080604052600436106100f75760003560e01c80638596f3631161008a578063d135ca9311610059578063d135ca9314610352578063dfdd8b9014610373578063f0b81bb414610393578063f2fde38b146103b357600080fd5b80638596f363146102515780638da5cb5b146102715780639e9449651461029c578063b44966801461032457600080fd5b806371a6fbfe116100c657806371a6fbfe146101c4578063724e78da146101e4578063741bef1a146102045780637ebef5291461023157600080fd5b806301e336671461010357806317b00e7d146101255780636a22d8cc14610182578063715018a6146101af57600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e366004611569565b6103d3565b005b34801561013157600080fd5b506065546101589062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018e57600080fd5b506066546101589073ffffffffffffffffffffffffffffffffffffffff1681565b3480156101bb57600080fd5b50610123610443565b3480156101d057600080fd5b506101236101df3660046115b7565b610457565b3480156101f057600080fd5b506101236101ff3660046115d9565b6104c7565b34801561021057600080fd5b506067546101589073ffffffffffffffffffffffffffffffffffffffff1681565b34801561023d57600080fd5b5061012361024c3660046115f4565b610542565b34801561025d57600080fd5b5061012361026c366004611637565b610826565b34801561027d57600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610158565b3480156102a857600080fd5b506102f36102b73660046116c0565b60686020526000908152604090205467ffffffffffffffff8116906801000000000000000090046fffffffffffffffffffffffffffffffff1682565b6040805167ffffffffffffffff90931683526fffffffffffffffffffffffffffffffff909116602083015201610179565b34801561033057600080fd5b5060655461033f9061ffff1681565b60405161ffff9091168152602001610179565b61036561036036600461176b565b610974565b604051908152602001610179565b34801561037f57600080fd5b5061012361038e3660046115d9565b610bb3565b34801561039f57600080fd5b506103656103ae3660046118ac565b610c2e565b3480156103bf57600080fd5b506101236103ce3660046115d9565b610cbf565b6103db610d76565b6103e6838383610df7565b6040805173ffffffffffffffffffffffffffffffffffffffff8086168252841660208201529081018290527f8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e56209060600160405180910390a1505050565b61044b610d76565b6104556000610e2c565b565b61045f610d76565b606580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83169081179091556040519081527f9cdcd7ab8980314cc1c51bbe119a035a775ddb353b9b897287d010d00f4bb01c906020015b60405180910390a150565b6104cf610d76565b606780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f40d8738b990e6ff9a2f56f11247e657a1e7070472260b020a4fc3ab1844787bd906020016104bc565b600061056c7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff81166105c55773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103556105e7565b3373ffffffffffffffffffffffffffffffffffffffff8216146105e757600080fd5b600054610100900460ff16158080156106075750600054600160ff909116105b806106215750303b158015610621575060005460ff166001145b6106b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561071057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610718610ea3565b606680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691909117909155606580547fffffffffffffffffffff000000000000000000000000000000000000000000001662010000928716929092027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169190911761ffff8516179055801561081f57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b61082e610d76565b60005b81811015610936573683838381811061084c5761084c611924565b90506060020190506040518060400160405280826020016020810190610872919061196b565b67ffffffffffffffff16815260200161089160608401604085016119a6565b6fffffffffffffffffffffffffffffffff169052606860006108b660208501856116c0565b63ffffffff1681526020808201929092526040016000208251815493909201516fffffffffffffffffffffffffffffffff1668010000000000000000027fffffffffffffffff00000000000000000000000000000000000000000000000090931667ffffffffffffffff9092169190911791909117905550600101610831565b507f4bc47f7ad04f6122b687e6997c1313863ab8340f575aedbf8c2496fa5274861b82826040516109689291906119c1565b60405180910390a15050565b600085606001356000036109ca5761098f60208801886116c0565b6040517ff0951e9700000000000000000000000000000000000000000000000000000000815263ffffffff90911660048201526024016106a9565b8215610a02576040517f26cbb93300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610a118760600135610f42565b9050610a3c610a266060890160408a016115b7565b610a3660808b0160608c016115b7565b83610f6a565b91504781811015610b1a576065546040517f1271241700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526201000090920490911690631271241790602401600060405180830381600087803b158015610abb57600080fd5b505af1158015610acf573d6000803e3d6000fd5b5050505047905081811015610b1a576040517f576cbba300000000000000000000000000000000000000000000000000000000815260048101829052602481018390526044016106a9565b60665473ffffffffffffffffffffffffffffffffffffffff16630c93e3bb8333610b448c80611a4a565b610b5160208f018f611a4a565b8e306040518963ffffffff1660e01b8152600401610b759796959493929190611b66565b6000604051808303818588803b158015610b8e57600080fd5b505af1158015610ba2573d6000803e3d6000fd5b505050505050509695505050505050565b610bbb610d76565b606680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f83650e857191635cdf372edf115c49497fa8a7db67978cab532ffa395405803a906020016104bc565b60008360600135600003610c495761098f60208601866116c0565b8115610c81576040517f26cbb93300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610c908560600135610f42565b9050610cb5610ca560608701604088016115b7565b610a366080890160608a016115b7565b9695505050505050565b610cc7610d76565b73ffffffffffffffffffffffffffffffffffffffff8116610d6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106a9565b610d7381610e2c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff163314610455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a9565b73ffffffffffffffffffffffffffffffffffffffff8316610e2157610e1c8282610fa5565b505050565b610e1c8383836110ab565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610f3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106a9565b610455611119565b60655460009061271090610f5a9061ffff1684611bd6565b610f649190611c14565b92915050565b60008061ffff851615610f7d5784610f7f565b835b61ffff169050612710610f928285611bd6565b610f9c9190611c14565b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff8216610ff2576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461104c576040519150601f19603f3d011682016040523d82523d6000602084013e611051565b606091505b5050905080610e1c576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84166004820152602481018390526044016106a9565b73ffffffffffffffffffffffffffffffffffffffff82166110f8576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e1c73ffffffffffffffffffffffffffffffffffffffff841683836111b9565b600054610100900460ff166111b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106a9565b61045533610e2c565b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092018352602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152610e1c92869291600091611284918516908490611331565b90508051600014806112a55750808060200190518101906112a59190611c4f565b610e1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106a9565b60606113408484600085611348565b949350505050565b6060824710156113da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106a9565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516114039190611c71565b60006040518083038185875af1925050503d8060008114611440576040519150601f19603f3d011682016040523d82523d6000602084013e611445565b606091505b509150915061145687838387611461565b979650505050505050565b606083156114f75782516000036114f05773ffffffffffffffffffffffffffffffffffffffff85163b6114f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106a9565b5081611340565b611340838381511561150c5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a99190611c8d565b803573ffffffffffffffffffffffffffffffffffffffff8116811461156457600080fd5b919050565b60008060006060848603121561157e57600080fd5b61158784611540565b925061159560208501611540565b9150604084013590509250925092565b803561ffff8116811461156457600080fd5b6000602082840312156115c957600080fd5b6115d2826115a5565b9392505050565b6000602082840312156115eb57600080fd5b6115d282611540565b60008060006060848603121561160957600080fd5b61161284611540565b925061162060208501611540565b915061162e604085016115a5565b90509250925092565b6000806020838503121561164a57600080fd5b823567ffffffffffffffff8082111561166257600080fd5b818501915085601f83011261167657600080fd5b81358181111561168557600080fd5b86602060608302850101111561169a57600080fd5b60209290920196919550909350505050565b803563ffffffff8116811461156457600080fd5b6000602082840312156116d257600080fd5b6115d2826116ac565b6000608082840312156116ed57600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008083601f84011261173457600080fd5b50813567ffffffffffffffff81111561174c57600080fd5b60208301915083602082850101111561176457600080fd5b9250929050565b600080600080600080610100878903121561178557600080fd5b61178f88886116db565b9550608087013567ffffffffffffffff808211156117ac57600080fd5b6117b88a838b016116db565b965060a08901359150808211156117ce57600080fd5b818901915089601f8301126117e257600080fd5b8135818111156117f4576117f46116f3565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561183a5761183a6116f3565b816040528281528c602084870101111561185357600080fd5b8260208601602083013760006020848301015280985050505060c089013591508082111561188057600080fd5b5061188d89828a01611722565b90945092506118a0905060e08801611540565b90509295509295509295565b60008060008060c085870312156118c257600080fd5b6118cc86866116db565b9350608085013567ffffffffffffffff808211156118e957600080fd5b6118f5888389016116db565b945060a087013591508082111561190b57600080fd5b5061191887828801611722565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff8116811461156457600080fd5b60006020828403121561197d57600080fd5b6115d282611953565b80356fffffffffffffffffffffffffffffffff8116811461156457600080fd5b6000602082840312156119b857600080fd5b6115d282611986565b6020808252818101839052600090604080840186845b87811015611a3d5763ffffffff6119ed836116ac565b16835267ffffffffffffffff611a04868401611953565b16858401526fffffffffffffffffffffffffffffffff611a25858401611986565b168385015260609283019291909101906001016119d7565b5090979650505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611a7f57600080fd5b83018035915067ffffffffffffffff821115611a9a57600080fd5b60200191503681900382131561176457600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60005b83811015611b13578181015183820152602001611afb565b50506000910152565b60008151808452611b34816020860160208601611af8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff808a16835260a06020840152611b9760a08401898b611aaf565b8381036040850152611baa81888a611aaf565b90508381036060850152611bbe8187611b1c565b92505080841660808401525098975050505050505050565b8082028115828204841417610f64577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082611c4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215611c6157600080fd5b815180151581146115d257600080fd5b60008251611c83818460208701611af8565b9190910192915050565b6020815260006115d26020830184611b1c56fea2646970667358221220c5d1515560bb923927d516ff570aacfa0832b594c32f6fe961c7f3b1cabd489464736f6c63430008160033",
|
|
589
|
+
"deployedBytecode": "0x6080604052600436106100f75760003560e01c80638596f3631161008a578063d135ca9311610059578063d135ca9314610352578063dfdd8b9014610373578063f0b81bb414610393578063f2fde38b146103b357600080fd5b80638596f363146102515780638da5cb5b146102715780639e9449651461029c578063b44966801461032457600080fd5b806371a6fbfe116100c657806371a6fbfe146101c4578063724e78da146101e4578063741bef1a146102045780637ebef5291461023157600080fd5b806301e336671461010357806317b00e7d146101255780636a22d8cc14610182578063715018a6146101af57600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e366004611569565b6103d3565b005b34801561013157600080fd5b506065546101589062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561018e57600080fd5b506066546101589073ffffffffffffffffffffffffffffffffffffffff1681565b3480156101bb57600080fd5b50610123610443565b3480156101d057600080fd5b506101236101df3660046115b7565b610457565b3480156101f057600080fd5b506101236101ff3660046115d9565b6104c7565b34801561021057600080fd5b506067546101589073ffffffffffffffffffffffffffffffffffffffff1681565b34801561023d57600080fd5b5061012361024c3660046115f4565b610542565b34801561025d57600080fd5b5061012361026c366004611637565b610826565b34801561027d57600080fd5b5060335473ffffffffffffffffffffffffffffffffffffffff16610158565b3480156102a857600080fd5b506102f36102b73660046116c0565b60686020526000908152604090205467ffffffffffffffff8116906801000000000000000090046fffffffffffffffffffffffffffffffff1682565b6040805167ffffffffffffffff90931683526fffffffffffffffffffffffffffffffff909116602083015201610179565b34801561033057600080fd5b5060655461033f9061ffff1681565b60405161ffff9091168152602001610179565b61036561036036600461176b565b610974565b604051908152602001610179565b34801561037f57600080fd5b5061012361038e3660046115d9565b610bb3565b34801561039f57600080fd5b506103656103ae3660046118ac565b610c2e565b3480156103bf57600080fd5b506101236103ce3660046115d9565b610cbf565b6103db610d76565b6103e6838383610df7565b6040805173ffffffffffffffffffffffffffffffffffffffff8086168252841660208201529081018290527f8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e56209060600160405180910390a1505050565b61044b610d76565b6104556000610e2c565b565b61045f610d76565b606580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff83169081179091556040519081527f9cdcd7ab8980314cc1c51bbe119a035a775ddb353b9b897287d010d00f4bb01c906020015b60405180910390a150565b6104cf610d76565b606780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f40d8738b990e6ff9a2f56f11247e657a1e7070472260b020a4fc3ab1844787bd906020016104bc565b600061056c7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff81166105c55773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103556105e7565b3373ffffffffffffffffffffffffffffffffffffffff8216146105e757600080fd5b600054610100900460ff16158080156106075750600054600160ff909116105b806106215750303b158015610621575060005460ff166001145b6106b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561071057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610718610ea3565b606680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691909117909155606580547fffffffffffffffffffff000000000000000000000000000000000000000000001662010000928716929092027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169190911761ffff8516179055801561081f57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b61082e610d76565b60005b81811015610936573683838381811061084c5761084c611924565b90506060020190506040518060400160405280826020016020810190610872919061196b565b67ffffffffffffffff16815260200161089160608401604085016119a6565b6fffffffffffffffffffffffffffffffff169052606860006108b660208501856116c0565b63ffffffff1681526020808201929092526040016000208251815493909201516fffffffffffffffffffffffffffffffff1668010000000000000000027fffffffffffffffff00000000000000000000000000000000000000000000000090931667ffffffffffffffff9092169190911791909117905550600101610831565b507f4bc47f7ad04f6122b687e6997c1313863ab8340f575aedbf8c2496fa5274861b82826040516109689291906119c1565b60405180910390a15050565b600085606001356000036109ca5761098f60208801886116c0565b6040517ff0951e9700000000000000000000000000000000000000000000000000000000815263ffffffff90911660048201526024016106a9565b8215610a02576040517f26cbb93300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610a118760600135610f42565b9050610a3c610a266060890160408a016115b7565b610a3660808b0160608c016115b7565b83610f6a565b91504781811015610b1a576065546040517f1271241700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526201000090920490911690631271241790602401600060405180830381600087803b158015610abb57600080fd5b505af1158015610acf573d6000803e3d6000fd5b5050505047905081811015610b1a576040517f576cbba300000000000000000000000000000000000000000000000000000000815260048101829052602481018390526044016106a9565b60665473ffffffffffffffffffffffffffffffffffffffff16630c93e3bb8333610b448c80611a4a565b610b5160208f018f611a4a565b8e306040518963ffffffff1660e01b8152600401610b759796959493929190611b66565b6000604051808303818588803b158015610b8e57600080fd5b505af1158015610ba2573d6000803e3d6000fd5b505050505050509695505050505050565b610bbb610d76565b606680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f83650e857191635cdf372edf115c49497fa8a7db67978cab532ffa395405803a906020016104bc565b60008360600135600003610c495761098f60208601866116c0565b8115610c81576040517f26cbb93300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610c908560600135610f42565b9050610cb5610ca560608701604088016115b7565b610a366080890160608a016115b7565b9695505050505050565b610cc7610d76565b73ffffffffffffffffffffffffffffffffffffffff8116610d6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106a9565b610d7381610e2c565b50565b60335473ffffffffffffffffffffffffffffffffffffffff163314610455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a9565b73ffffffffffffffffffffffffffffffffffffffff8316610e2157610e1c8282610fa5565b505050565b610e1c8383836110ab565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16610f3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106a9565b610455611119565b60655460009061271090610f5a9061ffff1684611bd6565b610f649190611c14565b92915050565b60008061ffff851615610f7d5784610f7f565b835b61ffff169050612710610f928285611bd6565b610f9c9190611c14565b95945050505050565b73ffffffffffffffffffffffffffffffffffffffff8216610ff2576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461104c576040519150601f19603f3d011682016040523d82523d6000602084013e611051565b606091505b5050905080610e1c576040517f465bc83400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84166004820152602481018390526044016106a9565b73ffffffffffffffffffffffffffffffffffffffff82166110f8576040517f6b7a931000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e1c73ffffffffffffffffffffffffffffffffffffffff841683836111b9565b600054610100900460ff166111b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106a9565b61045533610e2c565b6040805173ffffffffffffffffffffffffffffffffffffffff848116602483015260448083018590528351808403909101815260649092018352602080830180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152610e1c92869291600091611284918516908490611331565b90508051600014806112a55750808060200190518101906112a59190611c4f565b610e1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016106a9565b60606113408484600085611348565b949350505050565b6060824710156113da576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016106a9565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516114039190611c71565b60006040518083038185875af1925050503d8060008114611440576040519150601f19603f3d011682016040523d82523d6000602084013e611445565b606091505b509150915061145687838387611461565b979650505050505050565b606083156114f75782516000036114f05773ffffffffffffffffffffffffffffffffffffffff85163b6114f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106a9565b5081611340565b611340838381511561150c5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a99190611c8d565b803573ffffffffffffffffffffffffffffffffffffffff8116811461156457600080fd5b919050565b60008060006060848603121561157e57600080fd5b61158784611540565b925061159560208501611540565b9150604084013590509250925092565b803561ffff8116811461156457600080fd5b6000602082840312156115c957600080fd5b6115d2826115a5565b9392505050565b6000602082840312156115eb57600080fd5b6115d282611540565b60008060006060848603121561160957600080fd5b61161284611540565b925061162060208501611540565b915061162e604085016115a5565b90509250925092565b6000806020838503121561164a57600080fd5b823567ffffffffffffffff8082111561166257600080fd5b818501915085601f83011261167657600080fd5b81358181111561168557600080fd5b86602060608302850101111561169a57600080fd5b60209290920196919550909350505050565b803563ffffffff8116811461156457600080fd5b6000602082840312156116d257600080fd5b6115d2826116ac565b6000608082840312156116ed57600080fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008083601f84011261173457600080fd5b50813567ffffffffffffffff81111561174c57600080fd5b60208301915083602082850101111561176457600080fd5b9250929050565b600080600080600080610100878903121561178557600080fd5b61178f88886116db565b9550608087013567ffffffffffffffff808211156117ac57600080fd5b6117b88a838b016116db565b965060a08901359150808211156117ce57600080fd5b818901915089601f8301126117e257600080fd5b8135818111156117f4576117f46116f3565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561183a5761183a6116f3565b816040528281528c602084870101111561185357600080fd5b8260208601602083013760006020848301015280985050505060c089013591508082111561188057600080fd5b5061188d89828a01611722565b90945092506118a0905060e08801611540565b90509295509295509295565b60008060008060c085870312156118c257600080fd5b6118cc86866116db565b9350608085013567ffffffffffffffff808211156118e957600080fd5b6118f5888389016116db565b945060a087013591508082111561190b57600080fd5b5061191887828801611722565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b803567ffffffffffffffff8116811461156457600080fd5b60006020828403121561197d57600080fd5b6115d282611953565b80356fffffffffffffffffffffffffffffffff8116811461156457600080fd5b6000602082840312156119b857600080fd5b6115d282611986565b6020808252818101839052600090604080840186845b87811015611a3d5763ffffffff6119ed836116ac565b16835267ffffffffffffffff611a04868401611953565b16858401526fffffffffffffffffffffffffffffffff611a25858401611986565b168385015260609283019291909101906001016119d7565b5090979650505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611a7f57600080fd5b83018035915067ffffffffffffffff821115611a9a57600080fd5b60200191503681900382131561176457600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60005b83811015611b13578181015183820152602001611afb565b50506000910152565b60008151808452611b34816020860160208601611af8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff808a16835260a06020840152611b9760a08401898b611aaf565b8381036040850152611baa81888a611aaf565b90508381036060850152611bbe8187611b1c565b92505080841660808401525098975050505050505050565b8082028115828204841417610f64577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082611c4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215611c6157600080fd5b815180151581146115d257600080fd5b60008251611c83818460208701611af8565b9190910192915050565b6020815260006115d26020830184611b1c56fea2646970667358221220c5d1515560bb923927d516ff570aacfa0832b594c32f6fe961c7f3b1cabd489464736f6c63430008160033",
|
|
590
|
+
"devdoc": {
|
|
591
|
+
"events": {
|
|
592
|
+
"Initialized(uint8)": {
|
|
593
|
+
"details": "Triggered when the contract has been initialized or reinitialized."
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"kind": "dev",
|
|
597
|
+
"methods": {
|
|
598
|
+
"owner()": {
|
|
599
|
+
"details": "Returns the address of the current owner."
|
|
600
|
+
},
|
|
601
|
+
"renounceOwnership()": {
|
|
602
|
+
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."
|
|
603
|
+
},
|
|
604
|
+
"transferOwnership(address)": {
|
|
605
|
+
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"stateVariables": {
|
|
609
|
+
"nativeGasFeeMultiplierBps": {
|
|
610
|
+
"details": "to be applied to native gas fee before sending to Axelar Gas Service"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"version": 1
|
|
614
|
+
},
|
|
615
|
+
"userdoc": {
|
|
616
|
+
"kind": "user",
|
|
617
|
+
"methods": {},
|
|
618
|
+
"version": 1
|
|
619
|
+
},
|
|
620
|
+
"storageLayout": {
|
|
621
|
+
"storage": [
|
|
622
|
+
{
|
|
623
|
+
"astId": 5387,
|
|
624
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
625
|
+
"label": "_initialized",
|
|
626
|
+
"offset": 0,
|
|
627
|
+
"slot": "0",
|
|
628
|
+
"type": "t_uint8"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"astId": 5390,
|
|
632
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
633
|
+
"label": "_initializing",
|
|
634
|
+
"offset": 1,
|
|
635
|
+
"slot": "0",
|
|
636
|
+
"type": "t_bool"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"astId": 6142,
|
|
640
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
641
|
+
"label": "__gap",
|
|
642
|
+
"offset": 0,
|
|
643
|
+
"slot": "1",
|
|
644
|
+
"type": "t_array(t_uint256)50_storage"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"astId": 5259,
|
|
648
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
649
|
+
"label": "_owner",
|
|
650
|
+
"offset": 0,
|
|
651
|
+
"slot": "51",
|
|
652
|
+
"type": "t_address"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"astId": 5379,
|
|
656
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
657
|
+
"label": "__gap",
|
|
658
|
+
"offset": 0,
|
|
659
|
+
"slot": "52",
|
|
660
|
+
"type": "t_array(t_uint256)49_storage"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"astId": 23662,
|
|
664
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
665
|
+
"label": "nativeGasFeeMultiplierBps",
|
|
666
|
+
"offset": 0,
|
|
667
|
+
"slot": "101",
|
|
668
|
+
"type": "t_uint16"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"astId": 23665,
|
|
672
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
673
|
+
"label": "dvn",
|
|
674
|
+
"offset": 2,
|
|
675
|
+
"slot": "101",
|
|
676
|
+
"type": "t_contract(IAxelarDVNAdapter)24679"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"astId": 23668,
|
|
680
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
681
|
+
"label": "gasService",
|
|
682
|
+
"offset": 0,
|
|
683
|
+
"slot": "102",
|
|
684
|
+
"type": "t_contract(IAxelarGasService)1520"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"astId": 23671,
|
|
688
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
689
|
+
"label": "priceFeed",
|
|
690
|
+
"offset": 0,
|
|
691
|
+
"slot": "103",
|
|
692
|
+
"type": "t_contract(ILayerZeroPriceFeed)17969"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"astId": 23676,
|
|
696
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
697
|
+
"label": "dstConfig",
|
|
698
|
+
"offset": 0,
|
|
699
|
+
"slot": "104",
|
|
700
|
+
"type": "t_mapping(t_uint32,t_struct(DstConfig)24697_storage)"
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
"types": {
|
|
704
|
+
"t_address": {
|
|
705
|
+
"encoding": "inplace",
|
|
706
|
+
"label": "address",
|
|
707
|
+
"numberOfBytes": "20"
|
|
708
|
+
},
|
|
709
|
+
"t_array(t_uint256)49_storage": {
|
|
710
|
+
"base": "t_uint256",
|
|
711
|
+
"encoding": "inplace",
|
|
712
|
+
"label": "uint256[49]",
|
|
713
|
+
"numberOfBytes": "1568"
|
|
714
|
+
},
|
|
715
|
+
"t_array(t_uint256)50_storage": {
|
|
716
|
+
"base": "t_uint256",
|
|
717
|
+
"encoding": "inplace",
|
|
718
|
+
"label": "uint256[50]",
|
|
719
|
+
"numberOfBytes": "1600"
|
|
720
|
+
},
|
|
721
|
+
"t_bool": {
|
|
722
|
+
"encoding": "inplace",
|
|
723
|
+
"label": "bool",
|
|
724
|
+
"numberOfBytes": "1"
|
|
725
|
+
},
|
|
726
|
+
"t_contract(IAxelarDVNAdapter)24679": {
|
|
727
|
+
"encoding": "inplace",
|
|
728
|
+
"label": "contract IAxelarDVNAdapter",
|
|
729
|
+
"numberOfBytes": "20"
|
|
730
|
+
},
|
|
731
|
+
"t_contract(IAxelarGasService)1520": {
|
|
732
|
+
"encoding": "inplace",
|
|
733
|
+
"label": "contract IAxelarGasService",
|
|
734
|
+
"numberOfBytes": "20"
|
|
735
|
+
},
|
|
736
|
+
"t_contract(ILayerZeroPriceFeed)17969": {
|
|
737
|
+
"encoding": "inplace",
|
|
738
|
+
"label": "contract ILayerZeroPriceFeed",
|
|
739
|
+
"numberOfBytes": "20"
|
|
740
|
+
},
|
|
741
|
+
"t_mapping(t_uint32,t_struct(DstConfig)24697_storage)": {
|
|
742
|
+
"encoding": "mapping",
|
|
743
|
+
"key": "t_uint32",
|
|
744
|
+
"label": "mapping(uint32 => struct IAxelarDVNAdapterFeeLib.DstConfig)",
|
|
745
|
+
"numberOfBytes": "32",
|
|
746
|
+
"value": "t_struct(DstConfig)24697_storage"
|
|
747
|
+
},
|
|
748
|
+
"t_struct(DstConfig)24697_storage": {
|
|
749
|
+
"encoding": "inplace",
|
|
750
|
+
"label": "struct IAxelarDVNAdapterFeeLib.DstConfig",
|
|
751
|
+
"members": [
|
|
752
|
+
{
|
|
753
|
+
"astId": 24694,
|
|
754
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
755
|
+
"label": "gas",
|
|
756
|
+
"offset": 0,
|
|
757
|
+
"slot": "0",
|
|
758
|
+
"type": "t_uint64"
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"astId": 24696,
|
|
762
|
+
"contract": "contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol:AxelarDVNAdapterFeeLib",
|
|
763
|
+
"label": "floorMarginUSD",
|
|
764
|
+
"offset": 8,
|
|
765
|
+
"slot": "0",
|
|
766
|
+
"type": "t_uint128"
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"numberOfBytes": "32"
|
|
770
|
+
},
|
|
771
|
+
"t_uint128": {
|
|
772
|
+
"encoding": "inplace",
|
|
773
|
+
"label": "uint128",
|
|
774
|
+
"numberOfBytes": "16"
|
|
775
|
+
},
|
|
776
|
+
"t_uint16": {
|
|
777
|
+
"encoding": "inplace",
|
|
778
|
+
"label": "uint16",
|
|
779
|
+
"numberOfBytes": "2"
|
|
780
|
+
},
|
|
781
|
+
"t_uint256": {
|
|
782
|
+
"encoding": "inplace",
|
|
783
|
+
"label": "uint256",
|
|
784
|
+
"numberOfBytes": "32"
|
|
785
|
+
},
|
|
786
|
+
"t_uint32": {
|
|
787
|
+
"encoding": "inplace",
|
|
788
|
+
"label": "uint32",
|
|
789
|
+
"numberOfBytes": "4"
|
|
790
|
+
},
|
|
791
|
+
"t_uint64": {
|
|
792
|
+
"encoding": "inplace",
|
|
793
|
+
"label": "uint64",
|
|
794
|
+
"numberOfBytes": "8"
|
|
795
|
+
},
|
|
796
|
+
"t_uint8": {
|
|
797
|
+
"encoding": "inplace",
|
|
798
|
+
"label": "uint8",
|
|
799
|
+
"numberOfBytes": "1"
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}
|