@layerzerolabs/onesig-evm 0.0.9 → 0.0.11

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 (28) hide show
  1. package/artifacts/contracts/ExecutorStore.sol/ExecutorStore.json +164 -0
  2. package/artifacts/contracts/MultiSig.sol/MultiSig.json +1 -1
  3. package/artifacts/contracts/OneSig.sol/OneSig.json +188 -6
  4. package/artifacts-tron/contracts/ExecutorStore.sol/ExecutorStore.json +164 -0
  5. package/artifacts-tron/contracts/MultiSig.sol/MultiSig.json +1 -1
  6. package/artifacts-tron/contracts/OneSig.sol/OneSig.json +188 -6
  7. package/artifacts-zk/contracts/ExecutorStore.sol/ExecutorStore.json +165 -0
  8. package/artifacts-zk/contracts/MultiSig.sol/MultiSig.json +1 -1
  9. package/artifacts-zk/contracts/OneSig.sol/OneSig.json +188 -6
  10. package/contracts/ExecutorStore.sol +137 -0
  11. package/contracts/MultiSig.sol +1 -1
  12. package/contracts/OneSig.sol +32 -6
  13. package/dist/index.d.mts +12 -0
  14. package/dist/index.mjs +20 -0
  15. package/package.json +3 -3
  16. package/typechain-types/contracts/ExecutorStore.ts +286 -0
  17. package/typechain-types/contracts/MultiSig.ts +5 -2
  18. package/typechain-types/contracts/OneSig.ts +247 -2
  19. package/typechain-types/contracts/index.ts +1 -0
  20. package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.ts +1 -1
  21. package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.ts +1 -1
  22. package/typechain-types/factories/contracts/ExecutorStore__factory.ts +179 -0
  23. package/typechain-types/factories/contracts/MultiSig__factory.ts +1 -1
  24. package/typechain-types/factories/contracts/OneSig__factory.ts +199 -9
  25. package/typechain-types/factories/contracts/index.ts +1 -0
  26. package/typechain-types/factories/contracts/mocks/MockOApp__factory.ts +1 -1
  27. package/typechain-types/hardhat.d.ts +9 -0
  28. package/typechain-types/index.ts +2 -0
@@ -0,0 +1,165 @@
1
+ {
2
+ "_format": "hh-zksolc-artifact-1",
3
+ "contractName": "ExecutorStore",
4
+ "sourceName": "contracts/ExecutorStore.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "executor",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "ExecutorAlreadyActive",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "executor",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "name": "ExecutorNotFound",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "InvalidExecutor",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "OnlySelfCall",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "anonymous": false,
40
+ "inputs": [
41
+ {
42
+ "indexed": false,
43
+ "internalType": "bool",
44
+ "name": "required",
45
+ "type": "bool"
46
+ }
47
+ ],
48
+ "name": "ExecutorRequiredSet",
49
+ "type": "event"
50
+ },
51
+ {
52
+ "anonymous": false,
53
+ "inputs": [
54
+ {
55
+ "indexed": true,
56
+ "internalType": "address",
57
+ "name": "executor",
58
+ "type": "address"
59
+ },
60
+ {
61
+ "indexed": false,
62
+ "internalType": "bool",
63
+ "name": "active",
64
+ "type": "bool"
65
+ }
66
+ ],
67
+ "name": "ExecutorSet",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "executorRequired",
73
+ "outputs": [
74
+ {
75
+ "internalType": "bool",
76
+ "name": "",
77
+ "type": "bool"
78
+ }
79
+ ],
80
+ "stateMutability": "view",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "inputs": [],
85
+ "name": "getExecutors",
86
+ "outputs": [
87
+ {
88
+ "internalType": "address[]",
89
+ "name": "",
90
+ "type": "address[]"
91
+ }
92
+ ],
93
+ "stateMutability": "view",
94
+ "type": "function"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "_executor",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "isExecutor",
105
+ "outputs": [
106
+ {
107
+ "internalType": "bool",
108
+ "name": "",
109
+ "type": "bool"
110
+ }
111
+ ],
112
+ "stateMutability": "view",
113
+ "type": "function"
114
+ },
115
+ {
116
+ "inputs": [
117
+ {
118
+ "internalType": "address",
119
+ "name": "_executor",
120
+ "type": "address"
121
+ },
122
+ {
123
+ "internalType": "bool",
124
+ "name": "_active",
125
+ "type": "bool"
126
+ }
127
+ ],
128
+ "name": "setExecutor",
129
+ "outputs": [],
130
+ "stateMutability": "nonpayable",
131
+ "type": "function"
132
+ },
133
+ {
134
+ "inputs": [
135
+ {
136
+ "internalType": "bool",
137
+ "name": "_executorRequired",
138
+ "type": "bool"
139
+ }
140
+ ],
141
+ "name": "setExecutorRequired",
142
+ "outputs": [],
143
+ "stateMutability": "nonpayable",
144
+ "type": "function"
145
+ },
146
+ {
147
+ "inputs": [],
148
+ "name": "totalExecutors",
149
+ "outputs": [
150
+ {
151
+ "internalType": "uint256",
152
+ "name": "",
153
+ "type": "uint256"
154
+ }
155
+ ],
156
+ "stateMutability": "view",
157
+ "type": "function"
158
+ }
159
+ ],
160
+ "bytecode": "0x",
161
+ "deployedBytecode": "0x",
162
+ "linkReferences": {},
163
+ "deployedLinkReferences": {},
164
+ "factoryDeps": {}
165
+ }
@@ -97,7 +97,7 @@
97
97
  "anonymous": false,
98
98
  "inputs": [
99
99
  {
100
- "indexed": false,
100
+ "indexed": true,
101
101
  "internalType": "address",
102
102
  "name": "signer",
103
103
  "type": "address"