Vaulta

coralpool1v2

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    },
    {
      "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": "box_enable",
          "type": "uint8"
        },
        {
          "name": "box_code",
          "type": "symbol_code"
        }
      ]
    },
    {
      "name": "harvest",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "round_no",
          "type": "uint64"
        },
        {
          "name": "limit",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "miner",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "staked",
          "type": "asset"
        },
        {
          "name": "claimed_crl",
          "type": "asset"
        },
        {
          "name": "unclaimed_crl",
          "type": "asset"
        },
        {
          "name": "claimed_box",
          "type": "asset"
        },
        {
          "name": "unclaimed_box",
          "type": "asset"
        }
      ]
    },
    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "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"
        },
        {
          "name": "box_enable",
          "type": "uint8"
        },
        {
          "name": "box_code",
          "type": "symbol_code"
        },
        {
          "name": "box_reward",
          "type": "asset"
        }
      ]
    },
    {
      "name": "round",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "no",
          "type": "uint64"
        },
        {
          "name": "offset",
          "type": "name"
        },
        {
          "name": "crl_amount",
          "type": "uint64"
        },
        {
          "name": "box_amount",
          "type": "uint64"
        },
        {
          "name": "completed",
          "type": "bool"
        }
      ]
    },
    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "claim",
      "type": "claim",
      "ricardian_contract": ""
    },
    {
      "name": "create",
      "type": "create",
      "ricardian_contract": ""
    },
    {
      "name": "harvest",
      "type": "harvest",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "miners",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "miner"
    },
    {
      "name": "pools",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pool"
    },
    {
      "name": "rounds",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "round"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}