@cancore/contracts 0.2.0-rc.10 → 0.2.0-rc.14
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 +80 -1
- package/dist/index.d.ts +230 -6
- package/dist/index.js +794 -25
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/spec/protocol/asyncapi.json +335 -13
- package/spec/protocol/messages.schema.json +364 -1
- package/spec/protocol/rest.schema.json +62 -3
- package/spec/protocol/vectors/messages.json +206 -13
- package/spec/protocol/vectors/settle-attestations.json +71 -69
|
@@ -38,9 +38,10 @@
|
|
|
38
38
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
39
39
|
"createdAt": "1790000000",
|
|
40
40
|
"fillDeadline": "1790000600",
|
|
41
|
-
"feeBps": "30"
|
|
41
|
+
"feeBps": "30",
|
|
42
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5"
|
|
42
43
|
},
|
|
43
|
-
"digest": "
|
|
44
|
+
"digest": "0x3ac49b1b7711077ea4936c316ee71e42189f3e9e14c066554afddcd3bb087fe7",
|
|
44
45
|
"set": {
|
|
45
46
|
"setId": 1,
|
|
46
47
|
"threshold": 2,
|
|
@@ -55,12 +56,12 @@
|
|
|
55
56
|
"id": "g-sa-1",
|
|
56
57
|
"fillerId": "acme-markets",
|
|
57
58
|
"sentAt": 1790000160000,
|
|
58
|
-
"orderHash": "
|
|
59
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
59
60
|
"attempt": 0,
|
|
60
61
|
"sourceChainId": "eip155:11155111",
|
|
61
62
|
"proof": {
|
|
62
63
|
"kind": 1,
|
|
63
|
-
"orderHash": "
|
|
64
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
64
65
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
65
66
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
66
67
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -75,29 +76,29 @@
|
|
|
75
76
|
"signatures": [
|
|
76
77
|
{
|
|
77
78
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
78
|
-
"signature": "
|
|
79
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
79
80
|
},
|
|
80
81
|
{
|
|
81
82
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
82
|
-
"signature": "
|
|
83
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
83
84
|
}
|
|
84
85
|
],
|
|
85
86
|
"setId": 1,
|
|
86
87
|
"threshold": 2,
|
|
87
88
|
"refundAfter": "1790002400",
|
|
88
|
-
"sig": "
|
|
89
|
+
"sig": "0x703468572b0f0d056f7c8547a2a70dbb76469888d23059926e906d23cc0468ac54cd96efe6a0f298750a225cd4a7e6acb511f144631076ed2825de0bf0e40b1e1b"
|
|
89
90
|
},
|
|
90
91
|
"rest": {
|
|
91
92
|
"type": "settle.attestations",
|
|
92
93
|
"id": "g-sa-2",
|
|
93
94
|
"fillerId": "acme-markets",
|
|
94
95
|
"sentAt": 1790000175000,
|
|
95
|
-
"orderHash": "
|
|
96
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
96
97
|
"attempt": 0,
|
|
97
98
|
"sourceChainId": "eip155:11155111",
|
|
98
99
|
"proof": {
|
|
99
100
|
"kind": 1,
|
|
100
|
-
"orderHash": "
|
|
101
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
101
102
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
102
103
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
103
104
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -112,23 +113,23 @@
|
|
|
112
113
|
"signatures": [
|
|
113
114
|
{
|
|
114
115
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
115
|
-
"signature": "
|
|
116
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
116
117
|
},
|
|
117
118
|
{
|
|
118
119
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
119
|
-
"signature": "
|
|
120
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
120
121
|
}
|
|
121
122
|
],
|
|
122
123
|
"setId": 1,
|
|
123
124
|
"threshold": 2,
|
|
124
125
|
"refundAfter": "1790002400",
|
|
125
|
-
"sig": "
|
|
126
|
+
"sig": "0x8977095382f1cd56ce8be4a55ce65984d6021cc964fd5c906843e85d3755e6df401854129efafd16f13fc11cdad31f9d520f4059ddaecc0b2f145992c98711b01b"
|
|
126
127
|
},
|
|
127
|
-
"payloadJcs": "{\"attempt\":0,\"orderHash\":\"
|
|
128
|
-
"payloadHash": "
|
|
128
|
+
"payloadJcs": "{\"attempt\":0,\"orderHash\":\"0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b\",\"proof\":{\"amountDelivered\":\"999000000\",\"attempt\":0,\"destination\":\"0x0000000000000000000000000000000000000000000000000000000000066eee\",\"fillRef\":\"0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740\",\"filledAt\":\"1790000100\",\"fillerId\":\"0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5\",\"kind\":1,\"orderHash\":\"0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b\",\"outputAsset\":\"0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d\",\"recipient\":\"0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e\",\"repayTo\":\"0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e\",\"setId\":1},\"refundAfter\":\"1790002400\",\"setId\":1,\"signatures\":[{\"signature\":\"0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b\",\"signer\":\"0x5e877d05b3bfef8b53a59dde76b911fb521415cd\"},{\"signature\":\"0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b\",\"signer\":\"0x6805cf7ce01e1c392d47806813503e367c932544\"}],\"sourceChainId\":\"eip155:11155111\",\"threshold\":2}",
|
|
129
|
+
"payloadHash": "0x47bd981d8ab7332b3aa5e8d3e2e96944415f0a7b34c4231723fa4555dd0ece87"
|
|
129
130
|
},
|
|
130
131
|
"canton": {
|
|
131
|
-
"note": "Canton source (spec/vectors/canton-order.json, mainnet origin id): 3 of 3, k = 2; each entry is a SigEntry of SwapIntent_SettleWithProof (pubKey, signature, without 0x on the ledger); repayTo = keccak256(utf8(partyId)) of the
|
|
132
|
+
"note": "Canton source (spec/vectors/canton-order.json, mainnet origin id): 3 of 3, k = 2; each entry is a SigEntry of SwapIntent_SettleWithProof (pubKey, signature, without 0x on the ledger); repayTo = keccak256(utf8(partyId)) of the party of the filler acme, the payee SwapIntent_SettleWithProof finds under fillerId; rsv: the 65-byte form of the same signatures, for cross-checks",
|
|
132
133
|
"domain": {
|
|
133
134
|
"chainId": "9223372036854775809",
|
|
134
135
|
"verifyingContract": "0x2f37b46ea93001829498b145985fb53028033701"
|
|
@@ -144,9 +145,10 @@
|
|
|
144
145
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
145
146
|
"createdAt": "1789999400",
|
|
146
147
|
"fillDeadline": "1790000000",
|
|
147
|
-
"feeBps": "30"
|
|
148
|
+
"feeBps": "30",
|
|
149
|
+
"fillerId": "0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf"
|
|
148
150
|
},
|
|
149
|
-
"digest": "
|
|
151
|
+
"digest": "0x1b4179e2cd9d9e94cedd917b287dfc889d3bf118ddf499f2eb2b70856b73da51",
|
|
150
152
|
"set": {
|
|
151
153
|
"setId": 3,
|
|
152
154
|
"threshold": 2,
|
|
@@ -157,28 +159,28 @@
|
|
|
157
159
|
]
|
|
158
160
|
},
|
|
159
161
|
"rsv": [
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
162
|
+
"0x48f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b2230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd161b",
|
|
163
|
+
"0xd4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e293e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc1c",
|
|
164
|
+
"0x0a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca80cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e021b"
|
|
163
165
|
],
|
|
164
166
|
"ws": {
|
|
165
167
|
"type": "settle.attestations",
|
|
166
168
|
"id": "g-sa-3",
|
|
167
|
-
"fillerId": "
|
|
169
|
+
"fillerId": "acme",
|
|
168
170
|
"sentAt": 1789999760000,
|
|
169
|
-
"orderHash": "
|
|
171
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
170
172
|
"attempt": 1,
|
|
171
173
|
"sourceChainId": "canton:mainnet",
|
|
172
174
|
"proof": {
|
|
173
175
|
"kind": 1,
|
|
174
|
-
"orderHash": "
|
|
176
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
175
177
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
176
178
|
"fillRef": "0xfba8fd8a079872a9efe9646fcf34cfbbe8711ebd63665e8f2e0924949264c471",
|
|
177
179
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
178
180
|
"outputAsset": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
179
181
|
"amountDelivered": "1200250000",
|
|
180
182
|
"filledAt": "1789999700",
|
|
181
|
-
"fillerId": "
|
|
183
|
+
"fillerId": "0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf",
|
|
182
184
|
"repayTo": "0x4fa94ace29856f88ebea07ce6d18e21f52c60b4f66d147134c03c82b62957f9d",
|
|
183
185
|
"attempt": 1,
|
|
184
186
|
"setId": 3
|
|
@@ -187,42 +189,42 @@
|
|
|
187
189
|
{
|
|
188
190
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
189
191
|
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3",
|
|
190
|
-
"signature": "
|
|
192
|
+
"signature": "0x3044022048f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b20220230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd16"
|
|
191
193
|
},
|
|
192
194
|
{
|
|
193
195
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
194
196
|
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e",
|
|
195
|
-
"signature": "
|
|
197
|
+
"signature": "0x3045022100d4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e2902203e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc"
|
|
196
198
|
},
|
|
197
199
|
{
|
|
198
200
|
"signer": "0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0",
|
|
199
201
|
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b",
|
|
200
|
-
"signature": "
|
|
202
|
+
"signature": "0x304402200a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca802200cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e02"
|
|
201
203
|
}
|
|
202
204
|
],
|
|
203
205
|
"setId": 3,
|
|
204
206
|
"threshold": 2,
|
|
205
207
|
"refundAfter": "1790001800",
|
|
206
|
-
"sig": "
|
|
208
|
+
"sig": "0x481041cd0c07174f6db63b7acdc96a0bcc399de0be60df07faea3be6f0f09c83553a59f5e5443a6d7d1763789404d732a4b5cdc57758b729adf50245b8f96c2d1b"
|
|
207
209
|
},
|
|
208
210
|
"rest": {
|
|
209
211
|
"type": "settle.attestations",
|
|
210
212
|
"id": "g-sa-4",
|
|
211
|
-
"fillerId": "
|
|
213
|
+
"fillerId": "acme",
|
|
212
214
|
"sentAt": 1789999790000,
|
|
213
|
-
"orderHash": "
|
|
215
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
214
216
|
"attempt": 1,
|
|
215
217
|
"sourceChainId": "canton:mainnet",
|
|
216
218
|
"proof": {
|
|
217
219
|
"kind": 1,
|
|
218
|
-
"orderHash": "
|
|
220
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
219
221
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
220
222
|
"fillRef": "0xfba8fd8a079872a9efe9646fcf34cfbbe8711ebd63665e8f2e0924949264c471",
|
|
221
223
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
222
224
|
"outputAsset": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
223
225
|
"amountDelivered": "1200250000",
|
|
224
226
|
"filledAt": "1789999700",
|
|
225
|
-
"fillerId": "
|
|
227
|
+
"fillerId": "0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf",
|
|
226
228
|
"repayTo": "0x4fa94ace29856f88ebea07ce6d18e21f52c60b4f66d147134c03c82b62957f9d",
|
|
227
229
|
"attempt": 1,
|
|
228
230
|
"setId": 3
|
|
@@ -231,26 +233,26 @@
|
|
|
231
233
|
{
|
|
232
234
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
233
235
|
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3",
|
|
234
|
-
"signature": "
|
|
236
|
+
"signature": "0x3044022048f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b20220230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd16"
|
|
235
237
|
},
|
|
236
238
|
{
|
|
237
239
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
238
240
|
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e",
|
|
239
|
-
"signature": "
|
|
241
|
+
"signature": "0x3045022100d4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e2902203e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc"
|
|
240
242
|
},
|
|
241
243
|
{
|
|
242
244
|
"signer": "0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0",
|
|
243
245
|
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b",
|
|
244
|
-
"signature": "
|
|
246
|
+
"signature": "0x304402200a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca802200cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e02"
|
|
245
247
|
}
|
|
246
248
|
],
|
|
247
249
|
"setId": 3,
|
|
248
250
|
"threshold": 2,
|
|
249
251
|
"refundAfter": "1790001800",
|
|
250
|
-
"sig": "
|
|
252
|
+
"sig": "0xe8eec55aed49975739f9d24c12c196658ce4580e963129534dcd7145d57da7116884381fd166eb20130e9f91faba164a9586ea08c92b146f3bd51c558e79fbc91c"
|
|
251
253
|
},
|
|
252
|
-
"payloadJcs": "{\"attempt\":1,\"orderHash\":\"
|
|
253
|
-
"payloadHash": "
|
|
254
|
+
"payloadJcs": "{\"attempt\":1,\"orderHash\":\"0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a\",\"proof\":{\"amountDelivered\":\"1200250000\",\"attempt\":1,\"destination\":\"0x0000000000000000000000000000000000000000000000000000000000000001\",\"fillRef\":\"0xfba8fd8a079872a9efe9646fcf34cfbbe8711ebd63665e8f2e0924949264c471\",\"filledAt\":\"1789999700\",\"fillerId\":\"0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf\",\"kind\":1,\"orderHash\":\"0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a\",\"outputAsset\":\"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\"recipient\":\"0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e\",\"repayTo\":\"0x4fa94ace29856f88ebea07ce6d18e21f52c60b4f66d147134c03c82b62957f9d\",\"setId\":3},\"refundAfter\":\"1790001800\",\"setId\":3,\"signatures\":[{\"pubKey\":\"0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3\",\"signature\":\"0x3044022048f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b20220230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd16\",\"signer\":\"0x5e877d05b3bfef8b53a59dde76b911fb521415cd\"},{\"pubKey\":\"0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e\",\"signature\":\"0x3045022100d4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e2902203e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc\",\"signer\":\"0x6805cf7ce01e1c392d47806813503e367c932544\"},{\"pubKey\":\"0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b\",\"signature\":\"0x304402200a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca802200cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e02\",\"signer\":\"0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0\"}],\"sourceChainId\":\"canton:mainnet\",\"threshold\":2}",
|
|
255
|
+
"payloadHash": "0xd06813c76383390707c16c1d0441e13619478823f463ca6e0b510fcbbe590da6"
|
|
254
256
|
}
|
|
255
257
|
},
|
|
256
258
|
"invalid": [
|
|
@@ -258,12 +260,12 @@
|
|
|
258
260
|
"note": "fewer signatures than threshold",
|
|
259
261
|
"rule": "threshold",
|
|
260
262
|
"payload": {
|
|
261
|
-
"orderHash": "
|
|
263
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
262
264
|
"attempt": 0,
|
|
263
265
|
"sourceChainId": "eip155:11155111",
|
|
264
266
|
"proof": {
|
|
265
267
|
"kind": 1,
|
|
266
|
-
"orderHash": "
|
|
268
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
267
269
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
268
270
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
269
271
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -278,7 +280,7 @@
|
|
|
278
280
|
"signatures": [
|
|
279
281
|
{
|
|
280
282
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
281
|
-
"signature": "
|
|
283
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
282
284
|
}
|
|
283
285
|
],
|
|
284
286
|
"setId": 1,
|
|
@@ -290,12 +292,12 @@
|
|
|
290
292
|
"note": "signers not strictly ascending",
|
|
291
293
|
"rule": "ascending",
|
|
292
294
|
"payload": {
|
|
293
|
-
"orderHash": "
|
|
295
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
294
296
|
"attempt": 0,
|
|
295
297
|
"sourceChainId": "eip155:11155111",
|
|
296
298
|
"proof": {
|
|
297
299
|
"kind": 1,
|
|
298
|
-
"orderHash": "
|
|
300
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
299
301
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
300
302
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
301
303
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -310,11 +312,11 @@
|
|
|
310
312
|
"signatures": [
|
|
311
313
|
{
|
|
312
314
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
313
|
-
"signature": "
|
|
315
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
314
316
|
},
|
|
315
317
|
{
|
|
316
318
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
317
|
-
"signature": "
|
|
319
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
318
320
|
}
|
|
319
321
|
],
|
|
320
322
|
"setId": 1,
|
|
@@ -326,12 +328,12 @@
|
|
|
326
328
|
"note": "one signer twice",
|
|
327
329
|
"rule": "ascending",
|
|
328
330
|
"payload": {
|
|
329
|
-
"orderHash": "
|
|
331
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
330
332
|
"attempt": 0,
|
|
331
333
|
"sourceChainId": "eip155:11155111",
|
|
332
334
|
"proof": {
|
|
333
335
|
"kind": 1,
|
|
334
|
-
"orderHash": "
|
|
336
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
335
337
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
336
338
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
337
339
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -346,11 +348,11 @@
|
|
|
346
348
|
"signatures": [
|
|
347
349
|
{
|
|
348
350
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
349
|
-
"signature": "
|
|
351
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
350
352
|
},
|
|
351
353
|
{
|
|
352
354
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
353
|
-
"signature": "
|
|
355
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
354
356
|
}
|
|
355
357
|
],
|
|
356
358
|
"setId": 1,
|
|
@@ -362,12 +364,12 @@
|
|
|
362
364
|
"note": "attempt differs from proof.attempt",
|
|
363
365
|
"rule": "attempt",
|
|
364
366
|
"payload": {
|
|
365
|
-
"orderHash": "
|
|
367
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
366
368
|
"attempt": 1,
|
|
367
369
|
"sourceChainId": "eip155:11155111",
|
|
368
370
|
"proof": {
|
|
369
371
|
"kind": 1,
|
|
370
|
-
"orderHash": "
|
|
372
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
371
373
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
372
374
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
373
375
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -382,11 +384,11 @@
|
|
|
382
384
|
"signatures": [
|
|
383
385
|
{
|
|
384
386
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
385
|
-
"signature": "
|
|
387
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
386
388
|
},
|
|
387
389
|
{
|
|
388
390
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
389
|
-
"signature": "
|
|
391
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
390
392
|
}
|
|
391
393
|
],
|
|
392
394
|
"setId": 1,
|
|
@@ -398,12 +400,12 @@
|
|
|
398
400
|
"note": "setId differs from proof.setId",
|
|
399
401
|
"rule": "setId",
|
|
400
402
|
"payload": {
|
|
401
|
-
"orderHash": "
|
|
403
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
402
404
|
"attempt": 0,
|
|
403
405
|
"sourceChainId": "eip155:11155111",
|
|
404
406
|
"proof": {
|
|
405
407
|
"kind": 1,
|
|
406
|
-
"orderHash": "
|
|
408
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
407
409
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
408
410
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
409
411
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -418,11 +420,11 @@
|
|
|
418
420
|
"signatures": [
|
|
419
421
|
{
|
|
420
422
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
421
|
-
"signature": "
|
|
423
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
422
424
|
},
|
|
423
425
|
{
|
|
424
426
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
425
|
-
"signature": "
|
|
427
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
426
428
|
}
|
|
427
429
|
],
|
|
428
430
|
"setId": 2,
|
|
@@ -434,12 +436,12 @@
|
|
|
434
436
|
"note": "orderHash differs from proof.orderHash",
|
|
435
437
|
"rule": "orderHash",
|
|
436
438
|
"payload": {
|
|
437
|
-
"orderHash": "
|
|
439
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
438
440
|
"attempt": 0,
|
|
439
441
|
"sourceChainId": "eip155:11155111",
|
|
440
442
|
"proof": {
|
|
441
443
|
"kind": 1,
|
|
442
|
-
"orderHash": "
|
|
444
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
443
445
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
444
446
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
445
447
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -454,11 +456,11 @@
|
|
|
454
456
|
"signatures": [
|
|
455
457
|
{
|
|
456
458
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
457
|
-
"signature": "
|
|
459
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
458
460
|
},
|
|
459
461
|
{
|
|
460
462
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
461
|
-
"signature": "
|
|
463
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
462
464
|
}
|
|
463
465
|
],
|
|
464
466
|
"setId": 1,
|
|
@@ -470,12 +472,12 @@
|
|
|
470
472
|
"note": "a valid signature by 0xd0688bd789e97cf1d0e7faa29d8c3be5ad085a38, which is not a member of set 1",
|
|
471
473
|
"rule": "member",
|
|
472
474
|
"payload": {
|
|
473
|
-
"orderHash": "
|
|
475
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
474
476
|
"attempt": 0,
|
|
475
477
|
"sourceChainId": "eip155:11155111",
|
|
476
478
|
"proof": {
|
|
477
479
|
"kind": 1,
|
|
478
|
-
"orderHash": "
|
|
480
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
479
481
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
480
482
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
481
483
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -490,11 +492,11 @@
|
|
|
490
492
|
"signatures": [
|
|
491
493
|
{
|
|
492
494
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
493
|
-
"signature": "
|
|
495
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
494
496
|
},
|
|
495
497
|
{
|
|
496
498
|
"signer": "0xd0688bd789e97cf1d0e7faa29d8c3be5ad085a38",
|
|
497
|
-
"signature": "
|
|
499
|
+
"signature": "0xb683be15d9b44cc0dd103aa1227772693e28679d85fd940c7a2c59e041a30206752655d50349b5775a93e852cd5fd2e8b9028dc752f9d622a0b184bcbacdb30c1b"
|
|
498
500
|
}
|
|
499
501
|
],
|
|
500
502
|
"setId": 1,
|
|
@@ -506,12 +508,12 @@
|
|
|
506
508
|
"note": "amountDelivered raised after signing: the signatures no longer recover to their signers",
|
|
507
509
|
"rule": "signature",
|
|
508
510
|
"payload": {
|
|
509
|
-
"orderHash": "
|
|
511
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
510
512
|
"attempt": 0,
|
|
511
513
|
"sourceChainId": "eip155:11155111",
|
|
512
514
|
"proof": {
|
|
513
515
|
"kind": 1,
|
|
514
|
-
"orderHash": "
|
|
516
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
515
517
|
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
516
518
|
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
517
519
|
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
@@ -526,11 +528,11 @@
|
|
|
526
528
|
"signatures": [
|
|
527
529
|
{
|
|
528
530
|
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
529
|
-
"signature": "
|
|
531
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
530
532
|
},
|
|
531
533
|
{
|
|
532
534
|
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
533
|
-
"signature": "
|
|
535
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
534
536
|
}
|
|
535
537
|
],
|
|
536
538
|
"setId": 1,
|