-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.json
34 lines (34 loc) · 1.86 KB
/
registry.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
{
"TRANSFER": {
"gatewayFunction": "/add_transaction",
"gatewayArgs": [ "txId", "signature", "type", "amount","nonce","senderPublicKey","senderPositionId","receiverPublicKey","receiverPositionId","assetId","expirationTimestamp"]
},
"WITHDRAWAL_TO_ADDRESS":{
"gatewayFunction": "/add_transaction",
"gatewayArgs": [ "txId", "signature", "type", "amount", "ethAddress","expirationTimestamp","nonce","positionId","publicKey"]
},
"DEPOSIT": {
"gatewayFunction": "/add_transaction",
"gatewayArgs": [ "positionId", "amount", "publicKey", "type","txId"]
},
"DepositRequest": {
"gatewayFunction": "/v2/gateway/add_transaction",
"gatewayArgs": [ "tokenId", "vaultId", "amount", "starkKey", "type","txId"]
},
"SettlementRequest": {
"gatewayFunction": "/v2/gateway/add_transaction",
"gatewayArgs": [ "party_a_order","party_b_order","settlement_info", "type","txId"]
},
"WithdrawalRequest": {
"gatewayFunction": "/v2/gateway/add_transaction",
"gatewayArgs": [ "tokenId", "vaultId", "amount", "starkKey", "type","txId"]
},
"TransferRequest": {
"gatewayFunction": "/v2/gateway/add_transaction",
"gatewayArgs": ["senderPublicKey","txId","signature","type","amount", "nonce", "senderVaultId", "token", "receiverVaultId", "receiverPublicKey", "expirationTimestamp"],
"hashFunction": "getTransferMsgHash",
"hashArgs": [ "amount", "nonce", "senderVaultId", "token", "receiverVaultId", "receiverPublicKey", "expirationTimestamp"],
"hashFunctionWithFee": "getTransferMsgHashWithFee",
"hashArgsWithFee":["amount","nonce","senderVaultId","token","receiverVaultId","receiverPublicKey","expirationTimestamp","feeInfoUser.token","feeInfoUser.sourceVaultId","feeInfoUser.feeLimit"]
}
}