-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathaccountableTransaction.schema.json
More file actions
65 lines (65 loc) · 1.92 KB
/
Copy pathaccountableTransaction.schema.json
File metadata and controls
65 lines (65 loc) · 1.92 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://pisa.watch/schemas/relay-request.json",
"type": "object",
"title": "Relay transaction schema",
"required": ["from", "signature", "data", "gasLimit", "chainId", "to", "deadline", "compensation", "relayContractAddress", "type"],
"additionalProperties": false,
"properties": {
"from": {
"$id": "#/properties/from",
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"signature": {
"$id": "#/properties/signature",
"type": "string",
"pattern": "^0x[a-fA-F0-9]{130}$"
},
"data": {
"$id": "#/properties/data",
"type": "string",
"maxLength": 30000
},
"deadline": {
"$id": "#/properties/deadline",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"gasLimit": {
"$id": "#/properties/gasLimit",
"type": "number",
"minimum": 0,
"maximum": 3000000
},
"compensation": {
"$id": "#/properties/compensation",
"type": "string",
"pattern": "^[0-9]+$"
},
"relayContractAddress": {
"$id": "#/properties/relayContractAddress",
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"to": {
"$id": "#/properties/to",
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"zeroDeadline": {
"$id": "#/properties/zeroDeadline",
"type": "boolean"
},
"chainId": {
"$id": "#/properties/chainId",
"type": "number"
},
"type": {
"$id": "#/properties/relayType",
"type": "string",
"enum": ["accountable"]
}
}
}