@cancore/contracts 0.1.0 → 0.2.0-rc.13
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 +522 -10
- package/dist/abi.d.ts +6598 -1675
- package/dist/abi.js +1 -1
- package/dist/chunk-2ELHDMZ7.js +9911 -0
- package/dist/chunk-2ELHDMZ7.js.map +1 -0
- package/dist/{chunk-CIBYXHSX.js → chunk-IAPV7XWJ.js} +2 -2
- package/dist/chunk-IAPV7XWJ.js.map +1 -0
- package/dist/index.d.ts +1774 -29
- package/dist/index.js +3692 -21
- package/dist/index.js.map +1 -1
- package/dist/networks.d.ts +2 -2
- package/dist/networks.js +1 -1
- package/package.json +10 -8
- package/spec/abi/AttestorSet.json +476 -0
- package/spec/abi/CNRX.json +1294 -0
- package/spec/abi/CNRXStaking.json +510 -0
- package/spec/abi/CancoreRouter.json +2666 -0
- package/spec/abi/FeeVault.json +604 -0
- package/spec/abi/HTLC.json +717 -0
- package/spec/abi/IAttribute.json +110 -0
- package/spec/abi/IBurnMintERC20.json +252 -0
- package/spec/abi/ICancoreRouter.json +1361 -0
- package/spec/abi/IFormula.json +28 -0
- package/spec/abi/IHTLC.json +382 -0
- package/spec/abi/IPayment.json +40 -0
- package/spec/abi/IPermit2.json +150 -0
- package/spec/abi/IResolver.json +55 -0
- package/spec/abi/IStep.json +30 -0
- package/spec/abi/IVariableRole.json +141 -0
- package/spec/abi/MultiBalanceChecker.json +34 -0
- package/spec/abi/PointsClaim.json +791 -0
- package/spec/constants.json +66 -0
- package/spec/protocol/asyncapi.json +1587 -0
- package/spec/protocol/messages.schema.json +906 -0
- package/spec/protocol/records.schema.json +94 -0
- package/spec/protocol/rest.schema.json +193 -0
- package/spec/protocol/typed-data/CantonTicketReceipt.json +77 -0
- package/spec/protocol/typed-data/FillerAuth.json +58 -0
- 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 +75 -0
- package/spec/protocol/typed-data/GatewayMessage.json +95 -0
- package/spec/protocol/typed-data/StakeBinding.json +75 -0
- package/spec/protocol/typed-data/TicketIntent.json +113 -0
- package/spec/protocol/typed-data/TicketReceipt.json +51 -0
- package/spec/protocol/vectors/draw.json +61 -0
- package/spec/protocol/vectors/jcs.json +59 -0
- package/spec/protocol/vectors/messages.json +743 -0
- package/spec/protocol/vectors/records.json +81 -0
- package/spec/protocol/vectors/settle-attestations.json +544 -0
- package/spec/typed-data/FillProof.json +227 -0
- package/spec/typed-data/FillTicket.json +116 -0
- package/spec/typed-data/Order.json +169 -0
- package/spec/typed-data/Quote.json +79 -0
- package/spec/vectors/canton-destination.json +60 -0
- package/spec/vectors/canton-order.json +70 -0
- package/spec/vectors/evm-order.json +50 -0
- package/spec/vectors/fee-split.json +179 -0
- package/spec/vectors/permit-witness.json +150 -0
- package/dist/chunk-CIBYXHSX.js.map +0 -1
- package/dist/chunk-ZSX67S72.js +0 -3423
- package/dist/chunk-ZSX67S72.js.map +0 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "Fixture draw record (attempt 0 of the test-kit fixture order, spec/protocol/vectors/draw.json) and the epoch record containing its t0, without sig — the gateway signs them. weightsRoot: OpenZeppelin StandardMerkleTree over [\"string\",\"uint256\",\"uint8\",\"uint16\"] = (fillerId, base, tier, reliabilityBps); weight = (base + step(tier)) × reliabilityBps.",
|
|
3
|
+
"draw": {
|
|
4
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
5
|
+
"source": "eip155:11155111",
|
|
6
|
+
"openRef": "0xbf27995945a87053970c38b8d6e1991aad68ab122b7b45147e9c38b2d33dc89a",
|
|
7
|
+
"t0": "1790000012",
|
|
8
|
+
"epochId": "20717",
|
|
9
|
+
"deltaDrand": 6,
|
|
10
|
+
"attempts": [
|
|
11
|
+
{
|
|
12
|
+
"attempt": 0,
|
|
13
|
+
"tBase": "1790000012",
|
|
14
|
+
"closedBy": null,
|
|
15
|
+
"drandRound": "32398885",
|
|
16
|
+
"drandRandomness": "0xb6d412641a7d58b20ef5dded4ae48e9358cc35710f90961d8fe6e99d0e0281ef",
|
|
17
|
+
"drandSignature": "0x8f6d5ddd520329a4ce9a25db41c0552a5ac04bd56577138cbb0ec2b9326af2b8012c7dc2c5bcddc439d922c93a281d24",
|
|
18
|
+
"candidates": [
|
|
19
|
+
{
|
|
20
|
+
"fillerId": "acme-markets",
|
|
21
|
+
"weight": "1500000"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"fillerId": "cancore-reserve",
|
|
25
|
+
"weight": "900000"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"fillerId": "zeta-liquidity",
|
|
29
|
+
"weight": "1000000"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"r": "2872806",
|
|
33
|
+
"winnerFillerId": "zeta-liquidity",
|
|
34
|
+
"fallbackReason": null
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"epoch": {
|
|
39
|
+
"epochId": "20717",
|
|
40
|
+
"startsAt": "1789948800",
|
|
41
|
+
"endsAt": "1790035200",
|
|
42
|
+
"weightsRoot": "0xa1c24765b55b34e0c206f808d2fac2e448d9db6f154d89f898921a80bad76e92",
|
|
43
|
+
"leaves": [
|
|
44
|
+
{
|
|
45
|
+
"fillerId": "acme-markets",
|
|
46
|
+
"base": "100",
|
|
47
|
+
"tier": 1,
|
|
48
|
+
"reliabilityBps": 10000
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"fillerId": "cancore-reserve",
|
|
52
|
+
"base": "100",
|
|
53
|
+
"tier": 0,
|
|
54
|
+
"reliabilityBps": 9000
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"fillerId": "zeta-liquidity",
|
|
58
|
+
"base": "100",
|
|
59
|
+
"tier": 0,
|
|
60
|
+
"reliabilityBps": 10000
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"stakeSteps": [
|
|
64
|
+
{
|
|
65
|
+
"tier": 0,
|
|
66
|
+
"minStake": "0",
|
|
67
|
+
"step": "0"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"tier": 1,
|
|
71
|
+
"minStake": "100000000000000000000000",
|
|
72
|
+
"step": "50"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"rMinBps": 5000,
|
|
76
|
+
"snapshotBlocks": {
|
|
77
|
+
"eip155:1": "23456789",
|
|
78
|
+
"eip155:56": "61234567"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,544 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "settle.attestations (protocol §3.5, §3.6, §10 D-N). Each case: the FillProof digest in the source-router domain; the frame as pushed over WebSocket (ws) and as returned by GET /v1/filler/attestations/{orderHash} (rest), both signed by the TEST gateway key keccak256(\"cancore:test-kit:gateway:v1\") with different sentAt; and the payload both carry (the frame without type, fillerId, sentAt, sig, re), byte-identical (payloadJcs). Attestor keys are keccak256(\"cancore:test-kit:attestor-{a,b,c}:v1\"), TEST ONLY. FillProof is the struct of the source router (spec/typed-data/FillProof.json). invalid: schema-valid payloads a filler MUST refuse (T-7); rule names the check that fails (threshold, ascending, attempt, setId, orderHash: settleAttestationsErrors; member, signature: the own check of the filler against the set and its secp256k1 recovery). Generated by scripts/gen-settle-attestations.mjs with ethers.",
|
|
3
|
+
"fillProofTypeString": "FillProof(uint8 kind,bytes32 orderHash,bytes32 destination,bytes32 fillRef,bytes32 recipient,bytes32 outputAsset,uint256 amountDelivered,uint64 filledAt,bytes32 fillerId,bytes32 repayTo,uint32 attempt,uint32 setId)",
|
|
4
|
+
"gateway": "0x1136c35d0a46e4bc896e2bd6b0a829a5763d6a9f",
|
|
5
|
+
"attestors": [
|
|
6
|
+
{
|
|
7
|
+
"role": "attestor-a",
|
|
8
|
+
"address": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
9
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"role": "attestor-b",
|
|
13
|
+
"address": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
14
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"role": "attestor-c",
|
|
18
|
+
"address": "0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0",
|
|
19
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"outsider": "0xd0688bd789e97cf1d0e7faa29d8c3be5ad085a38",
|
|
23
|
+
"cases": {
|
|
24
|
+
"evm": {
|
|
25
|
+
"note": "EVM source (Sepolia, the fixture order of spec/typed-data/Order.json): 2 of a 3-member set, k = 2; the signature values in this order are the sigs of settle(order, proof, sigs)",
|
|
26
|
+
"domain": {
|
|
27
|
+
"chainId": "11155111",
|
|
28
|
+
"verifyingContract": "0x00000000000000000000000000000000cafe0001"
|
|
29
|
+
},
|
|
30
|
+
"order": {
|
|
31
|
+
"user": "0xa11ce00000000000000000000000000000000001",
|
|
32
|
+
"originChainId": "11155111",
|
|
33
|
+
"inputToken": "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
34
|
+
"inputAmount": "1003000000",
|
|
35
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
36
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
37
|
+
"minReceived": "999000000",
|
|
38
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
39
|
+
"createdAt": "1790000000",
|
|
40
|
+
"fillDeadline": "1790000600",
|
|
41
|
+
"feeBps": "30",
|
|
42
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5"
|
|
43
|
+
},
|
|
44
|
+
"digest": "0x3ac49b1b7711077ea4936c316ee71e42189f3e9e14c066554afddcd3bb087fe7",
|
|
45
|
+
"set": {
|
|
46
|
+
"setId": 1,
|
|
47
|
+
"threshold": 2,
|
|
48
|
+
"members": [
|
|
49
|
+
"0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
50
|
+
"0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
51
|
+
"0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"ws": {
|
|
55
|
+
"type": "settle.attestations",
|
|
56
|
+
"id": "g-sa-1",
|
|
57
|
+
"fillerId": "acme-markets",
|
|
58
|
+
"sentAt": 1790000160000,
|
|
59
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
60
|
+
"attempt": 0,
|
|
61
|
+
"sourceChainId": "eip155:11155111",
|
|
62
|
+
"proof": {
|
|
63
|
+
"kind": 1,
|
|
64
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
65
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
66
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
67
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
68
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
69
|
+
"amountDelivered": "999000000",
|
|
70
|
+
"filledAt": "1790000100",
|
|
71
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
72
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
73
|
+
"attempt": 0,
|
|
74
|
+
"setId": 1
|
|
75
|
+
},
|
|
76
|
+
"signatures": [
|
|
77
|
+
{
|
|
78
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
79
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
83
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"setId": 1,
|
|
87
|
+
"threshold": 2,
|
|
88
|
+
"refundAfter": "1790002400",
|
|
89
|
+
"sig": "0x703468572b0f0d056f7c8547a2a70dbb76469888d23059926e906d23cc0468ac54cd96efe6a0f298750a225cd4a7e6acb511f144631076ed2825de0bf0e40b1e1b"
|
|
90
|
+
},
|
|
91
|
+
"rest": {
|
|
92
|
+
"type": "settle.attestations",
|
|
93
|
+
"id": "g-sa-2",
|
|
94
|
+
"fillerId": "acme-markets",
|
|
95
|
+
"sentAt": 1790000175000,
|
|
96
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
97
|
+
"attempt": 0,
|
|
98
|
+
"sourceChainId": "eip155:11155111",
|
|
99
|
+
"proof": {
|
|
100
|
+
"kind": 1,
|
|
101
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
102
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
103
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
104
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
105
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
106
|
+
"amountDelivered": "999000000",
|
|
107
|
+
"filledAt": "1790000100",
|
|
108
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
109
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
110
|
+
"attempt": 0,
|
|
111
|
+
"setId": 1
|
|
112
|
+
},
|
|
113
|
+
"signatures": [
|
|
114
|
+
{
|
|
115
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
116
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
120
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"setId": 1,
|
|
124
|
+
"threshold": 2,
|
|
125
|
+
"refundAfter": "1790002400",
|
|
126
|
+
"sig": "0x8977095382f1cd56ce8be4a55ce65984d6021cc964fd5c906843e85d3755e6df401854129efafd16f13fc11cdad31f9d520f4059ddaecc0b2f145992c98711b01b"
|
|
127
|
+
},
|
|
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"
|
|
130
|
+
},
|
|
131
|
+
"canton": {
|
|
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",
|
|
133
|
+
"domain": {
|
|
134
|
+
"chainId": "9223372036854775809",
|
|
135
|
+
"verifyingContract": "0x2f37b46ea93001829498b145985fb53028033701"
|
|
136
|
+
},
|
|
137
|
+
"order": {
|
|
138
|
+
"user": "0x47f0d84377b46651f7936ae656dcecefdc1a2a86",
|
|
139
|
+
"originChainId": "9223372036854775809",
|
|
140
|
+
"inputToken": "0x795ae88257786ea0e2cfe2c43b88b420993dc98f",
|
|
141
|
+
"inputAmount": "12505000000000",
|
|
142
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
143
|
+
"outputAsset": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
144
|
+
"minReceived": "1200250000",
|
|
145
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
146
|
+
"createdAt": "1789999400",
|
|
147
|
+
"fillDeadline": "1790000000",
|
|
148
|
+
"feeBps": "30",
|
|
149
|
+
"fillerId": "0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf"
|
|
150
|
+
},
|
|
151
|
+
"digest": "0x1b4179e2cd9d9e94cedd917b287dfc889d3bf118ddf499f2eb2b70856b73da51",
|
|
152
|
+
"set": {
|
|
153
|
+
"setId": 3,
|
|
154
|
+
"threshold": 2,
|
|
155
|
+
"members": [
|
|
156
|
+
"0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
157
|
+
"0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
158
|
+
"0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"rsv": [
|
|
162
|
+
"0x48f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b2230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd161b",
|
|
163
|
+
"0xd4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e293e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc1c",
|
|
164
|
+
"0x0a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca80cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e021b"
|
|
165
|
+
],
|
|
166
|
+
"ws": {
|
|
167
|
+
"type": "settle.attestations",
|
|
168
|
+
"id": "g-sa-3",
|
|
169
|
+
"fillerId": "acme",
|
|
170
|
+
"sentAt": 1789999760000,
|
|
171
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
172
|
+
"attempt": 1,
|
|
173
|
+
"sourceChainId": "canton:mainnet",
|
|
174
|
+
"proof": {
|
|
175
|
+
"kind": 1,
|
|
176
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
177
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
178
|
+
"fillRef": "0xfba8fd8a079872a9efe9646fcf34cfbbe8711ebd63665e8f2e0924949264c471",
|
|
179
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
180
|
+
"outputAsset": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
181
|
+
"amountDelivered": "1200250000",
|
|
182
|
+
"filledAt": "1789999700",
|
|
183
|
+
"fillerId": "0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf",
|
|
184
|
+
"repayTo": "0x4fa94ace29856f88ebea07ce6d18e21f52c60b4f66d147134c03c82b62957f9d",
|
|
185
|
+
"attempt": 1,
|
|
186
|
+
"setId": 3
|
|
187
|
+
},
|
|
188
|
+
"signatures": [
|
|
189
|
+
{
|
|
190
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
191
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3",
|
|
192
|
+
"signature": "0x3044022048f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b20220230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd16"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
196
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e",
|
|
197
|
+
"signature": "0x3045022100d4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e2902203e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"signer": "0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0",
|
|
201
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b",
|
|
202
|
+
"signature": "0x304402200a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca802200cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e02"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"setId": 3,
|
|
206
|
+
"threshold": 2,
|
|
207
|
+
"refundAfter": "1790001800",
|
|
208
|
+
"sig": "0x481041cd0c07174f6db63b7acdc96a0bcc399de0be60df07faea3be6f0f09c83553a59f5e5443a6d7d1763789404d732a4b5cdc57758b729adf50245b8f96c2d1b"
|
|
209
|
+
},
|
|
210
|
+
"rest": {
|
|
211
|
+
"type": "settle.attestations",
|
|
212
|
+
"id": "g-sa-4",
|
|
213
|
+
"fillerId": "acme",
|
|
214
|
+
"sentAt": 1789999790000,
|
|
215
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
216
|
+
"attempt": 1,
|
|
217
|
+
"sourceChainId": "canton:mainnet",
|
|
218
|
+
"proof": {
|
|
219
|
+
"kind": 1,
|
|
220
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
221
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
222
|
+
"fillRef": "0xfba8fd8a079872a9efe9646fcf34cfbbe8711ebd63665e8f2e0924949264c471",
|
|
223
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
224
|
+
"outputAsset": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
225
|
+
"amountDelivered": "1200250000",
|
|
226
|
+
"filledAt": "1789999700",
|
|
227
|
+
"fillerId": "0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf",
|
|
228
|
+
"repayTo": "0x4fa94ace29856f88ebea07ce6d18e21f52c60b4f66d147134c03c82b62957f9d",
|
|
229
|
+
"attempt": 1,
|
|
230
|
+
"setId": 3
|
|
231
|
+
},
|
|
232
|
+
"signatures": [
|
|
233
|
+
{
|
|
234
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
235
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3",
|
|
236
|
+
"signature": "0x3044022048f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b20220230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd16"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
240
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e",
|
|
241
|
+
"signature": "0x3045022100d4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e2902203e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"signer": "0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0",
|
|
245
|
+
"pubKey": "0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b",
|
|
246
|
+
"signature": "0x304402200a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca802200cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e02"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"setId": 3,
|
|
250
|
+
"threshold": 2,
|
|
251
|
+
"refundAfter": "1790001800",
|
|
252
|
+
"sig": "0xe8eec55aed49975739f9d24c12c196658ce4580e963129534dcd7145d57da7116884381fd166eb20130e9f91faba164a9586ea08c92b146f3bd51c558e79fbc91c"
|
|
253
|
+
},
|
|
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"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"invalid": [
|
|
259
|
+
{
|
|
260
|
+
"note": "fewer signatures than threshold",
|
|
261
|
+
"rule": "threshold",
|
|
262
|
+
"payload": {
|
|
263
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
264
|
+
"attempt": 0,
|
|
265
|
+
"sourceChainId": "eip155:11155111",
|
|
266
|
+
"proof": {
|
|
267
|
+
"kind": 1,
|
|
268
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
269
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
270
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
271
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
272
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
273
|
+
"amountDelivered": "999000000",
|
|
274
|
+
"filledAt": "1790000100",
|
|
275
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
276
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
277
|
+
"attempt": 0,
|
|
278
|
+
"setId": 1
|
|
279
|
+
},
|
|
280
|
+
"signatures": [
|
|
281
|
+
{
|
|
282
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
283
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"setId": 1,
|
|
287
|
+
"threshold": 2,
|
|
288
|
+
"refundAfter": "1790002400"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"note": "signers not strictly ascending",
|
|
293
|
+
"rule": "ascending",
|
|
294
|
+
"payload": {
|
|
295
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
296
|
+
"attempt": 0,
|
|
297
|
+
"sourceChainId": "eip155:11155111",
|
|
298
|
+
"proof": {
|
|
299
|
+
"kind": 1,
|
|
300
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
301
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
302
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
303
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
304
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
305
|
+
"amountDelivered": "999000000",
|
|
306
|
+
"filledAt": "1790000100",
|
|
307
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
308
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
309
|
+
"attempt": 0,
|
|
310
|
+
"setId": 1
|
|
311
|
+
},
|
|
312
|
+
"signatures": [
|
|
313
|
+
{
|
|
314
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
315
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
319
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"setId": 1,
|
|
323
|
+
"threshold": 2,
|
|
324
|
+
"refundAfter": "1790002400"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"note": "one signer twice",
|
|
329
|
+
"rule": "ascending",
|
|
330
|
+
"payload": {
|
|
331
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
332
|
+
"attempt": 0,
|
|
333
|
+
"sourceChainId": "eip155:11155111",
|
|
334
|
+
"proof": {
|
|
335
|
+
"kind": 1,
|
|
336
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
337
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
338
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
339
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
340
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
341
|
+
"amountDelivered": "999000000",
|
|
342
|
+
"filledAt": "1790000100",
|
|
343
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
344
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
345
|
+
"attempt": 0,
|
|
346
|
+
"setId": 1
|
|
347
|
+
},
|
|
348
|
+
"signatures": [
|
|
349
|
+
{
|
|
350
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
351
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
355
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"setId": 1,
|
|
359
|
+
"threshold": 2,
|
|
360
|
+
"refundAfter": "1790002400"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"note": "attempt differs from proof.attempt",
|
|
365
|
+
"rule": "attempt",
|
|
366
|
+
"payload": {
|
|
367
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
368
|
+
"attempt": 1,
|
|
369
|
+
"sourceChainId": "eip155:11155111",
|
|
370
|
+
"proof": {
|
|
371
|
+
"kind": 1,
|
|
372
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
373
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
374
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
375
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
376
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
377
|
+
"amountDelivered": "999000000",
|
|
378
|
+
"filledAt": "1790000100",
|
|
379
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
380
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
381
|
+
"attempt": 0,
|
|
382
|
+
"setId": 1
|
|
383
|
+
},
|
|
384
|
+
"signatures": [
|
|
385
|
+
{
|
|
386
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
387
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
391
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"setId": 1,
|
|
395
|
+
"threshold": 2,
|
|
396
|
+
"refundAfter": "1790002400"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"note": "setId differs from proof.setId",
|
|
401
|
+
"rule": "setId",
|
|
402
|
+
"payload": {
|
|
403
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
404
|
+
"attempt": 0,
|
|
405
|
+
"sourceChainId": "eip155:11155111",
|
|
406
|
+
"proof": {
|
|
407
|
+
"kind": 1,
|
|
408
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
409
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
410
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
411
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
412
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
413
|
+
"amountDelivered": "999000000",
|
|
414
|
+
"filledAt": "1790000100",
|
|
415
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
416
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
417
|
+
"attempt": 0,
|
|
418
|
+
"setId": 1
|
|
419
|
+
},
|
|
420
|
+
"signatures": [
|
|
421
|
+
{
|
|
422
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
423
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
427
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
428
|
+
}
|
|
429
|
+
],
|
|
430
|
+
"setId": 2,
|
|
431
|
+
"threshold": 2,
|
|
432
|
+
"refundAfter": "1790002400"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"note": "orderHash differs from proof.orderHash",
|
|
437
|
+
"rule": "orderHash",
|
|
438
|
+
"payload": {
|
|
439
|
+
"orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
|
|
440
|
+
"attempt": 0,
|
|
441
|
+
"sourceChainId": "eip155:11155111",
|
|
442
|
+
"proof": {
|
|
443
|
+
"kind": 1,
|
|
444
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
445
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
446
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
447
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
448
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
449
|
+
"amountDelivered": "999000000",
|
|
450
|
+
"filledAt": "1790000100",
|
|
451
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
452
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
453
|
+
"attempt": 0,
|
|
454
|
+
"setId": 1
|
|
455
|
+
},
|
|
456
|
+
"signatures": [
|
|
457
|
+
{
|
|
458
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
459
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
463
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"setId": 1,
|
|
467
|
+
"threshold": 2,
|
|
468
|
+
"refundAfter": "1790002400"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"note": "a valid signature by 0xd0688bd789e97cf1d0e7faa29d8c3be5ad085a38, which is not a member of set 1",
|
|
473
|
+
"rule": "member",
|
|
474
|
+
"payload": {
|
|
475
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
476
|
+
"attempt": 0,
|
|
477
|
+
"sourceChainId": "eip155:11155111",
|
|
478
|
+
"proof": {
|
|
479
|
+
"kind": 1,
|
|
480
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
481
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
482
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
483
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
484
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
485
|
+
"amountDelivered": "999000000",
|
|
486
|
+
"filledAt": "1790000100",
|
|
487
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
488
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
489
|
+
"attempt": 0,
|
|
490
|
+
"setId": 1
|
|
491
|
+
},
|
|
492
|
+
"signatures": [
|
|
493
|
+
{
|
|
494
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
495
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"signer": "0xd0688bd789e97cf1d0e7faa29d8c3be5ad085a38",
|
|
499
|
+
"signature": "0xb683be15d9b44cc0dd103aa1227772693e28679d85fd940c7a2c59e041a30206752655d50349b5775a93e852cd5fd2e8b9028dc752f9d622a0b184bcbacdb30c1b"
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"setId": 1,
|
|
503
|
+
"threshold": 2,
|
|
504
|
+
"refundAfter": "1790002400"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"note": "amountDelivered raised after signing: the signatures no longer recover to their signers",
|
|
509
|
+
"rule": "signature",
|
|
510
|
+
"payload": {
|
|
511
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
512
|
+
"attempt": 0,
|
|
513
|
+
"sourceChainId": "eip155:11155111",
|
|
514
|
+
"proof": {
|
|
515
|
+
"kind": 1,
|
|
516
|
+
"orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
|
|
517
|
+
"destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
|
|
518
|
+
"fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
|
|
519
|
+
"recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
520
|
+
"outputAsset": "0x00000000000000000000000075faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
521
|
+
"amountDelivered": "999000001",
|
|
522
|
+
"filledAt": "1790000100",
|
|
523
|
+
"fillerId": "0x112e2693409c427698100f54d0439fc3593fedb25221fe3a54c4823c0a0ee2d5",
|
|
524
|
+
"repayTo": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
|
|
525
|
+
"attempt": 0,
|
|
526
|
+
"setId": 1
|
|
527
|
+
},
|
|
528
|
+
"signatures": [
|
|
529
|
+
{
|
|
530
|
+
"signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
|
|
531
|
+
"signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
|
|
535
|
+
"signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
"setId": 1,
|
|
539
|
+
"threshold": 2,
|
|
540
|
+
"refundAfter": "1790002400"
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
]
|
|
544
|
+
}
|