CUSTOM_ORDER_FILTER
environment variable. Messages that contain orders that don't match this schema will be dropped. As a limitation, filtering is only possible by looking at the static fields of an order. So for example, it is not possible to filter orders by doing an on-chain check or sending an HTTP request to a third-party API. We don't expect that this limitation is going to be a problem in practice and it comes with the huge benefit of enabling cross-topic forwarding in the future (more on that later)./signedOrder
is the JSON Schema that will match any valid 0x orders./customOrder
is the custom schema passed in through the CUSTOM_ORDER_FILTER
environment variable.CUSTOM_ORDER_FILTER
can be relatively small. It doesn't need to contain all the required fields for a signed 0x order. It just needs to contain any additional requirements on top of the default ones.CUSTOM_ORDER_FILTER
doesn't add any additional requirements. All valid signed 0x orders will be accepted. This is the default value if no custom filter is passed in.${AUGUR_ERC1155_CONTRACT_ADDRESS}
needs to be replaced with the Augur ERC1155 token used to represent the outcomes of their various prediction markets.