@orbs-network/spot 0.0.11 → 0.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.
Files changed (117) hide show
  1. package/README.md +7 -9
  2. package/out/00_DeployWM.s.sol/DeployWM.json +1 -1
  3. package/out/{01_UpdateWMWhitelist.s.sol → 00_UpdateWMWhitelist.s.sol}/UpdateWMWhitelist.json +1 -1
  4. package/out/{02_DeployRepermit.s.sol → 01_DeployRepermit.s.sol}/DeployRepermit.json +1 -1
  5. package/out/02_DeployCosigner.s.sol/DeployCosigner.abi.json +28 -0
  6. package/out/02_DeployCosigner.s.sol/DeployCosigner.json +1 -0
  7. package/out/03_DeployReactor.s.sol/DeployReactor.json +1 -1
  8. package/out/04_DeployExecutor.s.sol/DeployExecutor.json +1 -1
  9. package/out/05_DeployDefaultExchange.s.sol/DeployDefaultExchange.json +1 -1
  10. package/out/05_DeployP2Exchange.s.sol/DeployP2Exchange.json +1 -1
  11. package/out/06_DeployRefinery.s.sol/DeployRefinery.json +1 -1
  12. package/out/07_CheckOrder.s.sol/AlwaysValid1271.json +1 -1
  13. package/out/07_CheckOrder.s.sol/CheckOrder.json +1 -1
  14. package/out/AbstractSigner.sol/AbstractSigner.abi.json +1 -0
  15. package/out/AbstractSigner.sol/AbstractSigner.json +1 -0
  16. package/out/BaseTest.sol/BaseTest.json +1 -1
  17. package/out/Constants.sol/Constants.json +1 -1
  18. package/out/CosignatureLib.sol/CosignatureLib.json +1 -1
  19. package/out/CosignatureLib.t.sol/CosignatureLibTest.json +1 -1
  20. package/out/Cosigner.sol/Cosigner.abi.json +283 -0
  21. package/out/Cosigner.sol/Cosigner.json +1 -0
  22. package/out/Cosigner.t.sol/CosignerTest.abi.json +935 -0
  23. package/out/Cosigner.t.sol/CosignerTest.json +1 -0
  24. package/out/Cosigner.t.sol/CosignerWrapper.abi.json +307 -0
  25. package/out/Cosigner.t.sol/CosignerWrapper.json +1 -0
  26. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.abi.json +1024 -0
  27. package/out/CosignerIntegration.t.sol/CosignerIntegrationTest.json +1 -0
  28. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.abi.json +3 -3
  29. package/out/DefaultDexAdapter.sol/DefaultDexAdapter.json +1 -1
  30. package/out/DefaultDexAdapter.t.sol/DefaultDexAdapterTest.json +1 -1
  31. package/out/ERC20Mock.sol/ERC20Mock.json +1 -1
  32. package/out/ERC20Mock6Decimals.sol/ERC20Mock6Decimals.json +1 -1
  33. package/out/EpochLib.sol/EpochLib.json +1 -1
  34. package/out/EpochLib.t.sol/EpochLibTest.json +1 -1
  35. package/out/ExclusivityOverrideLib.sol/ExclusivityOverrideLib.json +1 -1
  36. package/out/ExclusivityOverrideLib.t.sol/ExclusivityCaller.json +1 -1
  37. package/out/ExclusivityOverrideLib.t.sol/ExclusivityLibTest.json +1 -1
  38. package/out/Executor.sol/Executor.abi.json +32 -6
  39. package/out/Executor.sol/Executor.json +1 -1
  40. package/out/Executor.t.sol/ExecutorTest.abi.json +28 -0
  41. package/out/Executor.t.sol/ExecutorTest.json +1 -1
  42. package/out/IEIP712.sol/IEIP712.json +1 -1
  43. package/out/IERC165.sol/IERC165.json +1 -1
  44. package/out/IExchangeAdapter.sol/IExchangeAdapter.abi.json +3 -3
  45. package/out/IExchangeAdapter.sol/IExchangeAdapter.json +1 -1
  46. package/out/IPermit2.sol/IPermit2.json +1 -1
  47. package/out/IReactor.sol/IReactor.abi.json +3 -3
  48. package/out/IReactor.sol/IReactor.json +1 -1
  49. package/out/IReactorCallback.sol/IReactorCallback.abi.json +3 -3
  50. package/out/IReactorCallback.sol/IReactorCallback.json +1 -1
  51. package/out/IWM.sol/IWM.json +1 -1
  52. package/out/Math.sol/Math.json +1 -1
  53. package/out/MockDexRouter.sol/MockDexRouter.json +1 -1
  54. package/out/MockPermit2.sol/MockPermit2.json +1 -1
  55. package/out/MockReactor.sol/MockReactor.abi.json +34 -27
  56. package/out/MockReactor.sol/MockReactor.json +1 -1
  57. package/out/Multicall3Lib.sol/Multicall3Lib.json +1 -1
  58. package/out/OrderLib.sol/OrderLib.json +1 -1
  59. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.abi.json +7 -0
  60. package/out/OrderReactor.E2E.t.sol/OrderReactorE2ETest.json +1 -1
  61. package/out/OrderReactor.sol/OrderReactor.abi.json +3 -3
  62. package/out/OrderReactor.sol/OrderReactor.json +1 -1
  63. package/out/OrderReactorPause.t.sol/OrderReactorPauseTest.json +1 -1
  64. package/out/OrderReactorPause.t.sol/SimpleCallback.abi.json +3 -3
  65. package/out/OrderReactorPause.t.sol/SimpleCallback.json +1 -1
  66. package/out/OrderValidationLib.Fuzz.t.sol/OrderValidationLibFuzzTest.json +1 -1
  67. package/out/OrderValidationLib.sol/OrderValidationLib.json +1 -1
  68. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.abi.json +7 -0
  69. package/out/OrderValidationLib.t.sol/OrderValidationLibTest.json +1 -1
  70. package/out/P2DexAdapter.sol/P2DexAdapter.abi.json +3 -3
  71. package/out/P2DexAdapter.sol/P2DexAdapter.json +1 -1
  72. package/out/P2DexAdapter.t.sol/P2DexAdapterTest.json +1 -1
  73. package/out/RePermit.sol/RePermit.json +1 -1
  74. package/out/RePermit.t.sol/RePermitTest.json +1 -1
  75. package/out/RePermitLib.sol/RePermitLib.json +1 -1
  76. package/out/Refinery.sol/Refinery.json +1 -1
  77. package/out/Refinery.t.sol/RefineryTest.json +1 -1
  78. package/out/ResolutionLib.Fuzz.t.sol/ResolutionLibFuzzTest.json +1 -1
  79. package/out/ResolutionLib.sol/ResolutionLib.json +1 -1
  80. package/out/ResolutionLib.t.sol/ResolutionLibTest.json +1 -1
  81. package/out/SafeCast.sol/SafeCast.json +1 -1
  82. package/out/SettlementLib.sol/SettlementLib.abi.json +26 -0
  83. package/out/SettlementLib.sol/SettlementLib.json +1 -1
  84. package/out/SettlementLib.t.sol/SettlementLibTest.abi.json +7 -0
  85. package/out/SettlementLib.t.sol/SettlementLibTest.json +1 -1
  86. package/out/SettlementLib.t.sol/SettlementWrapper.abi.json +3 -3
  87. package/out/SettlementLib.t.sol/SettlementWrapper.json +1 -1
  88. package/out/SignedMath.sol/SignedMath.json +1 -1
  89. package/out/StdError.sol/stdError.json +1 -1
  90. package/out/SurplusLib.sol/SurplusLib.json +1 -1
  91. package/out/SurplusLib.t.sol/SurplusHarness.json +1 -1
  92. package/out/SurplusLib.t.sol/SurplusLibTest.json +1 -1
  93. package/out/SwapAdapter.sol/SwapAdapterMock.abi.json +3 -3
  94. package/out/SwapAdapter.sol/SwapAdapterMock.json +1 -1
  95. package/out/TokenLib.sol/TokenLib.json +1 -1
  96. package/out/TokenLib.t.sol/TokenLibHarness.abi.json +108 -0
  97. package/out/TokenLib.t.sol/TokenLibHarness.json +1 -0
  98. package/out/TokenLib.t.sol/TokenLibTest.abi.json +591 -0
  99. package/out/TokenLib.t.sol/TokenLibTest.json +1 -0
  100. package/out/USDTMock.sol/USDTMock.json +1 -1
  101. package/out/WM.sol/WM.json +1 -1
  102. package/out/WM.t.sol/WMTest.json +1 -1
  103. package/out/WMAllowed.sol/WMAllowed.json +1 -1
  104. package/out/build-info/20f563941fc0a849.json +1 -0
  105. package/out/build-info/41e657f703fce171.json +1 -0
  106. package/out/build-info/{f16f669db7eddfe3.json → 4e0fd3e97fb8c77e.json} +1 -1
  107. package/out/build-info/50d4a161d830da98.json +1 -0
  108. package/out/build-info/5ea14177d8c08770.json +1 -0
  109. package/out/build-info/6633b6f1d6f4bfa2.json +1 -0
  110. package/out/build-info/{e0a36e520084dd42.json → c70ba923379ddca4.json} +1 -1
  111. package/out/build-info/dbc5b333069e50a4.json +1 -0
  112. package/package.json +1 -1
  113. package/script/input/config.json +10 -10
  114. package/script/input/order.json +8 -6
  115. package/script/input/legacy-config.json +0 -80
  116. /package/out/{01_UpdateWMWhitelist.s.sol → 00_UpdateWMWhitelist.s.sol}/UpdateWMWhitelist.abi.json +0 -0
  117. /package/out/{02_DeployRepermit.s.sol → 01_DeployRepermit.s.sol}/DeployRepermit.abi.json +0 -0
@@ -0,0 +1,283 @@
1
+ [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [
5
+ {
6
+ "name": "initialOwner",
7
+ "type": "address",
8
+ "internalType": "address"
9
+ }
10
+ ],
11
+ "stateMutability": "nonpayable"
12
+ },
13
+ {
14
+ "type": "function",
15
+ "name": "acceptOwnership",
16
+ "inputs": [],
17
+ "outputs": [],
18
+ "stateMutability": "nonpayable"
19
+ },
20
+ {
21
+ "type": "function",
22
+ "name": "approve",
23
+ "inputs": [
24
+ {
25
+ "name": "signer",
26
+ "type": "address",
27
+ "internalType": "address"
28
+ },
29
+ {
30
+ "name": "deadline",
31
+ "type": "uint256",
32
+ "internalType": "uint256"
33
+ }
34
+ ],
35
+ "outputs": [],
36
+ "stateMutability": "nonpayable"
37
+ },
38
+ {
39
+ "type": "function",
40
+ "name": "isApprovedNow",
41
+ "inputs": [
42
+ {
43
+ "name": "signer",
44
+ "type": "address",
45
+ "internalType": "address"
46
+ }
47
+ ],
48
+ "outputs": [
49
+ {
50
+ "name": "",
51
+ "type": "bool",
52
+ "internalType": "bool"
53
+ }
54
+ ],
55
+ "stateMutability": "view"
56
+ },
57
+ {
58
+ "type": "function",
59
+ "name": "isValidSignature",
60
+ "inputs": [
61
+ {
62
+ "name": "hash",
63
+ "type": "bytes32",
64
+ "internalType": "bytes32"
65
+ },
66
+ {
67
+ "name": "signature",
68
+ "type": "bytes",
69
+ "internalType": "bytes"
70
+ }
71
+ ],
72
+ "outputs": [
73
+ {
74
+ "name": "",
75
+ "type": "bytes4",
76
+ "internalType": "bytes4"
77
+ }
78
+ ],
79
+ "stateMutability": "view"
80
+ },
81
+ {
82
+ "type": "function",
83
+ "name": "owner",
84
+ "inputs": [],
85
+ "outputs": [
86
+ {
87
+ "name": "",
88
+ "type": "address",
89
+ "internalType": "address"
90
+ }
91
+ ],
92
+ "stateMutability": "view"
93
+ },
94
+ {
95
+ "type": "function",
96
+ "name": "pendingOwner",
97
+ "inputs": [],
98
+ "outputs": [
99
+ {
100
+ "name": "",
101
+ "type": "address",
102
+ "internalType": "address"
103
+ }
104
+ ],
105
+ "stateMutability": "view"
106
+ },
107
+ {
108
+ "type": "function",
109
+ "name": "renounceOwnership",
110
+ "inputs": [],
111
+ "outputs": [],
112
+ "stateMutability": "nonpayable"
113
+ },
114
+ {
115
+ "type": "function",
116
+ "name": "revokeSigner",
117
+ "inputs": [
118
+ {
119
+ "name": "signer",
120
+ "type": "address",
121
+ "internalType": "address"
122
+ }
123
+ ],
124
+ "outputs": [],
125
+ "stateMutability": "nonpayable"
126
+ },
127
+ {
128
+ "type": "function",
129
+ "name": "signers",
130
+ "inputs": [
131
+ {
132
+ "name": "",
133
+ "type": "address",
134
+ "internalType": "address"
135
+ }
136
+ ],
137
+ "outputs": [
138
+ {
139
+ "name": "",
140
+ "type": "uint256",
141
+ "internalType": "uint256"
142
+ }
143
+ ],
144
+ "stateMutability": "view"
145
+ },
146
+ {
147
+ "type": "function",
148
+ "name": "transferOwnership",
149
+ "inputs": [
150
+ {
151
+ "name": "newOwner",
152
+ "type": "address",
153
+ "internalType": "address"
154
+ }
155
+ ],
156
+ "outputs": [],
157
+ "stateMutability": "nonpayable"
158
+ },
159
+ {
160
+ "type": "event",
161
+ "name": "OwnershipTransferStarted",
162
+ "inputs": [
163
+ {
164
+ "name": "previousOwner",
165
+ "type": "address",
166
+ "indexed": true,
167
+ "internalType": "address"
168
+ },
169
+ {
170
+ "name": "newOwner",
171
+ "type": "address",
172
+ "indexed": true,
173
+ "internalType": "address"
174
+ }
175
+ ],
176
+ "anonymous": false
177
+ },
178
+ {
179
+ "type": "event",
180
+ "name": "OwnershipTransferred",
181
+ "inputs": [
182
+ {
183
+ "name": "previousOwner",
184
+ "type": "address",
185
+ "indexed": true,
186
+ "internalType": "address"
187
+ },
188
+ {
189
+ "name": "newOwner",
190
+ "type": "address",
191
+ "indexed": true,
192
+ "internalType": "address"
193
+ }
194
+ ],
195
+ "anonymous": false
196
+ },
197
+ {
198
+ "type": "event",
199
+ "name": "SignerApproved",
200
+ "inputs": [
201
+ {
202
+ "name": "signer",
203
+ "type": "address",
204
+ "indexed": true,
205
+ "internalType": "address"
206
+ },
207
+ {
208
+ "name": "deadline",
209
+ "type": "uint256",
210
+ "indexed": false,
211
+ "internalType": "uint256"
212
+ }
213
+ ],
214
+ "anonymous": false
215
+ },
216
+ {
217
+ "type": "event",
218
+ "name": "SignerRevoked",
219
+ "inputs": [
220
+ {
221
+ "name": "signer",
222
+ "type": "address",
223
+ "indexed": true,
224
+ "internalType": "address"
225
+ }
226
+ ],
227
+ "anonymous": false
228
+ },
229
+ {
230
+ "type": "error",
231
+ "name": "ECDSAInvalidSignature",
232
+ "inputs": []
233
+ },
234
+ {
235
+ "type": "error",
236
+ "name": "ECDSAInvalidSignatureLength",
237
+ "inputs": [
238
+ {
239
+ "name": "length",
240
+ "type": "uint256",
241
+ "internalType": "uint256"
242
+ }
243
+ ]
244
+ },
245
+ {
246
+ "type": "error",
247
+ "name": "ECDSAInvalidSignatureS",
248
+ "inputs": [
249
+ {
250
+ "name": "s",
251
+ "type": "bytes32",
252
+ "internalType": "bytes32"
253
+ }
254
+ ]
255
+ },
256
+ {
257
+ "type": "error",
258
+ "name": "InvalidCosignature",
259
+ "inputs": []
260
+ },
261
+ {
262
+ "type": "error",
263
+ "name": "OwnableInvalidOwner",
264
+ "inputs": [
265
+ {
266
+ "name": "owner",
267
+ "type": "address",
268
+ "internalType": "address"
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "type": "error",
274
+ "name": "OwnableUnauthorizedAccount",
275
+ "inputs": [
276
+ {
277
+ "name": "account",
278
+ "type": "address",
279
+ "internalType": "address"
280
+ }
281
+ ]
282
+ }
283
+ ]
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"type":"function","name":"acceptOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"approve","inputs":[{"name":"signer","type":"address","internalType":"address"},{"name":"deadline","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"isApprovedNow","inputs":[{"name":"signer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isValidSignature","inputs":[{"name":"hash","type":"bytes32","internalType":"bytes32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"view"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"pendingOwner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revokeSigner","inputs":[{"name":"signer","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"signers","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"OwnershipTransferStarted","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"SignerApproved","inputs":[{"name":"signer","type":"address","indexed":true,"internalType":"address"},{"name":"deadline","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"SignerRevoked","inputs":[{"name":"signer","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"ECDSAInvalidSignature","inputs":[]},{"type":"error","name":"ECDSAInvalidSignatureLength","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"ECDSAInvalidSignatureS","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]},{"type":"error","name":"InvalidCosignature","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]}],"bytecode":{"object":"0x608060405234801561000f575f5ffd5b50604051610a97380380610a9783398101604081905261002e916100d7565b806001600160a01b03811661005c57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100658161006c565b5050610104565b600180546001600160a01b031916905561008581610088565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f602082840312156100e7575f5ffd5b81516001600160a01b03811681146100fd575f5ffd5b9392505050565b610986806101115f395ff3fe608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c806379ba509711610072578063c34b44a011610058578063c34b44a0146101dd578063e30c3978146101f0578063f2fde38b1461020e575f5ffd5b806379ba5097146101975780638da5cb5b1461019f575f5ffd5b80631626ba7e116100a25780631626ba7e1461011e578063715018a614610162578063736c0d5b1461016a575f5ffd5b806307f091af146100bd578063095ea7b314610109575b5f5ffd5b6100f46100cb366004610864565b73ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040902054421090565b60405190151581526020015b60405180910390f35b61011c610117366004610884565b610221565b005b61013161012c3660046108ac565b61028e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610100565b61011c6102f9565b610189610178366004610864565b60026020525f908152604090205481565b604051908152602001610100565b61011c61030c565b5f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610100565b61011c6101eb366004610864565b610388565b60015473ffffffffffffffffffffffffffffffffffffffff166101b8565b61011c61021c366004610864565b6103e0565b61022961048f565b73ffffffffffffffffffffffffffffffffffffffff82165f8181526002602052604090819020839055517f40d5bfcaf211c721997e768a3afba0d28d48d940b4200c6855002c4561a63581906102829084815260200190565b60405180910390a25050565b5f61029a8484846104e1565b6102d0576040517fd7815be100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f1626ba7e356f5979dd355a3d2bfb43e80420a480c3b854edce286a82d74968699392505050565b61030161048f565b61030a5f61052c565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461037c576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6103858161052c565b50565b61039061048f565b73ffffffffffffffffffffffffffffffffffffffff81165f81815260026020526040808220829055517f99a705a3c2c3339d0051f56b36a60fef91e30142c93353002617999f27aec4af9190a250565b6103e861048f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561044a5f5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f5473ffffffffffffffffffffffffffffffffffffffff16331461030a576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610373565b5f6105246100cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061055d92505050565b949350505050565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561038581610585565b5f5f5f5f61056b86866105f9565b92509250925061057b8282610642565b5090949350505050565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5f5f8351604103610630576020840151604085015160608601515f1a61062288828585610749565b95509550955050505061063b565b505081515f91506002905b9250925092565b5f82600381111561065557610655610923565b0361065e575050565b600182600381111561067257610672610923565b036106a9576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028260038111156106bd576106bd610923565b036106f7576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b600382600381111561070b5761070b610923565b03610745576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b5050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561078257505f91506003905082610832565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156107d3573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661082957505f925060019150829050610832565b92505f91508190505b9450945094915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085f575f5ffd5b919050565b5f60208284031215610874575f5ffd5b61087d8261083c565b9392505050565b5f5f60408385031215610895575f5ffd5b61089e8361083c565b946020939093013593505050565b5f5f5f604084860312156108be575f5ffd5b83359250602084013567ffffffffffffffff8111156108db575f5ffd5b8401601f810186136108eb575f5ffd5b803567ffffffffffffffff811115610901575f5ffd5b866020828401011115610912575f5ffd5b939660209190910195509293505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea26469706673582212206778898f7786980ef355a4d871d653ac91896fa57e9feb93aa110e2c037a7ed864736f6c634300081b0033","sourceMap":"827:3154:78:-:0;;;1723:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1765:12;-1:-1:-1;;;;;1273:26:19;;1269:95;;1322:31;;-1:-1:-1;;;1322:31:19;;1350:1;1322:31;;;455:51:108;428:18;;1322:31:19;;;;;;;1269:95;1373:32;1392:12;1373:18;:32::i;:::-;1225:187;1723:58:78;827:3154;;2011:153:20;2100:13;2093:20;;-1:-1:-1;;;;;;2093:20:20;;;2123:34;2148:8;2123:24;:34::i;:::-;2011:153;:::o;2912:187:19:-;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:19;;;-1:-1:-1;;;;;;3020:17:19;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;14:290:108:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:108;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:108:o;309:203::-;827:3154:78;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c806379ba509711610072578063c34b44a011610058578063c34b44a0146101dd578063e30c3978146101f0578063f2fde38b1461020e575f5ffd5b806379ba5097146101975780638da5cb5b1461019f575f5ffd5b80631626ba7e116100a25780631626ba7e1461011e578063715018a614610162578063736c0d5b1461016a575f5ffd5b806307f091af146100bd578063095ea7b314610109575b5f5ffd5b6100f46100cb366004610864565b73ffffffffffffffffffffffffffffffffffffffff165f90815260026020526040902054421090565b60405190151581526020015b60405180910390f35b61011c610117366004610884565b610221565b005b61013161012c3660046108ac565b61028e565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610100565b61011c6102f9565b610189610178366004610864565b60026020525f908152604090205481565b604051908152602001610100565b61011c61030c565b5f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610100565b61011c6101eb366004610864565b610388565b60015473ffffffffffffffffffffffffffffffffffffffff166101b8565b61011c61021c366004610864565b6103e0565b61022961048f565b73ffffffffffffffffffffffffffffffffffffffff82165f8181526002602052604090819020839055517f40d5bfcaf211c721997e768a3afba0d28d48d940b4200c6855002c4561a63581906102829084815260200190565b60405180910390a25050565b5f61029a8484846104e1565b6102d0576040517fd7815be100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b507f1626ba7e356f5979dd355a3d2bfb43e80420a480c3b854edce286a82d74968699392505050565b61030161048f565b61030a5f61052c565b565b600154339073ffffffffffffffffffffffffffffffffffffffff16811461037c576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6103858161052c565b50565b61039061048f565b73ffffffffffffffffffffffffffffffffffffffff81165f81815260026020526040808220829055517f99a705a3c2c3339d0051f56b36a60fef91e30142c93353002617999f27aec4af9190a250565b6103e861048f565b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915561044a5f5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f5473ffffffffffffffffffffffffffffffffffffffff16331461030a576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610373565b5f6105246100cb8585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061055d92505050565b949350505050565b600180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905561038581610585565b5f5f5f5f61056b86866105f9565b92509250925061057b8282610642565b5090949350505050565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5f5f8351604103610630576020840151604085015160608601515f1a61062288828585610749565b95509550955050505061063b565b505081515f91506002905b9250925092565b5f82600381111561065557610655610923565b0361065e575050565b600182600381111561067257610672610923565b036106a9576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028260038111156106bd576106bd610923565b036106f7576040517ffce698f700000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b600382600381111561070b5761070b610923565b03610745576040517fd78bce0c00000000000000000000000000000000000000000000000000000000815260048101829052602401610373565b5050565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561078257505f91506003905082610832565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa1580156107d3573d5f5f3e3d5ffd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661082957505f925060019150829050610832565b92505f91508190505b9450945094915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085f575f5ffd5b919050565b5f60208284031215610874575f5ffd5b61087d8261083c565b9392505050565b5f5f60408385031215610895575f5ffd5b61089e8361083c565b946020939093013593505050565b5f5f5f604084860312156108be575f5ffd5b83359250602084013567ffffffffffffffff8111156108db575f5ffd5b8401601f810186136108eb575f5ffd5b803567ffffffffffffffff811115610901575f5ffd5b866020828401011115610912575f5ffd5b939660209190910195509293505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffdfea26469706673582212206778898f7786980ef355a4d871d653ac91896fa57e9feb93aa110e2c037a7ed864736f6c634300081b0033","sourceMap":"827:3154:78:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2650:123;;;;;;:::i;:::-;2751:15;;2710:4;2751:15;;;:7;:15;;;;;;2733;:33;;2650:123;;;;571:14:108;;564:22;546:41;;534:2;519:18;2650:123:78;;;;;;;;2035:160;;;;;;:::i;:::-;;:::i;:::-;;3746:233;;;;;;:::i;:::-;;:::i;:::-;;;1690:66:108;1678:79;;;1660:98;;1648:2;1633:18;3746:233:78;1516:248:108;2293:101:19;;;:::i;1255:42:78:-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1915:25:108;;;1903:2;1888:18;1255:42:78;1769:177:108;2244:229:20;;;:::i;1638:85:19:-;1684:7;1710:6;;;1638:85;;;2127:42:108;2115:55;;;2097:74;;2085:2;2070:18;1638:85:19;1951:226:108;2336:129:78;;;;;;:::i;:::-;;:::i;1232:99:20:-;1311:13;;;;1232:99;;1649:178;;;;;;:::i;:::-;;:::i;2035:160:78:-;1531:13:19;:11;:13::i;:::-;2115:15:78::1;::::0;::::1;;::::0;;;:7:::1;:15;::::0;;;;;;:26;;;2156:32;::::1;::::0;::::1;::::0;2133:8;1915:25:108;;1903:2;1888:18;;1769:177;2156:32:78::1;;;;;;;;2035:160:::0;;:::o;3746:233::-;3844:6;3867:40;3891:4;3897:9;;3867:23;:40::i;:::-;3862:74;;3916:20;;;;;;;;;;;;;;3862:74;-1:-1:-1;1068:44:78;3746:233;;;;;:::o;2293:101:19:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;2244:229:20:-;1311:13;;735:10:35;;2339:24:20;1311:13;2339:24;;2335:96;;2386:34;;;;;2127:42:108;2115:55;;2386:34:20;;;2097:74:108;2070:18;;2386:34:20;;;;;;;;2335:96;2440:26;2459:6;2440:18;:26::i;:::-;2286:187;2244:229::o;2336:129:78:-;1531:13:19;:11;:13::i;:::-;2403:15:78::1;::::0;::::1;2421:1;2403:15:::0;;;:7:::1;:15;::::0;;;;;:19;;;2437:21;::::1;::::0;2421:1;2437:21:::1;2336:129:::0;:::o;1649:178:20:-;1531:13:19;:11;:13::i;:::-;1738::20::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;1802:7:::1;1684::19::0;1710:6;;;;1638:85;1802:7:20::1;1777:43;;;;;;;;;;;;1649:178:::0;:::o;1796:162:19:-;1684:7;1710:6;1855:23;1710:6;735:10:35;1855:23:19;1851:101;;1901:40;;;;;735:10:35;1901:40:19;;;2097:74:108;2070:18;;1901:40:19;1951:226:108;3136:180:78;3241:4;3264:45;3278:30;3292:4;3298:9;;3278:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3278:13:78;;-1:-1:-1;;;3278:30:78:i;3264:45::-;3257:52;3136:180;-1:-1:-1;;;;3136:180:78:o;2011:153:20:-;2100:13;2093:20;;;;;;2123:34;2148:8;2123:24;:34::i;5290:255:44:-;5368:7;5388:17;5407:18;5427:16;5447:27;5458:4;5464:9;5447:10;:27::i;:::-;5387:87;;;;;;5484:28;5496:5;5503:8;5484:11;:28::i;:::-;-1:-1:-1;5529:9:44;;5290:255;-1:-1:-1;;;;5290:255:44:o;2912:187:19:-;2985:16;3004:6;;;3020:17;;;;;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;2433:778:44:-;2536:17;2555:16;2573:14;2603:9;:16;2623:2;2603:22;2599:606;;2908:4;2893:20;;2887:27;2957:4;2942:20;;2936:27;3014:4;2999:20;;2993:27;2641:9;2985:36;3055:25;3066:4;2985:36;2887:27;2936;3055:10;:25::i;:::-;3048:32;;;;;;;;;;;2599:606;-1:-1:-1;;3176:16:44;;3127:1;;-1:-1:-1;3131:35:44;;2599:606;2433:778;;;;;:::o;11374:532::-;11469:20;11460:5;:29;;;;;;;;:::i;:::-;;11456:444;;11374:532;;:::o;11456:444::-;11565:29;11556:5;:38;;;;;;;;:::i;:::-;;11552:348;;11617:23;;;;;;;;;;;;;;11552:348;11670:35;11661:5;:44;;;;;;;;:::i;:::-;;11657:243;;11728:46;;;;;;;;1915:25:108;;;1888:18;;11728:46:44;1769:177:108;11657:243:44;11804:30;11795:5;:39;;;;;;;;:::i;:::-;;11791:109;;11857:32;;;;;;;;1915:25:108;;;1888:18;;11857:32:44;1769:177:108;11791:109:44;11374:532;;:::o;7142:1551::-;7268:17;;;8222:66;8209:79;;8205:164;;;-1:-1:-1;8320:1:44;;-1:-1:-1;8324:30:44;;-1:-1:-1;8356:1:44;8304:54;;8205:164;8480:24;;;8463:14;8480:24;;;;;;;;;2780:25:108;;;2853:4;2841:17;;2821:18;;;2814:45;;;;2875:18;;;2868:34;;;2918:18;;;2911:34;;;8480:24:44;;2752:19:108;;8480:24:44;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8480:24:44;;;;;;-1:-1:-1;;8518:20:44;;;8514:113;;-1:-1:-1;8570:1:44;;-1:-1:-1;8574:29:44;;-1:-1:-1;8570:1:44;;-1:-1:-1;8554:62:44;;8514:113;8645:6;-1:-1:-1;8653:20:44;;-1:-1:-1;8653:20:44;;-1:-1:-1;7142:1551:44;;;;;;;;;:::o;14:196:108:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:108:o;598:254::-;666:6;674;727:2;715:9;706:7;702:23;698:32;695:52;;;743:1;740;733:12;695:52;766:29;785:9;766:29;:::i;:::-;756:39;842:2;827:18;;;;814:32;;-1:-1:-1;;;598:254:108:o;857:654::-;936:6;944;952;1005:2;993:9;984:7;980:23;976:32;973:52;;;1021:1;1018;1011:12;973:52;1057:9;1044:23;1034:33;;1118:2;1107:9;1103:18;1090:32;1145:18;1137:6;1134:30;1131:50;;;1177:1;1174;1167:12;1131:50;1200:22;;1253:4;1245:13;;1241:27;-1:-1:-1;1231:55:108;;1282:1;1279;1272:12;1231:55;1322:2;1309:16;1348:18;1340:6;1337:30;1334:50;;;1380:1;1377;1370:12;1334:50;1425:7;1420:2;1411:6;1407:2;1403:15;1399:24;1396:37;1393:57;;;1446:1;1443;1436:12;1393:57;857:654;;1477:2;1469:11;;;;;-1:-1:-1;1499:6:108;;-1:-1:-1;;;857:654:108:o;2182:184::-;2234:77;2231:1;2224:88;2331:4;2328:1;2321:15;2355:4;2352:1;2345:15","linkReferences":{}},"methodIdentifiers":{"acceptOwnership()":"79ba5097","approve(address,uint256)":"095ea7b3","isApprovedNow(address)":"07f091af","isValidSignature(bytes32,bytes)":"1626ba7e","owner()":"8da5cb5b","pendingOwner()":"e30c3978","renounceOwnership()":"715018a6","revokeSigner(address)":"c34b44a0","signers(address)":"736c0d5b","transferOwnership(address)":"f2fde38b"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCosignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"SignerApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"SignerRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"isApprovedNow\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isValidSignature\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"revokeSigner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"signers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Extends AbstractSigner and Ownable2Step to provide secure ownership managementOwner can approve/revoke signers. Signers can create valid signatures until their deadline expiresImplements ERC-1271 for contract signature validation\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"kind\":\"dev\",\"methods\":{\"acceptOwnership()\":{\"details\":\"The new owner accepts the ownership transfer.\"},\"approve(address,uint256)\":{\"details\":\"Only the owner can approve signers\",\"params\":{\"deadline\":\"The expiration timestamp (not computed, directly assigned)\",\"signer\":\"The address to approve as a signer\"}},\"constructor\":{\"params\":{\"initialOwner\":\"The address that will be the initial owner (not a signer by default)\"}},\"isApprovedNow(address)\":{\"params\":{\"signer\":\"The address to check\"},\"returns\":{\"_0\":\"True if the signer is approved and not expired\"}},\"isValidSignature(bytes32,bytes)\":{\"details\":\"Implements IERC1271.isValidSignature for contract signature validationReverts with InvalidCosignature if signature is not valid\",\"params\":{\"hash\":\"The hash that was signed\",\"signature\":\"The signature to validate (ECDSA format: r, s, v)\"},\"returns\":{\"_0\":\"magicValue The ERC-1271 magic value if valid\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pendingOwner()\":{\"details\":\"Returns the address of the pending owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"revokeSigner(address)\":{\"details\":\"Only the owner can revoke signers\",\"params\":{\"signer\":\"The address to revoke\"}},\"transferOwnership(address)\":{\"details\":\"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.\"}},\"stateVariables\":{\"ERC1271_MAGIC_VALUE\":{\"details\":\"ERC-1271 magic value for valid signatures - computed as bytes4(keccak256(\\\"isValidSignature(bytes32,bytes)\\\"))\"},\"signers\":{\"details\":\"Timestamp of 0 means the signer is not approved\"}},\"title\":\"Cosigner\",\"version\":1},\"userdoc\":{\"events\":{\"SignerApproved(address,uint256)\":{\"notice\":\"Emitted when a signer is approved\"},\"SignerRevoked(address)\":{\"notice\":\"Emitted when a signer is revoked\"}},\"kind\":\"user\",\"methods\":{\"approve(address,uint256)\":{\"notice\":\"Approves a signer with a deadline timestamp\"},\"constructor\":{\"notice\":\"Constructs the Cosigner contract with an initial owner\"},\"isApprovedNow(address)\":{\"notice\":\"Checks if a signer is currently approved and not expired\"},\"isValidSignature(bytes32,bytes)\":{\"notice\":\"Validates that a signature was created by an approved signer (ERC-1271)\"},\"revokeSigner(address)\":{\"notice\":\"Revokes a signer's approval\"},\"signers(address)\":{\"notice\":\"Mapping of signer addresses to their expiration timestamp\"}},\"notice\":\"Contract-based cosigner that manages approved signers with expiration deadlines\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/ops/Cosigner.sol\":\"Cosigner\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\"]},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol\":{\"keccak256\":\"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0\",\"dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC1271.sol\":{\"keccak256\":\"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04\",\"dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x4f7de0846587a28ea3623077dd809d53f08ad6176738ce1cedf272cb7bc2a107\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1a189921ec61afa7c7348a1699b2550dcba5fb449ae8966e91ef3acd2dc60a4a\",\"dweb:/ipfs/Qma7cmxAGYyMPiEtH2Bv5QNHFmob88ZE6qYfZKFzuW8A4U\"]},\"lib/openzeppelin-contracts/contracts/utils/cryptography/signers/AbstractSigner.sol\":{\"keccak256\":\"0x2e803d54b627d8ce2841c39e973f499be029a706f7157aee74adb648a27ecda9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62197d50f708cccc7f17509f54d429eb6921416f3695f08f1178bbb9ca5ce0c5\",\"dweb:/ipfs/QmeaUebF8obuUXwqFH4rhwTzUqa4A7z4S8TkHpWyUSrDo6\"]},\"src/ops/Cosigner.sol\":{\"keccak256\":\"0xa3b266db1c4ed15348873a8a4a4f05b9503319011d3abe0129b797c89118390c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d05255fdd31d5ca2e574fd886079a98b3ceddaf30b8b42a5f27309c0ca9a879\",\"dweb:/ipfs/QmWMugpTBowekwV8NE795oVEte3wfZYTaQ2p5or6uuo4q7\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"type":"error","name":"ECDSAInvalidSignature"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"type":"error","name":"ECDSAInvalidSignatureLength"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"type":"error","name":"ECDSAInvalidSignatureS"},{"inputs":[],"type":"error","name":"InvalidCosignature"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"type":"error","name":"OwnableInvalidOwner"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"type":"error","name":"OwnableUnauthorizedAccount"},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferStarted","anonymous":false},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"signer","type":"address","indexed":true},{"internalType":"uint256","name":"deadline","type":"uint256","indexed":false}],"type":"event","name":"SignerApproved","anonymous":false},{"inputs":[{"internalType":"address","name":"signer","type":"address","indexed":true}],"type":"event","name":"SignerRevoked","anonymous":false},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"acceptOwnership"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"approve"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"view","type":"function","name":"isApprovedNow","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"view","type":"function","name":"isValidSignature","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"renounceOwnership"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"revokeSigner"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function","name":"signers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"}],"devdoc":{"kind":"dev","methods":{"acceptOwnership()":{"details":"The new owner accepts the ownership transfer."},"approve(address,uint256)":{"details":"Only the owner can approve signers","params":{"deadline":"The expiration timestamp (not computed, directly assigned)","signer":"The address to approve as a signer"}},"constructor":{"params":{"initialOwner":"The address that will be the initial owner (not a signer by default)"}},"isApprovedNow(address)":{"params":{"signer":"The address to check"},"returns":{"_0":"True if the signer is approved and not expired"}},"isValidSignature(bytes32,bytes)":{"details":"Implements IERC1271.isValidSignature for contract signature validationReverts with InvalidCosignature if signature is not valid","params":{"hash":"The hash that was signed","signature":"The signature to validate (ECDSA format: r, s, v)"},"returns":{"_0":"magicValue The ERC-1271 magic value if valid"}},"owner()":{"details":"Returns the address of the current owner."},"pendingOwner()":{"details":"Returns the address of the pending owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"revokeSigner(address)":{"details":"Only the owner can revoke signers","params":{"signer":"The address to revoke"}},"transferOwnership(address)":{"details":"Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner. Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer."}},"version":1},"userdoc":{"kind":"user","methods":{"approve(address,uint256)":{"notice":"Approves a signer with a deadline timestamp"},"constructor":{"notice":"Constructs the Cosigner contract with an initial owner"},"isApprovedNow(address)":{"notice":"Checks if a signer is currently approved and not expired"},"isValidSignature(bytes32,bytes)":{"notice":"Validates that a signature was created by an approved signer (ERC-1271)"},"revokeSigner(address)":{"notice":"Revokes a signer's approval"},"signers(address)":{"notice":"Mapping of signer addresses to their expiration timestamp"}},"version":1}},"settings":{"remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"],"optimizer":{"enabled":true,"runs":1000000},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/ops/Cosigner.sol":"Cosigner"},"evmVersion":"prague","libraries":{}},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol":{"keccak256":"0xdcad8898fda432696597752e8ec361b87d85c82cb258115427af006dacf7128c","urls":["bzz-raw://e2c9d517f0c136d54bd00cd57959d25681d4d6273f5bbbc263afe228303772f0","dweb:/ipfs/QmReNFjXBiufByiAAzfSQ2SM5r3qeUErn46BmN3yVRvrek"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/interfaces/IERC1271.sol":{"keccak256":"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6","urls":["bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04","dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x4f7de0846587a28ea3623077dd809d53f08ad6176738ce1cedf272cb7bc2a107","urls":["bzz-raw://1a189921ec61afa7c7348a1699b2550dcba5fb449ae8966e91ef3acd2dc60a4a","dweb:/ipfs/Qma7cmxAGYyMPiEtH2Bv5QNHFmob88ZE6qYfZKFzuW8A4U"],"license":"MIT"},"lib/openzeppelin-contracts/contracts/utils/cryptography/signers/AbstractSigner.sol":{"keccak256":"0x2e803d54b627d8ce2841c39e973f499be029a706f7157aee74adb648a27ecda9","urls":["bzz-raw://62197d50f708cccc7f17509f54d429eb6921416f3695f08f1178bbb9ca5ce0c5","dweb:/ipfs/QmeaUebF8obuUXwqFH4rhwTzUqa4A7z4S8TkHpWyUSrDo6"],"license":"MIT"},"src/ops/Cosigner.sol":{"keccak256":"0xa3b266db1c4ed15348873a8a4a4f05b9503319011d3abe0129b797c89118390c","urls":["bzz-raw://1d05255fdd31d5ca2e574fd886079a98b3ceddaf30b8b42a5f27309c0ca9a879","dweb:/ipfs/QmWMugpTBowekwV8NE795oVEte3wfZYTaQ2p5or6uuo4q7"],"license":"MIT"}},"version":1},"id":78}