Vaulta

eosdtcntract

Contract

The data structures defined by this contract.

  • Action parameter in currentver

    Action parameter in globallock

    Action parameter in paraminit

    Action parameter in reinit

    Action parameter in restakerex

    Action parameter in voteproducer

    Action parameter in unstakeall

    Action parameter in unstakeback

    Action parameter in withdrawall

    Action parameter in margincalpos

    {
      "name": "empty",
      "base": "",
      "fields": []
    }
  • Table row type of ctrsettings

    {
      "name": "ctrsetting",
      "base": "",
      "fields": [
        {
          "name": "setting_id",
          "type": "l"
        },
        {
          "name": "global_lock",
          "type": "uint8"
        },
        {
          "name": "time_shift",
          "type": "l"
        },
        {
          "name": "liquidator_account",
          "type": "n"
        },
        {
          "name": "oraclize_account",
          "type": "n"
        },
        {
          "name": "sttoken_account",
          "type": "n"
        },
        {
          "name": "nutoken_account",
          "type": "n"
        },
        {
          "name": "governance_fee",
          "type": "f"
        },
        {
          "name": "stability_fee",
          "type": "f"
        },
        {
          "name": "critical_ltv",
          "type": "f"
        },
        {
          "name": "liquidation_penalty",
          "type": "f"
        },
        {
          "name": "liquidator_discount",
          "type": "f"
        },
        {
          "name": "liquidation_price",
          "type": "a"
        },
        {
          "name": "nut_auct_ratio",
          "type": "f"
        },
        {
          "name": "nut_discount",
          "type": "f"
        },
        {
          "name": "profit_factor",
          "type": "f"
        },
        {
          "name": "vote_period",
          "type": "u"
        },
        {
          "name": "stake_period",
          "type": "u"
        },
        {
          "name": "reserve_ratio",
          "type": "f"
        },
        {
          "name": "staking_weight",
          "type": "f"
        },
        {
          "name": "bpproxy_account",
          "type": "n"
        },
        {
          "name": "governc_account",
          "type": "n"
        },
        {
          "name": "referral_min_stake",
          "type": "a"
        },
        {
          "name": "referral_ratio",
          "type": "f"
        },
        {
          "name": "collateral_account",
          "type": "n"
        },
        {
          "name": "collateral_token",
          "type": "c"
        },
        {
          "name": "savings_account",
          "type": "n"
        },
        {
          "name": "min_pos",
          "type": "a"
        },
        {
          "name": "tokenswap_account",
          "type": "n"
        }
      ]
    }
  • Action parameter in settingset

    {
      "name": "settingset",
      "base": "",
      "fields": [
        {
          "name": "liquidator_account",
          "type": "n"
        },
        {
          "name": "oraclize_account",
          "type": "n"
        },
        {
          "name": "sttoken_account",
          "type": "n"
        },
        {
          "name": "nutoken_account",
          "type": "n"
        },
        {
          "name": "governance_fee",
          "type": "f"
        },
        {
          "name": "stability_fee",
          "type": "f"
        },
        {
          "name": "critical_ltv",
          "type": "f"
        },
        {
          "name": "liquidation_penalty",
          "type": "f"
        },
        {
          "name": "liquidator_discount",
          "type": "f"
        },
        {
          "name": "nut_auct_ratio",
          "type": "f"
        },
        {
          "name": "nut_discount",
          "type": "f"
        },
        {
          "name": "profit_factor",
          "type": "f"
        },
        {
          "name": "vote_period",
          "type": "u"
        },
        {
          "name": "stake_period",
          "type": "u"
        },
        {
          "name": "reserve_ratio",
          "type": "f"
        },
        {
          "name": "staking_weight",
          "type": "f"
        },
        {
          "name": "bpproxy_account",
          "type": "n"
        },
        {
          "name": "governc_account",
          "type": "n"
        },
        {
          "name": "referral_min_stake",
          "type": "a"
        },
        {
          "name": "referral_ratio",
          "type": "f"
        },
        {
          "name": "collateral_account",
          "type": "n"
        },
        {
          "name": "collateral_token",
          "type": "c"
        },
        {
          "name": "savings_account",
          "type": "n"
        },
        {
          "name": "min_pos",
          "type": "a"
        },
        {
          "name": "tokenswap_account",
          "type": "n"
        }
      ]
    }
  • Table row type of parameters

    {
      "name": "parameter",
      "base": "",
      "fields": [
        {
          "name": "parameter_id",
          "type": "l"
        },
        {
          "name": "total_collateral",
          "type": "f"
        },
        {
          "name": "total_debt",
          "type": "a"
        },
        {
          "name": "stability_rate",
          "type": "f"
        },
        {
          "name": "governance_rate",
          "type": "f"
        },
        {
          "name": "prev_date",
          "type": "t"
        },
        {
          "name": "prev_vote",
          "type": "t"
        },
        {
          "name": "prev_stake",
          "type": "t"
        },
        {
          "name": "eos_staked",
          "type": "a"
        }
      ]
    }
  • Table row type of positions

    {
      "name": "positions",
      "base": "",
      "fields": [
        {
          "name": "position_id",
          "type": "l"
        },
        {
          "name": "maker",
          "type": "n"
        },
        {
          "name": "outstanding",
          "type": "a"
        },
        {
          "name": "governance",
          "type": "a"
        },
        {
          "name": "collateral",
          "type": "f"
        }
      ]
    }
  • Action parameter in positionadd

    {
      "name": "positionadd",
      "base": "",
      "fields": [
        {
          "name": "maker",
          "type": "n"
        }
      ]
    }
  • Action parameter in colateraldel

    {
      "name": "colateraldel",
      "base": "",
      "fields": [
        {
          "name": "position_id",
          "type": "l"
        },
        {
          "name": "collateral",
          "type": "a"
        }
      ]
    }
  • Action parameter in debtgenerate

    {
      "name": "debtgenerate",
      "base": "",
      "fields": [
        {
          "name": "position_id",
          "type": "l"
        },
        {
          "name": "debt",
          "type": "a"
        }
      ]
    }
  • Action parameter in positiondel

    Action parameter in margincall

    Action parameter in close

    {
      "name": "positionid",
      "base": "",
      "fields": [
        {
          "name": "position_id",
          "type": "l"
        }
      ]
    }
  • Action parameter in positiongive

    {
      "name": "positiongive",
      "base": "",
      "fields": [
        {
          "name": "position_id",
          "type": "l"
        },
        {
          "name": "to",
          "type": "n"
        }
      ]
    }
  • Action parameter in receivecolat

    {
      "name": "receivecolat",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "a"
        }
      ]
    }
  • Action parameter in receivestable

    {
      "name": "receivestable",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "a"
        }
      ]
    }
  • Table row type of ctrltvratios

    {
      "name": "ctrltvratios",
      "base": "",
      "fields": [
        {
          "name": "position_id",
          "type": "l"
        },
        {
          "name": "ltv_ratio",
          "type": "f"
        }
      ]
    }
  • Action parameter in fillltvratio

    {
      "name": "fillltvratio",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "l"
        },
        {
          "name": "limit",
          "type": "u"
        }
      ]
    }
  • Action parameter in ratechanged

    {
      "name": "ratechanged",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "n"
        },
        {
          "name": "asset_symbol",
          "type": "c"
        },
        {
          "name": "base",
          "type": "c"
        }
      ]
    }
  • Table row type of ctrreferrals

    {
      "name": "ctrreferral",
      "base": "",
      "fields": [
        {
          "name": "referral_id",
          "type": "l"
        },
        {
          "name": "referral",
          "type": "n"
        },
        {
          "name": "staked_amount",
          "type": "a"
        }
      ]
    }
  • Table row type of positionrefs

    {
      "name": "positionref",
      "base": "",
      "fields": [
        {
          "name": "position_id",
          "type": "l"
        },
        {
          "name": "referral_id",
          "type": "l"
        }
      ]
    }
  • Action parameter in referraladd

    {
      "name": "referraladd",
      "base": "",
      "fields": [
        {
          "name": "referral",
          "type": "n"
        }
      ]
    }
  • Action parameter in posandrefadd

    {
      "name": "posandrefadd",
      "base": "",
      "fields": [
        {
          "name": "maker",
          "type": "n"
        },
        {
          "name": "referral_id",
          "type": "l"
        }
      ]
    }
  • Action parameter in referraldel

    {
      "name": "referraldel",
      "base": "",
      "fields": [
        {
          "name": "referral_id",
          "type": "l"
        }
      ]
    }
  • Action parameter in delltvratiol

    {
      "name": "delltvratiol",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "l"
        },
        {
          "name": "limit",
          "type": "u"
        }
      ]
    }