Vaulta

eosdefiproxy

Contract

The data structures defined by this contract.

  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "symbol_name",
          "type": "symbol"
        },
        {
          "name": "claim_contract",
          "type": "name"
        },
        {
          "name": "claim_quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of symconfig

    {
      "name": "currency_config",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "symbol_name",
          "type": "symbol"
        },
        {
          "name": "min_reserve_quantity",
          "type": "asset"
        },
        {
          "name": "min_reserve_ratio",
          "type": "uint16"
        },
        {
          "name": "max_stake_quantity",
          "type": "asset"
        },
        {
          "name": "max_stake_ratio",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in pretransfer

    {
      "name": "pretransfer",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in rebalance

    {
      "name": "rebalance",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "symbol_name",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in rmsymconfig

    {
      "name": "rmsymconfig",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "symbol_name",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in sellrex

    {
      "name": "sellrex",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "type",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setsymconfig

    {
      "name": "setsymconfig",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "symbol_name",
          "type": "symbol"
        },
        {
          "name": "min_reserve_quantity",
          "type": "asset"
        },
        {
          "name": "min_reserve_ratio",
          "type": "uint16"
        },
        {
          "name": "max_stake_quantity",
          "type": "asset"
        },
        {
          "name": "max_stake_ratio",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in setuserproxy

    {
      "name": "setuserproxy",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "proxy",
          "type": "name"
        }
      ]
    }
  • Table row type of userproxy

    {
      "name": "user_proxy",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "proxy",
          "type": "name"
        }
      ]
    }