@layerzerolabs/lz-evm-sdk-v2 3.0.59 → 3.0.60
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/CHANGELOG.md +8 -0
- package/artifacts-zk/contracts/oapp/OAppRead.sol/OAppRead.json +402 -0
- package/artifacts-zk/contracts/oapp/examples/CmdCodecV1Mock.sol/CmdCodecV1Mock.json +279 -0
- package/artifacts-zk/contracts/oapp/examples/LzReadCounter.sol/LzReadCounter.json +844 -0
- package/artifacts-zk/contracts/oapp/examples/OmniCounterAbstract.sol/MsgCodec.json +11 -0
- package/artifacts-zk/contracts/oapp/examples/OmniCounterAbstract.sol/OmniCounterAbstract.json +910 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppComputer.sol/IOAppComputer.json +60 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppComputerMap.sol/IOAppComputerMap.json +36 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppComputerReduce.sol/IOAppComputerReduce.json +36 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppReceiver.sol/IOAppReceiver.json +168 -0
- package/artifacts-zk/contracts/oapp/libs/ReadCmdCodecV1.sol/ReadCmdCodecV1.json +22 -0
- package/artifacts-zk/contracts/oapp/utils/RateLimiter.sol/RateLimiter.json +105 -0
- package/deployments/arbitrum-sandbox-local/DVN.json +1 -1
- package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +1 -1
- package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +1 -1
- package/deployments/arbitrum-sandbox-local/DefaultProxyAdmin.json +1 -1
- package/deployments/arbitrum-sandbox-local/EndpointV2.json +1 -1
- package/deployments/arbitrum-sandbox-local/EndpointV2View.json +1 -1
- package/deployments/arbitrum-sandbox-local/EndpointV2View_Implementation.json +1 -1
- package/deployments/arbitrum-sandbox-local/EndpointV2View_Proxy.json +1 -1
- package/deployments/arbitrum-sandbox-local/Executor.json +1 -1
- package/deployments/arbitrum-sandbox-local/ExecutorDecompressor.json +1 -1
- package/deployments/arbitrum-sandbox-local/ExecutorFeeLib.json +1 -1
- package/deployments/arbitrum-sandbox-local/ExecutorProxyAdmin.json +1 -1
- package/deployments/arbitrum-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/arbitrum-sandbox-local/Executor_Proxy.json +1 -1
- package/deployments/arbitrum-sandbox-local/LzExecutor.json +1 -1
- package/deployments/arbitrum-sandbox-local/LzExecutor_Implementation.json +1 -1
- package/deployments/arbitrum-sandbox-local/LzExecutor_Proxy.json +1 -1
- package/deployments/arbitrum-sandbox-local/MultiCall.json +1 -1
- package/deployments/arbitrum-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/arbitrum-sandbox-local/PriceFeed.json +1 -1
- package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +1 -1
- package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReadLib1002.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReadLib1002View.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReadLib1002View_Implementation.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReadLib1002View_Proxy.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln301.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln301View.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln302.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln302View.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
- package/deployments/arbitrum-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
- package/deployments/arbitrum-sandbox-local/SendUln301.json +1 -1
- package/deployments/arbitrum-sandbox-local/SendUln302.json +1 -1
- package/deployments/arbitrum-sandbox-local/SimpleMessageLib.json +1 -1
- package/deployments/arbitrum-sandbox-local/Treasury.json +1 -1
- package/deployments/arbitrum-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/bsc-sandbox-local/DVN.json +1 -1
- package/deployments/bsc-sandbox-local/DVNDecompressor.json +1 -1
- package/deployments/bsc-sandbox-local/DVNFeeLib.json +1 -1
- package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +1 -1
- package/deployments/bsc-sandbox-local/EndpointV2.json +1 -1
- package/deployments/bsc-sandbox-local/EndpointV2View.json +1 -1
- package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +1 -1
- package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +1 -1
- package/deployments/bsc-sandbox-local/Executor.json +1 -1
- package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +1 -1
- package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +1 -1
- package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +1 -1
- package/deployments/bsc-sandbox-local/Executor_Implementation.json +1 -1
- package/deployments/bsc-sandbox-local/Executor_Proxy.json +1 -1
- package/deployments/bsc-sandbox-local/LzExecutor.json +1 -1
- package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +1 -1
- package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +1 -1
- package/deployments/bsc-sandbox-local/MultiCall.json +1 -1
- package/deployments/bsc-sandbox-local/NonceContractMock.json +1 -1
- package/deployments/bsc-sandbox-local/PriceFeed.json +1 -1
- package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +1 -1
- package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +1 -1
- package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +1 -1
- package/deployments/bsc-sandbox-local/ReadLib1002.json +1 -1
- package/deployments/bsc-sandbox-local/ReadLib1002View.json +1 -1
- package/deployments/bsc-sandbox-local/ReadLib1002ViewProxyAdmin.json +1 -1
- package/deployments/bsc-sandbox-local/ReadLib1002View_Implementation.json +1 -1
- package/deployments/bsc-sandbox-local/ReadLib1002View_Proxy.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln301.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln301View.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln302.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln302View.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
- package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +1 -1
- package/deployments/bsc-sandbox-local/SendUln301.json +1 -1
- package/deployments/bsc-sandbox-local/SendUln302.json +1 -1
- package/deployments/bsc-sandbox-local/SimpleMessageLib.json +1 -1
- package/deployments/bsc-sandbox-local/Treasury.json +1 -1
- package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +1 -1
- package/deployments/tron-sandbox-local/DVN.json +2 -2
- package/deployments/tron-sandbox-local/DVNDecompressor.json +2 -2
- package/deployments/tron-sandbox-local/DVNFeeLib.json +2 -2
- package/deployments/tron-sandbox-local/DefaultProxyAdmin.json +2 -2
- package/deployments/tron-sandbox-local/EndpointV2.json +2 -2
- package/deployments/tron-sandbox-local/EndpointV2View.json +2 -2
- package/deployments/tron-sandbox-local/EndpointV2View_Implementation.json +2 -2
- package/deployments/tron-sandbox-local/EndpointV2View_Proxy.json +2 -2
- package/deployments/tron-sandbox-local/Executor.json +2 -2
- package/deployments/tron-sandbox-local/ExecutorDecompressor.json +2 -2
- package/deployments/tron-sandbox-local/ExecutorFeeLib.json +2 -2
- package/deployments/tron-sandbox-local/ExecutorProxyAdmin.json +2 -2
- package/deployments/tron-sandbox-local/Executor_Implementation.json +2 -2
- package/deployments/tron-sandbox-local/Executor_Proxy.json +2 -2
- package/deployments/tron-sandbox-local/LzExecutor.json +2 -2
- package/deployments/tron-sandbox-local/LzExecutor_Implementation.json +2 -2
- package/deployments/tron-sandbox-local/LzExecutor_Proxy.json +2 -2
- package/deployments/tron-sandbox-local/MultiCall.json +2 -2
- package/deployments/tron-sandbox-local/NonceContractMock.json +2 -2
- package/deployments/tron-sandbox-local/PriceFeed.json +2 -2
- package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +2 -2
- package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +2 -2
- package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +2 -2
- package/deployments/tron-sandbox-local/ReadLib1002.json +2 -2
- package/deployments/tron-sandbox-local/ReadLib1002View.json +2 -2
- package/deployments/tron-sandbox-local/ReadLib1002ViewProxyAdmin.json +2 -2
- package/deployments/tron-sandbox-local/ReadLib1002View_Implementation.json +2 -2
- package/deployments/tron-sandbox-local/ReadLib1002View_Proxy.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln301.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln301View.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln301View_Implementation.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln301View_Proxy.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln302.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln302View.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln302View_Implementation.json +2 -2
- package/deployments/tron-sandbox-local/ReceiveUln302View_Proxy.json +2 -2
- package/deployments/tron-sandbox-local/SendUln301.json +2 -2
- package/deployments/tron-sandbox-local/SendUln302.json +2 -2
- package/deployments/tron-sandbox-local/SimpleMessageLib.json +2 -2
- package/deployments/tron-sandbox-local/Treasury.json +2 -2
- package/deployments/tron-sandbox-local/TreasuryFeeHandler.json +2 -2
- package/package.json +9 -9
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppComputer",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppComputer.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "_request",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes",
|
|
15
|
+
"name": "_response",
|
|
16
|
+
"type": "bytes"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "lzMap",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "bytes",
|
|
23
|
+
"name": "",
|
|
24
|
+
"type": "bytes"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"stateMutability": "view",
|
|
28
|
+
"type": "function"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"inputs": [
|
|
32
|
+
{
|
|
33
|
+
"internalType": "bytes",
|
|
34
|
+
"name": "_cmd",
|
|
35
|
+
"type": "bytes"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"internalType": "bytes[]",
|
|
39
|
+
"name": "_responses",
|
|
40
|
+
"type": "bytes[]"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"name": "lzReduce",
|
|
44
|
+
"outputs": [
|
|
45
|
+
{
|
|
46
|
+
"internalType": "bytes",
|
|
47
|
+
"name": "",
|
|
48
|
+
"type": "bytes"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"stateMutability": "view",
|
|
52
|
+
"type": "function"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"bytecode": "0x",
|
|
56
|
+
"deployedBytecode": "0x",
|
|
57
|
+
"linkReferences": {},
|
|
58
|
+
"deployedLinkReferences": {},
|
|
59
|
+
"factoryDeps": {}
|
|
60
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppComputerMap",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppComputerMap.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "_request",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes",
|
|
15
|
+
"name": "_response",
|
|
16
|
+
"type": "bytes"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "lzMap",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "bytes",
|
|
23
|
+
"name": "",
|
|
24
|
+
"type": "bytes"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"stateMutability": "view",
|
|
28
|
+
"type": "function"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"bytecode": "0x",
|
|
32
|
+
"deployedBytecode": "0x",
|
|
33
|
+
"linkReferences": {},
|
|
34
|
+
"deployedLinkReferences": {},
|
|
35
|
+
"factoryDeps": {}
|
|
36
|
+
}
|
package/artifacts-zk/contracts/oapp/interfaces/IOAppComputerReduce.sol/IOAppComputerReduce.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppComputerReduce",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppComputerReduce.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "_cmd",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes[]",
|
|
15
|
+
"name": "_responses",
|
|
16
|
+
"type": "bytes[]"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "lzReduce",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "bytes",
|
|
23
|
+
"name": "",
|
|
24
|
+
"type": "bytes"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"stateMutability": "view",
|
|
28
|
+
"type": "function"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"bytecode": "0x",
|
|
32
|
+
"deployedBytecode": "0x",
|
|
33
|
+
"linkReferences": {},
|
|
34
|
+
"deployedLinkReferences": {},
|
|
35
|
+
"factoryDeps": {}
|
|
36
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppReceiver",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppReceiver.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"components": [
|
|
10
|
+
{
|
|
11
|
+
"internalType": "uint32",
|
|
12
|
+
"name": "srcEid",
|
|
13
|
+
"type": "uint32"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "bytes32",
|
|
17
|
+
"name": "sender",
|
|
18
|
+
"type": "bytes32"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint64",
|
|
22
|
+
"name": "nonce",
|
|
23
|
+
"type": "uint64"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"internalType": "struct Origin",
|
|
27
|
+
"name": "_origin",
|
|
28
|
+
"type": "tuple"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"name": "allowInitializePath",
|
|
32
|
+
"outputs": [
|
|
33
|
+
{
|
|
34
|
+
"internalType": "bool",
|
|
35
|
+
"name": "",
|
|
36
|
+
"type": "bool"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"stateMutability": "view",
|
|
40
|
+
"type": "function"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [
|
|
44
|
+
{
|
|
45
|
+
"components": [
|
|
46
|
+
{
|
|
47
|
+
"internalType": "uint32",
|
|
48
|
+
"name": "srcEid",
|
|
49
|
+
"type": "uint32"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"internalType": "bytes32",
|
|
53
|
+
"name": "sender",
|
|
54
|
+
"type": "bytes32"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint64",
|
|
58
|
+
"name": "nonce",
|
|
59
|
+
"type": "uint64"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"internalType": "struct Origin",
|
|
63
|
+
"name": "_origin",
|
|
64
|
+
"type": "tuple"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes",
|
|
68
|
+
"name": "_message",
|
|
69
|
+
"type": "bytes"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"internalType": "address",
|
|
73
|
+
"name": "_sender",
|
|
74
|
+
"type": "address"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"name": "isComposeMsgSender",
|
|
78
|
+
"outputs": [
|
|
79
|
+
{
|
|
80
|
+
"internalType": "bool",
|
|
81
|
+
"name": "isSender",
|
|
82
|
+
"type": "bool"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"stateMutability": "view",
|
|
86
|
+
"type": "function"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inputs": [
|
|
90
|
+
{
|
|
91
|
+
"components": [
|
|
92
|
+
{
|
|
93
|
+
"internalType": "uint32",
|
|
94
|
+
"name": "srcEid",
|
|
95
|
+
"type": "uint32"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"internalType": "bytes32",
|
|
99
|
+
"name": "sender",
|
|
100
|
+
"type": "bytes32"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"internalType": "uint64",
|
|
104
|
+
"name": "nonce",
|
|
105
|
+
"type": "uint64"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"internalType": "struct Origin",
|
|
109
|
+
"name": "_origin",
|
|
110
|
+
"type": "tuple"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"internalType": "bytes32",
|
|
114
|
+
"name": "_guid",
|
|
115
|
+
"type": "bytes32"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"internalType": "bytes",
|
|
119
|
+
"name": "_message",
|
|
120
|
+
"type": "bytes"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"internalType": "address",
|
|
124
|
+
"name": "_executor",
|
|
125
|
+
"type": "address"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"internalType": "bytes",
|
|
129
|
+
"name": "_extraData",
|
|
130
|
+
"type": "bytes"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"name": "lzReceive",
|
|
134
|
+
"outputs": [],
|
|
135
|
+
"stateMutability": "payable",
|
|
136
|
+
"type": "function"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inputs": [
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint32",
|
|
142
|
+
"name": "_eid",
|
|
143
|
+
"type": "uint32"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"internalType": "bytes32",
|
|
147
|
+
"name": "_sender",
|
|
148
|
+
"type": "bytes32"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"name": "nextNonce",
|
|
152
|
+
"outputs": [
|
|
153
|
+
{
|
|
154
|
+
"internalType": "uint64",
|
|
155
|
+
"name": "",
|
|
156
|
+
"type": "uint64"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"stateMutability": "view",
|
|
160
|
+
"type": "function"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"bytecode": "0x",
|
|
164
|
+
"deployedBytecode": "0x",
|
|
165
|
+
"linkReferences": {},
|
|
166
|
+
"deployedLinkReferences": {},
|
|
167
|
+
"factoryDeps": {}
|
|
168
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "ReadCmdCodecV1",
|
|
4
|
+
"sourceName": "contracts/oapp/libs/ReadCmdCodecV1.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "InvalidType",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
13
|
+
"name": "InvalidVersion",
|
|
14
|
+
"type": "error"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000f31af40b8ce9a9f4e8b111edd0c746606597ef9f1544938e45fe7912ff4af542",
|
|
18
|
+
"deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e00000010000104300000000000000000000000000000000000000000000000000000000200000000000000000000000000000040000001000000000000000000f31af40b8ce9a9f4e8b111edd0c746606597ef9f1544938e45fe7912ff4af542",
|
|
19
|
+
"linkReferences": {},
|
|
20
|
+
"deployedLinkReferences": {},
|
|
21
|
+
"factoryDeps": {}
|
|
22
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "RateLimiter",
|
|
4
|
+
"sourceName": "contracts/oapp/utils/RateLimiter.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "RateLimitExceeded",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"anonymous": false,
|
|
13
|
+
"inputs": [
|
|
14
|
+
{
|
|
15
|
+
"components": [
|
|
16
|
+
{
|
|
17
|
+
"internalType": "uint32",
|
|
18
|
+
"name": "dstEid",
|
|
19
|
+
"type": "uint32"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"internalType": "uint256",
|
|
23
|
+
"name": "limit",
|
|
24
|
+
"type": "uint256"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"internalType": "uint256",
|
|
28
|
+
"name": "window",
|
|
29
|
+
"type": "uint256"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"indexed": false,
|
|
33
|
+
"internalType": "struct RateLimiter.RateLimitConfig[]",
|
|
34
|
+
"name": "rateLimitConfigs",
|
|
35
|
+
"type": "tuple[]"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"name": "RateLimitsChanged",
|
|
39
|
+
"type": "event"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"inputs": [
|
|
43
|
+
{
|
|
44
|
+
"internalType": "uint32",
|
|
45
|
+
"name": "_dstEid",
|
|
46
|
+
"type": "uint32"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"name": "getAmountCanBeSent",
|
|
50
|
+
"outputs": [
|
|
51
|
+
{
|
|
52
|
+
"internalType": "uint256",
|
|
53
|
+
"name": "currentAmountInFlight",
|
|
54
|
+
"type": "uint256"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint256",
|
|
58
|
+
"name": "amountCanBeSent",
|
|
59
|
+
"type": "uint256"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"stateMutability": "view",
|
|
63
|
+
"type": "function"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"inputs": [
|
|
67
|
+
{
|
|
68
|
+
"internalType": "uint32",
|
|
69
|
+
"name": "dstEid",
|
|
70
|
+
"type": "uint32"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"name": "rateLimits",
|
|
74
|
+
"outputs": [
|
|
75
|
+
{
|
|
76
|
+
"internalType": "uint256",
|
|
77
|
+
"name": "amountInFlight",
|
|
78
|
+
"type": "uint256"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"internalType": "uint256",
|
|
82
|
+
"name": "lastUpdated",
|
|
83
|
+
"type": "uint256"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"internalType": "uint256",
|
|
87
|
+
"name": "limit",
|
|
88
|
+
"type": "uint256"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"internalType": "uint256",
|
|
92
|
+
"name": "window",
|
|
93
|
+
"type": "uint256"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"stateMutability": "view",
|
|
97
|
+
"type": "function"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"bytecode": "0x",
|
|
101
|
+
"deployedBytecode": "0x",
|
|
102
|
+
"linkReferences": {},
|
|
103
|
+
"deployedLinkReferences": {},
|
|
104
|
+
"factoryDeps": {}
|
|
105
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x10Aeafac83d48E2f9ac4bAAf94311c45fACe1404",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xcf9180380cff06ffe89afce74adbf5ab58bdb24fc724967bf8508b35869999fe",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0xCABEe62adFB2a4d4172Fc2F7536f324FC52C274a",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x617c2d3e6724adbb02b63297e2a812c6f3352e61622f9156bc64d82fae611ed1",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0xfbfbfDdd6e35dA57b7B0F9a2C10E34Be70B3A4E9",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x10ef7bc54f0e1a21e30e99e2071681ce7b74010d209d6d0112ea048327c4f7b8",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x94B75AA39bEC4cB15e7B9593C315aF203B7B847f",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x208644a50bc8d1e68241d9a3b2e0c18273711d7193e4c2e9781c804752395824",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x0b48aF34f4c854F5ae1A3D587da471FeA45bAD52",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x58fdab92bd252e09a78937e1d6843c4558ae830860443c6c034812e979234a65",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x8cDbD76bB6Cf0293e07deEEEd460cf579873aF44",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x0234cd8e9c9e99b03fcc319ddbb9a621bf2afc1b82fa7d3619e25c60aa102e60",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"anonymous": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x44bb479da81b6e14158b966f86ca0c6261e3b13a21edcb9ba95e37a8249dfe08",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"anonymous": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x8cDbD76bB6Cf0293e07deEEEd460cf579873aF44",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x0234cd8e9c9e99b03fcc319ddbb9a621bf2afc1b82fa7d3619e25c60aa102e60",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x36B22905A1211A55E0d62eF46720172e2b0f24BD",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x9adb3ad87a9d802dab72aaa432f31f9a453e4da0845b1ccea40328c7e362cead",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"anonymous": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x5F1e91d509cFEB544809B0749284DEB25C3a113a",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x931997861c676d846746c60a14a2a87c42d81e427bc222310b6dfb34506aaa9f",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x558785b76e29e5b9f8Bf428936480B49d71F3d76",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x599707858f8db3328763e1fd13ce82061811cbf30744f58f3d8d48f60a6bb75e",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0xE7C2a73131dd48D8AC46dCD7Ab80C8cbeE5b410A",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xf26664bd826135b8b089136bcace1a712d23f6a2affb4564a81941ee9ee3a78c",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x71550ac84Ba7599220eAEf5C756b847cB4486606",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xf66777ad5f54b7efe6cd590f727226174587a4c323d127076374c22df0e0e08e",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x36B22905A1211A55E0d62eF46720172e2b0f24BD",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x9adb3ad87a9d802dab72aaa432f31f9a453e4da0845b1ccea40328c7e362cead",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xf5569390a9d32ab5d4e572fb17a02528ffe1dbc45dc4c9667ff90bf402c0c421",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"anonymous": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0xE8BBb5F22E6b3d6CD9157B8FD2b59C076e57a9Fc",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xb225f3d707436f42d3379a4de93623cf2aa38fcef5b67cfc9aeb88944689c9ec",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x050499eBdbBBc1216011dE07A48b5182c983Ae74",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xf5569390a9d32ab5d4e572fb17a02528ffe1dbc45dc4c9667ff90bf402c0c421",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x9E7088C23e5C0B2D02cD7886A1BDbC7FE8b71016",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xe3c61bf192dc5c2c76732fd6887edd9c6013766f9a8362885c1c0c3515ef548d",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x2dE080e97B0caE9825375D31f5D0eD5751fDf16D",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x4aae7b8cf945c3fddff352487aed1e7b838c256a954098dfb3eeadaeedba453b",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x342a0226e577d6f73523465e2e47b0078763abc5b5d95ae007fc812ddffd349d",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"anonymous": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x663F3ad617193148711d28f5334eE4Ed07016602",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xbfbf105280dc7d3e83f6af3450cb1f366e7927ad0adb9d66b0433a867013aa69",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x2E983A1Ba5e8b38AAAeC4B440B9dDcFBf72E15d1",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xdbc7edd8414b94539e232106141e2deb8a313b4c55093363bbad5a67bb178b5c",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x342a0226e577d6f73523465e2e47b0078763abc5b5d95ae007fc812ddffd349d",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x0D4ff719551E23185Aeb16FFbF2ABEbB90635942",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0xe3fbbc91f1356d3e2e80d4854821d07b81daca543c0c9bcfca3e4cb6ac3d7dda",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"address": "0x2fc631e4B3018258759C52AF169200213e84ABab",
|
|
3
|
-
"transactionHash": "
|
|
3
|
+
"transactionHash": "0x3b3241e79f84797648f9dfc12b118a78ed2cc89871d10505f3c4d67eda6c7e7b",
|
|
4
4
|
"abi": [
|
|
5
5
|
{
|
|
6
6
|
"anonymous": false,
|