Vaulta

eoscatspools

Contract

The data structures defined by this contract.

  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "reward",
          "type": "asset"
        },
        {
          "name": "epoch_time",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "min_staked",
          "type": "asset"
        },
        {
          "name": "type",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in harvest

    {
      "name": "harvest",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "nonce",
          "type": "uint32"
        }
      ]
    }
  • Table row type of miners

    {
      "name": "miner",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "staked",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        }
      ]
    }
  • Table row type of pools

    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "total_staked",
          "type": "asset"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "released_reward",
          "type": "asset"
        },
        {
          "name": "epoch_time",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "min_staked",
          "type": "asset"
        },
        {
          "name": "last_harvest_time",
          "type": "uint32"
        }
      ]
    }