Vaulta

rescmng.xsat

Contract

{
  "version": "eosio::abi/1.2",
  "types": [
    {
      "new_type_name": "fee_type",
      "type": "uint8"
    }
  ],
  "structs": [
    {
      "name": "CheckResult",
      "base": "",
      "fields": [
        {
          "name": "has_auth",
          "type": "bool"
        },
        {
          "name": "is_exists",
          "type": "bool"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "account_row",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "checkclient",
      "base": "",
      "fields": [
        {
          "name": "client",
          "type": "name"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "version",
          "type": "string?"
        }
      ]
    },
    {
      "name": "checklog",
      "base": "",
      "fields": [
        {
          "name": "client",
          "type": "name"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "success",
          "type": "bool"
        },
        {
          "name": "result",
          "type": "CheckResult"
        }
      ]
    },
    {
      "name": "config_row",
      "base": "",
      "fields": [
        {
          "name": "fee_account",
          "type": "name"
        },
        {
          "name": "disabled_withdraw",
          "type": "bool"
        },
        {
          "name": "cost_per_slot",
          "type": "asset"
        },
        {
          "name": "cost_per_upload",
          "type": "asset"
        },
        {
          "name": "cost_per_verification",
          "type": "asset"
        },
        {
          "name": "cost_per_endorsement",
          "type": "asset"
        },
        {
          "name": "cost_per_parse",
          "type": "asset"
        }
      ]
    },
    {
      "name": "depositlog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    },
    {
      "name": "feestat_row",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "blkent_fee",
          "type": "asset"
        },
        {
          "name": "blksync_fee",
          "type": "asset"
        },
        {
          "name": "utxomng_fee",
          "type": "asset"
        },
        {
          "name": "total_fee",
          "type": "asset"
        }
      ]
    },
    {
      "name": "heartbeat_row",
      "base": "",
      "fields": [
        {
          "name": "client",
          "type": "name"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "version",
          "type": "string"
        },
        {
          "name": "last_heartbeat",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "fee_account",
          "type": "name"
        },
        {
          "name": "cost_per_slot",
          "type": "asset"
        },
        {
          "name": "cost_per_upload",
          "type": "asset"
        },
        {
          "name": "cost_per_verification",
          "type": "asset"
        },
        {
          "name": "cost_per_endorsement",
          "type": "asset"
        },
        {
          "name": "cost_per_parse",
          "type": "asset"
        }
      ]
    },
    {
      "name": "pay",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "type",
          "type": "fee_type"
        },
        {
          "name": "quantity",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "paylog",
      "base": "",
      "fields": [
        {
          "name": "height",
          "type": "uint64"
        },
        {
          "name": "hash",
          "type": "checksum256"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "setstatus",
      "base": "",
      "fields": [
        {
          "name": "disabled_withdraw",
          "type": "bool"
        }
      ]
    },
    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "withdrawlog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "checkclient",
      "type": "checkclient",
      "ricardian_contract": ""
    },
    {
      "name": "checklog",
      "type": "checklog",
      "ricardian_contract": ""
    },
    {
      "name": "depositlog",
      "type": "depositlog",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "pay",
      "type": "pay",
      "ricardian_contract": ""
    },
    {
      "name": "paylog",
      "type": "paylog",
      "ricardian_contract": ""
    },
    {
      "name": "setstatus",
      "type": "setstatus",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": ""
    },
    {
      "name": "withdrawlog",
      "type": "withdrawlog",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "accounts",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "account_row"
    },
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config_row"
    },
    {
      "name": "feestats",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "feestat_row"
    },
    {
      "name": "heartbeats",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "heartbeat_row"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": [
    {
      "name": "checkclient",
      "result_type": "CheckResult"
    }
  ]
}