aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/call_data_schema.ts
diff options
context:
space:
mode:
authorKadinsky <kandinsky454@protonmail.ch>2018-10-18 19:14:32 +0800
committerGitHub <noreply@github.com>2018-10-18 19:14:32 +0800
commit47dc384ea36fecbcf01eb9b3f20936331b43a0c6 (patch)
treee53a0c2d20b9f3271916144528f2214b32a3a83a /packages/json-schemas/schemas/call_data_schema.ts
parentc333d093b585fa0250a6973f2d396eb3cf227334 (diff)
parente7c6f2a35795610645598deba2c14ceeda6acc89 (diff)
downloaddexon-0x-contracts-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar
dexon-0x-contracts-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.gz
dexon-0x-contracts-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.bz2
dexon-0x-contracts-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.lz
dexon-0x-contracts-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.xz
dexon-0x-contracts-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.zst
dexon-0x-contracts-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.zip
Merge pull request #1140 from 0xProject/reSkinReferenceDocs
Move Doc Reference Pages & Wiki into Developer Section of Website
Diffstat (limited to 'packages/json-schemas/schemas/call_data_schema.ts')
-rw-r--r--packages/json-schemas/schemas/call_data_schema.ts27
1 files changed, 0 insertions, 27 deletions
diff --git a/packages/json-schemas/schemas/call_data_schema.ts b/packages/json-schemas/schemas/call_data_schema.ts
deleted file mode 100644
index 4c77d9f9d..000000000
--- a/packages/json-schemas/schemas/call_data_schema.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-export const callDataSchema = {
- id: '/callDataSchema',
- properties: {
- from: { $ref: '/addressSchema' },
- to: { $ref: '/addressSchema' },
- value: {
- oneOf: [{ $ref: '/numberSchema' }, { $ref: '/jsNumber' }],
- },
- gas: {
- oneOf: [{ $ref: '/numberSchema' }, { $ref: '/jsNumber' }],
- },
- gasPrice: {
- oneOf: [{ $ref: '/numberSchema' }, { $ref: '/jsNumber' }],
- },
- data: {
- type: 'string',
- pattern: '^0x[0-9a-f]*$',
- },
- nonce: {
- type: 'number',
- minimum: 0,
- },
- },
- required: [],
- type: 'object',
- additionalProperties: false,
-};