@cancore/contracts 0.2.0-rc.3 → 0.2.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +137 -28
- package/dist/abi.d.ts +110 -178
- package/dist/abi.js +1 -1
- package/dist/{chunk-NV5IUURP.js → chunk-GJPX4H5K.js} +132 -232
- package/dist/chunk-GJPX4H5K.js.map +1 -0
- package/dist/{chunk-VODZRADO.js → chunk-IAPV7XWJ.js} +2 -2
- package/dist/chunk-IAPV7XWJ.js.map +1 -0
- package/dist/index.d.ts +416 -86
- package/dist/index.js +699 -165
- package/dist/index.js.map +1 -1
- package/dist/networks.d.ts +1 -1
- package/dist/networks.js +1 -1
- package/package.json +1 -1
- package/spec/abi/CancoreRouter.json +64 -155
- package/spec/abi/ICancoreRouter.json +64 -69
- package/spec/protocol/asyncapi.json +265 -27
- package/spec/protocol/messages.schema.json +135 -24
- package/spec/protocol/records.schema.json +3 -2
- package/spec/protocol/rest.schema.json +7 -4
- package/spec/protocol/typed-data/FillerKeyRegistration.json +69 -0
- package/spec/protocol/typed-data/FillerMessage.json +115 -0
- package/spec/protocol/typed-data/FillerQuote.json +12 -12
- package/spec/protocol/typed-data/GatewayMessage.json +12 -9
- package/spec/protocol/typed-data/TicketIntent.json +57 -9
- package/spec/protocol/typed-data/TicketReceipt.json +2 -2
- package/spec/protocol/vectors/messages.json +190 -10
- package/spec/protocol/vectors/settle-attestations.json +542 -0
- package/spec/typed-data/FillProof.json +61 -33
- package/spec/typed-data/FillTicket.json +46 -13
- package/dist/chunk-NV5IUURP.js.map +0 -1
- package/dist/chunk-VODZRADO.js.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "Valid example frames of filler protocol v1, one or more per type, built on the golden vectors (hashes are real). sig
|
|
2
|
+
"$comment": "Valid example frames of filler protocol v1, one or more per type, built on the golden vectors (hashes are real). sig and msgSig are a zero placeholder (r = s = 0, v = 27): no key signs them — except settle.attestations, which carries the TEST gateway sig of its golden vector (settle-attestations.json). Generated by scripts/gen-protocol-docs.mjs.",
|
|
3
3
|
"examples": {
|
|
4
4
|
"auth.challenge": [
|
|
5
5
|
{
|
|
6
6
|
"type": "auth.challenge",
|
|
7
|
+
"id": "g-1",
|
|
7
8
|
"sentAt": 1789999980000,
|
|
8
9
|
"nonce": "0x63ed6389bd2a1d23bb678583c227172bda874e82b97b1c170bfeeb4373b4b0d5",
|
|
9
10
|
"expiresAt": "1790000030",
|
|
@@ -15,14 +16,28 @@
|
|
|
15
16
|
"type": "auth.response",
|
|
16
17
|
"id": "a-1",
|
|
17
18
|
"fillerId": "acme-markets",
|
|
19
|
+
"sentAt": 1789999980100,
|
|
20
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
21
|
+
"keyAddress": "0x90f79bf6eb2c4f870365e785982e1f101e93b906",
|
|
22
|
+
"protocolVersion": "1",
|
|
23
|
+
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "auth.response",
|
|
27
|
+
"id": "a-2",
|
|
28
|
+
"fillerId": "acme-markets",
|
|
29
|
+
"sentAt": 1789999980100,
|
|
30
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
18
31
|
"keyAddress": "0x90f79bf6eb2c4f870365e785982e1f101e93b906",
|
|
19
32
|
"protocolVersion": "1",
|
|
33
|
+
"nonce": "0x63ed6389bd2a1d23bb678583c227172bda874e82b97b1c170bfeeb4373b4b0d5",
|
|
20
34
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b"
|
|
21
35
|
}
|
|
22
36
|
],
|
|
23
37
|
"auth.ok": [
|
|
24
38
|
{
|
|
25
39
|
"type": "auth.ok",
|
|
40
|
+
"id": "g-2",
|
|
26
41
|
"fillerId": "acme-markets",
|
|
27
42
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
28
43
|
"sentAt": 1789999980200,
|
|
@@ -33,7 +48,10 @@
|
|
|
33
48
|
"ping": [
|
|
34
49
|
{
|
|
35
50
|
"type": "ping",
|
|
36
|
-
"id": "p-1"
|
|
51
|
+
"id": "p-1",
|
|
52
|
+
"fillerId": "acme-markets",
|
|
53
|
+
"sentAt": 1789999994000,
|
|
54
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b"
|
|
37
55
|
},
|
|
38
56
|
{
|
|
39
57
|
"type": "ping",
|
|
@@ -46,19 +64,25 @@
|
|
|
46
64
|
"pong": [
|
|
47
65
|
{
|
|
48
66
|
"type": "pong",
|
|
67
|
+
"id": "po-1",
|
|
68
|
+
"fillerId": "acme-markets",
|
|
69
|
+
"sentAt": 1789999995100,
|
|
70
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
49
71
|
"re": "gp-1"
|
|
50
72
|
},
|
|
51
73
|
{
|
|
52
74
|
"type": "pong",
|
|
75
|
+
"id": "g-3",
|
|
53
76
|
"fillerId": "acme-markets",
|
|
54
77
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
55
|
-
"sentAt":
|
|
78
|
+
"sentAt": 1789999994100,
|
|
56
79
|
"re": "p-1"
|
|
57
80
|
}
|
|
58
81
|
],
|
|
59
82
|
"error": [
|
|
60
83
|
{
|
|
61
84
|
"type": "error",
|
|
85
|
+
"id": "g-4",
|
|
62
86
|
"fillerId": "acme-markets",
|
|
63
87
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
64
88
|
"sentAt": 1790000023500,
|
|
@@ -68,16 +92,39 @@
|
|
|
68
92
|
},
|
|
69
93
|
{
|
|
70
94
|
"type": "error",
|
|
95
|
+
"id": "g-5",
|
|
71
96
|
"sentAt": 1789999980100,
|
|
72
97
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
73
98
|
"re": "q-0",
|
|
74
99
|
"code": "UNAUTHENTICATED",
|
|
75
100
|
"message": "quote before auth.ok"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"type": "error",
|
|
104
|
+
"id": "g-6",
|
|
105
|
+
"fillerId": "acme-markets",
|
|
106
|
+
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
107
|
+
"sentAt": 1790000021500,
|
|
108
|
+
"re": "i-3",
|
|
109
|
+
"code": "TICKET_REFUSED",
|
|
110
|
+
"reason": "REPAY_TO_BLOCKLISTED",
|
|
111
|
+
"message": "repayTo is blocklisted by the input token"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "error",
|
|
115
|
+
"id": "e-1",
|
|
116
|
+
"fillerId": "acme-markets",
|
|
117
|
+
"sentAt": 1790000030000,
|
|
118
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
119
|
+
"re": "g-77",
|
|
120
|
+
"code": "UNKNOWN_TICKET",
|
|
121
|
+
"message": "no ticket for this orderHash"
|
|
76
122
|
}
|
|
77
123
|
],
|
|
78
124
|
"epoch.weights": [
|
|
79
125
|
{
|
|
80
126
|
"type": "epoch.weights",
|
|
127
|
+
"id": "g-7",
|
|
81
128
|
"fillerId": "acme-markets",
|
|
82
129
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
83
130
|
"sentAt": 1789999980300,
|
|
@@ -90,6 +137,7 @@
|
|
|
90
137
|
"quote.request": [
|
|
91
138
|
{
|
|
92
139
|
"type": "quote.request",
|
|
140
|
+
"id": "g-8",
|
|
93
141
|
"fillerId": "acme-markets",
|
|
94
142
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
95
143
|
"sentAt": 1789999990000,
|
|
@@ -115,8 +163,10 @@
|
|
|
115
163
|
{
|
|
116
164
|
"type": "quote",
|
|
117
165
|
"id": "q-1",
|
|
166
|
+
"fillerId": "acme-markets",
|
|
167
|
+
"sentAt": 1789999991000,
|
|
168
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
118
169
|
"requestId": "req-7f3a9c21-4d88-4e5b-9a1e-0c2f6b8d4e31",
|
|
119
|
-
"filler": "0x742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
120
170
|
"amountOut": "999000000",
|
|
121
171
|
"validUntil": "1790000060",
|
|
122
172
|
"nonce": "1",
|
|
@@ -126,12 +176,13 @@
|
|
|
126
176
|
"quote.ack": [
|
|
127
177
|
{
|
|
128
178
|
"type": "quote.ack",
|
|
179
|
+
"id": "g-9",
|
|
129
180
|
"fillerId": "acme-markets",
|
|
130
181
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
131
182
|
"sentAt": 1789999991001,
|
|
132
183
|
"re": "q-1",
|
|
133
184
|
"requestId": "req-7f3a9c21-4d88-4e5b-9a1e-0c2f6b8d4e31",
|
|
134
|
-
"quoteHash": "
|
|
185
|
+
"quoteHash": "0xe3b63a6ae2730532fb841002059d6e8c92124d95e98c09857d7e0f5ba3512e3b",
|
|
135
186
|
"receivedAt": 1789999991000,
|
|
136
187
|
"status": "COUNTED"
|
|
137
188
|
}
|
|
@@ -139,6 +190,7 @@
|
|
|
139
190
|
"quote.reconfirm": [
|
|
140
191
|
{
|
|
141
192
|
"type": "quote.reconfirm",
|
|
193
|
+
"id": "g-10",
|
|
142
194
|
"fillerId": "acme-markets",
|
|
143
195
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
144
196
|
"sentAt": 1790000013000,
|
|
@@ -166,6 +218,9 @@
|
|
|
166
218
|
{
|
|
167
219
|
"type": "quote.reconfirm.reply",
|
|
168
220
|
"id": "r-1",
|
|
221
|
+
"fillerId": "acme-markets",
|
|
222
|
+
"sentAt": 1790000014000,
|
|
223
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
169
224
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
170
225
|
"accept": true,
|
|
171
226
|
"validUntil": "1790000400",
|
|
@@ -175,6 +230,9 @@
|
|
|
175
230
|
{
|
|
176
231
|
"type": "quote.reconfirm.reply",
|
|
177
232
|
"id": "r-2",
|
|
233
|
+
"fillerId": "acme-markets",
|
|
234
|
+
"sentAt": 1790000014000,
|
|
235
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
178
236
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
179
237
|
"accept": false
|
|
180
238
|
}
|
|
@@ -182,6 +240,7 @@
|
|
|
182
240
|
"ticket.offer": [
|
|
183
241
|
{
|
|
184
242
|
"type": "ticket.offer",
|
|
243
|
+
"id": "g-20",
|
|
185
244
|
"fillerId": "acme-markets",
|
|
186
245
|
"sentAt": 1790000020000,
|
|
187
246
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
@@ -210,10 +269,29 @@
|
|
|
210
269
|
{
|
|
211
270
|
"type": "ticket.intent",
|
|
212
271
|
"id": "i-1",
|
|
272
|
+
"fillerId": "acme-markets",
|
|
273
|
+
"sentAt": 1790000021000,
|
|
274
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
213
275
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
214
276
|
"attempt": 0,
|
|
215
277
|
"validFrom": "1790000040",
|
|
216
278
|
"validUntil": "1790000400",
|
|
279
|
+
"deliveryKey": "0x742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
280
|
+
"repayTo": "0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc",
|
|
281
|
+
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "ticket.intent",
|
|
285
|
+
"id": "i-4",
|
|
286
|
+
"fillerId": "acme-markets",
|
|
287
|
+
"sentAt": 1790000021000,
|
|
288
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
289
|
+
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
290
|
+
"attempt": 2,
|
|
291
|
+
"validFrom": "1790000040",
|
|
292
|
+
"validUntil": "1790000400",
|
|
293
|
+
"deliveryKey": "0x0000000000000000000000000000000000000000",
|
|
294
|
+
"repayTo": "0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc",
|
|
217
295
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b"
|
|
218
296
|
}
|
|
219
297
|
],
|
|
@@ -221,6 +299,9 @@
|
|
|
221
299
|
{
|
|
222
300
|
"type": "ticket.decline",
|
|
223
301
|
"id": "d-1",
|
|
302
|
+
"fillerId": "acme-markets",
|
|
303
|
+
"sentAt": 1790000027001,
|
|
304
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
224
305
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
225
306
|
"attempt": 0,
|
|
226
307
|
"reason": "TICKET_ISSUED_LATE",
|
|
@@ -230,19 +311,21 @@
|
|
|
230
311
|
"ticket.intent.ack": [
|
|
231
312
|
{
|
|
232
313
|
"type": "ticket.intent.ack",
|
|
314
|
+
"id": "g-11",
|
|
233
315
|
"fillerId": "acme-markets",
|
|
234
316
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
235
317
|
"sentAt": 1790000021001,
|
|
236
318
|
"re": "i-1",
|
|
237
319
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
238
320
|
"attempt": 0,
|
|
239
|
-
"intentHash": "
|
|
321
|
+
"intentHash": "0xd56c4d45d5405c70c5220da1c3e49d6051b0370a3040d1709ae097b37f3ba041",
|
|
240
322
|
"receivedAt": 1790000021000
|
|
241
323
|
}
|
|
242
324
|
],
|
|
243
325
|
"ticket.issued": [
|
|
244
326
|
{
|
|
245
327
|
"type": "ticket.issued",
|
|
328
|
+
"id": "g-12",
|
|
246
329
|
"fillerId": "acme-markets",
|
|
247
330
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
248
331
|
"sentAt": 1790000024000,
|
|
@@ -251,7 +334,9 @@
|
|
|
251
334
|
"attempt": 0,
|
|
252
335
|
"ticket": {
|
|
253
336
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
254
|
-
"
|
|
337
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
338
|
+
"deliveryKey": "0x742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
339
|
+
"repayTo": "0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc",
|
|
255
340
|
"attempt": 0,
|
|
256
341
|
"validFrom": "1790000040",
|
|
257
342
|
"validUntil": "1790000400"
|
|
@@ -260,23 +345,28 @@
|
|
|
260
345
|
},
|
|
261
346
|
{
|
|
262
347
|
"type": "ticket.issued",
|
|
348
|
+
"id": "g-13",
|
|
263
349
|
"fillerId": "acme-markets",
|
|
264
350
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
265
351
|
"sentAt": 1790000024000,
|
|
266
352
|
"form": "canton",
|
|
267
353
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
268
|
-
"attempt":
|
|
354
|
+
"attempt": 2,
|
|
269
355
|
"deliveryOrderCid": "00a1b2c3d4e5f6#fixture-delivery-order",
|
|
270
|
-
"validUntil": "1790000400"
|
|
356
|
+
"validUntil": "1790000400",
|
|
357
|
+
"repayTo": "0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc"
|
|
271
358
|
}
|
|
272
359
|
],
|
|
273
360
|
"ticket.receipt": [
|
|
274
361
|
{
|
|
275
362
|
"type": "ticket.receipt",
|
|
276
363
|
"id": "rc-1",
|
|
364
|
+
"fillerId": "acme-markets",
|
|
365
|
+
"sentAt": 1790000025000,
|
|
366
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
277
367
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
278
368
|
"attempt": 0,
|
|
279
|
-
"ticketHash": "
|
|
369
|
+
"ticketHash": "0x8eaef6b8d59e72288487b0def58e0eb9200fa7600170351af985111eaec5a0a9",
|
|
280
370
|
"ticketSigHash": "0x9d30145c6e97cad96cf7cee181ac9d5b879dea7fed0730d7197e84e28487292b",
|
|
281
371
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b"
|
|
282
372
|
}
|
|
@@ -285,6 +375,9 @@
|
|
|
285
375
|
{
|
|
286
376
|
"type": "fill.reported",
|
|
287
377
|
"id": "f-1",
|
|
378
|
+
"fillerId": "acme-markets",
|
|
379
|
+
"sentAt": 1790000060000,
|
|
380
|
+
"msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
288
381
|
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
289
382
|
"attempt": 0,
|
|
290
383
|
"txRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740"
|
|
@@ -293,6 +386,7 @@
|
|
|
293
386
|
"ticket.expired": [
|
|
294
387
|
{
|
|
295
388
|
"type": "ticket.expired",
|
|
389
|
+
"id": "g-14",
|
|
296
390
|
"fillerId": "acme-markets",
|
|
297
391
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
298
392
|
"sentAt": 1790000460000,
|
|
@@ -302,6 +396,7 @@
|
|
|
302
396
|
},
|
|
303
397
|
{
|
|
304
398
|
"type": "ticket.expired",
|
|
399
|
+
"id": "g-15",
|
|
305
400
|
"fillerId": "acme-markets",
|
|
306
401
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
307
402
|
"sentAt": 1790000460000,
|
|
@@ -314,6 +409,7 @@
|
|
|
314
409
|
"order.settled": [
|
|
315
410
|
{
|
|
316
411
|
"type": "order.settled",
|
|
412
|
+
"id": "g-16",
|
|
317
413
|
"fillerId": "acme-markets",
|
|
318
414
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
319
415
|
"sentAt": 1790000900000,
|
|
@@ -327,6 +423,7 @@
|
|
|
327
423
|
"penalty.applied": [
|
|
328
424
|
{
|
|
329
425
|
"type": "penalty.applied",
|
|
426
|
+
"id": "g-17",
|
|
330
427
|
"fillerId": "acme-markets",
|
|
331
428
|
"sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
|
|
332
429
|
"sentAt": 1790001000000,
|
|
@@ -338,6 +435,89 @@
|
|
|
338
435
|
"attempt": 0
|
|
339
436
|
}
|
|
340
437
|
}
|
|
438
|
+
],
|
|
439
|
+
"settle.attestations": [
|
|
440
|
+
{
|
|
441
|
+
"type": "settle.attestations",
|
|
442
|
+
"id": "g-sa-1",
|
|
443
|
+
"fillerId": "acme-markets",
|
|
444
|
+
"sentAt": 1790000160000,
|
|
445
|
+
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
446
|
+
"attempt": 0,
|
|
447
|
+
"sourceChainId": "eip155:11155111",
|
|
448
|
+
"proof": {
|
|
449
|
+
"kind": 1,
|
|
450
|
+
"orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
|
|
451
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
452
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
453
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
454
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
455
|
+
"amountDelivered": "999000000",
|
|
456
|
+
"filledAt": "1790000100",
|
|
457
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
458
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
459
|
+
"attempt": 0,
|
|
460
|
+
"setId": 1
|
|
461
|
+
},
|
|
462
|
+
"signatures": [
|
|
463
|
+
{
|
|
464
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
465
|
+
"signature": "0x4efcf401d43002b059a1bf5f12a1a6c868a1917a533cb2df79022845bd8704da1d5a6a67e206d057e29bd06efc19fef0afcc0ece462e732268da4cedb57e4c321c"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
469
|
+
"signature": "0x29a0148c3a5cdcadf63a4aaef763784751a3fa6064dc276330227729ddbc69015ea1efdab546cf1552ca726de9ccf4480e8d5ff3c3ed9b718c4964b5bc03ddcf1c"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"setId": 1,
|
|
473
|
+
"threshold": 2,
|
|
474
|
+
"refundAfter": "1790002400",
|
|
475
|
+
"sig": "0x1d81fa8e56999d9bf8365f2aa18025291198a51b769dcddd7ebaaa3b61eca32f262f218caf2618bc8b351c65eca89417defeb5f3905f7327a68e9cdd1d29f99d1b"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"type": "settle.attestations",
|
|
479
|
+
"id": "g-sa-3",
|
|
480
|
+
"fillerId": "cancore-reserve",
|
|
481
|
+
"sentAt": 1789999760000,
|
|
482
|
+
"orderHash": "0x770f1ebba8ab5b96e3efbed39c0f630d56f934f9f232771abaccdb0cf17ca204",
|
|
483
|
+
"attempt": 1,
|
|
484
|
+
"sourceChainId": "canton:mainnet",
|
|
485
|
+
"proof": {
|
|
486
|
+
"kind": 1,
|
|
487
|
+
"orderHash": "0x770f1ebba8ab5b96e3efbed39c0f630d56f934f9f232771abaccdb0cf17ca204",
|
|
488
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
489
|
+
"fillRef": "0xfba8fd8a079872a9efe9646fcf34cfbbe8711ebd63665e8f2e0924949264c471",
|
|
490
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
491
|
+
"outputAsset": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
492
|
+
"amountDelivered": "1200250000",
|
|
493
|
+
"filledAt": "1789999700",
|
|
494
|
+
"fillerId": "0xe3a8297b35498225c7903ca1a305ef64fcd783cf42c6c687b7b332c83d4dd837",
|
|
495
|
+
"repayTo": "0x4fa94ace29856f88ebea07ce6d18e21f52c60b4f66d147134c03c82b62957f9d",
|
|
496
|
+
"attempt": 1,
|
|
497
|
+
"setId": 3
|
|
498
|
+
},
|
|
499
|
+
"signatures": [
|
|
500
|
+
{
|
|
501
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
502
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3",
|
|
503
|
+
"signature": "0x3045022100a7554c31e432a90ae7384910ae3f9128b41034769dd072319fcf8131bb8062b1022006ac576ed5858c881238334835d35f5aacb765b16842a3f926a540355997883e"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
507
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e",
|
|
508
|
+
"signature": "0x3044022035cdea625125d6b555d9ab2405afb085c1d9a65d780048e607ace4f78740f5fc02207d4236924fd1e29bdc1576077c56da025ebfe63ed0c13bb720baa9ed4a444a93"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"signer": "0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0",
|
|
512
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b",
|
|
513
|
+
"signature": "0x3045022100b4523bba8213ce348a7334680f4b3c54bfa3b815c907993415a43dc54452cb0e02201fc0f93a9199dfe16f3aff06684146bf6f28ff1df5efea5d874b3d877051678b"
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
"setId": 3,
|
|
517
|
+
"threshold": 2,
|
|
518
|
+
"refundAfter": "1790001800",
|
|
519
|
+
"sig": "0x31ef2d7b9fb10cc97215e965e9cc866e6e595ba92d9f630a00fbaedc3241399f0d65b0e75c81504ba0989eb4264e55e46b571bd7252f45699ab4792d40e5ca931b"
|
|
520
|
+
}
|
|
341
521
|
]
|
|
342
522
|
}
|
|
343
523
|
}
|