Vaulta

gratokenliqs

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": "market",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "reward",
          "type": "asset"
        },
        {
          "name": "epoch_time",
          "type": "uint64"
        },
        {
          "name": "duration",
          "type": "uint64"
        }
      ]
    }
  • Table row type of global

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "token",
          "type": "name"
        },
        {
          "name": "log",
          "type": "name"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "threshold",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in harvest

    {
      "name": "harvest",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "nonce",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "admin",
          "type": "name"
        },
        {
          "name": "token",
          "type": "name"
        },
        {
          "name": "log",
          "type": "name"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "threshold",
          "type": "uint64"
        }
      ]
    }
  • Table row type of miners

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

    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "market",
          "type": "name"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "released_reward",
          "type": "asset"
        },
        {
          "name": "status",
          "type": "uint8"
        },
        {
          "name": "total_users",
          "type": "uint64"
        },
        {
          "name": "epoch_time",
          "type": "uint64"
        },
        {
          "name": "duration",
          "type": "uint64"
        },
        {
          "name": "last_harvest_time",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in resetpool

    {
      "name": "resetpool",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "market",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "reward",
          "type": "asset"
        },
        {
          "name": "released_reward",
          "type": "asset"
        },
        {
          "name": "epoch_time",
          "type": "uint64"
        },
        {
          "name": "duration",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmglobal

    {
      "name": "rmglobal",
      "base": "",
      "fields": []
    }
  • Action parameter in rmminer

    {
      "name": "rmminer",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in rmpool

    {
      "name": "rmpool",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setminerstat

    {
      "name": "setminerstat",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setpool

    {
      "name": "setpool",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "market",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "reward",
          "type": "asset"
        },
        {
          "name": "released_reward",
          "type": "asset"
        },
        {
          "name": "epoch_time",
          "type": "uint64"
        },
        {
          "name": "duration",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setpoolstat

    {
      "name": "setpoolstat",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setstatus

    {
      "name": "setstatus",
      "base": "",
      "fields": [
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }