@layerzerolabs/lz-evm-messagelib-v2 2.0.13 → 2.0.15
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/Executor.sol/Executor.json +20 -20
- package/artifacts/contracts/ExecutorFeeLib.sol/ExecutorFeeLib.json +19 -19
- package/artifacts/contracts/MessageLibBase.sol/MessageLibBase.json +1 -1
- package/artifacts/contracts/PriceFeed.sol/PriceFeed.json +15 -15
- package/artifacts/contracts/ReceiveLibBaseE2.sol/ReceiveLibBaseE2.json +1 -1
- package/artifacts/contracts/SendLibBase.sol/SendLibBase.json +6 -6
- package/artifacts/contracts/SendLibBaseE2.sol/SendLibBaseE2.json +10 -10
- package/artifacts/contracts/Treasury.sol/Treasury.json +9 -9
- package/artifacts/contracts/Worker.sol/Worker.json +18 -18
- package/artifacts/contracts/interfaces/IExecutor.sol/IExecutor.json +3 -3
- package/artifacts/contracts/interfaces/IExecutorFeeLib.sol/IExecutorFeeLib.json +4 -4
- package/artifacts/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +3 -3
- package/artifacts/contracts/interfaces/IWorker.sol/IWorker.json +3 -3
- package/artifacts/contracts/uln/LzExecutor.sol/IReceiveUlnView.json +35 -0
- package/artifacts/contracts/uln/LzExecutor.sol/LzExecutor.json +279 -20
- package/artifacts/contracts/uln/ReceiveUlnBase.sol/ReceiveUlnBase.json +90 -11
- package/artifacts/contracts/uln/SendUlnBase.sol/SendUlnBase.json +7 -7
- package/artifacts/contracts/uln/UlnBase.sol/UlnBase.json +7 -7
- package/artifacts/contracts/uln/dvn/DVN.sol/DVN.json +31 -31
- package/artifacts/contracts/uln/dvn/DVNFeeLib.sol/DVNFeeLib.json +14 -14
- package/artifacts/contracts/uln/dvn/MultiSig.sol/MultiSig.json +5 -5
- package/artifacts/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapter.sol/CCIPDVNAdapter.json +488 -169
- package/artifacts/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapterFeeLib.sol/CCIPDVNAdapterFeeLib.json +372 -16
- package/artifacts/contracts/uln/dvn/adapters/DVNAdapterBase.sol/DVNAdapterBase.json +419 -93
- package/artifacts/contracts/uln/dvn/adapters/DVNAdapterBase.sol/IReceiveUln.json +34 -0
- package/artifacts/contracts/uln/dvn/adapters/DVNAdapterBase.sol/ISendLibBase.json +30 -0
- package/artifacts/contracts/uln/dvn/adapters/arbitrum/ArbitrumDVNAdapterL1.sol/ArbitrumDVNAdapterL1.json +936 -0
- package/artifacts/contracts/uln/dvn/adapters/arbitrum/ArbitrumDVNAdapterL2.sol/ArbitrumDVNAdapterL2.json +868 -0
- package/artifacts/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapter.sol/AxelarDVNAdapter.json +611 -249
- package/artifacts/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapter.sol/ISendLibBase.json +30 -0
- package/artifacts/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol/AxelarDVNAdapterFeeLib.json +526 -13
- package/artifacts/contracts/uln/dvn/adapters/libs/DVNAdapterMessageCodec.sol/DVNAdapterMessageCodec.json +16 -0
- package/artifacts/contracts/uln/dvn/adapters/optimism/OptimismDVNAdapterL1.sol/OptimismDVNAdapterL1.json +924 -0
- package/artifacts/contracts/uln/dvn/adapters/optimism/OptimismDVNAdapterL2.sol/OptimismDVNAdapterL2.json +891 -0
- package/artifacts/contracts/uln/interfaces/IDVN.sol/IDVN.json +3 -3
- package/artifacts/contracts/uln/interfaces/IDVNFeeLib.sol/IDVNFeeLib.json +1 -1
- package/artifacts/contracts/uln/interfaces/IReceiveUlnE2.sol/IReceiveUlnE2.json +0 -24
- package/artifacts/contracts/uln/interfaces/adapters/IAxelarDVNAdapter.sol/IAxelarDVNAdapter.json +160 -0
- package/artifacts/contracts/uln/interfaces/adapters/IAxelarDVNAdapterFeeLib.sol/IAxelarDVNAdapterFeeLib.json +282 -0
- package/artifacts/contracts/uln/interfaces/adapters/ICCIPDVNAdapter.sol/ICCIPDVNAdapter.json +91 -0
- package/artifacts/contracts/uln/interfaces/adapters/ICCIPDVNAdapterFeeLib.sol/ICCIPDVNAdapterFeeLib.json +290 -0
- package/artifacts/contracts/uln/libs/DVNOptions.sol/DVNOptions.json +4 -4
- package/artifacts/contracts/uln/libs/UlnOptions.sol/UlnOptions.json +7 -7
- package/artifacts/contracts/uln/uln301/AddressSizeConfig.sol/AddressSizeConfig.json +2 -2
- package/artifacts/contracts/uln/uln301/ReceiveLibBaseE1.sol/ReceiveLibBaseE1.json +5 -5
- package/artifacts/contracts/uln/uln301/ReceiveUln301.sol/ReceiveUln301.json +88 -57
- package/artifacts/contracts/uln/uln301/ReceiveUln301View.sol/IReceiveUln301.json +178 -0
- package/artifacts/contracts/uln/uln301/ReceiveUln301View.sol/ReceiveUln301View.json +126 -0
- package/artifacts/contracts/uln/uln301/SendLibBaseE1.sol/SendLibBaseE1.json +15 -15
- package/artifacts/contracts/uln/uln301/SendUln301.sol/SendUln301.json +76 -76
- package/artifacts/contracts/uln/uln301/TreasuryFeeHandler.sol/TreasuryFeeHandler.json +5 -5
- package/artifacts/contracts/uln/uln301/interfaces/IMessageLibE1.sol/IMessageLibE1.json +4 -4
- package/artifacts/contracts/uln/uln302/ReceiveUln302.sol/ReceiveUln302.json +79 -24
- package/artifacts/contracts/uln/uln302/ReceiveUln302View.sol/IReceiveUln302.json +146 -0
- package/artifacts/contracts/uln/uln302/ReceiveUln302View.sol/ReceiveUln302View.json +251 -0
- package/artifacts/contracts/uln/uln302/SendUln302.sol/SendUln302.json +75 -75
- package/artifacts/contracts/upgradeable/WorkerUpgradeable.sol/WorkerUpgradeable.json +18 -18
- package/contracts/ExecutorFeeLib.sol +6 -6
- package/contracts/MessageLibBase.sol +2 -2
- package/contracts/PriceFeed.sol +3 -3
- package/contracts/ReceiveLibBaseE2.sol +0 -26
- package/contracts/SendLibBase.sol +10 -10
- package/contracts/SendLibBaseE2.sol +4 -4
- package/contracts/Treasury.sol +2 -2
- package/contracts/Worker.sol +3 -3
- package/contracts/interfaces/IExecutorFeeLib.sol +4 -4
- package/contracts/interfaces/ILayerZeroPriceFeed.sol +3 -3
- package/contracts/interfaces/IWorker.sol +3 -3
- package/contracts/uln/LzExecutor.sol +51 -19
- package/contracts/uln/ReceiveUlnBase.sol +21 -14
- package/contracts/uln/UlnBase.sol +19 -19
- package/contracts/uln/dvn/DVN.sol +16 -16
- package/contracts/uln/dvn/DVNFeeLib.sol +2 -2
- package/contracts/uln/dvn/MultiSig.sol +13 -13
- package/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapter.sol +95 -97
- package/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapterFeeLib.sol +64 -2
- package/contracts/uln/dvn/adapters/DVNAdapterBase.sol +74 -124
- package/contracts/uln/dvn/adapters/arbitrum/ArbitrumDVNAdapterL1.sol +126 -0
- package/contracts/uln/dvn/adapters/arbitrum/ArbitrumDVNAdapterL2.sol +50 -0
- package/contracts/uln/dvn/adapters/avalanche/NOTES.md +4 -0
- package/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapter.sol +85 -100
- package/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol +121 -2
- package/contracts/uln/dvn/adapters/libs/DVNAdapterMessageCodec.sol +36 -0
- package/contracts/uln/dvn/adapters/optimism/OptimismDVNAdapterL1.sol +86 -0
- package/contracts/uln/dvn/adapters/optimism/OptimismDVNAdapterL2.sol +58 -0
- package/contracts/uln/interfaces/IDVNFeeLib.sol +1 -1
- package/contracts/uln/interfaces/IReceiveUlnE2.sol +0 -5
- package/contracts/uln/interfaces/adapters/IAxelarDVNAdapter.sol +45 -0
- package/contracts/uln/interfaces/adapters/IAxelarDVNAdapterFeeLib.sol +48 -0
- package/contracts/uln/interfaces/adapters/ICCIPDVNAdapter.sol +30 -0
- package/contracts/uln/interfaces/adapters/ICCIPDVNAdapterFeeLib.sol +45 -0
- package/contracts/uln/libs/DVNOptions.sol +6 -6
- package/contracts/uln/libs/UlnOptions.sol +13 -13
- package/contracts/uln/uln301/AddressSizeConfig.sol +4 -4
- package/contracts/uln/uln301/ReceiveLibBaseE1.sol +4 -4
- package/contracts/uln/uln301/ReceiveUln301.sol +4 -41
- package/contracts/uln/uln301/ReceiveUln301View.sol +89 -0
- package/contracts/uln/uln301/SendLibBaseE1.sol +5 -5
- package/contracts/uln/uln301/SendUln301.sol +3 -3
- package/contracts/uln/uln301/TreasuryFeeHandler.sol +6 -6
- package/contracts/uln/uln301/interfaces/IMessageLibE1.sol +4 -4
- package/contracts/uln/uln302/ReceiveUln302.sol +4 -27
- package/contracts/uln/uln302/ReceiveUln302View.sol +89 -0
- package/contracts/uln/uln302/SendUln302.sol +3 -3
- package/contracts/upgradeable/WorkerUpgradeable.sol +3 -3
- package/package.json +7 -5
- package/artifacts/contracts/uln/dvn/adapters/DVNAdapterFeeLibBase.sol/DVNAdapterFeeLibBase.json +0 -50
- package/artifacts/contracts/uln/interfaces/IDVNAdapterFeeLib.sol/IDVNAdapterFeeLib.json +0 -50
- package/contracts/uln/dvn/adapters/DVNAdapterFeeLibBase.sol +0 -20
- package/contracts/uln/interfaces/IDVNAdapterFeeLib.sol +0 -13
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
7
|
"inputs": [],
|
|
8
|
-
"name": "
|
|
8
|
+
"name": "Worker_NotAllowed",
|
|
9
9
|
"type": "error"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"inputs": [],
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "Worker_OnlyMessageLib",
|
|
14
14
|
"type": "error"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"inputs": [],
|
|
18
|
-
"name": "
|
|
18
|
+
"name": "Worker_RoleRenouncingDisabled",
|
|
19
19
|
"type": "error"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -21,30 +21,6 @@
|
|
|
21
21
|
"stateMutability": "nonpayable",
|
|
22
22
|
"type": "function"
|
|
23
23
|
},
|
|
24
|
-
{
|
|
25
|
-
"inputs": [
|
|
26
|
-
{
|
|
27
|
-
"internalType": "bytes",
|
|
28
|
-
"name": "_packetHeader",
|
|
29
|
-
"type": "bytes"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"internalType": "bytes32",
|
|
33
|
-
"name": "_payloadHash",
|
|
34
|
-
"type": "bytes32"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"name": "verifiable",
|
|
38
|
-
"outputs": [
|
|
39
|
-
{
|
|
40
|
-
"internalType": "enum VerificationState",
|
|
41
|
-
"name": "",
|
|
42
|
-
"type": "uint8"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"stateMutability": "view",
|
|
46
|
-
"type": "function"
|
|
47
|
-
},
|
|
48
24
|
{
|
|
49
25
|
"inputs": [
|
|
50
26
|
{
|
package/artifacts/contracts/uln/interfaces/adapters/IAxelarDVNAdapter.sol/IAxelarDVNAdapter.json
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IAxelarDVNAdapter",
|
|
4
|
+
"sourceName": "contracts/uln/interfaces/adapters/IAxelarDVNAdapter.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "AxelarDVNAdapter_OnlyWorkerFeeLib",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [
|
|
13
|
+
{
|
|
14
|
+
"internalType": "string",
|
|
15
|
+
"name": "chainName",
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "string",
|
|
20
|
+
"name": "peer",
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"name": "AxelarDVNAdapter_UntrustedPeer",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"components": [
|
|
32
|
+
{
|
|
33
|
+
"internalType": "uint32",
|
|
34
|
+
"name": "dstEid",
|
|
35
|
+
"type": "uint32"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"internalType": "string",
|
|
39
|
+
"name": "chainName",
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"internalType": "string",
|
|
44
|
+
"name": "peer",
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"internalType": "uint16",
|
|
49
|
+
"name": "multiplierBps",
|
|
50
|
+
"type": "uint16"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"internalType": "uint256",
|
|
54
|
+
"name": "nativeGasFee",
|
|
55
|
+
"type": "uint256"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"indexed": false,
|
|
59
|
+
"internalType": "struct IAxelarDVNAdapter.DstConfigParam[]",
|
|
60
|
+
"name": "params",
|
|
61
|
+
"type": "tuple[]"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"name": "DstConfigSet",
|
|
65
|
+
"type": "event"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"anonymous": false,
|
|
69
|
+
"inputs": [
|
|
70
|
+
{
|
|
71
|
+
"components": [
|
|
72
|
+
{
|
|
73
|
+
"internalType": "uint32",
|
|
74
|
+
"name": "dstEid",
|
|
75
|
+
"type": "uint32"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"internalType": "uint128",
|
|
79
|
+
"name": "floorMarginUSD",
|
|
80
|
+
"type": "uint128"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"indexed": false,
|
|
84
|
+
"internalType": "struct IAxelarDVNAdapter.FloorMarginUSDParam[]",
|
|
85
|
+
"name": "params",
|
|
86
|
+
"type": "tuple[]"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"name": "FloorMarginUSDSet",
|
|
90
|
+
"type": "event"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"anonymous": false,
|
|
94
|
+
"inputs": [
|
|
95
|
+
{
|
|
96
|
+
"components": [
|
|
97
|
+
{
|
|
98
|
+
"internalType": "uint32",
|
|
99
|
+
"name": "dstEid",
|
|
100
|
+
"type": "uint32"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"internalType": "uint16",
|
|
104
|
+
"name": "multiplierBps",
|
|
105
|
+
"type": "uint16"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"indexed": false,
|
|
109
|
+
"internalType": "struct IAxelarDVNAdapter.MultiplierParam[]",
|
|
110
|
+
"name": "params",
|
|
111
|
+
"type": "tuple[]"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"name": "MultiplierSet",
|
|
115
|
+
"type": "event"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"anonymous": false,
|
|
119
|
+
"inputs": [
|
|
120
|
+
{
|
|
121
|
+
"components": [
|
|
122
|
+
{
|
|
123
|
+
"internalType": "uint32",
|
|
124
|
+
"name": "dstEid",
|
|
125
|
+
"type": "uint32"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"internalType": "uint256",
|
|
129
|
+
"name": "nativeGasFee",
|
|
130
|
+
"type": "uint256"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"indexed": false,
|
|
134
|
+
"internalType": "struct IAxelarDVNAdapter.NativeGasFeeParam[]",
|
|
135
|
+
"name": "params",
|
|
136
|
+
"type": "tuple[]"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"name": "NativeGasFeeSet",
|
|
140
|
+
"type": "event"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"inputs": [
|
|
144
|
+
{
|
|
145
|
+
"internalType": "address",
|
|
146
|
+
"name": "_sendLib",
|
|
147
|
+
"type": "address"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"name": "withdrawToFeeLib",
|
|
151
|
+
"outputs": [],
|
|
152
|
+
"stateMutability": "nonpayable",
|
|
153
|
+
"type": "function"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"bytecode": "0x",
|
|
157
|
+
"deployedBytecode": "0x",
|
|
158
|
+
"linkReferences": {},
|
|
159
|
+
"deployedLinkReferences": {}
|
|
160
|
+
}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IAxelarDVNAdapterFeeLib",
|
|
4
|
+
"sourceName": "contracts/uln/interfaces/adapters/IAxelarDVNAdapterFeeLib.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint256",
|
|
10
|
+
"name": "actual",
|
|
11
|
+
"type": "uint256"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "uint256",
|
|
15
|
+
"name": "requested",
|
|
16
|
+
"type": "uint256"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "AxelarDVNAdapter_InsufficientBalance",
|
|
20
|
+
"type": "error"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [],
|
|
24
|
+
"name": "AxelarDVNAdapter_OptionsUnsupported",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"components": [
|
|
32
|
+
{
|
|
33
|
+
"internalType": "uint32",
|
|
34
|
+
"name": "dstEid",
|
|
35
|
+
"type": "uint32"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"internalType": "uint64",
|
|
39
|
+
"name": "gas",
|
|
40
|
+
"type": "uint64"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"internalType": "uint128",
|
|
44
|
+
"name": "floorMarginUSD",
|
|
45
|
+
"type": "uint128"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"indexed": false,
|
|
49
|
+
"internalType": "struct IAxelarDVNAdapterFeeLib.DstConfigParam[]",
|
|
50
|
+
"name": "params",
|
|
51
|
+
"type": "tuple[]"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"name": "DstConfigSet",
|
|
55
|
+
"type": "event"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"anonymous": false,
|
|
59
|
+
"inputs": [
|
|
60
|
+
{
|
|
61
|
+
"indexed": false,
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "gasService",
|
|
64
|
+
"type": "address"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"name": "GasServiceSet",
|
|
68
|
+
"type": "event"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"anonymous": false,
|
|
72
|
+
"inputs": [
|
|
73
|
+
{
|
|
74
|
+
"indexed": false,
|
|
75
|
+
"internalType": "uint16",
|
|
76
|
+
"name": "multiplierBps",
|
|
77
|
+
"type": "uint16"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"name": "NativeGasFeeMultiplierBpsSet",
|
|
81
|
+
"type": "event"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"anonymous": false,
|
|
85
|
+
"inputs": [
|
|
86
|
+
{
|
|
87
|
+
"indexed": false,
|
|
88
|
+
"internalType": "address",
|
|
89
|
+
"name": "priceFeed",
|
|
90
|
+
"type": "address"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"name": "PriceFeedSet",
|
|
94
|
+
"type": "event"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"anonymous": false,
|
|
98
|
+
"inputs": [
|
|
99
|
+
{
|
|
100
|
+
"indexed": false,
|
|
101
|
+
"internalType": "address",
|
|
102
|
+
"name": "token",
|
|
103
|
+
"type": "address"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"indexed": false,
|
|
107
|
+
"internalType": "address",
|
|
108
|
+
"name": "to",
|
|
109
|
+
"type": "address"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"indexed": false,
|
|
113
|
+
"internalType": "uint256",
|
|
114
|
+
"name": "amount",
|
|
115
|
+
"type": "uint256"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"name": "TokenWithdrawn",
|
|
119
|
+
"type": "event"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inputs": [
|
|
123
|
+
{
|
|
124
|
+
"components": [
|
|
125
|
+
{
|
|
126
|
+
"internalType": "uint32",
|
|
127
|
+
"name": "dstEid",
|
|
128
|
+
"type": "uint32"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"internalType": "uint64",
|
|
132
|
+
"name": "confirmations",
|
|
133
|
+
"type": "uint64"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"internalType": "address",
|
|
137
|
+
"name": "sender",
|
|
138
|
+
"type": "address"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint16",
|
|
142
|
+
"name": "defaultMultiplierBps",
|
|
143
|
+
"type": "uint16"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"internalType": "struct IAxelarDVNAdapterFeeLib.Param",
|
|
147
|
+
"name": "_params",
|
|
148
|
+
"type": "tuple"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"components": [
|
|
152
|
+
{
|
|
153
|
+
"internalType": "string",
|
|
154
|
+
"name": "chainName",
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"internalType": "string",
|
|
159
|
+
"name": "peer",
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"internalType": "uint16",
|
|
164
|
+
"name": "multiplierBps",
|
|
165
|
+
"type": "uint16"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"internalType": "uint256",
|
|
169
|
+
"name": "nativeGasFee",
|
|
170
|
+
"type": "uint256"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"internalType": "struct IAxelarDVNAdapter.DstConfig",
|
|
174
|
+
"name": "_dstConfig",
|
|
175
|
+
"type": "tuple"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"internalType": "bytes",
|
|
179
|
+
"name": "_options",
|
|
180
|
+
"type": "bytes"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"name": "getFee",
|
|
184
|
+
"outputs": [
|
|
185
|
+
{
|
|
186
|
+
"internalType": "uint256",
|
|
187
|
+
"name": "totalFee",
|
|
188
|
+
"type": "uint256"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"stateMutability": "view",
|
|
192
|
+
"type": "function"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"inputs": [
|
|
196
|
+
{
|
|
197
|
+
"components": [
|
|
198
|
+
{
|
|
199
|
+
"internalType": "uint32",
|
|
200
|
+
"name": "dstEid",
|
|
201
|
+
"type": "uint32"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"internalType": "uint64",
|
|
205
|
+
"name": "confirmations",
|
|
206
|
+
"type": "uint64"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"internalType": "address",
|
|
210
|
+
"name": "sender",
|
|
211
|
+
"type": "address"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"internalType": "uint16",
|
|
215
|
+
"name": "defaultMultiplierBps",
|
|
216
|
+
"type": "uint16"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"internalType": "struct IAxelarDVNAdapterFeeLib.Param",
|
|
220
|
+
"name": "_params",
|
|
221
|
+
"type": "tuple"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"components": [
|
|
225
|
+
{
|
|
226
|
+
"internalType": "string",
|
|
227
|
+
"name": "chainName",
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"internalType": "string",
|
|
232
|
+
"name": "peer",
|
|
233
|
+
"type": "string"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"internalType": "uint16",
|
|
237
|
+
"name": "multiplierBps",
|
|
238
|
+
"type": "uint16"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"internalType": "uint256",
|
|
242
|
+
"name": "nativeGasFee",
|
|
243
|
+
"type": "uint256"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"internalType": "struct IAxelarDVNAdapter.DstConfig",
|
|
247
|
+
"name": "_dstConfig",
|
|
248
|
+
"type": "tuple"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"internalType": "bytes",
|
|
252
|
+
"name": "_payload",
|
|
253
|
+
"type": "bytes"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"internalType": "bytes",
|
|
257
|
+
"name": "_options",
|
|
258
|
+
"type": "bytes"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"internalType": "address",
|
|
262
|
+
"name": "_sendLib",
|
|
263
|
+
"type": "address"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"name": "getFeeOnSend",
|
|
267
|
+
"outputs": [
|
|
268
|
+
{
|
|
269
|
+
"internalType": "uint256",
|
|
270
|
+
"name": "totalFee",
|
|
271
|
+
"type": "uint256"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"stateMutability": "payable",
|
|
275
|
+
"type": "function"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"bytecode": "0x",
|
|
279
|
+
"deployedBytecode": "0x",
|
|
280
|
+
"linkReferences": {},
|
|
281
|
+
"deployedLinkReferences": {}
|
|
282
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ICCIPDVNAdapter",
|
|
4
|
+
"sourceName": "contracts/uln/interfaces/adapters/ICCIPDVNAdapter.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "router",
|
|
11
|
+
"type": "address"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "CCIPDVNAdapter_InvalidRouter",
|
|
15
|
+
"type": "error"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"inputs": [
|
|
19
|
+
{
|
|
20
|
+
"internalType": "uint64",
|
|
21
|
+
"name": "chainSelector",
|
|
22
|
+
"type": "uint64"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"internalType": "bytes",
|
|
26
|
+
"name": "peer",
|
|
27
|
+
"type": "bytes"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"name": "CCIPDVNAdapter_UntrustedPeer",
|
|
31
|
+
"type": "error"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"anonymous": false,
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"components": [
|
|
38
|
+
{
|
|
39
|
+
"internalType": "uint32",
|
|
40
|
+
"name": "dstEid",
|
|
41
|
+
"type": "uint32"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "uint16",
|
|
45
|
+
"name": "multiplierBps",
|
|
46
|
+
"type": "uint16"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"internalType": "uint64",
|
|
50
|
+
"name": "chainSelector",
|
|
51
|
+
"type": "uint64"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"internalType": "uint256",
|
|
55
|
+
"name": "gas",
|
|
56
|
+
"type": "uint256"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"internalType": "bytes",
|
|
60
|
+
"name": "peer",
|
|
61
|
+
"type": "bytes"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"indexed": false,
|
|
65
|
+
"internalType": "struct ICCIPDVNAdapter.DstConfigParam[]",
|
|
66
|
+
"name": "params",
|
|
67
|
+
"type": "tuple[]"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"name": "DstConfigSet",
|
|
71
|
+
"type": "event"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"anonymous": false,
|
|
75
|
+
"inputs": [
|
|
76
|
+
{
|
|
77
|
+
"indexed": false,
|
|
78
|
+
"internalType": "address",
|
|
79
|
+
"name": "router",
|
|
80
|
+
"type": "address"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"name": "RouterSet",
|
|
84
|
+
"type": "event"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"bytecode": "0x",
|
|
88
|
+
"deployedBytecode": "0x",
|
|
89
|
+
"linkReferences": {},
|
|
90
|
+
"deployedLinkReferences": {}
|
|
91
|
+
}
|