@overcast-xyz/evm-contracts 0.0.0

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 (36) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +162 -0
  3. package/dist/cjs/generated/abis.d.ts +8064 -0
  4. package/dist/cjs/generated/abis.d.ts.map +1 -0
  5. package/dist/cjs/generated/abis.js +4108 -0
  6. package/dist/cjs/generated/abis.js.map +1 -0
  7. package/dist/cjs/generated/enums.d.ts +42 -0
  8. package/dist/cjs/generated/enums.d.ts.map +1 -0
  9. package/dist/cjs/generated/enums.js +44 -0
  10. package/dist/cjs/generated/enums.js.map +1 -0
  11. package/dist/cjs/generated/structs.d.ts +392 -0
  12. package/dist/cjs/generated/structs.d.ts.map +1 -0
  13. package/dist/cjs/generated/structs.js +419 -0
  14. package/dist/cjs/generated/structs.js.map +1 -0
  15. package/dist/cjs/index.d.ts +4 -0
  16. package/dist/cjs/index.d.ts.map +1 -0
  17. package/dist/cjs/index.js +26 -0
  18. package/dist/cjs/index.js.map +1 -0
  19. package/dist/cjs/package.json +3 -0
  20. package/dist/esm/generated/abis.d.ts +8064 -0
  21. package/dist/esm/generated/abis.d.ts.map +1 -0
  22. package/dist/esm/generated/abis.js +4105 -0
  23. package/dist/esm/generated/abis.js.map +1 -0
  24. package/dist/esm/generated/enums.d.ts +42 -0
  25. package/dist/esm/generated/enums.d.ts.map +1 -0
  26. package/dist/esm/generated/enums.js +41 -0
  27. package/dist/esm/generated/enums.js.map +1 -0
  28. package/dist/esm/generated/structs.d.ts +392 -0
  29. package/dist/esm/generated/structs.d.ts.map +1 -0
  30. package/dist/esm/generated/structs.js +416 -0
  31. package/dist/esm/generated/structs.js.map +1 -0
  32. package/dist/esm/index.d.ts +4 -0
  33. package/dist/esm/index.d.ts.map +1 -0
  34. package/dist/esm/index.js +10 -0
  35. package/dist/esm/index.js.map +1 -0
  36. package/package.json +52 -0
@@ -0,0 +1,419 @@
1
+ "use strict";
2
+ // Generated by scripts/generate-types.ts. Do not edit — run `pnpm generate`.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.signedOperationParameter = exports.redeemResolutionParameter = exports.protocolConfigParameter = exports.optionRecordParameter = exports.optionDetailsParameter = exports.offerParameter = exports.marketOptionParameter = exports.feeResolutionParameter = exports.exerciseResolutionParameter = exports.chainlinkSettlementConfigParameter = void 0;
5
+ /// ABI tuple parameter for the Solidity `ChainlinkSettlementConfig` struct.
6
+ exports.chainlinkSettlementConfigParameter = {
7
+ "type": "tuple",
8
+ "internalType": "struct ChainlinkSettlementConfig",
9
+ "components": [
10
+ {
11
+ "name": "collateralAsset",
12
+ "type": "address",
13
+ "internalType": "address"
14
+ },
15
+ {
16
+ "name": "settlementAsset",
17
+ "type": "address",
18
+ "internalType": "address"
19
+ },
20
+ {
21
+ "name": "collateralFeed",
22
+ "type": "address",
23
+ "internalType": "contract IAggregatorV3"
24
+ },
25
+ {
26
+ "name": "settlementFeed",
27
+ "type": "address",
28
+ "internalType": "contract IAggregatorV3"
29
+ },
30
+ {
31
+ "name": "collMaxStalenessSecs",
32
+ "type": "uint32",
33
+ "internalType": "uint32"
34
+ },
35
+ {
36
+ "name": "settMaxStalenessSecs",
37
+ "type": "uint32",
38
+ "internalType": "uint32"
39
+ },
40
+ {
41
+ "name": "intrinsicResolution",
42
+ "type": "bool",
43
+ "internalType": "bool"
44
+ },
45
+ {
46
+ "name": "exerciseMode",
47
+ "type": "uint8",
48
+ "internalType": "enum ExerciseMode"
49
+ }
50
+ ]
51
+ };
52
+ /// ABI tuple parameter for the Solidity `ExerciseResolution` struct.
53
+ exports.exerciseResolutionParameter = {
54
+ "type": "tuple",
55
+ "internalType": "struct ExerciseResolution",
56
+ "components": [
57
+ {
58
+ "name": "collateralToTaker",
59
+ "type": "uint256",
60
+ "internalType": "uint256"
61
+ },
62
+ {
63
+ "name": "settlementFromTaker",
64
+ "type": "uint256",
65
+ "internalType": "uint256"
66
+ }
67
+ ]
68
+ };
69
+ /// ABI tuple parameter for the Solidity `FeeResolution` struct.
70
+ exports.feeResolutionParameter = {
71
+ "type": "tuple",
72
+ "internalType": "struct FeeResolution",
73
+ "components": [
74
+ {
75
+ "name": "premiumFeeAmount",
76
+ "type": "uint256",
77
+ "internalType": "uint256"
78
+ }
79
+ ]
80
+ };
81
+ /// ABI tuple parameter for the Solidity `MarketOption` struct.
82
+ exports.marketOptionParameter = {
83
+ "type": "tuple",
84
+ "internalType": "struct MarketOption",
85
+ "components": [
86
+ {
87
+ "name": "details",
88
+ "type": "tuple",
89
+ "internalType": "struct OptionDetails",
90
+ "components": [
91
+ {
92
+ "name": "domain",
93
+ "type": "uint32",
94
+ "internalType": "uint32"
95
+ },
96
+ {
97
+ "name": "startTimestamp",
98
+ "type": "uint64",
99
+ "internalType": "uint64"
100
+ },
101
+ {
102
+ "name": "endTimestamp",
103
+ "type": "uint64",
104
+ "internalType": "uint64"
105
+ },
106
+ {
107
+ "name": "premiumAsset",
108
+ "type": "address",
109
+ "internalType": "address"
110
+ },
111
+ {
112
+ "name": "premiumAmount",
113
+ "type": "uint256",
114
+ "internalType": "uint256"
115
+ },
116
+ {
117
+ "name": "collateralAsset",
118
+ "type": "address",
119
+ "internalType": "address"
120
+ },
121
+ {
122
+ "name": "collateralAmount",
123
+ "type": "uint256",
124
+ "internalType": "uint256"
125
+ },
126
+ {
127
+ "name": "settlementAsset",
128
+ "type": "address",
129
+ "internalType": "address"
130
+ },
131
+ {
132
+ "name": "settlementAmount",
133
+ "type": "uint256",
134
+ "internalType": "uint256"
135
+ },
136
+ {
137
+ "name": "settlementLayer",
138
+ "type": "address",
139
+ "internalType": "address"
140
+ },
141
+ {
142
+ "name": "borrowAllowed",
143
+ "type": "bool",
144
+ "internalType": "bool"
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "name": "taker",
150
+ "type": "address",
151
+ "internalType": "address"
152
+ },
153
+ {
154
+ "name": "maker",
155
+ "type": "address",
156
+ "internalType": "address"
157
+ },
158
+ {
159
+ "name": "settlementOffer",
160
+ "type": "bytes32",
161
+ "internalType": "bytes32"
162
+ },
163
+ {
164
+ "name": "collateralOffer",
165
+ "type": "bytes32",
166
+ "internalType": "bytes32"
167
+ }
168
+ ]
169
+ };
170
+ /// ABI tuple parameter for the Solidity `Offer` struct.
171
+ exports.offerParameter = {
172
+ "type": "tuple",
173
+ "internalType": "struct Offer",
174
+ "components": [
175
+ {
176
+ "name": "salt",
177
+ "type": "bytes32",
178
+ "internalType": "bytes32"
179
+ },
180
+ {
181
+ "name": "creator",
182
+ "type": "address",
183
+ "internalType": "address"
184
+ },
185
+ {
186
+ "name": "optionDetails",
187
+ "type": "tuple",
188
+ "internalType": "struct OptionDetails",
189
+ "components": [
190
+ {
191
+ "name": "domain",
192
+ "type": "uint32",
193
+ "internalType": "uint32"
194
+ },
195
+ {
196
+ "name": "startTimestamp",
197
+ "type": "uint64",
198
+ "internalType": "uint64"
199
+ },
200
+ {
201
+ "name": "endTimestamp",
202
+ "type": "uint64",
203
+ "internalType": "uint64"
204
+ },
205
+ {
206
+ "name": "premiumAsset",
207
+ "type": "address",
208
+ "internalType": "address"
209
+ },
210
+ {
211
+ "name": "premiumAmount",
212
+ "type": "uint256",
213
+ "internalType": "uint256"
214
+ },
215
+ {
216
+ "name": "collateralAsset",
217
+ "type": "address",
218
+ "internalType": "address"
219
+ },
220
+ {
221
+ "name": "collateralAmount",
222
+ "type": "uint256",
223
+ "internalType": "uint256"
224
+ },
225
+ {
226
+ "name": "settlementAsset",
227
+ "type": "address",
228
+ "internalType": "address"
229
+ },
230
+ {
231
+ "name": "settlementAmount",
232
+ "type": "uint256",
233
+ "internalType": "uint256"
234
+ },
235
+ {
236
+ "name": "settlementLayer",
237
+ "type": "address",
238
+ "internalType": "address"
239
+ },
240
+ {
241
+ "name": "borrowAllowed",
242
+ "type": "bool",
243
+ "internalType": "bool"
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "name": "expiry",
249
+ "type": "uint64",
250
+ "internalType": "uint64"
251
+ },
252
+ {
253
+ "name": "side",
254
+ "type": "uint8",
255
+ "internalType": "enum OptionSide"
256
+ },
257
+ {
258
+ "name": "counterparty",
259
+ "type": "address",
260
+ "internalType": "address"
261
+ }
262
+ ]
263
+ };
264
+ /// ABI tuple parameter for the Solidity `OptionDetails` struct.
265
+ exports.optionDetailsParameter = {
266
+ "type": "tuple",
267
+ "internalType": "struct OptionDetails",
268
+ "components": [
269
+ {
270
+ "name": "domain",
271
+ "type": "uint32",
272
+ "internalType": "uint32"
273
+ },
274
+ {
275
+ "name": "startTimestamp",
276
+ "type": "uint64",
277
+ "internalType": "uint64"
278
+ },
279
+ {
280
+ "name": "endTimestamp",
281
+ "type": "uint64",
282
+ "internalType": "uint64"
283
+ },
284
+ {
285
+ "name": "premiumAsset",
286
+ "type": "address",
287
+ "internalType": "address"
288
+ },
289
+ {
290
+ "name": "premiumAmount",
291
+ "type": "uint256",
292
+ "internalType": "uint256"
293
+ },
294
+ {
295
+ "name": "collateralAsset",
296
+ "type": "address",
297
+ "internalType": "address"
298
+ },
299
+ {
300
+ "name": "collateralAmount",
301
+ "type": "uint256",
302
+ "internalType": "uint256"
303
+ },
304
+ {
305
+ "name": "settlementAsset",
306
+ "type": "address",
307
+ "internalType": "address"
308
+ },
309
+ {
310
+ "name": "settlementAmount",
311
+ "type": "uint256",
312
+ "internalType": "uint256"
313
+ },
314
+ {
315
+ "name": "settlementLayer",
316
+ "type": "address",
317
+ "internalType": "address"
318
+ },
319
+ {
320
+ "name": "borrowAllowed",
321
+ "type": "bool",
322
+ "internalType": "bool"
323
+ }
324
+ ]
325
+ };
326
+ /// ABI tuple parameter for the Solidity `OptionRecord` struct.
327
+ exports.optionRecordParameter = {
328
+ "type": "tuple",
329
+ "internalType": "struct OptionRecord",
330
+ "components": [
331
+ {
332
+ "name": "exists",
333
+ "type": "bool",
334
+ "internalType": "bool"
335
+ },
336
+ {
337
+ "name": "borrowedCollateral",
338
+ "type": "uint248",
339
+ "internalType": "uint248"
340
+ }
341
+ ]
342
+ };
343
+ /// ABI tuple parameter for the Solidity `ProtocolConfig` struct.
344
+ exports.protocolConfigParameter = {
345
+ "type": "tuple",
346
+ "internalType": "struct ProtocolConfig",
347
+ "components": [
348
+ {
349
+ "name": "authority",
350
+ "type": "address",
351
+ "internalType": "address"
352
+ },
353
+ {
354
+ "name": "pauseAuthority",
355
+ "type": "address",
356
+ "internalType": "address"
357
+ },
358
+ {
359
+ "name": "optionCreationHook",
360
+ "type": "address",
361
+ "internalType": "address"
362
+ },
363
+ {
364
+ "name": "pausedActions",
365
+ "type": "uint32",
366
+ "internalType": "uint32"
367
+ },
368
+ {
369
+ "name": "pauseAuthorityMask",
370
+ "type": "uint32",
371
+ "internalType": "uint32"
372
+ }
373
+ ]
374
+ };
375
+ /// ABI tuple parameter for the Solidity `RedeemResolution` struct.
376
+ exports.redeemResolutionParameter = {
377
+ "type": "tuple",
378
+ "internalType": "struct RedeemResolution",
379
+ "components": [
380
+ {
381
+ "name": "collateralToMaker",
382
+ "type": "uint256",
383
+ "internalType": "uint256"
384
+ },
385
+ {
386
+ "name": "settlementToMaker",
387
+ "type": "uint256",
388
+ "internalType": "uint256"
389
+ }
390
+ ]
391
+ };
392
+ /// ABI tuple parameter for the Solidity `SignedOperation` struct.
393
+ exports.signedOperationParameter = {
394
+ "type": "tuple",
395
+ "internalType": "struct SignedOperation",
396
+ "components": [
397
+ {
398
+ "name": "expiry",
399
+ "type": "uint64",
400
+ "internalType": "uint64"
401
+ },
402
+ {
403
+ "name": "nonce",
404
+ "type": "uint256",
405
+ "internalType": "uint256"
406
+ },
407
+ {
408
+ "name": "curveId",
409
+ "type": "uint8",
410
+ "internalType": "uint8"
411
+ },
412
+ {
413
+ "name": "signature",
414
+ "type": "bytes",
415
+ "internalType": "bytes"
416
+ }
417
+ ]
418
+ };
419
+ //# sourceMappingURL=structs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../src/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M,EAAE,SAAS;YACjB,cAAc,EAAE,SAAS;SAC1B;QACD;YACE,MAAM,EAAE,oBAAoB;YAC5B,MAAM,EAAE,SAAS;YACjB,cAAc,EAAE,SAAS;SAC1B;QACD;YACE,MAAM,EAAE,eAAe;YACvB,MAAM,EAAE,QAAQ;YAChB,cAAc,EAAE,QAAQ;SACzB;QACD;YACE,MAAM,EAAE,oBAAoB;YAC5B,MAAM,EAAE,QAAQ;YAChB,cAAc,EAAE,QAAQ;SACzB;KACF;CACO,CAAC;AAUX,mEAAmE;AACtD,QAAA,yBAAyB,GAAG;IACvC,MAAM,EAAE,OAAO;IACf,cAAc,EAAE,yBAAyB;IACzC,YAAY,EAAE;QACZ;YACE,MAAM,EAAE,mBAAmB;YAC3B,MAAM,EAAE,SAAS;YACjB,cAAc,EAAE,SAAS;SAC1B;QACD;YACE,MAAM,EAAE,mBAAmB;YAC3B,MAAM,EAAE,SAAS;YACjB,cAAc,EAAE,SAAS;SAC1B;KACF;CACO,CAAC;AAOX,kEAAkE;AACrD,QAAA,wBAAwB,GAAG;IACtC,MAAM,EAAE,OAAO;IACf,cAAc,EAAE,wBAAwB;IACxC,YAAY,EAAE;QACZ;YACE,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,cAAc,EAAE,QAAQ;SACzB;QACD;YACE,MAAM,EAAE,OAAO;YACf,MAAM,EAAE,SAAS;YACjB,cAAc,EAAE,SAAS;SAC1B;QACD;YACE,MAAM,EAAE,SAAS;YACjB,MAAM,EAAE,OAAO;YACf,cAAc,EAAE,OAAO;SACxB;QACD;YACE,MAAM,EAAE,WAAW;YACnB,MAAM,EAAE,OAAO;YACf,cAAc,EAAE,OAAO;SACxB;KACF;CACO,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./generated/abis.js";
2
+ export * from "./generated/enums.js";
3
+ export * from "./generated/structs.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /// Public surface of `@overcast-xyz/evm-contracts`.
18
+ ///
19
+ /// Everything re-exported here is generated from the Foundry artifacts — see
20
+ /// `pnpm generate`. Nothing in this package imports anything at runtime, so it
21
+ /// adds no dependencies to a consumer: the ABIs are `as const` arrays that
22
+ /// viem/abitype infer from directly, and the struct types are fully expanded.
23
+ __exportStar(require("./generated/abis.js"), exports);
24
+ __exportStar(require("./generated/enums.js"), exports);
25
+ __exportStar(require("./generated/structs.js"), exports);
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAoD;AACpD,GAAG;AACH,6EAA6E;AAC7E,+EAA+E;AAC/E,2EAA2E;AAC3E,8EAA8E;AAC9E,sDAAoC;AACpC,uDAAqC;AACrC,yDAAuC"}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }