From b3c3ade52d0c6d37eeee653ad72523672df5ddd6 Mon Sep 17 00:00:00 2001 From: Steven Khong Date: Mon, 25 Nov 2024 16:43:57 +0800 Subject: [PATCH] add demex referrer to config (#274) --- config.schema.json | 16 ++++++++++++++++ configs/mainnet.json | 5 +++++ 2 files changed, 21 insertions(+) diff --git a/config.schema.json b/config.schema.json index a36020c..9eb6fe5 100644 --- a/config.schema.json +++ b/config.schema.json @@ -428,6 +428,22 @@ } } } + }, + "demex_referrer": { + "type": "object", + "description": "Default referrer for orders created through Demex", + "patternProperties": { + "address": { + "type": "string" + }, + "commission": { + "type": "integer" + }, + "kickback": { + "type": "integer" + } + }, + "additionalProperties": false } } } diff --git a/configs/mainnet.json b/configs/mainnet.json index d5fd9d6..93bae62 100644 --- a/configs/mainnet.json +++ b/configs/mainnet.json @@ -439,6 +439,11 @@ "3/mantle/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65", "3/polygon/0x4ab44c7e881ee37cb02bc0c98547a0bbfad9291b": "0xd91a2AcbE1f9635277120fc200F73574f1Cdad65" }, + "demex_referrer": { + "address": "swth1prv0t8j8tqcdngdmjlt59pwy6dxxmtqgycy2h7", + "commission": 30, + "kickback": 0 + }, "market_banners": [ { "market_id": "cmkt/246",