BIP 48: Add rate limits and cross chain deposits to dex

Next deployment will upgrade rewards and the dex. With the main feature being rate limits to the dex.
Parameters as discussed in Balanced crosschain deployment

The vote also configures rollbacks in the new xCall manager contract.

Finally the votes add a 3K a week BALN bribe for 5 weeks on the sARCH/bnUSD pool starting a week after the vote. Total 15K BALN.

Vote 1 (Step 6)
Upgrade Rewards contract to support cross chain addresses.
This allows us to accumulate rewards to non ICON addresses in preparation for example loans.


[
    {
        "address": "cx44250a12074799e26fdeee75648ae47e2cc84219",
        "method": "deployTo",
        "parameters": [
            {
                "type": "Address",
                "value": "cx10d59e8103ab44635190bd4139dbfd682fa2d07e"
            },
            {
                "type": "bytes",
                "value": <bytes>
            },
            {
                "type": "String",
                "value": "[{\"type\":\"String\",\"value\":\"cx44250a12074799e26fdeee75648ae47e2cc84219\"}]"
            }
        ]
    },
    {
        "address": "cx227f747ab644a1f453a0708a55fe6155b9e0abbb",
        "method": "configureProtocols",
        "parameters": [
            {
                "type": "String",
                "value": "0x1.icon"
            },
            {
                "type": "String[]",
                "value": "[]"
            },
            {
                "type": "String[]",
                "value": "[]"
            }
        ]
    }
]

Vote 2 (Step 7)
Upgrade Dex contract with rate limits.

Apply rate limits of 15% withdrawals per day for the following tokens: ICX, sICX, bnUSD, sARCH, BALN

Also add a bribe to sARCH/bnUSD of 3K a week for 5 weeks.


[
    {
        "address": "cx44250a12074799e26fdeee75648ae47e2cc84219",
        "method": "deployTo",
        "parameters": [
            {
                "type": "Address",
                "value": "cxa0af3165c08318e988cb30993b3048335b94af6c"
            },
            {
                "type": "bytes",
                "value": <bytes>
            },
            {
                "type": "String",
                "value": "[{\"type\":\"String\",\"value\":\"cx44250a12074799e26fdeee75648ae47e2cc84219\"}]"
            }
        ]
    },
    {
        "address": "cxa0af3165c08318e988cb30993b3048335b94af6c",
        "method": "setFloorPercentage",
        "parameters": [
            {
                "type": "int",
                "value": "1500"
            }
        ]
    },
    {
        "address": "cxa0af3165c08318e988cb30993b3048335b94af6c",
        "method": "setTimeDelayMicroSeconds",
        "parameters": [
            {
                "type": "int",
                "value": "86400000000"
            }
        ]
    },
    {
        "address": "cxa0af3165c08318e988cb30993b3048335b94af6c",
        "method": "enableFloors",
        "parameters": [
            {
                "type": "Address[]",
                "value": "[hx0000000000000000000000000000000000000000, cxf61cd5a45dc9f91c15aa65831a30a90d59a09619, cxfe94530ee0d159db3e5b7dcffbcd0dfb360075c0, cx2609b924e33ef00b648a409245c7ea394c467824, cx88fd7df7ddff82f7cc735c871dc519838cb235bb]"
            }
        ]
    },
    {
        "address": "cx835b300dcfe01f0bdb794e134a0c5628384f4367",
        "method": "disburse",
        "parameters": [
                {
        "type": "Address",
        "value": "cxf61cd5a45dc9f91c15aa65831a30a90d59a09619"
                },
                {
        "type": "Address",
        "value": "cx28497aef34ec44ad2be9249daddfbe34b54f309a"
                },
                {
        "type": "int",
        "value": "15000000000000000000000"
                },
                {
        "type": "bytes",
        "value": "7b226d6574686f64223a227363686564756c6564427269626573222c22706172616d73223a7b22616d6f756e7473223a5b302c333030303030303030303030303030303030303030302c333030303030303030303030303030303030303030302c333030303030303030303030303030303030303030302c333030303030303030303030303030303030303030302c333030303030303030303030303030303030303030305d2c22736f75726365223a2273415243482f626e5553447d7d"
                }
            ]
        }


]

This topic was automatically closed after 2 minutes. New replies are no longer allowed.