@layerzerolabs/protocol-v2-oapp-evm-contracts 1.2.96 → 1.2.97
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/README.md +1 -1
- package/artifacts/contracts/oapp/OApp.sol/OApp.json +383 -0
- package/artifacts/contracts/oapp/OAppCore.sol/OAppCore.json +200 -0
- package/artifacts/contracts/oapp/OAppRead.sol/OAppRead.json +401 -0
- package/artifacts/contracts/oapp/OAppReceiver.sol/OAppReceiver.json +367 -0
- package/artifacts/contracts/oapp/OAppSender.sol/OAppSender.json +216 -0
- package/artifacts/contracts/oapp/examples/CmdCodecV1Mock.sol/CmdCodecV1Mock.json +278 -0
- package/artifacts/contracts/oapp/examples/LzReadCounter.sol/LzReadCounter.json +843 -0
- package/artifacts/contracts/oapp/examples/OmniCounter.sol/OmniCounter.json +925 -0
- package/artifacts/contracts/oapp/examples/OmniCounterAbstract.sol/MsgCodec.json +10 -0
- package/artifacts/contracts/oapp/examples/OmniCounterAbstract.sol/OmniCounterAbstract.json +909 -0
- package/artifacts/contracts/oapp/examples/OmniCounterAlt.sol/OmniCounterAlt.json +948 -0
- package/artifacts/contracts/oapp/examples/OmniCounterPreCrime.sol/OmniCounterPreCrime.json +368 -0
- package/artifacts/contracts/oapp/interfaces/IOAppComposer.sol/IOAppComposer.json +44 -0
- package/artifacts/contracts/oapp/interfaces/IOAppComputer.sol/IOAppComputer.json +59 -0
- package/artifacts/contracts/oapp/interfaces/IOAppComputerMap.sol/IOAppComputerMap.json +35 -0
- package/artifacts/contracts/oapp/interfaces/IOAppComputerReduce.sol/IOAppComputerReduce.json +35 -0
- package/artifacts/contracts/oapp/interfaces/IOAppCore.sol/IOAppCore.json +148 -0
- package/artifacts/contracts/oapp/interfaces/IOAppMsgInspector.sol/IOAppMsgInspector.json +51 -0
- package/artifacts/contracts/oapp/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +111 -0
- package/artifacts/contracts/oapp/interfaces/IOAppReceiver.sol/IOAppReceiver.json +167 -0
- package/artifacts/contracts/oapp/libs/OAppOptionsType3.sol/OAppOptionsType3.json +187 -0
- package/artifacts/contracts/oapp/libs/OptionsBuilder.sol/OptionsBuilder.json +38 -0
- package/artifacts/contracts/oapp/libs/ReadCmdCodecV1.sol/ReadCmdCodecV1.json +21 -0
- package/artifacts/contracts/oapp/utils/RateLimiter.sol/RateLimiter.json +104 -0
- package/artifacts/contracts/oft/OFT.sol/OFT.json +1514 -0
- package/artifacts/contracts/oft/OFTAdapter.sol/OFTAdapter.json +1244 -0
- package/artifacts/contracts/oft/OFTCore.sol/OFTCore.json +1244 -0
- package/artifacts/contracts/oft/interfaces/IOFT.sol/IOFT.json +456 -0
- package/artifacts/contracts/oft/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +10 -0
- package/artifacts/contracts/oft/libs/OFTMsgCodec.sol/OFTMsgCodec.json +10 -0
- package/artifacts/contracts/precrime/OAppPreCrimeSimulator.sol/OAppPreCrimeSimulator.json +277 -0
- package/artifacts/contracts/precrime/PreCrime.sol/PreCrime.json +352 -0
- package/artifacts/contracts/precrime/extensions/PreCrimeE1.sol/PreCrimeE1.json +352 -0
- package/artifacts/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol/IOAppPreCrimeSimulator.json +175 -0
- package/artifacts/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +188 -0
- package/artifacts/contracts/precrime/libs/Packet.sol/PacketDecoder.json +10 -0
- package/artifacts-tron/contracts/oapp/OApp.sol/OApp.json +383 -0
- package/artifacts-tron/contracts/oapp/OAppCore.sol/OAppCore.json +200 -0
- package/artifacts-tron/contracts/oapp/OAppRead.sol/OAppRead.json +401 -0
- package/artifacts-tron/contracts/oapp/OAppReceiver.sol/OAppReceiver.json +367 -0
- package/artifacts-tron/contracts/oapp/OAppSender.sol/OAppSender.json +216 -0
- package/artifacts-tron/contracts/oapp/examples/CmdCodecV1Mock.sol/CmdCodecV1Mock.json +278 -0
- package/artifacts-tron/contracts/oapp/examples/LzReadCounter.sol/LzReadCounter.json +843 -0
- package/artifacts-tron/contracts/oapp/examples/OmniCounter.sol/OmniCounter.json +925 -0
- package/artifacts-tron/contracts/oapp/examples/OmniCounterAbstract.sol/MsgCodec.json +10 -0
- package/artifacts-tron/contracts/oapp/examples/OmniCounterAbstract.sol/OmniCounterAbstract.json +909 -0
- package/artifacts-tron/contracts/oapp/examples/OmniCounterAlt.sol/OmniCounterAlt.json +948 -0
- package/artifacts-tron/contracts/oapp/examples/OmniCounterPreCrime.sol/OmniCounterPreCrime.json +368 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppComposer.sol/IOAppComposer.json +44 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppComputer.sol/IOAppComputer.json +59 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppComputerMap.sol/IOAppComputerMap.json +35 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppComputerReduce.sol/IOAppComputerReduce.json +35 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppCore.sol/IOAppCore.json +148 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppMsgInspector.sol/IOAppMsgInspector.json +51 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +111 -0
- package/artifacts-tron/contracts/oapp/interfaces/IOAppReceiver.sol/IOAppReceiver.json +167 -0
- package/artifacts-tron/contracts/oapp/libs/OAppOptionsType3.sol/OAppOptionsType3.json +187 -0
- package/artifacts-tron/contracts/oapp/libs/OptionsBuilder.sol/OptionsBuilder.json +38 -0
- package/artifacts-tron/contracts/oapp/libs/ReadCmdCodecV1.sol/ReadCmdCodecV1.json +21 -0
- package/artifacts-tron/contracts/oapp/utils/RateLimiter.sol/RateLimiter.json +104 -0
- package/artifacts-tron/contracts/oft/OFT.sol/OFT.json +1514 -0
- package/artifacts-tron/contracts/oft/OFTAdapter.sol/OFTAdapter.json +1244 -0
- package/artifacts-tron/contracts/oft/OFTCore.sol/OFTCore.json +1244 -0
- package/artifacts-tron/contracts/oft/interfaces/IOFT.sol/IOFT.json +456 -0
- package/artifacts-tron/contracts/oft/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +10 -0
- package/artifacts-tron/contracts/oft/libs/OFTMsgCodec.sol/OFTMsgCodec.json +10 -0
- package/artifacts-tron/contracts/precrime/OAppPreCrimeSimulator.sol/OAppPreCrimeSimulator.json +277 -0
- package/artifacts-tron/contracts/precrime/PreCrime.sol/PreCrime.json +352 -0
- package/artifacts-tron/contracts/precrime/extensions/PreCrimeE1.sol/PreCrimeE1.json +352 -0
- package/artifacts-tron/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol/IOAppPreCrimeSimulator.json +175 -0
- package/artifacts-tron/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +188 -0
- package/artifacts-tron/contracts/precrime/libs/Packet.sol/PacketDecoder.json +10 -0
- package/artifacts-zk/contracts/oapp/OApp.sol/OApp.json +384 -0
- package/artifacts-zk/contracts/oapp/OAppCore.sol/OAppCore.json +201 -0
- package/artifacts-zk/contracts/oapp/OAppRead.sol/OAppRead.json +402 -0
- package/artifacts-zk/contracts/oapp/OAppReceiver.sol/OAppReceiver.json +368 -0
- package/artifacts-zk/contracts/oapp/OAppSender.sol/OAppSender.json +217 -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/OmniCounter.sol/OmniCounter.json +926 -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/examples/OmniCounterAlt.sol/OmniCounterAlt.json +949 -0
- package/artifacts-zk/contracts/oapp/examples/OmniCounterPreCrime.sol/OmniCounterPreCrime.json +369 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppComposer.sol/IOAppComposer.json +45 -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/IOAppCore.sol/IOAppCore.json +149 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppMsgInspector.sol/IOAppMsgInspector.json +52 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +112 -0
- package/artifacts-zk/contracts/oapp/interfaces/IOAppReceiver.sol/IOAppReceiver.json +168 -0
- package/artifacts-zk/contracts/oapp/libs/OAppOptionsType3.sol/OAppOptionsType3.json +188 -0
- package/artifacts-zk/contracts/oapp/libs/OptionsBuilder.sol/OptionsBuilder.json +39 -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/artifacts-zk/contracts/oft/OFT.sol/OFT.json +1515 -0
- package/artifacts-zk/contracts/oft/OFTAdapter.sol/OFTAdapter.json +1245 -0
- package/artifacts-zk/contracts/oft/OFTCore.sol/OFTCore.json +1245 -0
- package/artifacts-zk/contracts/oft/interfaces/IOFT.sol/IOFT.json +457 -0
- package/artifacts-zk/contracts/oft/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +11 -0
- package/artifacts-zk/contracts/oft/libs/OFTMsgCodec.sol/OFTMsgCodec.json +11 -0
- package/artifacts-zk/contracts/precrime/OAppPreCrimeSimulator.sol/OAppPreCrimeSimulator.json +278 -0
- package/artifacts-zk/contracts/precrime/PreCrime.sol/PreCrime.json +353 -0
- package/artifacts-zk/contracts/precrime/extensions/PreCrimeE1.sol/PreCrimeE1.json +353 -0
- package/artifacts-zk/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol/IOAppPreCrimeSimulator.json +176 -0
- package/artifacts-zk/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +189 -0
- package/artifacts-zk/contracts/precrime/libs/Packet.sol/PacketDecoder.json +11 -0
- package/package.json +7 -7
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppComposer",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppComposer.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_from",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "_guid",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes",
|
|
20
|
+
"name": "_message",
|
|
21
|
+
"type": "bytes"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "_executor",
|
|
26
|
+
"type": "address"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "bytes",
|
|
30
|
+
"name": "_extraData",
|
|
31
|
+
"type": "bytes"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"name": "lzCompose",
|
|
35
|
+
"outputs": [],
|
|
36
|
+
"stateMutability": "payable",
|
|
37
|
+
"type": "function"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"bytecode": "0x",
|
|
41
|
+
"deployedBytecode": "0x",
|
|
42
|
+
"linkReferences": {},
|
|
43
|
+
"deployedLinkReferences": {},
|
|
44
|
+
"factoryDeps": {}
|
|
45
|
+
}
|
|
@@ -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,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppCore",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppCore.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "InvalidDelegate",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
13
|
+
"name": "InvalidEndpointCall",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [
|
|
18
|
+
{
|
|
19
|
+
"internalType": "uint32",
|
|
20
|
+
"name": "eid",
|
|
21
|
+
"type": "uint32"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"name": "NoPeer",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"internalType": "uint32",
|
|
31
|
+
"name": "eid",
|
|
32
|
+
"type": "uint32"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"internalType": "bytes32",
|
|
36
|
+
"name": "sender",
|
|
37
|
+
"type": "bytes32"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "OnlyPeer",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": false,
|
|
48
|
+
"internalType": "uint32",
|
|
49
|
+
"name": "eid",
|
|
50
|
+
"type": "uint32"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"indexed": false,
|
|
54
|
+
"internalType": "bytes32",
|
|
55
|
+
"name": "peer",
|
|
56
|
+
"type": "bytes32"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"name": "PeerSet",
|
|
60
|
+
"type": "event"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"inputs": [],
|
|
64
|
+
"name": "endpoint",
|
|
65
|
+
"outputs": [
|
|
66
|
+
{
|
|
67
|
+
"internalType": "contract ILayerZeroEndpointV2",
|
|
68
|
+
"name": "iEndpoint",
|
|
69
|
+
"type": "address"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"stateMutability": "view",
|
|
73
|
+
"type": "function"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"inputs": [],
|
|
77
|
+
"name": "oAppVersion",
|
|
78
|
+
"outputs": [
|
|
79
|
+
{
|
|
80
|
+
"internalType": "uint64",
|
|
81
|
+
"name": "senderVersion",
|
|
82
|
+
"type": "uint64"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"internalType": "uint64",
|
|
86
|
+
"name": "receiverVersion",
|
|
87
|
+
"type": "uint64"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"stateMutability": "view",
|
|
91
|
+
"type": "function"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [
|
|
95
|
+
{
|
|
96
|
+
"internalType": "uint32",
|
|
97
|
+
"name": "_eid",
|
|
98
|
+
"type": "uint32"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"name": "peers",
|
|
102
|
+
"outputs": [
|
|
103
|
+
{
|
|
104
|
+
"internalType": "bytes32",
|
|
105
|
+
"name": "peer",
|
|
106
|
+
"type": "bytes32"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"stateMutability": "view",
|
|
110
|
+
"type": "function"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputs": [
|
|
114
|
+
{
|
|
115
|
+
"internalType": "address",
|
|
116
|
+
"name": "_delegate",
|
|
117
|
+
"type": "address"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"name": "setDelegate",
|
|
121
|
+
"outputs": [],
|
|
122
|
+
"stateMutability": "nonpayable",
|
|
123
|
+
"type": "function"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"inputs": [
|
|
127
|
+
{
|
|
128
|
+
"internalType": "uint32",
|
|
129
|
+
"name": "_eid",
|
|
130
|
+
"type": "uint32"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"internalType": "bytes32",
|
|
134
|
+
"name": "_peer",
|
|
135
|
+
"type": "bytes32"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"name": "setPeer",
|
|
139
|
+
"outputs": [],
|
|
140
|
+
"stateMutability": "nonpayable",
|
|
141
|
+
"type": "function"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"bytecode": "0x",
|
|
145
|
+
"deployedBytecode": "0x",
|
|
146
|
+
"linkReferences": {},
|
|
147
|
+
"deployedLinkReferences": {},
|
|
148
|
+
"factoryDeps": {}
|
|
149
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppMsgInspector",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppMsgInspector.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "message",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes",
|
|
15
|
+
"name": "options",
|
|
16
|
+
"type": "bytes"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "InspectionFailed",
|
|
20
|
+
"type": "error"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"internalType": "bytes",
|
|
26
|
+
"name": "_message",
|
|
27
|
+
"type": "bytes"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"internalType": "bytes",
|
|
31
|
+
"name": "_options",
|
|
32
|
+
"type": "bytes"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"name": "inspect",
|
|
36
|
+
"outputs": [
|
|
37
|
+
{
|
|
38
|
+
"internalType": "bool",
|
|
39
|
+
"name": "valid",
|
|
40
|
+
"type": "bool"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"stateMutability": "view",
|
|
44
|
+
"type": "function"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"bytecode": "0x",
|
|
48
|
+
"deployedBytecode": "0x",
|
|
49
|
+
"linkReferences": {},
|
|
50
|
+
"deployedLinkReferences": {},
|
|
51
|
+
"factoryDeps": {}
|
|
52
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-zksolc-artifact-1",
|
|
3
|
+
"contractName": "IOAppOptionsType3",
|
|
4
|
+
"sourceName": "contracts/oapp/interfaces/IOAppOptionsType3.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "bytes",
|
|
10
|
+
"name": "options",
|
|
11
|
+
"type": "bytes"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "InvalidOptions",
|
|
15
|
+
"type": "error"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"inputs": [
|
|
20
|
+
{
|
|
21
|
+
"components": [
|
|
22
|
+
{
|
|
23
|
+
"internalType": "uint32",
|
|
24
|
+
"name": "eid",
|
|
25
|
+
"type": "uint32"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"internalType": "uint16",
|
|
29
|
+
"name": "msgType",
|
|
30
|
+
"type": "uint16"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"internalType": "bytes",
|
|
34
|
+
"name": "options",
|
|
35
|
+
"type": "bytes"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"indexed": false,
|
|
39
|
+
"internalType": "struct EnforcedOptionParam[]",
|
|
40
|
+
"name": "_enforcedOptions",
|
|
41
|
+
"type": "tuple[]"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"name": "EnforcedOptionSet",
|
|
45
|
+
"type": "event"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"internalType": "uint32",
|
|
51
|
+
"name": "_eid",
|
|
52
|
+
"type": "uint32"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"internalType": "uint16",
|
|
56
|
+
"name": "_msgType",
|
|
57
|
+
"type": "uint16"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"internalType": "bytes",
|
|
61
|
+
"name": "_extraOptions",
|
|
62
|
+
"type": "bytes"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"name": "combineOptions",
|
|
66
|
+
"outputs": [
|
|
67
|
+
{
|
|
68
|
+
"internalType": "bytes",
|
|
69
|
+
"name": "options",
|
|
70
|
+
"type": "bytes"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"stateMutability": "view",
|
|
74
|
+
"type": "function"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"inputs": [
|
|
78
|
+
{
|
|
79
|
+
"components": [
|
|
80
|
+
{
|
|
81
|
+
"internalType": "uint32",
|
|
82
|
+
"name": "eid",
|
|
83
|
+
"type": "uint32"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"internalType": "uint16",
|
|
87
|
+
"name": "msgType",
|
|
88
|
+
"type": "uint16"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"internalType": "bytes",
|
|
92
|
+
"name": "options",
|
|
93
|
+
"type": "bytes"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"internalType": "struct EnforcedOptionParam[]",
|
|
97
|
+
"name": "_enforcedOptions",
|
|
98
|
+
"type": "tuple[]"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"name": "setEnforcedOptions",
|
|
102
|
+
"outputs": [],
|
|
103
|
+
"stateMutability": "nonpayable",
|
|
104
|
+
"type": "function"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"bytecode": "0x",
|
|
108
|
+
"deployedBytecode": "0x",
|
|
109
|
+
"linkReferences": {},
|
|
110
|
+
"deployedLinkReferences": {},
|
|
111
|
+
"factoryDeps": {}
|
|
112
|
+
}
|
|
@@ -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
|
+
}
|