EOS

mine2.defi

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "addpool",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "float64"
        },
        {
          "name": "start_time",
          "type": "time_point_sec"
        },
        {
          "name": "end_time",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "history",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "info",
          "type": "pool"
        }
      ]
    },
    {
      "name": "mine",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "asset0",
          "type": "extended_asset"
        },
        {
          "name": "asset1",
          "type": "extended_asset"
        }
      ]
    },
    {
      "name": "pool",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "float64"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "issued",
          "type": "asset"
        },
        {
          "name": "last_issue_time",
          "type": "time_point_sec"
        },
        {
          "name": "start_time",
          "type": "time_point_sec"
        },
        {
          "name": "end_time",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "removepool",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "stat",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "issued",
          "type": "asset"
        }
      ]
    },
    {
      "name": "updatepool",
      "base": "",
      "fields": [
        {
          "name": "pair_id",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "float64"
        },
        {
          "name": "start_time",
          "type": "time_point_sec"
        },
        {
          "name": "end_time",
          "type": "time_point_sec"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addpool",
      "type": "addpool",
      "ricardian_contract": ""
    },
    {
      "name": "mine",
      "type": "mine",
      "ricardian_contract": ""
    },
    {
      "name": "removepool",
      "type": "removepool",
      "ricardian_contract": ""
    },
    {
      "name": "updatepool",
      "type": "updatepool",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "history",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "history"
    },
    {
      "name": "pools",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "pool"
    },
    {
      "name": "stats",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "stat"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}