@layerzerolabs/lz-evm-sdk-v2 2.3.12 → 2.3.13

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.
Files changed (151) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/artifacts-zk/contracts/decompressor/DVNDecoder.sol/DVNDecoder.json +11 -0
  3. package/artifacts-zk/contracts/decompressor/DVNDecompressor.sol/DVNDecompressor.json +330 -0
  4. package/artifacts-zk/contracts/decompressor/DecompressorExtension.sol/DecompressorExtension.json +93 -0
  5. package/artifacts-zk/contracts/decompressor/ExecutorDecoder.sol/ExecutorDecoder.json +11 -0
  6. package/artifacts-zk/contracts/decompressor/ExecutorDecompressor.sol/ExecutorDecompressor.json +221 -0
  7. package/artifacts-zk/contracts/oapp/OApp.sol/OApp.json +333 -0
  8. package/artifacts-zk/contracts/oapp/OAppCore.sol/OAppCore.json +196 -0
  9. package/artifacts-zk/contracts/oapp/OAppReceiver.sol/OAppReceiver.json +317 -0
  10. package/artifacts-zk/contracts/oapp/OAppSender.sol/OAppSender.json +212 -0
  11. package/artifacts-zk/contracts/oapp/examples/OmniCounter.sol/MsgCodec.json +11 -0
  12. package/artifacts-zk/contracts/oapp/examples/OmniCounter.sol/OmniCounter.json +875 -0
  13. package/artifacts-zk/contracts/oapp/examples/OmniCounterPreCrime.sol/OmniCounterPreCrime.json +374 -0
  14. package/artifacts-zk/contracts/oapp/interfaces/IOAppComposer.sol/IOAppComposer.json +45 -0
  15. package/artifacts-zk/contracts/oapp/interfaces/IOAppCore.sol/IOAppCore.json +144 -0
  16. package/artifacts-zk/contracts/oapp/interfaces/IOAppMsgInspector.sol/IOAppMsgInspector.json +52 -0
  17. package/artifacts-zk/contracts/oapp/interfaces/IOAppOptionsType3.sol/IOAppOptionsType3.json +112 -0
  18. package/artifacts-zk/contracts/oapp/libs/OAppOptionsType3.sol/OAppOptionsType3.json +188 -0
  19. package/artifacts-zk/contracts/oapp/libs/OptionsBuilder.sol/OptionsBuilder.json +39 -0
  20. package/artifacts-zk/contracts/oft/OFT.sol/OFT.json +1467 -0
  21. package/artifacts-zk/contracts/oft/OFTAdapter.sol/OFTAdapter.json +1205 -0
  22. package/artifacts-zk/contracts/oft/OFTCore.sol/OFTCore.json +1171 -0
  23. package/artifacts-zk/contracts/oft/interfaces/IOFT.sol/IOFT.json +473 -0
  24. package/artifacts-zk/contracts/oft/libs/OFTComposeMsgCodec.sol/OFTComposeMsgCodec.json +11 -0
  25. package/artifacts-zk/contracts/oft/libs/OFTMsgCodec.sol/OFTMsgCodec.json +11 -0
  26. package/artifacts-zk/contracts/precrime/OAppPreCrimeSimulator.sol/OAppPreCrimeSimulator.json +278 -0
  27. package/artifacts-zk/contracts/precrime/PreCrime.sol/PreCrime.json +353 -0
  28. package/artifacts-zk/contracts/precrime/extensions/PreCrimeE1.sol/PreCrimeE1.json +353 -0
  29. package/artifacts-zk/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol/IOAppPreCrimeSimulator.json +176 -0
  30. package/artifacts-zk/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +189 -0
  31. package/artifacts-zk/contracts/precrime/libs/Packet.sol/PacketDecoder.json +11 -0
  32. package/deployments/arbitrum-sandbox-local/DVN.json +10 -10
  33. package/deployments/arbitrum-sandbox-local/DVNDecompressor.json +7 -7
  34. package/deployments/arbitrum-sandbox-local/DVNFeeLib.json +7 -7
  35. package/deployments/arbitrum-sandbox-local/PriceFeed.json +16 -16
  36. package/deployments/arbitrum-sandbox-local/PriceFeedProxyAdmin.json +10 -10
  37. package/deployments/arbitrum-sandbox-local/PriceFeed_Implementation.json +4 -4
  38. package/deployments/arbitrum-sandbox-local/PriceFeed_Proxy.json +16 -16
  39. package/deployments/bsc-sandbox-local/DVN.json +5 -5
  40. package/deployments/bsc-sandbox-local/DVNDecompressor.json +2 -2
  41. package/deployments/bsc-sandbox-local/DVNFeeLib.json +2 -2
  42. package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +2 -2
  43. package/deployments/bsc-sandbox-local/EndpointV2.json +4 -4
  44. package/deployments/bsc-sandbox-local/EndpointV2View.json +4 -4
  45. package/deployments/bsc-sandbox-local/EndpointV2View_Implementation.json +1 -1
  46. package/deployments/bsc-sandbox-local/EndpointV2View_Proxy.json +4 -4
  47. package/deployments/bsc-sandbox-local/Executor.json +14 -14
  48. package/deployments/bsc-sandbox-local/ExecutorDecompressor.json +2 -2
  49. package/deployments/bsc-sandbox-local/ExecutorFeeLib.json +2 -2
  50. package/deployments/bsc-sandbox-local/ExecutorProxyAdmin.json +3 -3
  51. package/deployments/bsc-sandbox-local/Executor_Implementation.json +1 -1
  52. package/deployments/bsc-sandbox-local/Executor_Proxy.json +14 -14
  53. package/deployments/bsc-sandbox-local/LzExecutor.json +5 -5
  54. package/deployments/bsc-sandbox-local/LzExecutor_Implementation.json +1 -1
  55. package/deployments/bsc-sandbox-local/LzExecutor_Proxy.json +5 -5
  56. package/deployments/bsc-sandbox-local/NonceContractMock.json +1 -1
  57. package/deployments/bsc-sandbox-local/PriceFeed.json +5 -5
  58. package/deployments/bsc-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  59. package/deployments/bsc-sandbox-local/PriceFeed_Implementation.json +1 -1
  60. package/deployments/bsc-sandbox-local/PriceFeed_Proxy.json +5 -5
  61. package/deployments/bsc-sandbox-local/ReceiveUln301.json +2 -2
  62. package/deployments/bsc-sandbox-local/ReceiveUln301View.json +4 -4
  63. package/deployments/bsc-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  64. package/deployments/bsc-sandbox-local/ReceiveUln301View_Proxy.json +4 -4
  65. package/deployments/bsc-sandbox-local/ReceiveUln302.json +2 -2
  66. package/deployments/bsc-sandbox-local/ReceiveUln302View.json +4 -4
  67. package/deployments/bsc-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  68. package/deployments/bsc-sandbox-local/ReceiveUln302View_Proxy.json +4 -4
  69. package/deployments/bsc-sandbox-local/SendUln301.json +2 -2
  70. package/deployments/bsc-sandbox-local/SendUln302.json +2 -2
  71. package/deployments/bsc-sandbox-local/SimpleMessageLib.json +2 -2
  72. package/deployments/bsc-sandbox-local/Treasury.json +2 -2
  73. package/deployments/bsc-sandbox-local/TreasuryFeeHandler.json +1 -1
  74. package/deployments/ethereum-sandbox-local/DVN.json +5 -5
  75. package/deployments/ethereum-sandbox-local/DVNDecompressor.json +2 -2
  76. package/deployments/ethereum-sandbox-local/DVNFeeLib.json +2 -2
  77. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +2 -2
  78. package/deployments/ethereum-sandbox-local/EndpointV2.json +4 -4
  79. package/deployments/ethereum-sandbox-local/EndpointV2View.json +4 -4
  80. package/deployments/ethereum-sandbox-local/EndpointV2View_Implementation.json +1 -1
  81. package/deployments/ethereum-sandbox-local/EndpointV2View_Proxy.json +4 -4
  82. package/deployments/ethereum-sandbox-local/Executor.json +14 -14
  83. package/deployments/ethereum-sandbox-local/ExecutorDecompressor.json +2 -2
  84. package/deployments/ethereum-sandbox-local/ExecutorFeeLib.json +2 -2
  85. package/deployments/ethereum-sandbox-local/ExecutorProxyAdmin.json +3 -3
  86. package/deployments/ethereum-sandbox-local/Executor_Implementation.json +1 -1
  87. package/deployments/ethereum-sandbox-local/Executor_Proxy.json +14 -14
  88. package/deployments/ethereum-sandbox-local/LzExecutor.json +5 -5
  89. package/deployments/ethereum-sandbox-local/LzExecutor_Implementation.json +1 -1
  90. package/deployments/ethereum-sandbox-local/LzExecutor_Proxy.json +5 -5
  91. package/deployments/ethereum-sandbox-local/NonceContractMock.json +1 -1
  92. package/deployments/ethereum-sandbox-local/PriceFeed.json +5 -5
  93. package/deployments/ethereum-sandbox-local/PriceFeedProxyAdmin.json +3 -3
  94. package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +1 -1
  95. package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +5 -5
  96. package/deployments/ethereum-sandbox-local/ReceiveUln301.json +2 -2
  97. package/deployments/ethereum-sandbox-local/ReceiveUln301View.json +4 -4
  98. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Implementation.json +1 -1
  99. package/deployments/ethereum-sandbox-local/ReceiveUln301View_Proxy.json +4 -4
  100. package/deployments/ethereum-sandbox-local/ReceiveUln302.json +2 -2
  101. package/deployments/ethereum-sandbox-local/ReceiveUln302View.json +4 -4
  102. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Implementation.json +1 -1
  103. package/deployments/ethereum-sandbox-local/ReceiveUln302View_Proxy.json +4 -4
  104. package/deployments/ethereum-sandbox-local/SendUln301.json +2 -2
  105. package/deployments/ethereum-sandbox-local/SendUln302.json +2 -2
  106. package/deployments/ethereum-sandbox-local/SimpleMessageLib.json +2 -2
  107. package/deployments/ethereum-sandbox-local/Treasury.json +2 -2
  108. package/deployments/ethereum-sandbox-local/TreasuryFeeHandler.json +1 -1
  109. package/deployments/polygon-sandbox-local/DVN.json +11 -11
  110. package/deployments/polygon-sandbox-local/DVNDecompressor.json +5 -5
  111. package/deployments/polygon-sandbox-local/DVNFeeLib.json +5 -5
  112. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +5 -5
  113. package/deployments/polygon-sandbox-local/EndpointV2.json +9 -9
  114. package/deployments/polygon-sandbox-local/EndpointV2View.json +9 -9
  115. package/deployments/polygon-sandbox-local/EndpointV2View_Implementation.json +3 -3
  116. package/deployments/polygon-sandbox-local/EndpointV2View_Proxy.json +9 -9
  117. package/deployments/polygon-sandbox-local/Executor.json +29 -29
  118. package/deployments/polygon-sandbox-local/ExecutorDecompressor.json +5 -5
  119. package/deployments/polygon-sandbox-local/ExecutorFeeLib.json +5 -5
  120. package/deployments/polygon-sandbox-local/ExecutorProxyAdmin.json +7 -7
  121. package/deployments/polygon-sandbox-local/Executor_Implementation.json +3 -3
  122. package/deployments/polygon-sandbox-local/Executor_Proxy.json +29 -29
  123. package/deployments/polygon-sandbox-local/LzExecutor.json +11 -11
  124. package/deployments/polygon-sandbox-local/LzExecutor_Implementation.json +3 -3
  125. package/deployments/polygon-sandbox-local/LzExecutor_Proxy.json +11 -11
  126. package/deployments/polygon-sandbox-local/NonceContractMock.json +3 -3
  127. package/deployments/polygon-sandbox-local/PriceFeed.json +11 -11
  128. package/deployments/polygon-sandbox-local/PriceFeedProxyAdmin.json +7 -7
  129. package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +3 -3
  130. package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +11 -11
  131. package/deployments/polygon-sandbox-local/ReceiveUln301.json +5 -5
  132. package/deployments/polygon-sandbox-local/ReceiveUln301View.json +9 -9
  133. package/deployments/polygon-sandbox-local/ReceiveUln301View_Implementation.json +3 -3
  134. package/deployments/polygon-sandbox-local/ReceiveUln301View_Proxy.json +9 -9
  135. package/deployments/polygon-sandbox-local/ReceiveUln302.json +5 -5
  136. package/deployments/polygon-sandbox-local/ReceiveUln302View.json +9 -9
  137. package/deployments/polygon-sandbox-local/ReceiveUln302View_Implementation.json +3 -3
  138. package/deployments/polygon-sandbox-local/ReceiveUln302View_Proxy.json +9 -9
  139. package/deployments/polygon-sandbox-local/SendUln301.json +5 -5
  140. package/deployments/polygon-sandbox-local/SendUln302.json +5 -5
  141. package/deployments/polygon-sandbox-local/SimpleMessageLib.json +5 -5
  142. package/deployments/polygon-sandbox-local/Treasury.json +5 -5
  143. package/deployments/polygon-sandbox-local/TreasuryFeeHandler.json +3 -3
  144. package/deployments/tron-sandbox-local/DVN.json +17 -17
  145. package/deployments/tron-sandbox-local/DVNDecompressor.json +12 -12
  146. package/deployments/tron-sandbox-local/DVNFeeLib.json +10 -10
  147. package/deployments/tron-sandbox-local/PriceFeed.json +27 -27
  148. package/deployments/tron-sandbox-local/PriceFeedProxyAdmin.json +14 -14
  149. package/deployments/tron-sandbox-local/PriceFeed_Implementation.json +6 -6
  150. package/deployments/tron-sandbox-local/PriceFeed_Proxy.json +26 -26
  151. package/package.json +9 -9
@@ -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,144 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "IOAppCore",
4
+ "sourceName": "contracts/oapp/interfaces/IOAppCore.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "InvalidEndpointCall",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "uint32",
15
+ "name": "eid",
16
+ "type": "uint32"
17
+ }
18
+ ],
19
+ "name": "NoPeer",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "eid",
27
+ "type": "uint32"
28
+ },
29
+ {
30
+ "internalType": "bytes32",
31
+ "name": "sender",
32
+ "type": "bytes32"
33
+ }
34
+ ],
35
+ "name": "OnlyPeer",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "anonymous": false,
40
+ "inputs": [
41
+ {
42
+ "indexed": false,
43
+ "internalType": "uint32",
44
+ "name": "eid",
45
+ "type": "uint32"
46
+ },
47
+ {
48
+ "indexed": false,
49
+ "internalType": "bytes32",
50
+ "name": "peer",
51
+ "type": "bytes32"
52
+ }
53
+ ],
54
+ "name": "PeerSet",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "endpoint",
60
+ "outputs": [
61
+ {
62
+ "internalType": "contract ILayerZeroEndpointV2",
63
+ "name": "iEndpoint",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "stateMutability": "view",
68
+ "type": "function"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "oAppVersion",
73
+ "outputs": [
74
+ {
75
+ "internalType": "uint64",
76
+ "name": "senderVersion",
77
+ "type": "uint64"
78
+ },
79
+ {
80
+ "internalType": "uint64",
81
+ "name": "receiverVersion",
82
+ "type": "uint64"
83
+ }
84
+ ],
85
+ "stateMutability": "view",
86
+ "type": "function"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "uint32",
92
+ "name": "_eid",
93
+ "type": "uint32"
94
+ }
95
+ ],
96
+ "name": "peers",
97
+ "outputs": [
98
+ {
99
+ "internalType": "bytes32",
100
+ "name": "peer",
101
+ "type": "bytes32"
102
+ }
103
+ ],
104
+ "stateMutability": "view",
105
+ "type": "function"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "_delegate",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "setDelegate",
116
+ "outputs": [],
117
+ "stateMutability": "nonpayable",
118
+ "type": "function"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "uint32",
124
+ "name": "_eid",
125
+ "type": "uint32"
126
+ },
127
+ {
128
+ "internalType": "bytes32",
129
+ "name": "_peer",
130
+ "type": "bytes32"
131
+ }
132
+ ],
133
+ "name": "setPeer",
134
+ "outputs": [],
135
+ "stateMutability": "nonpayable",
136
+ "type": "function"
137
+ }
138
+ ],
139
+ "bytecode": "0x",
140
+ "deployedBytecode": "0x",
141
+ "linkReferences": {},
142
+ "deployedLinkReferences": {},
143
+ "factoryDeps": {}
144
+ }
@@ -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,188 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "OAppOptionsType3",
4
+ "sourceName": "contracts/oapp/libs/OAppOptionsType3.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
+ "anonymous": false,
49
+ "inputs": [
50
+ {
51
+ "indexed": true,
52
+ "internalType": "address",
53
+ "name": "previousOwner",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "indexed": true,
58
+ "internalType": "address",
59
+ "name": "newOwner",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "OwnershipTransferred",
64
+ "type": "event"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "uint32",
70
+ "name": "_eid",
71
+ "type": "uint32"
72
+ },
73
+ {
74
+ "internalType": "uint16",
75
+ "name": "_msgType",
76
+ "type": "uint16"
77
+ },
78
+ {
79
+ "internalType": "bytes",
80
+ "name": "_extraOptions",
81
+ "type": "bytes"
82
+ }
83
+ ],
84
+ "name": "combineOptions",
85
+ "outputs": [
86
+ {
87
+ "internalType": "bytes",
88
+ "name": "",
89
+ "type": "bytes"
90
+ }
91
+ ],
92
+ "stateMutability": "view",
93
+ "type": "function"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "uint32",
99
+ "name": "eid",
100
+ "type": "uint32"
101
+ },
102
+ {
103
+ "internalType": "uint16",
104
+ "name": "msgType",
105
+ "type": "uint16"
106
+ }
107
+ ],
108
+ "name": "enforcedOptions",
109
+ "outputs": [
110
+ {
111
+ "internalType": "bytes",
112
+ "name": "enforcedOption",
113
+ "type": "bytes"
114
+ }
115
+ ],
116
+ "stateMutability": "view",
117
+ "type": "function"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "owner",
122
+ "outputs": [
123
+ {
124
+ "internalType": "address",
125
+ "name": "",
126
+ "type": "address"
127
+ }
128
+ ],
129
+ "stateMutability": "view",
130
+ "type": "function"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "renounceOwnership",
135
+ "outputs": [],
136
+ "stateMutability": "nonpayable",
137
+ "type": "function"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "components": [
143
+ {
144
+ "internalType": "uint32",
145
+ "name": "eid",
146
+ "type": "uint32"
147
+ },
148
+ {
149
+ "internalType": "uint16",
150
+ "name": "msgType",
151
+ "type": "uint16"
152
+ },
153
+ {
154
+ "internalType": "bytes",
155
+ "name": "options",
156
+ "type": "bytes"
157
+ }
158
+ ],
159
+ "internalType": "struct EnforcedOptionParam[]",
160
+ "name": "_enforcedOptions",
161
+ "type": "tuple[]"
162
+ }
163
+ ],
164
+ "name": "setEnforcedOptions",
165
+ "outputs": [],
166
+ "stateMutability": "nonpayable",
167
+ "type": "function"
168
+ },
169
+ {
170
+ "inputs": [
171
+ {
172
+ "internalType": "address",
173
+ "name": "newOwner",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "name": "transferOwnership",
178
+ "outputs": [],
179
+ "stateMutability": "nonpayable",
180
+ "type": "function"
181
+ }
182
+ ],
183
+ "bytecode": "0x",
184
+ "deployedBytecode": "0x",
185
+ "linkReferences": {},
186
+ "deployedLinkReferences": {},
187
+ "factoryDeps": {}
188
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "OptionsBuilder",
4
+ "sourceName": "contracts/oapp/libs/OptionsBuilder.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint16",
10
+ "name": "optionType",
11
+ "type": "uint16"
12
+ }
13
+ ],
14
+ "name": "InvalidOptionType",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "uint256",
21
+ "name": "max",
22
+ "type": "uint256"
23
+ },
24
+ {
25
+ "internalType": "uint256",
26
+ "name": "actual",
27
+ "type": "uint256"
28
+ }
29
+ ],
30
+ "name": "InvalidSize",
31
+ "type": "error"
32
+ }
33
+ ],
34
+ "bytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e000000100001043000000000000000000000000000000000000000000000000000000002000000000000000000000000000000400000010000000000000000004e304d94f809252666718dd5fa060894aa870d41faa3a8e3ba1f9188e235568a",
35
+ "deployedBytecode": "0x00000001012001900000000c0000613d0000008001000039000000400010043f0000000001000416000000000101004b0000000c0000c13d00000020010000390000010000100443000001200000044300000005010000410000000f0001042e000000000100001900000010000104300000000e000004320000000f0001042e000000100001043000000000000000000000000000000000000000000000000000000002000000000000000000000000000000400000010000000000000000004e304d94f809252666718dd5fa060894aa870d41faa3a8e3ba1f9188e235568a",
36
+ "linkReferences": {},
37
+ "deployedLinkReferences": {},
38
+ "factoryDeps": {}
39
+ }