Vaulta

pfinancemain

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "feed",
      "base": "",
      "fields": [
        {
          "name": "feeder",
          "type": "name"
        },
        {
          "name": "price",
          "type": "float64"
        }
      ]
    },
    {
      "name": "global_state",
      "base": "",
      "fields": [
        {
          "name": "halving_epoch",
          "type": "uint64"
        },
        {
          "name": "epoch_time",
          "type": "uint64"
        },
        {
          "name": "halving_epoch_time",
          "type": "uint64"
        },
        {
          "name": "current_stage",
          "type": "uint64"
        },
        {
          "name": "init_time",
          "type": "uint64"
        },
        {
          "name": "block_number",
          "type": "uint64"
        },
        {
          "name": "reward_per_block",
          "type": "asset"
        }
      ]
    },
    {
      "name": "reset",
      "base": "",
      "fields": [
        {
          "name": "restart_time",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "roundpool",
      "base": "",
      "fields": [
        {
          "name": "seq_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "round_id",
          "type": "uint64"
        },
        {
          "name": "staking",
          "type": "asset"
        },
        {
          "name": "reward",
          "type": "asset"
        },
        {
          "name": "rewarded",
          "type": "bool"
        },
        {
          "name": "price",
          "type": "float64"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "stakepool",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "staking",
          "type": "asset"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "feeder",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "feed",
      "type": "feed",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: feed\nsummary: 'Feed price'\nicon: https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/237/palm-tree_1f334.png#c0cd53d5ffdab3ed9a0ab31bef0f4b59e127be6e112669a6b22a005218665e63\n---\n\nFeed EOS price of {{price}} USD from {{feeder}}."
    },
    {
      "name": "reset",
      "type": "reset",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: withdraw\nsummary: 'Withdraw funds'\nicon: https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/apple/237/palm-tree_1f334.png#c0cd53d5ffdab3ed9a0ab31bef0f4b59e127be6e112669a6b22a005218665e63\n---\n\nWithdraw {{quantity}} funds from {{feeder}}."
    }
  ],
  "tables": [
    {
      "name": "global",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "global_state"
    },
    {
      "name": "roundpool",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "roundpool"
    },
    {
      "name": "stakepool",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "stakepool"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}