Vaulta

eosbtexbonus

Contract

The data structures defined by this contract.

  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of mortgages

    {
      "name": "mortgage",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "mortgage_bt",
          "type": "asset"
        },
        {
          "name": "mortgage_total_bt",
          "type": "asset"
        },
        {
          "name": "bonus_extracted_eos",
          "type": "asset"
        },
        {
          "name": "mortgage_time",
          "type": "uint64"
        }
      ]
    }
  • Table row type of topmortgages

    {
      "name": "top_mortgage",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "account_name"
        },
        {
          "name": "mortgage_bt",
          "type": "asset"
        },
        {
          "name": "mortgage_time",
          "type": "uint64"
        }
      ]
    }
  • Table row type of indexes

    {
      "name": "index",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "mortgage_history_bt",
          "type": "asset"
        },
        {
          "name": "bonus_history_eos",
          "type": "asset"
        },
        {
          "name": "bonus_pool_eos",
          "type": "asset"
        }
      ]
    }
  • Table row type of profits

    {
      "name": "profit",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "account_name"
        },
        {
          "name": "bonus_history_eos",
          "type": "asset"
        },
        {
          "name": "mortgage_history_bt",
          "type": "asset"
        }
      ]
    }
  • Action parameter in redeembt

    {
      "name": "redeembt",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "account_name"
        },
        {
          "name": "m_id",
          "type": "uint64"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in allredeem

    {
      "name": "allredeem",
      "base": "",
      "fields": [
        {
          "name": "manager",
          "type": "account_name"
        },
        {
          "name": "owner",
          "type": "account_name"
        }
      ]
    }
  • Action parameter in takebonus

    {
      "name": "takebonus",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "account_name"
        },
        {
          "name": "m_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in adjustpool

    {
      "name": "adjustpool",
      "base": "",
      "fields": [
        {
          "name": "manager",
          "type": "account_name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }