-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsignature_test_data.json
118 lines (118 loc) · 5.69 KB
/
signature_test_data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"settlement": {
"party_a_order": {
"vault_id_sell": 21,
"vault_id_buy": 27,
"amount_sell": "2154686749748910716",
"amount_buy": "1470242115489520459",
"token_sell": "0x5fa3383597691ea9d827a79e1a4f0f7989c35ced18ca9619de8ab97e661020",
"token_buy": "0x774961c824a3b0fb3d2965f01471c9c7734bf8dbde659e0c08dca2ef18d56a",
"nonce": 0,
"expiration_timestamp": 438953,
"signature": {
"r": "0x173fd03d8b008ee7432977ac27d1e9d1a1f6c98b1a2f05fa84a21c84c44e882",
"s": "0x4b6d75385aed025aa222f28a0adc6d58db78ff17e51c3f59e259b131cd5a1cc"
},
"public_key": "0x77a3b314db07c45076d11f62b6f9e748a39790441823307743cf00d6597ea43"
},
"party_b_order": {
"vault_id_sell": 221,
"vault_id_buy": 227,
"amount_buy": "21546867497489",
"amount_sell": "14702421154895",
"token_buy": "0x5fa3383597691ea9d827a79e1a4f0f7989c35ced18ca9619de8ab97e661020",
"token_sell": "0x774961c824a3b0fb3d2965f01471c9c7734bf8dbde659e0c08dca2ef18d56a",
"nonce": 1,
"expiration_timestamp": 468963,
"signature": {
"r": "0x2ee2b8927122f93dd5fc07a11980f0fab4c8358e5d1306bfee5e095355d2ad0",
"s": "0x64d393473af2ebab736c579ad511bf439263e4740f9ad299498bda2e75b0e9"
},
"public_key": "0x3d8a9687c613b2be32b55c5c0460e012b592e2fbbb4fc281fb87b0d8c441b3e"
},
"settlement_info": {
"party_b_sold": "14702421154895",
"party_a_sold": "21546867497489"
}
},
"transfer_order": {
"amount": "2154549703648910716",
"expiration_timestamp": 438953,
"nonce": 1,
"target_public_key": "0x5fa3383597691ea9d827a79e1a4f0f7949435ced18ca9619de8ab97e661020",
"target_vault_id": 21,
"sender_vault_id": 34,
"token": "0x3003a65651d3b9fb2eff934a4416db301afd112a8492aaf8d7297fc87dcd9f4",
"signature": {
"r": "0x735fffa9bf371ca294c5f74c15b434684cfe7e9e0500e6a59589ef05c1fce13",
"s": "0x1ddc49993ad678e2b5b80fb0e22a077b136353514f60edc3c2fc77d59dbd93e"
},
"public_key": "0x59a543d42bcc9475917247fa7f136298bb385a6388c3df7309955fcb39b8dd4"
},
"conditional_transfer_order": {
"amount": "2154549703648910716",
"expiration_timestamp": 438953,
"nonce": 1,
"target_public_key": "0x5fa3383597691ea9d827a79e1a4f0f7949435ced18ca9619de8ab97e661020",
"target_vault_id": 21,
"sender_vault_id": 34,
"token": "0x3003a65651d3b9fb2eff934a4416db301afd112a8492aaf8d7297fc87dcd9f4",
"signature": {
"r": "0x735fffa9bf371ca294c5f74c15b434684cfe7e9e0500e6a59589ef05c1fce13",
"s": "0x1ddc49993ad678e2b5b80fb0e22a077b136353514f60edc3c2fc77d59dbd93e"
},
"public_key": "0x59a543d42bcc9475917247fa7f136298bb385a6388c3df7309955fcb39b8dd4",
"condition": "0x318ff6d26cf3175c77668cd6434ab34d31e59f806a6a7c06d08215bccb7eaf8"
},
"transfer_order_with_fees": {
"amount": "2154549703648910716",
"fee_amount": "100",
"expiration_timestamp": 438953,
"nonce": 1,
"target_public_key": "0x5fa3383597691ea9d827a79e1a4f0f7949435ced18ca9619de8ab97e661020",
"target_vault_id": 21,
"sender_vault_id": 34,
"fee_vault_id": 34,
"token": "0x3003a65651d3b9fb2eff934a4416db301afd112a8492aaf8d7297fc87dcd9f4",
"fee_token": "0x3003a65651d3b9fb2eff934a4416db301afd112a8492aaf8d7297fc87dcd9f4",
"signature": {
"r": "0x735fffa9bf371ca294c5f74c15b434684cfe7e9e0500e6a59589ef05c1fce13",
"s": "0x1ddc49993ad678e2b5b80fb0e22a077b136353514f60edc3c2fc77d59dbd93e"
},
"public_key": "0x59a543d42bcc9475917247fa7f136298bb385a6388c3df7309955fcb39b8dd4"
},
"meta_data": {
"party_a_order": {
"message_hash": "0x397e76d1667c4454bfb83514e120583af836f8e32a516765497823eabe16a3f",
"private_key": "0x3c1e9550e66958296d11b60f8e8e7a7ad990d07fa65d5f7652c4a6c87d4e3cc"
},
"party_b_order": {
"message_hash": "0x6adb14408452ede28b89f40ca1847eca4de6a2dd6eb2c7d6dc5584f9399586",
"private_key": "0x4c1e9550e66958296d11b60f8e8e7a7ad990d07fa65d5f7652c4a6c87d4e3cc"
},
"transfer_order": {
"message_hash": "0x6366b00c218fb4c8a8b142ca482145e8513c78e00faa0de76298ba14fc37ae7",
"private_key": "0x7cc2767a160d4ea112b436dc6f79024db70b26b11ed7aa2cb6d7eef19ace703"
},
"transfer_order_with_fees": {
"message_hash": "0x4bdee56aa2d58f11e3f34d183fbfef526cac92742e05d48fce412d1d3a4eac3",
"private_key": "0x7cc2767a160d4ea112b436dc6f79024db70b26b11ed7aa2cb6d7eef19ace703"
},
"conditional_transfer_order": {
"message_hash": "0xfa5f0ad1ebff93c9e6474379a213ba1e1f9e42f5f1cb361b0327e073720384",
"private_key": "0x7cc2767a160d4ea112b436dc6f79024db70b26b11ed7aa2cb6d7eef19ace703"
}
},
"hash_test": {
"pedersen_hash_data_1": {
"input_1": "0x3d937c035c878245caf64531a5756109c53068da139362728feb561405371cb",
"input_2": "0x208a0a10250e382e1e4bbe2880906c2791bf6275695e02fbbc6aeff9cd8b31a",
"output": "0x30e480bed5fe53fa909cc0f8c4d99b8f9f2c016be4c41e13a4848797979c662"
},
"pedersen_hash_data_2": {
"input_1": "0x58f580910a6ca59b28927c08fe6c43e2e303ca384badc365795fc645d479d45",
"input_2": "0x78734f65a067be9bdb39de18434d71e79f7b6466a4b66bbd979ab9e7515fe0b",
"output": "0x68cc0b76cddd1dd4ed2301ada9b7c872b23875d5ff837b3a87993e0d9996b87"
}
}
}