Vaulta

mooncakepool

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "claim2",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "claimall",
      "base": "",
      "fields": []
    },
    {
      "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": "create2",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "code",
          "type": "symbol_code"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "reward",
          "type": "asset"
        },
        {
          "name": "type",
          "type": "uint32"
        },
        {
          "name": "epoch_time",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "min_staked",
          "type": "asset"
        }
      ]
    },
    {
      "name": "exit",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "pool_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "harvest",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "nonce",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "harvest2",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "nonce",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "miner",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "staked",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "unclaimed",
          "type": "asset"
        }
      ]
    },
    {
      "name": "miner2",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "staked",
          "type": "uint64"
        },
        {
          "name": "staked2",
          "type": "asset"
        },
        {
          "name": "claimed",
          "type": "asset"
        },
        {
          "name": "unclaimed",
          "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": "is_stop",
          "type": "uint32"
        },
        {
          "name": "min_staked",
          "type": "asset"
        },
        {
          "name": "last_harvest_time",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "pool2",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "code",
          "type": "symbol_code"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "total_staked",
          "type": "uint64"
        },
        {
          "name": "total_staked2",
          "type": "asset"
        },
        {
          "name": "total_reward",
          "type": "asset"
        },
        {
          "name": "released_reward",
          "type": "asset"
        },
        {
          "name": "min_staked",
          "type": "asset"
        },
        {
          "name": "type",
          "type": "uint32"
        },
        {
          "name": "is_stop",
          "type": "uint32"
        },
        {
          "name": "epoch_time",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "last_harvest_time",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "setpoolstate",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "is_stop",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "update",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "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": "userinfo",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "debt",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "claim",
      "type": "claim",
      "ricardian_contract": ""
    },
    {
      "name": "claim2",
      "type": "claim2",
      "ricardian_contract": ""
    },
    {
      "name": "claimall",
      "type": "claimall",
      "ricardian_contract": ""
    },
    {
      "name": "create",
      "type": "create",
      "ricardian_contract": ""
    },
    {
      "name": "create2",
      "type": "create2",
      "ricardian_contract": ""
    },
    {
      "name": "exit",
      "type": "exit",
      "ricardian_contract": ""
    },
    {
      "name": "harvest",
      "type": "harvest",
      "ricardian_contract": ""
    },
    {
      "name": "harvest2",
      "type": "harvest2",
      "ricardian_contract": ""
    },
    {
      "name": "setpoolstate",
      "type": "setpoolstate",
      "ricardian_contract": ""
    },
    {
      "name": "update",
      "type": "update",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "accounts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "account"
    },
    {
      "name": "miners",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "miner"
    },
    {
      "name": "miners2",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "miner2"
    },
    {
      "name": "pools",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pool"
    },
    {
      "name": "pools2",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pool2"
    },
    {
      "name": "userinfo",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "userinfo"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}