Move .taker.amount to .takerTokenAmount and .maker.amount to .makerTokenAmount
This commit is contained in:
@@ -5,6 +5,8 @@ export const orderSchema = {
|
||||
taker: { $ref: '/OrderTaker' },
|
||||
makerFee: { type: 'string' },
|
||||
takerFee: { type: 'string' },
|
||||
makerTokenAmount: { type: 'string' },
|
||||
takerTokenAmount: { type: 'string' },
|
||||
salt: { type: 'string' },
|
||||
ecSignature: { $ref: '/SignatureData' },
|
||||
expirationUnixTimestampSec: { type: 'string' },
|
||||
@@ -17,6 +19,8 @@ export const orderSchema = {
|
||||
'taker',
|
||||
'makerFee',
|
||||
'takerFee',
|
||||
'makerTokenAmount',
|
||||
'takerTokenAmount',
|
||||
'salt',
|
||||
'ecSignature',
|
||||
'expirationUnixTimestampSec',
|
||||
|
@@ -3,8 +3,7 @@ export const orderTakerSchema = {
|
||||
properties: {
|
||||
address: { type: 'string' },
|
||||
token: { $ref: '/Token' },
|
||||
amount: { type: 'string' },
|
||||
},
|
||||
required: ['address', 'token', 'amount'],
|
||||
required: ['address', 'token'],
|
||||
type: 'object',
|
||||
};
|
||||
|
Reference in New Issue
Block a user