aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/relayer_api_fees_payload_schema.ts
blob: 6456608444b609941498908519a613388008dd5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export const relayerApiFeesPayloadSchema = {
    id: '/RelayerApiFeesPayload',
    type: 'object',
    properties: {
        exchangeContractAddress: {$ref: '/Address'},
        maker: {$ref: '/Address'},
        taker: {$ref: '/Address'},
        makerTokenAddress: {$ref: '/Address'},
        takerTokenAddress: {$ref: '/Address'},
        makerTokenAmount: {$ref: '/Number'},
        takerTokenAmount: {$ref: '/Number'},
        expirationUnixTimestampSec: {$ref: '/Number'},
        salt: {$ref: '/Number'},
    },
    required: [
        'exchangeContractAddress', 'maker', 'taker', 'makerTokenAddress', 'takerTokenAddress',
        'expirationUnixTimestampSec', 'salt',
    ],
};