@layerzerolabs/lz-evm-sdk-v2 2.0.12-tron-rc.2 → 2.0.12
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/EndpointV2.sol/EndpointV2.json +2 -2
- package/artifacts/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +2 -2
- package/artifacts/contracts/Executor.sol/Executor.json +2 -2
- package/artifacts/contracts/ExecutorFeeLib.sol/ExecutorFeeLib.json +2 -2
- package/artifacts/contracts/PriceFeed.sol/PriceFeed.json +2 -2
- package/artifacts/contracts/Treasury.sol/Treasury.json +2 -2
- package/artifacts/contracts/libs/AddressCast.sol/AddressCast.json +2 -2
- package/artifacts/contracts/libs/CalldataBytesLib.sol/CalldataBytesLib.json +2 -2
- package/artifacts/contracts/libs/Errors.sol/Errors.json +2 -2
- package/artifacts/contracts/libs/GUID.sol/GUID.json +2 -2
- package/artifacts/contracts/libs/SafeCall.sol/SafeCall.json +2 -2
- package/artifacts/contracts/libs/Transfer.sol/Transfer.json +2 -2
- package/artifacts/contracts/messagelib/BlockedMessageLib.sol/BlockedMessageLib.json +2 -2
- package/artifacts/contracts/messagelib/SimpleMessageLib.sol/SimpleMessageLib.json +2 -2
- package/artifacts/contracts/messagelib/libs/BitMaps.sol/BitMaps.json +2 -2
- package/artifacts/contracts/messagelib/libs/ExecutorOptions.sol/ExecutorOptions.json +2 -2
- package/artifacts/contracts/messagelib/libs/PacketV1Codec.sol/PacketV1Codec.json +2 -2
- package/artifacts/contracts/oapp/examples/OmniCounter.sol/MsgCodec.json +2 -2
- package/artifacts/contracts/oapp/examples/OmniCounter.sol/OmniCounter.json +2 -2
- package/artifacts/contracts/oapp/examples/OmniCounterPreCrime.sol/OmniCounterPreCrime.json +2 -2
- package/artifacts/contracts/oapp/libs/OptionsBuilder.sol/OptionsBuilder.json +2 -2
- package/artifacts/contracts/oft/OFT.sol/OFT.json +2 -2
- package/artifacts/contracts/oft/OFTAdapter.sol/OFTAdapter.json +2 -2
- package/artifacts/contracts/oft/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +2 -2
- package/artifacts/contracts/oft/libs/OFTMsgCodec.sol/OFTMsgCodec.json +2 -2
- package/artifacts/contracts/precrime/libs/Packet.sol/PacketDecoder.json +2 -2
- package/artifacts/contracts/uln/LzExecutor.sol/LzExecutor.json +5 -5
- package/artifacts/contracts/uln/dvn/DVN.sol/DVN.json +2 -2
- package/artifacts/contracts/uln/dvn/DVNFeeLib.sol/DVNFeeLib.json +2 -2
- package/artifacts/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapter.sol/CCIPDVNAdapter.json +2 -2
- package/artifacts/contracts/uln/dvn/adapters/CCIP/CCIPDVNAdapterFeeLib.sol/CCIPDVNAdapterFeeLib.json +2 -2
- package/artifacts/contracts/uln/dvn/adapters/DVNAdapterFeeLibBase.sol/DVNAdapterFeeLibBase.json +2 -2
- package/artifacts/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapter.sol/AxelarDVNAdapter.json +2 -2
- package/artifacts/contracts/uln/dvn/adapters/axelar/AxelarDVNAdapterFeeLib.sol/AxelarDVNAdapterFeeLib.json +2 -2
- package/artifacts/contracts/uln/libs/DVNOptions.sol/DVNOptions.json +2 -2
- package/artifacts/contracts/uln/libs/UlnOptions.sol/UlnOptions.json +2 -2
- package/artifacts/contracts/uln/uln301/ReceiveUln301.sol/ReceiveUln301.json +2 -2
- package/artifacts/contracts/uln/uln301/SendUln301.sol/SendUln301.json +2 -2
- package/artifacts/contracts/uln/uln301/TreasuryFeeHandler.sol/TreasuryFeeHandler.json +2 -2
- package/artifacts/contracts/uln/uln302/ReceiveUln302.sol/ReceiveUln302.json +2 -2
- package/artifacts/contracts/uln/uln302/SendUln302.sol/SendUln302.json +2 -2
- package/deployments/{arbitrum-sandbox-local → bera-testnet}/DVN.json +76 -43
- package/deployments/{bsc-sandbox-local → bera-testnet}/DVNFeeLib.json +13 -13
- package/deployments/{arbitrum-sandbox-local → bera-testnet}/EndpointV2.json +114 -60
- package/deployments/{tron-sandbox-local → bera-testnet}/Executor.json +88 -105
- package/deployments/{bsc-sandbox-local → bera-testnet}/ExecutorFeeLib.json +13 -13
- package/deployments/{bsc-sandbox-local → bera-testnet}/ExecutorProxyAdmin.json +20 -20
- package/deployments/{bsc-sandbox-local → bera-testnet}/Executor_Implementation.json +7 -7
- package/deployments/{tron-sandbox-local → bera-testnet}/Executor_Proxy.json +79 -94
- package/deployments/bera-testnet/LzExecutor.json +332 -0
- package/deployments/bera-testnet/PriceFeed.json +35 -35
- package/deployments/bera-testnet/PriceFeedProxyAdmin.json +17 -17
- package/deployments/bera-testnet/PriceFeed_Implementation.json +6 -6
- package/deployments/bera-testnet/PriceFeed_Proxy.json +34 -34
- package/deployments/{bsc-sandbox-local → bera-testnet}/ReceiveUln301.json +15 -15
- package/deployments/{avalanche-sandbox-local → bera-testnet}/ReceiveUln302.json +18 -18
- package/deployments/{arbitrum-sandbox-local → bera-testnet}/SendUln301.json +17 -17
- package/deployments/{arbitrum-sandbox-local → bera-testnet}/SendUln302.json +14 -14
- package/deployments/{bsc-sandbox-local → bera-testnet}/Treasury.json +13 -13
- package/deployments/{avalanche-sandbox-local → bera-testnet}/TreasuryFeeHandler.json +8 -8
- package/deployments/ethereum-sandbox-local/BlockedMessageLib.json +90 -0
- package/deployments/ethereum-sandbox-local/DVN.json +5 -5
- package/deployments/ethereum-sandbox-local/DVNFeeLib.json +2 -2
- package/deployments/ethereum-sandbox-local/Endpoint.json +2355 -0
- package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
- package/deployments/ethereum-sandbox-local/Executor.json +14 -14
- package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +2 -2
- package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +3 -3
- package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
- package/deployments/ethereum-sandbox-local/MultiSigOracle.json +1448 -0
- package/deployments/ethereum-sandbox-local/NonceContract.json +158 -0
- package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/ethereum-sandbox-local/OmniCounter.json +1133 -0
- package/deployments/ethereum-sandbox-local/OmniCounterPreCrime.json +493 -0
- package/deployments/ethereum-sandbox-local/OmniCounterPreCrimeView.json +672 -0
- package/deployments/ethereum-sandbox-local/OmniCounterViewer.json +214 -0
- package/deployments/ethereum-sandbox-local/OmniCounterWithPreCrime.json +1646 -0
- package/deployments/{arbitrum-sandbox-local/Executor.json → ethereum-sandbox-local/Oracle.json} +400 -658
- package/deployments/ethereum-sandbox-local/OracleFeeLib.json +166 -0
- package/deployments/ethereum-sandbox-local/OracleProxyAdmin.json +272 -0
- package/deployments/ethereum-sandbox-local/Oracle_Implementation.json +1326 -0
- package/deployments/{bsc-sandbox-local/PriceFeed_Proxy.json → ethereum-sandbox-local/Oracle_Proxy.json} +96 -35
- package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
- package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +3 -3
- package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/ethereum-sandbox-local/ReceiveUln301.json +2 -2
- package/deployments/ethereum-sandbox-local/ReceiveUln302.json +2 -2
- package/deployments/{tron-sandbox-local/PriceFeed.json → ethereum-sandbox-local/Relayer.json} +445 -339
- package/deployments/ethereum-sandbox-local/RelayerFeeLib.json +130 -0
- package/deployments/ethereum-sandbox-local/RelayerProxyAdmin.json +272 -0
- package/deployments/ethereum-sandbox-local/Relayer_Implementation.json +1014 -0
- package/deployments/{tron-sandbox-local/PriceFeed_Proxy.json → ethereum-sandbox-local/Relayer_Proxy.json} +64 -33
- package/deployments/ethereum-sandbox-local/SendUln301.json +2 -2
- package/deployments/ethereum-sandbox-local/SendUln302.json +2 -2
- package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
- package/deployments/ethereum-sandbox-local/Treasury.json +2 -2
- package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/ethereum-sandbox-local/UlnConfig301.json +1003 -0
- package/deployments/ethereum-sandbox-local/UlnConfig302.json +1003 -0
- package/deployments/ethereum-sandbox-local/UltraLightNodeE302.json +1696 -0
- package/deployments/{bsc-sandbox-local → etherlink-testnet}/PriceFeed.json +34 -34
- package/deployments/{arbitrum-sandbox-local/ExecutorProxyAdmin.json → etherlink-testnet/PriceFeedProxyAdmin.json} +22 -22
- package/deployments/{arbitrum-sandbox-local → etherlink-testnet}/PriceFeed_Implementation.json +9 -9
- package/deployments/{avalanche-sandbox-local → etherlink-testnet}/PriceFeed_Proxy.json +32 -32
- package/deployments/{avalanche-sandbox-local → etherlink-testnet}/Treasury.json +15 -15
- package/deployments/polygon-sandbox-local/BlockedMessageLib.json +90 -0
- package/deployments/polygon-sandbox-local/DVN.json +5 -5
- package/deployments/polygon-sandbox-local/DVNFeeLib.json +2 -2
- package/deployments/polygon-sandbox-local/Endpoint.json +2355 -0
- package/deployments/polygon-sandbox-local/EndpointV2.json +4 -4
- package/deployments/polygon-sandbox-local/Executor.json +14 -14
- package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +2 -2
- package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +3 -3
- package/deployments/polygon-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/polygon-sandbox-local/Executor_Proxy.json +14 -14
- package/deployments/polygon-sandbox-local/MultiSigOracle.json +1448 -0
- package/deployments/polygon-sandbox-local/NonceContract.json +158 -0
- package/deployments/polygon-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/polygon-sandbox-local/OmniCounter.json +1133 -0
- package/deployments/polygon-sandbox-local/OmniCounterPreCrime.json +493 -0
- package/deployments/polygon-sandbox-local/OmniCounterPreCrimeView.json +672 -0
- package/deployments/polygon-sandbox-local/OmniCounterViewer.json +214 -0
- package/deployments/polygon-sandbox-local/OmniCounterWithPreCrime.json +1646 -0
- package/deployments/{bsc-sandbox-local/Executor.json → polygon-sandbox-local/Oracle.json} +400 -658
- package/deployments/polygon-sandbox-local/OracleFeeLib.json +166 -0
- package/deployments/polygon-sandbox-local/OracleProxyAdmin.json +272 -0
- package/deployments/polygon-sandbox-local/Oracle_Implementation.json +1326 -0
- package/deployments/polygon-sandbox-local/Oracle_Proxy.json +305 -0
- package/deployments/polygon-sandbox-local/PriceFeed.json +5 -5
- package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +3 -3
- package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +5 -5
- package/deployments/polygon-sandbox-local/ReceiveUln301.json +2 -2
- package/deployments/polygon-sandbox-local/ReceiveUln302.json +2 -2
- package/deployments/{arbitrum-sandbox-local/PriceFeed.json → polygon-sandbox-local/Relayer.json} +445 -339
- package/deployments/polygon-sandbox-local/RelayerFeeLib.json +130 -0
- package/deployments/polygon-sandbox-local/RelayerProxyAdmin.json +272 -0
- package/deployments/polygon-sandbox-local/Relayer_Implementation.json +1014 -0
- package/deployments/{arbitrum-sandbox-local/PriceFeed_Proxy.json → polygon-sandbox-local/Relayer_Proxy.json} +64 -33
- package/deployments/polygon-sandbox-local/SendUln301.json +2 -2
- package/deployments/polygon-sandbox-local/SendUln302.json +2 -2
- package/deployments/polygon-sandbox-local/SimpleMessageLib.json +2 -2
- package/deployments/polygon-sandbox-local/Treasury.json +2 -2
- package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/polygon-sandbox-local/UlnConfig301.json +1003 -0
- package/deployments/polygon-sandbox-local/UlnConfig302.json +1003 -0
- package/deployments/polygon-sandbox-local/UltraLightNodeE302.json +1696 -0
- package/dist/{index-cijKSBLK.d.cts → index-pO8kCANF.d.mts} +41 -41
- package/dist/{index-cijKSBLK.d.ts → index-pO8kCANF.d.ts} +41 -41
- package/dist/index.browser.cjs +34 -34
- package/dist/index.browser.cjs.map +1 -1
- package/dist/{index.browser.d.cts → index.browser.d.mts} +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.mjs +34 -34
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +34 -34
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d.cts → index.d.mts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +34 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -14
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +0 -387
- package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +0 -407
- package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +0 -1591
- package/deployments/arbitrum-sandbox-local/Executor_Proxy.json +0 -380
- package/deployments/arbitrum-sandbox-local/NonceContractMock.json +0 -163
- package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +0 -1264
- package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +0 -954
- package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +0 -708
- package/deployments/arbitrum-sandbox-local/Treasury.json +0 -412
- package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +0 -125
- package/deployments/avalanche-sandbox-local/DVN.json +0 -1896
- package/deployments/avalanche-sandbox-local/DVNFeeLib.json +0 -387
- package/deployments/avalanche-sandbox-local/EndpointV2.json +0 -2955
- package/deployments/avalanche-sandbox-local/Executor.json +0 -1549
- package/deployments/avalanche-sandbox-local/ExecutorFeeLib.json +0 -407
- package/deployments/avalanche-sandbox-local/ExecutorProxyAdmin.json +0 -283
- package/deployments/avalanche-sandbox-local/Executor_Implementation.json +0 -1591
- package/deployments/avalanche-sandbox-local/Executor_Proxy.json +0 -380
- package/deployments/avalanche-sandbox-local/NonceContractMock.json +0 -163
- package/deployments/avalanche-sandbox-local/PriceFeed.json +0 -890
- package/deployments/avalanche-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/avalanche-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/avalanche-sandbox-local/ReceiveUln301.json +0 -1264
- package/deployments/avalanche-sandbox-local/SendUln301.json +0 -1569
- package/deployments/avalanche-sandbox-local/SendUln302.json +0 -1527
- package/deployments/avalanche-sandbox-local/SimpleMessageLib.json +0 -708
- package/deployments/bsc-sandbox-local/DVN.json +0 -1896
- package/deployments/bsc-sandbox-local/EndpointV2.json +0 -2955
- package/deployments/bsc-sandbox-local/Executor_Proxy.json +0 -380
- package/deployments/bsc-sandbox-local/NonceContractMock.json +0 -163
- package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/bsc-sandbox-local/ReceiveUln302.json +0 -954
- package/deployments/bsc-sandbox-local/SendUln301.json +0 -1569
- package/deployments/bsc-sandbox-local/SendUln302.json +0 -1527
- package/deployments/bsc-sandbox-local/SimpleMessageLib.json +0 -708
- package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +0 -125
- package/deployments/tron-sandbox-local/DVN.json +0 -1896
- package/deployments/tron-sandbox-local/DVNFeeLib.json +0 -387
- package/deployments/tron-sandbox-local/EndpointV2.json +0 -2955
- package/deployments/tron-sandbox-local/ExecutorFeeLib.json +0 -407
- package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +0 -283
- package/deployments/tron-sandbox-local/Executor_Implementation.json +0 -1591
- package/deployments/tron-sandbox-local/NonceContractMock.json +0 -163
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +0 -283
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +0 -912
- package/deployments/tron-sandbox-local/ReceiveUln301.json +0 -1264
- package/deployments/tron-sandbox-local/ReceiveUln302.json +0 -954
- package/deployments/tron-sandbox-local/SendUln301.json +0 -1569
- package/deployments/tron-sandbox-local/SendUln302.json +0 -1527
- package/deployments/tron-sandbox-local/SimpleMessageLib.json +0 -708
- package/deployments/tron-sandbox-local/Treasury.json +0 -412
- package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +0 -125
package/deployments/{arbitrum-sandbox-local/PriceFeed.json → polygon-sandbox-local/Relayer.json}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -112,98 +112,205 @@
|
|
|
112
112
|
"type": "receive"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
+
"anonymous": false,
|
|
115
116
|
"inputs": [
|
|
116
117
|
{
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
{
|
|
122
|
-
"internalType": "uint256",
|
|
123
|
-
"name": "required",
|
|
124
|
-
"type": "uint256"
|
|
118
|
+
"indexed": false,
|
|
119
|
+
"internalType": "uint8",
|
|
120
|
+
"name": "version",
|
|
121
|
+
"type": "uint8"
|
|
125
122
|
}
|
|
126
123
|
],
|
|
127
|
-
"name": "
|
|
128
|
-
"type": "
|
|
124
|
+
"name": "Initialized",
|
|
125
|
+
"type": "event"
|
|
129
126
|
},
|
|
130
127
|
{
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
|
|
128
|
+
"anonymous": false,
|
|
129
|
+
"inputs": [
|
|
130
|
+
{
|
|
131
|
+
"indexed": true,
|
|
132
|
+
"internalType": "bytes32",
|
|
133
|
+
"name": "role",
|
|
134
|
+
"type": "bytes32"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"indexed": true,
|
|
138
|
+
"internalType": "bytes32",
|
|
139
|
+
"name": "previousAdminRole",
|
|
140
|
+
"type": "bytes32"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"indexed": true,
|
|
144
|
+
"internalType": "bytes32",
|
|
145
|
+
"name": "newAdminRole",
|
|
146
|
+
"type": "bytes32"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"name": "RoleAdminChanged",
|
|
150
|
+
"type": "event"
|
|
134
151
|
},
|
|
135
152
|
{
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
|
|
153
|
+
"anonymous": false,
|
|
154
|
+
"inputs": [
|
|
155
|
+
{
|
|
156
|
+
"indexed": true,
|
|
157
|
+
"internalType": "bytes32",
|
|
158
|
+
"name": "role",
|
|
159
|
+
"type": "bytes32"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"indexed": true,
|
|
163
|
+
"internalType": "address",
|
|
164
|
+
"name": "account",
|
|
165
|
+
"type": "address"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"indexed": true,
|
|
169
|
+
"internalType": "address",
|
|
170
|
+
"name": "sender",
|
|
171
|
+
"type": "address"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"name": "RoleGranted",
|
|
175
|
+
"type": "event"
|
|
139
176
|
},
|
|
140
177
|
{
|
|
178
|
+
"anonymous": false,
|
|
141
179
|
"inputs": [
|
|
142
180
|
{
|
|
181
|
+
"indexed": true,
|
|
182
|
+
"internalType": "bytes32",
|
|
183
|
+
"name": "role",
|
|
184
|
+
"type": "bytes32"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"indexed": true,
|
|
143
188
|
"internalType": "address",
|
|
144
|
-
"name": "
|
|
189
|
+
"name": "account",
|
|
145
190
|
"type": "address"
|
|
146
191
|
},
|
|
147
192
|
{
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
193
|
+
"indexed": true,
|
|
194
|
+
"internalType": "address",
|
|
195
|
+
"name": "sender",
|
|
196
|
+
"type": "address"
|
|
151
197
|
}
|
|
152
198
|
],
|
|
153
|
-
"name": "
|
|
154
|
-
"type": "
|
|
199
|
+
"name": "RoleRevoked",
|
|
200
|
+
"type": "event"
|
|
155
201
|
},
|
|
156
202
|
{
|
|
203
|
+
"anonymous": false,
|
|
157
204
|
"inputs": [
|
|
158
205
|
{
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
206
|
+
"indexed": false,
|
|
207
|
+
"internalType": "uint16",
|
|
208
|
+
"name": "multiplierBps",
|
|
209
|
+
"type": "uint16"
|
|
162
210
|
}
|
|
163
211
|
],
|
|
164
|
-
"name": "
|
|
165
|
-
"type": "
|
|
212
|
+
"name": "SetDefaultMultiplierBps",
|
|
213
|
+
"type": "event"
|
|
166
214
|
},
|
|
167
215
|
{
|
|
168
216
|
"anonymous": false,
|
|
169
217
|
"inputs": [
|
|
170
218
|
{
|
|
219
|
+
"components": [
|
|
220
|
+
{
|
|
221
|
+
"internalType": "uint32",
|
|
222
|
+
"name": "dstEid",
|
|
223
|
+
"type": "uint32"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"internalType": "uint64",
|
|
227
|
+
"name": "baseGas",
|
|
228
|
+
"type": "uint64"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"internalType": "uint16",
|
|
232
|
+
"name": "multiplierBps",
|
|
233
|
+
"type": "uint16"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"internalType": "uint128",
|
|
237
|
+
"name": "floorMarginUSD",
|
|
238
|
+
"type": "uint128"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"internalType": "uint128",
|
|
242
|
+
"name": "airdropCap",
|
|
243
|
+
"type": "uint128"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
171
246
|
"indexed": false,
|
|
172
|
-
"internalType": "
|
|
173
|
-
"name": "
|
|
174
|
-
"type": "
|
|
247
|
+
"internalType": "struct IRelayer.DstConfigParam[]",
|
|
248
|
+
"name": "params",
|
|
249
|
+
"type": "tuple[]"
|
|
175
250
|
}
|
|
176
251
|
],
|
|
177
|
-
"name": "
|
|
252
|
+
"name": "SetDstConfig",
|
|
178
253
|
"type": "event"
|
|
179
254
|
},
|
|
180
255
|
{
|
|
181
256
|
"anonymous": false,
|
|
182
257
|
"inputs": [
|
|
183
258
|
{
|
|
184
|
-
"indexed":
|
|
259
|
+
"indexed": false,
|
|
260
|
+
"internalType": "address",
|
|
261
|
+
"name": "priceFeed",
|
|
262
|
+
"type": "address"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"name": "SetPriceFeed",
|
|
266
|
+
"type": "event"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"anonymous": false,
|
|
270
|
+
"inputs": [
|
|
271
|
+
{
|
|
272
|
+
"indexed": false,
|
|
273
|
+
"internalType": "address",
|
|
274
|
+
"name": "workerLib",
|
|
275
|
+
"type": "address"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"name": "SetWorkerLib",
|
|
279
|
+
"type": "event"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"anonymous": false,
|
|
283
|
+
"inputs": [
|
|
284
|
+
{
|
|
285
|
+
"indexed": false,
|
|
185
286
|
"internalType": "address",
|
|
186
|
-
"name": "
|
|
287
|
+
"name": "lib",
|
|
187
288
|
"type": "address"
|
|
188
289
|
},
|
|
189
290
|
{
|
|
190
|
-
"indexed":
|
|
291
|
+
"indexed": false,
|
|
191
292
|
"internalType": "address",
|
|
192
|
-
"name": "
|
|
293
|
+
"name": "to",
|
|
193
294
|
"type": "address"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"indexed": false,
|
|
298
|
+
"internalType": "uint256",
|
|
299
|
+
"name": "amount",
|
|
300
|
+
"type": "uint256"
|
|
194
301
|
}
|
|
195
302
|
],
|
|
196
|
-
"name": "
|
|
303
|
+
"name": "Withdraw",
|
|
197
304
|
"type": "event"
|
|
198
305
|
},
|
|
199
306
|
{
|
|
200
307
|
"inputs": [],
|
|
201
|
-
"name": "
|
|
308
|
+
"name": "ADMIN_ROLE",
|
|
202
309
|
"outputs": [
|
|
203
310
|
{
|
|
204
|
-
"internalType": "
|
|
311
|
+
"internalType": "bytes32",
|
|
205
312
|
"name": "",
|
|
206
|
-
"type": "
|
|
313
|
+
"type": "bytes32"
|
|
207
314
|
}
|
|
208
315
|
],
|
|
209
316
|
"stateMutability": "view",
|
|
@@ -211,24 +318,12 @@
|
|
|
211
318
|
},
|
|
212
319
|
{
|
|
213
320
|
"inputs": [],
|
|
214
|
-
"name": "
|
|
321
|
+
"name": "ALLOWLIST",
|
|
215
322
|
"outputs": [
|
|
216
323
|
{
|
|
217
|
-
"
|
|
218
|
-
{
|
|
219
|
-
"internalType": "uint64",
|
|
220
|
-
"name": "gasPerL2Tx",
|
|
221
|
-
"type": "uint64"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"internalType": "uint32",
|
|
225
|
-
"name": "gasPerL1CallDataByte",
|
|
226
|
-
"type": "uint32"
|
|
227
|
-
}
|
|
228
|
-
],
|
|
229
|
-
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
324
|
+
"internalType": "bytes32",
|
|
230
325
|
"name": "",
|
|
231
|
-
"type": "
|
|
326
|
+
"type": "bytes32"
|
|
232
327
|
}
|
|
233
328
|
],
|
|
234
329
|
"stateMutability": "view",
|
|
@@ -236,46 +331,51 @@
|
|
|
236
331
|
},
|
|
237
332
|
{
|
|
238
333
|
"inputs": [],
|
|
239
|
-
"name": "
|
|
334
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
240
335
|
"outputs": [
|
|
241
336
|
{
|
|
242
|
-
"internalType": "
|
|
337
|
+
"internalType": "bytes32",
|
|
243
338
|
"name": "",
|
|
244
|
-
"type": "
|
|
339
|
+
"type": "bytes32"
|
|
245
340
|
}
|
|
246
341
|
],
|
|
247
342
|
"stateMutability": "view",
|
|
248
343
|
"type": "function"
|
|
249
344
|
},
|
|
250
345
|
{
|
|
251
|
-
"inputs": [
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
"name": "_dstEid",
|
|
255
|
-
"type": "uint16"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"internalType": "uint256",
|
|
259
|
-
"name": "_callDataSize",
|
|
260
|
-
"type": "uint256"
|
|
261
|
-
},
|
|
346
|
+
"inputs": [],
|
|
347
|
+
"name": "DENYLIST",
|
|
348
|
+
"outputs": [
|
|
262
349
|
{
|
|
263
|
-
"internalType": "
|
|
264
|
-
"name": "
|
|
265
|
-
"type": "
|
|
350
|
+
"internalType": "bytes32",
|
|
351
|
+
"name": "",
|
|
352
|
+
"type": "bytes32"
|
|
266
353
|
}
|
|
267
354
|
],
|
|
268
|
-
"
|
|
355
|
+
"stateMutability": "view",
|
|
356
|
+
"type": "function"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"inputs": [],
|
|
360
|
+
"name": "MESSAGE_LIB_ROLE",
|
|
269
361
|
"outputs": [
|
|
270
362
|
{
|
|
271
|
-
"internalType": "
|
|
272
|
-
"name": "
|
|
273
|
-
"type": "
|
|
274
|
-
}
|
|
363
|
+
"internalType": "bytes32",
|
|
364
|
+
"name": "",
|
|
365
|
+
"type": "bytes32"
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
"stateMutability": "view",
|
|
369
|
+
"type": "function"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"inputs": [],
|
|
373
|
+
"name": "allowlistSize",
|
|
374
|
+
"outputs": [
|
|
275
375
|
{
|
|
276
|
-
"internalType": "
|
|
277
|
-
"name": "
|
|
278
|
-
"type": "
|
|
376
|
+
"internalType": "uint64",
|
|
377
|
+
"name": "",
|
|
378
|
+
"type": "uint64"
|
|
279
379
|
}
|
|
280
380
|
],
|
|
281
381
|
"stateMutability": "view",
|
|
@@ -289,37 +389,40 @@
|
|
|
289
389
|
"type": "uint32"
|
|
290
390
|
},
|
|
291
391
|
{
|
|
292
|
-
"internalType": "
|
|
293
|
-
"name": "
|
|
294
|
-
"type": "
|
|
392
|
+
"internalType": "address",
|
|
393
|
+
"name": "_sender",
|
|
394
|
+
"type": "address"
|
|
295
395
|
},
|
|
296
396
|
{
|
|
297
397
|
"internalType": "uint256",
|
|
298
|
-
"name": "
|
|
398
|
+
"name": "_calldataSize",
|
|
299
399
|
"type": "uint256"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"internalType": "bytes",
|
|
403
|
+
"name": "_options",
|
|
404
|
+
"type": "bytes"
|
|
300
405
|
}
|
|
301
406
|
],
|
|
302
|
-
"name": "
|
|
407
|
+
"name": "assignJob",
|
|
303
408
|
"outputs": [
|
|
304
409
|
{
|
|
305
410
|
"internalType": "uint256",
|
|
306
|
-
"name": "",
|
|
411
|
+
"name": "fee",
|
|
307
412
|
"type": "uint256"
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
"type": "uint128"
|
|
318
|
-
},
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"stateMutability": "payable",
|
|
416
|
+
"type": "function"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"inputs": [],
|
|
420
|
+
"name": "defaultMultiplierBps",
|
|
421
|
+
"outputs": [
|
|
319
422
|
{
|
|
320
|
-
"internalType": "
|
|
423
|
+
"internalType": "uint16",
|
|
321
424
|
"name": "",
|
|
322
|
-
"type": "
|
|
425
|
+
"type": "uint16"
|
|
323
426
|
}
|
|
324
427
|
],
|
|
325
428
|
"stateMutability": "view",
|
|
@@ -329,73 +432,68 @@
|
|
|
329
432
|
"inputs": [
|
|
330
433
|
{
|
|
331
434
|
"internalType": "uint32",
|
|
332
|
-
"name": "
|
|
435
|
+
"name": "",
|
|
333
436
|
"type": "uint32"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"internalType": "uint256",
|
|
337
|
-
"name": "_callDataSize",
|
|
338
|
-
"type": "uint256"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"internalType": "uint256",
|
|
342
|
-
"name": "_gas",
|
|
343
|
-
"type": "uint256"
|
|
344
437
|
}
|
|
345
438
|
],
|
|
346
|
-
"name": "
|
|
439
|
+
"name": "dstConfig",
|
|
347
440
|
"outputs": [
|
|
348
441
|
{
|
|
349
|
-
"internalType": "
|
|
350
|
-
"name": "",
|
|
351
|
-
"type": "
|
|
442
|
+
"internalType": "uint64",
|
|
443
|
+
"name": "baseGas",
|
|
444
|
+
"type": "uint64"
|
|
352
445
|
},
|
|
353
446
|
{
|
|
354
|
-
"internalType": "
|
|
355
|
-
"name": "",
|
|
356
|
-
"type": "
|
|
447
|
+
"internalType": "uint16",
|
|
448
|
+
"name": "multiplierBps",
|
|
449
|
+
"type": "uint16"
|
|
357
450
|
},
|
|
358
451
|
{
|
|
359
452
|
"internalType": "uint128",
|
|
360
|
-
"name": "",
|
|
453
|
+
"name": "floorMarginUSD",
|
|
361
454
|
"type": "uint128"
|
|
362
455
|
},
|
|
363
456
|
{
|
|
364
457
|
"internalType": "uint128",
|
|
365
|
-
"name": "",
|
|
458
|
+
"name": "airdropCap",
|
|
366
459
|
"type": "uint128"
|
|
367
460
|
}
|
|
368
461
|
],
|
|
369
|
-
"stateMutability": "
|
|
462
|
+
"stateMutability": "view",
|
|
370
463
|
"type": "function"
|
|
371
464
|
},
|
|
372
465
|
{
|
|
373
466
|
"inputs": [
|
|
374
467
|
{
|
|
375
468
|
"internalType": "uint32",
|
|
376
|
-
"name": "",
|
|
469
|
+
"name": "_dstEid",
|
|
377
470
|
"type": "uint32"
|
|
378
471
|
},
|
|
379
472
|
{
|
|
380
|
-
"internalType": "
|
|
381
|
-
"name": "",
|
|
382
|
-
"type": "
|
|
473
|
+
"internalType": "address",
|
|
474
|
+
"name": "_sender",
|
|
475
|
+
"type": "address"
|
|
383
476
|
},
|
|
384
477
|
{
|
|
385
478
|
"internalType": "uint256",
|
|
386
|
-
"name": "",
|
|
479
|
+
"name": "_calldataSize",
|
|
387
480
|
"type": "uint256"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"internalType": "bytes",
|
|
484
|
+
"name": "_options",
|
|
485
|
+
"type": "bytes"
|
|
388
486
|
}
|
|
389
487
|
],
|
|
390
488
|
"name": "getFee",
|
|
391
489
|
"outputs": [
|
|
392
490
|
{
|
|
393
491
|
"internalType": "uint256",
|
|
394
|
-
"name": "",
|
|
492
|
+
"name": "fee",
|
|
395
493
|
"type": "uint256"
|
|
396
494
|
}
|
|
397
495
|
],
|
|
398
|
-
"stateMutability": "
|
|
496
|
+
"stateMutability": "view",
|
|
399
497
|
"type": "function"
|
|
400
498
|
},
|
|
401
499
|
{
|
|
@@ -409,26 +507,14 @@
|
|
|
409
507
|
"name": "getPrice",
|
|
410
508
|
"outputs": [
|
|
411
509
|
{
|
|
412
|
-
"
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
"name": "gasPriceInUnit",
|
|
421
|
-
"type": "uint64"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"internalType": "uint32",
|
|
425
|
-
"name": "gasPerByte",
|
|
426
|
-
"type": "uint32"
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
430
|
-
"name": "price",
|
|
431
|
-
"type": "tuple"
|
|
510
|
+
"internalType": "uint128",
|
|
511
|
+
"name": "",
|
|
512
|
+
"type": "uint128"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"internalType": "uint64",
|
|
516
|
+
"name": "",
|
|
517
|
+
"type": "uint64"
|
|
432
518
|
}
|
|
433
519
|
],
|
|
434
520
|
"stateMutability": "view",
|
|
@@ -437,47 +523,59 @@
|
|
|
437
523
|
{
|
|
438
524
|
"inputs": [
|
|
439
525
|
{
|
|
440
|
-
"internalType": "
|
|
441
|
-
"name": "
|
|
442
|
-
"type": "
|
|
526
|
+
"internalType": "bytes32",
|
|
527
|
+
"name": "role",
|
|
528
|
+
"type": "bytes32"
|
|
443
529
|
}
|
|
444
530
|
],
|
|
445
|
-
"name": "
|
|
531
|
+
"name": "getRoleAdmin",
|
|
446
532
|
"outputs": [
|
|
447
533
|
{
|
|
448
|
-
"
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
"name": "priceRatio",
|
|
452
|
-
"type": "uint128"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"internalType": "uint64",
|
|
456
|
-
"name": "gasPriceInUnit",
|
|
457
|
-
"type": "uint64"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"internalType": "uint32",
|
|
461
|
-
"name": "gasPerByte",
|
|
462
|
-
"type": "uint32"
|
|
463
|
-
}
|
|
464
|
-
],
|
|
465
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
466
|
-
"name": "price",
|
|
467
|
-
"type": "tuple"
|
|
534
|
+
"internalType": "bytes32",
|
|
535
|
+
"name": "",
|
|
536
|
+
"type": "bytes32"
|
|
468
537
|
}
|
|
469
538
|
],
|
|
470
539
|
"stateMutability": "view",
|
|
471
540
|
"type": "function"
|
|
472
541
|
},
|
|
473
542
|
{
|
|
474
|
-
"inputs": [
|
|
475
|
-
|
|
543
|
+
"inputs": [
|
|
544
|
+
{
|
|
545
|
+
"internalType": "bytes32",
|
|
546
|
+
"name": "role",
|
|
547
|
+
"type": "bytes32"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"internalType": "address",
|
|
551
|
+
"name": "account",
|
|
552
|
+
"type": "address"
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"name": "grantRole",
|
|
556
|
+
"outputs": [],
|
|
557
|
+
"stateMutability": "nonpayable",
|
|
558
|
+
"type": "function"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"inputs": [
|
|
562
|
+
{
|
|
563
|
+
"internalType": "bytes32",
|
|
564
|
+
"name": "role",
|
|
565
|
+
"type": "bytes32"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"internalType": "address",
|
|
569
|
+
"name": "account",
|
|
570
|
+
"type": "address"
|
|
571
|
+
}
|
|
572
|
+
],
|
|
573
|
+
"name": "hasRole",
|
|
476
574
|
"outputs": [
|
|
477
575
|
{
|
|
478
|
-
"internalType": "
|
|
576
|
+
"internalType": "bool",
|
|
479
577
|
"name": "",
|
|
480
|
-
"type": "
|
|
578
|
+
"type": "bool"
|
|
481
579
|
}
|
|
482
580
|
],
|
|
483
581
|
"stateMutability": "view",
|
|
@@ -485,10 +583,25 @@
|
|
|
485
583
|
},
|
|
486
584
|
{
|
|
487
585
|
"inputs": [
|
|
586
|
+
{
|
|
587
|
+
"internalType": "address[]",
|
|
588
|
+
"name": "_messageLibs",
|
|
589
|
+
"type": "address[]"
|
|
590
|
+
},
|
|
488
591
|
{
|
|
489
592
|
"internalType": "address",
|
|
490
|
-
"name": "
|
|
593
|
+
"name": "_priceFeed",
|
|
491
594
|
"type": "address"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"internalType": "address",
|
|
598
|
+
"name": "_roleAdmin",
|
|
599
|
+
"type": "address"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"internalType": "address[]",
|
|
603
|
+
"name": "_admins",
|
|
604
|
+
"type": "address[]"
|
|
492
605
|
}
|
|
493
606
|
],
|
|
494
607
|
"name": "initialize",
|
|
@@ -498,12 +611,12 @@
|
|
|
498
611
|
},
|
|
499
612
|
{
|
|
500
613
|
"inputs": [],
|
|
501
|
-
"name": "
|
|
614
|
+
"name": "paused",
|
|
502
615
|
"outputs": [
|
|
503
616
|
{
|
|
504
|
-
"internalType": "
|
|
617
|
+
"internalType": "bool",
|
|
505
618
|
"name": "",
|
|
506
|
-
"type": "
|
|
619
|
+
"type": "bool"
|
|
507
620
|
}
|
|
508
621
|
],
|
|
509
622
|
"stateMutability": "view",
|
|
@@ -511,10 +624,10 @@
|
|
|
511
624
|
},
|
|
512
625
|
{
|
|
513
626
|
"inputs": [],
|
|
514
|
-
"name": "
|
|
627
|
+
"name": "priceFeed",
|
|
515
628
|
"outputs": [
|
|
516
629
|
{
|
|
517
|
-
"internalType": "
|
|
630
|
+
"internalType": "contract ILayerZeroPriceFeed",
|
|
518
631
|
"name": "",
|
|
519
632
|
"type": "address"
|
|
520
633
|
}
|
|
@@ -524,26 +637,18 @@
|
|
|
524
637
|
},
|
|
525
638
|
{
|
|
526
639
|
"inputs": [
|
|
640
|
+
{
|
|
641
|
+
"internalType": "bytes32",
|
|
642
|
+
"name": "",
|
|
643
|
+
"type": "bytes32"
|
|
644
|
+
},
|
|
527
645
|
{
|
|
528
646
|
"internalType": "address",
|
|
529
|
-
"name": "
|
|
647
|
+
"name": "",
|
|
530
648
|
"type": "address"
|
|
531
649
|
}
|
|
532
650
|
],
|
|
533
|
-
"name": "
|
|
534
|
-
"outputs": [
|
|
535
|
-
{
|
|
536
|
-
"internalType": "bool",
|
|
537
|
-
"name": "active",
|
|
538
|
-
"type": "bool"
|
|
539
|
-
}
|
|
540
|
-
],
|
|
541
|
-
"stateMutability": "view",
|
|
542
|
-
"type": "function"
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"inputs": [],
|
|
546
|
-
"name": "renounceOwnership",
|
|
651
|
+
"name": "renounceRole",
|
|
547
652
|
"outputs": [],
|
|
548
653
|
"stateMutability": "nonpayable",
|
|
549
654
|
"type": "function"
|
|
@@ -551,25 +656,17 @@
|
|
|
551
656
|
{
|
|
552
657
|
"inputs": [
|
|
553
658
|
{
|
|
554
|
-
"internalType": "
|
|
555
|
-
"name": "
|
|
556
|
-
"type": "
|
|
557
|
-
}
|
|
558
|
-
],
|
|
559
|
-
"name": "setArbitrumCompressionPercent",
|
|
560
|
-
"outputs": [],
|
|
561
|
-
"stateMutability": "nonpayable",
|
|
562
|
-
"type": "function"
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"inputs": [
|
|
659
|
+
"internalType": "bytes32",
|
|
660
|
+
"name": "role",
|
|
661
|
+
"type": "bytes32"
|
|
662
|
+
},
|
|
566
663
|
{
|
|
567
664
|
"internalType": "address",
|
|
568
|
-
"name": "
|
|
665
|
+
"name": "account",
|
|
569
666
|
"type": "address"
|
|
570
667
|
}
|
|
571
668
|
],
|
|
572
|
-
"name": "
|
|
669
|
+
"name": "revokeRole",
|
|
573
670
|
"outputs": [],
|
|
574
671
|
"stateMutability": "nonpayable",
|
|
575
672
|
"type": "function"
|
|
@@ -577,12 +674,12 @@
|
|
|
577
674
|
{
|
|
578
675
|
"inputs": [
|
|
579
676
|
{
|
|
580
|
-
"internalType": "
|
|
581
|
-
"name": "
|
|
582
|
-
"type": "
|
|
677
|
+
"internalType": "uint16",
|
|
678
|
+
"name": "_multiplierBps",
|
|
679
|
+
"type": "uint16"
|
|
583
680
|
}
|
|
584
681
|
],
|
|
585
|
-
"name": "
|
|
682
|
+
"name": "setDefaultMultiplierBps",
|
|
586
683
|
"outputs": [],
|
|
587
684
|
"stateMutability": "nonpayable",
|
|
588
685
|
"type": "function"
|
|
@@ -593,38 +690,36 @@
|
|
|
593
690
|
"components": [
|
|
594
691
|
{
|
|
595
692
|
"internalType": "uint32",
|
|
596
|
-
"name": "
|
|
693
|
+
"name": "dstEid",
|
|
597
694
|
"type": "uint32"
|
|
598
695
|
},
|
|
599
696
|
{
|
|
600
|
-
"
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
"
|
|
618
|
-
"name": "price",
|
|
619
|
-
"type": "tuple"
|
|
697
|
+
"internalType": "uint64",
|
|
698
|
+
"name": "baseGas",
|
|
699
|
+
"type": "uint64"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"internalType": "uint16",
|
|
703
|
+
"name": "multiplierBps",
|
|
704
|
+
"type": "uint16"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"internalType": "uint128",
|
|
708
|
+
"name": "floorMarginUSD",
|
|
709
|
+
"type": "uint128"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"internalType": "uint128",
|
|
713
|
+
"name": "airdropCap",
|
|
714
|
+
"type": "uint128"
|
|
620
715
|
}
|
|
621
716
|
],
|
|
622
|
-
"internalType": "struct
|
|
623
|
-
"name": "
|
|
717
|
+
"internalType": "struct IRelayer.DstConfigParam[]",
|
|
718
|
+
"name": "_params",
|
|
624
719
|
"type": "tuple[]"
|
|
625
720
|
}
|
|
626
721
|
],
|
|
627
|
-
"name": "
|
|
722
|
+
"name": "setDstConfig",
|
|
628
723
|
"outputs": [],
|
|
629
724
|
"stateMutability": "nonpayable",
|
|
630
725
|
"type": "function"
|
|
@@ -632,58 +727,12 @@
|
|
|
632
727
|
{
|
|
633
728
|
"inputs": [
|
|
634
729
|
{
|
|
635
|
-
"
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
"name": "eid",
|
|
639
|
-
"type": "uint32"
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"components": [
|
|
643
|
-
{
|
|
644
|
-
"internalType": "uint128",
|
|
645
|
-
"name": "priceRatio",
|
|
646
|
-
"type": "uint128"
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
"internalType": "uint64",
|
|
650
|
-
"name": "gasPriceInUnit",
|
|
651
|
-
"type": "uint64"
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
"internalType": "uint32",
|
|
655
|
-
"name": "gasPerByte",
|
|
656
|
-
"type": "uint32"
|
|
657
|
-
}
|
|
658
|
-
],
|
|
659
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
660
|
-
"name": "price",
|
|
661
|
-
"type": "tuple"
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"components": [
|
|
665
|
-
{
|
|
666
|
-
"internalType": "uint64",
|
|
667
|
-
"name": "gasPerL2Tx",
|
|
668
|
-
"type": "uint64"
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"internalType": "uint32",
|
|
672
|
-
"name": "gasPerL1CallDataByte",
|
|
673
|
-
"type": "uint32"
|
|
674
|
-
}
|
|
675
|
-
],
|
|
676
|
-
"internalType": "struct ILayerZeroPriceFeed.ArbitrumPriceExt",
|
|
677
|
-
"name": "extend",
|
|
678
|
-
"type": "tuple"
|
|
679
|
-
}
|
|
680
|
-
],
|
|
681
|
-
"internalType": "struct ILayerZeroPriceFeed.UpdatePriceExt",
|
|
682
|
-
"name": "_update",
|
|
683
|
-
"type": "tuple"
|
|
730
|
+
"internalType": "bool",
|
|
731
|
+
"name": "_paused",
|
|
732
|
+
"type": "bool"
|
|
684
733
|
}
|
|
685
734
|
],
|
|
686
|
-
"name": "
|
|
735
|
+
"name": "setPaused",
|
|
687
736
|
"outputs": [],
|
|
688
737
|
"stateMutability": "nonpayable",
|
|
689
738
|
"type": "function"
|
|
@@ -691,12 +740,12 @@
|
|
|
691
740
|
{
|
|
692
741
|
"inputs": [
|
|
693
742
|
{
|
|
694
|
-
"internalType": "
|
|
695
|
-
"name": "
|
|
696
|
-
"type": "
|
|
743
|
+
"internalType": "address",
|
|
744
|
+
"name": "_priceFeed",
|
|
745
|
+
"type": "address"
|
|
697
746
|
}
|
|
698
747
|
],
|
|
699
|
-
"name": "
|
|
748
|
+
"name": "setPriceFeed",
|
|
700
749
|
"outputs": [],
|
|
701
750
|
"stateMutability": "nonpayable",
|
|
702
751
|
"type": "function"
|
|
@@ -705,16 +754,11 @@
|
|
|
705
754
|
"inputs": [
|
|
706
755
|
{
|
|
707
756
|
"internalType": "address",
|
|
708
|
-
"name": "
|
|
757
|
+
"name": "_workerLib",
|
|
709
758
|
"type": "address"
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
"internalType": "bool",
|
|
713
|
-
"name": "_active",
|
|
714
|
-
"type": "bool"
|
|
715
759
|
}
|
|
716
760
|
],
|
|
717
|
-
"name": "
|
|
761
|
+
"name": "setWorkerLib",
|
|
718
762
|
"outputs": [],
|
|
719
763
|
"stateMutability": "nonpayable",
|
|
720
764
|
"type": "function"
|
|
@@ -722,20 +766,31 @@
|
|
|
722
766
|
{
|
|
723
767
|
"inputs": [
|
|
724
768
|
{
|
|
725
|
-
"internalType": "
|
|
726
|
-
"name": "
|
|
727
|
-
"type": "
|
|
769
|
+
"internalType": "bytes4",
|
|
770
|
+
"name": "interfaceId",
|
|
771
|
+
"type": "bytes4"
|
|
728
772
|
}
|
|
729
773
|
],
|
|
730
|
-
"name": "
|
|
731
|
-
"outputs": [
|
|
732
|
-
|
|
774
|
+
"name": "supportsInterface",
|
|
775
|
+
"outputs": [
|
|
776
|
+
{
|
|
777
|
+
"internalType": "bool",
|
|
778
|
+
"name": "",
|
|
779
|
+
"type": "bool"
|
|
780
|
+
}
|
|
781
|
+
],
|
|
782
|
+
"stateMutability": "view",
|
|
733
783
|
"type": "function"
|
|
734
784
|
},
|
|
735
785
|
{
|
|
736
786
|
"inputs": [
|
|
737
787
|
{
|
|
738
788
|
"internalType": "address",
|
|
789
|
+
"name": "_lib",
|
|
790
|
+
"type": "address"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"internalType": "address payable",
|
|
739
794
|
"name": "_to",
|
|
740
795
|
"type": "address"
|
|
741
796
|
},
|
|
@@ -750,6 +805,19 @@
|
|
|
750
805
|
"stateMutability": "nonpayable",
|
|
751
806
|
"type": "function"
|
|
752
807
|
},
|
|
808
|
+
{
|
|
809
|
+
"inputs": [],
|
|
810
|
+
"name": "workerLib",
|
|
811
|
+
"outputs": [
|
|
812
|
+
{
|
|
813
|
+
"internalType": "address",
|
|
814
|
+
"name": "",
|
|
815
|
+
"type": "address"
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"stateMutability": "view",
|
|
819
|
+
"type": "function"
|
|
820
|
+
},
|
|
753
821
|
{
|
|
754
822
|
"inputs": [
|
|
755
823
|
{
|
|
@@ -772,78 +840,109 @@
|
|
|
772
840
|
"type": "constructor"
|
|
773
841
|
}
|
|
774
842
|
],
|
|
775
|
-
"transactionHash": "
|
|
843
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
776
844
|
"receipt": {
|
|
777
845
|
"to": null,
|
|
778
846
|
"from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
|
|
779
|
-
"contractAddress": "
|
|
847
|
+
"contractAddress": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
780
848
|
"transactionIndex": 0,
|
|
781
|
-
"gasUsed": "
|
|
782
|
-
"logsBloom": "
|
|
783
|
-
"blockHash": "
|
|
784
|
-
"transactionHash": "
|
|
849
|
+
"gasUsed": "771002",
|
|
850
|
+
"logsBloom": "0x00000004200000000000000000000000400000000000000000000000100000000000000000000000000000020000000000000000000000200000000000100000000000000000000000000000000002000000000020000000000000000000000040000000020000000000000004000800000800800000000800000000000000000000000000000000000000000000004000002000000080000000000800800000000000400000200000000040000400400000000000000000001000000200000000000020000080000000000000040000000000000400000100000000000060000000000000000000000000000000000000800000000000000000000000000000",
|
|
851
|
+
"blockHash": "0x127251568045241b531da0eab647a2c43d575a47f4442e56d865863db801d8eb",
|
|
852
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
785
853
|
"logs": [
|
|
786
854
|
{
|
|
787
855
|
"transactionIndex": 0,
|
|
788
|
-
"blockNumber":
|
|
789
|
-
"transactionHash": "
|
|
790
|
-
"address": "
|
|
856
|
+
"blockNumber": 111,
|
|
857
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
858
|
+
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
791
859
|
"topics": [
|
|
792
860
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
793
|
-
"
|
|
861
|
+
"0x0000000000000000000000006e989c01a3e3a94c973a62280a72ec335598490e"
|
|
794
862
|
],
|
|
795
863
|
"data": "0x",
|
|
796
864
|
"logIndex": 0,
|
|
797
|
-
"blockHash": "
|
|
865
|
+
"blockHash": "0x127251568045241b531da0eab647a2c43d575a47f4442e56d865863db801d8eb"
|
|
798
866
|
},
|
|
799
867
|
{
|
|
800
868
|
"transactionIndex": 0,
|
|
801
|
-
"blockNumber":
|
|
802
|
-
"transactionHash": "
|
|
803
|
-
"address": "
|
|
869
|
+
"blockNumber": 111,
|
|
870
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
871
|
+
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
804
872
|
"topics": [
|
|
805
|
-
"
|
|
873
|
+
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
|
|
806
874
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
875
|
+
"0x000000000000000000000000aada98978453263132587d0805c4a17376af9f13",
|
|
807
876
|
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
808
877
|
],
|
|
809
878
|
"data": "0x",
|
|
810
879
|
"logIndex": 1,
|
|
811
|
-
"blockHash": "
|
|
880
|
+
"blockHash": "0x127251568045241b531da0eab647a2c43d575a47f4442e56d865863db801d8eb"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"transactionIndex": 0,
|
|
884
|
+
"blockNumber": 111,
|
|
885
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
886
|
+
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
887
|
+
"topics": [
|
|
888
|
+
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
|
|
889
|
+
"0x724aface199fe5bed93ae8508474576a9adf3dc443b2c451842a2242919f19de",
|
|
890
|
+
"0x000000000000000000000000712516e61c8b383df4a63cfe83d7701bce54b03e",
|
|
891
|
+
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
892
|
+
],
|
|
893
|
+
"data": "0x",
|
|
894
|
+
"logIndex": 2,
|
|
895
|
+
"blockHash": "0x127251568045241b531da0eab647a2c43d575a47f4442e56d865863db801d8eb"
|
|
812
896
|
},
|
|
813
897
|
{
|
|
814
898
|
"transactionIndex": 0,
|
|
815
|
-
"blockNumber":
|
|
816
|
-
"transactionHash": "
|
|
817
|
-
"address": "
|
|
899
|
+
"blockNumber": 111,
|
|
900
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
901
|
+
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
902
|
+
"topics": [
|
|
903
|
+
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
|
|
904
|
+
"0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775",
|
|
905
|
+
"0x000000000000000000000000aada98978453263132587d0805c4a17376af9f13",
|
|
906
|
+
"0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
907
|
+
],
|
|
908
|
+
"data": "0x",
|
|
909
|
+
"logIndex": 3,
|
|
910
|
+
"blockHash": "0x127251568045241b531da0eab647a2c43d575a47f4442e56d865863db801d8eb"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"transactionIndex": 0,
|
|
914
|
+
"blockNumber": 111,
|
|
915
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
916
|
+
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
818
917
|
"topics": [
|
|
819
918
|
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
820
919
|
],
|
|
821
920
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
822
|
-
"logIndex":
|
|
823
|
-
"blockHash": "
|
|
921
|
+
"logIndex": 4,
|
|
922
|
+
"blockHash": "0x127251568045241b531da0eab647a2c43d575a47f4442e56d865863db801d8eb"
|
|
824
923
|
},
|
|
825
924
|
{
|
|
826
925
|
"transactionIndex": 0,
|
|
827
|
-
"blockNumber":
|
|
828
|
-
"transactionHash": "
|
|
829
|
-
"address": "
|
|
926
|
+
"blockNumber": 111,
|
|
927
|
+
"transactionHash": "0x37b50ecb28348ac12f85e43edc8b4be1387dc0a7e2162d3dc4a16c1163d18f2d",
|
|
928
|
+
"address": "0xF6168876932289D073567f347121A267095f3DD6",
|
|
830
929
|
"topics": [
|
|
831
930
|
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
832
931
|
],
|
|
833
|
-
"data": "
|
|
834
|
-
"logIndex":
|
|
835
|
-
"blockHash": "
|
|
932
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bc9129dc0487fc2e169941c75aabc539f208fb01",
|
|
933
|
+
"logIndex": 5,
|
|
934
|
+
"blockHash": "0x127251568045241b531da0eab647a2c43d575a47f4442e56d865863db801d8eb"
|
|
836
935
|
}
|
|
837
936
|
],
|
|
838
|
-
"blockNumber":
|
|
839
|
-
"cumulativeGasUsed": "
|
|
937
|
+
"blockNumber": 111,
|
|
938
|
+
"cumulativeGasUsed": "771002",
|
|
840
939
|
"status": 1,
|
|
841
940
|
"byzantium": true
|
|
842
941
|
},
|
|
843
942
|
"args": [
|
|
844
|
-
"
|
|
845
|
-
"
|
|
846
|
-
"
|
|
943
|
+
"0x6e989C01a3e3A94C973A62280a72EC335598490e",
|
|
944
|
+
"0xBC9129Dc0487fc2E169941C75aABC539f208fb01",
|
|
945
|
+
"0x25b16ebe00000000000000000000000000000000000000000000000000000000000000800000000000000000000000008438ad1c834623cff278ab6829a248e37c2d7e3f000000000000000000000000aada98978453263132587d0805c4a17376af9f1300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000712516e61c8b383df4a63cfe83d7701bce54b03e0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000aada98978453263132587d0805c4a17376af9f13"
|
|
847
946
|
],
|
|
848
947
|
"numDeployments": 1,
|
|
849
948
|
"solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
|
|
@@ -852,10 +951,17 @@
|
|
|
852
951
|
"execute": {
|
|
853
952
|
"methodName": "initialize",
|
|
854
953
|
"args": [
|
|
855
|
-
|
|
954
|
+
[
|
|
955
|
+
"0x712516e61C8B383dF4A63CFe83d7701Bce54B03e"
|
|
956
|
+
],
|
|
957
|
+
"0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
958
|
+
"0xaAda98978453263132587D0805C4A17376Af9F13",
|
|
959
|
+
[
|
|
960
|
+
"0xaAda98978453263132587D0805C4A17376Af9F13"
|
|
961
|
+
]
|
|
856
962
|
]
|
|
857
963
|
},
|
|
858
|
-
"implementation": "
|
|
964
|
+
"implementation": "0x6e989C01a3e3A94C973A62280a72EC335598490e",
|
|
859
965
|
"devdoc": {
|
|
860
966
|
"details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.",
|
|
861
967
|
"kind": "dev",
|