Vaulta

mine.joker

Contract

The data structures defined by this contract.

  • Action parameter in harvest

    {
      "name": "harvest",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "key",
          "type": "uint64"
        }
      ]
    }
  • Table row type of pool

    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "created",
          "type": "uint32"
        },
        {
          "name": "staking",
          "type": "asset"
        },
        {
          "name": "mining_pool",
          "type": "asset"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "total_rex",
          "type": "asset"
        },
        {
          "name": "last_reward_day",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in redeem

    {
      "name": "redeem",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "key",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rexpool

    {
      "name": "rexpool",
      "base": "",
      "fields": [
        {
          "name": "version",
          "type": "uint8"
        },
        {
          "name": "total_lent",
          "type": "asset"
        },
        {
          "name": "total_unlent",
          "type": "asset"
        },
        {
          "name": "total_rent",
          "type": "asset"
        },
        {
          "name": "total_lendable",
          "type": "asset"
        },
        {
          "name": "total_rex",
          "type": "asset"
        },
        {
          "name": "namebid_proceeds",
          "type": "asset"
        },
        {
          "name": "loan_num",
          "type": "uint64"
        }
      ]
    }
  • Table row type of snapshot

    {
      "name": "snapshot",
      "base": "",
      "fields": [
        {
          "name": "day",
          "type": "uint32"
        },
        {
          "name": "pool",
          "type": "asset"
        },
        {
          "name": "reward_per_share",
          "type": "float64"
        }
      ]
    }
  • Action parameter in start

    {
      "name": "start",
      "base": "",
      "fields": []
    }
  • Table row type of state

    {
      "name": "state",
      "base": "",
      "fields": [
        {
          "name": "day",
          "type": "uint32"
        },
        {
          "name": "pool",
          "type": "asset"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "started",
          "type": "bool"
        }
      ]
    }
  • Action parameter in stop

    {
      "name": "stop",
      "base": "",
      "fields": []
    }