Vaulta

rambank.eos

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "addrenttoken",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "extended_symbol"
        }
      ]
    },
    {
      "name": "addtokenlog",
      "base": "",
      "fields": [
        {
          "name": "rent_token_id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "extended_symbol"
        }
      ]
    },
    {
      "name": "borrow",
      "base": "",
      "fields": [
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    },
    {
      "name": "borrow_row",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "borrowlog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "int64"
        },
        {
          "name": "total_borrow",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    },
    {
      "name": "config_row",
      "base": "",
      "fields": [
        {
          "name": "disabled_deposit",
          "type": "bool"
        },
        {
          "name": "disabled_withdraw",
          "type": "bool"
        },
        {
          "name": "deposit_fee_ratio",
          "type": "uint16"
        },
        {
          "name": "withdraw_fee_ratio",
          "type": "uint16"
        },
        {
          "name": "max_deposit_limit",
          "type": "uint64"
        },
        {
          "name": "reward_dao_ratio",
          "type": "uint16"
        },
        {
          "name": "usage_limit_ratio",
          "type": "uint16"
        },
        {
          "name": "disabled_transfer",
          "type": "bool$"
        }
      ]
    },
    {
      "name": "deposit_row",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "frozen_bytes",
          "type": "uint64$"
        }
      ]
    },
    {
      "name": "depositlog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "fee",
          "type": "uint64"
        },
        {
          "name": "deposited_bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "extended_symbol",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    },
    {
      "name": "freeze",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "freezelog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "freezed_bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "maxdeposit",
      "base": "",
      "fields": [
        {
          "name": "max_deposit_limit",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rent_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "total_rent_received",
          "type": "extended_asset"
        }
      ]
    },
    {
      "name": "rent_token_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "token",
          "type": "extended_symbol"
        },
        {
          "name": "total_rent_received",
          "type": "uint64"
        },
        {
          "name": "acc_per_share",
          "type": "uint128"
        },
        {
          "name": "last_reward_time",
          "type": "time_point_sec"
        },
        {
          "name": "total_reward",
          "type": "uint64"
        },
        {
          "name": "reward_balance",
          "type": "uint64"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    },
    {
      "name": "repaylog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "int64"
        },
        {
          "name": "total_borrow",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "rewardlog",
      "base": "",
      "fields": [
        {
          "name": "token",
          "type": "extended_symbol"
        },
        {
          "name": "stake_reward",
          "type": "uint64"
        },
        {
          "name": "dao_reward",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "stat_row",
      "base": "",
      "fields": [
        {
          "name": "deposited_bytes",
          "type": "uint64"
        },
        {
          "name": "used_bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "statlog",
      "base": "",
      "fields": [
        {
          "name": "total_deposit",
          "type": "uint64"
        },
        {
          "name": "total_borrow",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "statuslog",
      "base": "",
      "fields": [
        {
          "name": "rent_token_id",
          "type": "uint64"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    },
    {
      "name": "tokenstatus",
      "base": "",
      "fields": [
        {
          "name": "rent_token_id",
          "type": "uint64"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    },
    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "transferlog",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "from_bytes",
          "type": "uint64"
        },
        {
          "name": "to_bytes",
          "type": "uint64"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "transstatus",
      "base": "",
      "fields": [
        {
          "name": "disabled_transfer",
          "type": "bool"
        }
      ]
    },
    {
      "name": "unfreeze",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "unfreezelog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "freezed_bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "updateratio",
      "base": "",
      "fields": [
        {
          "name": "deposit_fee_ratio",
          "type": "uint16"
        },
        {
          "name": "withdraw_fee_ratio",
          "type": "uint16"
        },
        {
          "name": "reward_dao_ratio",
          "type": "uint16"
        },
        {
          "name": "usage_limit_ratio",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "updatestatus",
      "base": "",
      "fields": [
        {
          "name": "disabled_deposit",
          "type": "bool"
        },
        {
          "name": "disabled_withdraw",
          "type": "bool"
        }
      ]
    },
    {
      "name": "user_reward_row",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "token",
          "type": "extended_symbol"
        },
        {
          "name": "debt",
          "type": "uint64"
        },
        {
          "name": "unclaimed",
          "type": "uint64"
        },
        {
          "name": "claimed",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "withdrawlog",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "uint64"
        },
        {
          "name": "fee",
          "type": "uint64"
        },
        {
          "name": "deposited_bytes",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addrenttoken",
      "type": "addrenttoken",
      "ricardian_contract": ""
    },
    {
      "name": "addtokenlog",
      "type": "addtokenlog",
      "ricardian_contract": ""
    },
    {
      "name": "borrow",
      "type": "borrow",
      "ricardian_contract": ""
    },
    {
      "name": "borrowlog",
      "type": "borrowlog",
      "ricardian_contract": ""
    },
    {
      "name": "claim",
      "type": "claim",
      "ricardian_contract": ""
    },
    {
      "name": "depositlog",
      "type": "depositlog",
      "ricardian_contract": ""
    },
    {
      "name": "freeze",
      "type": "freeze",
      "ricardian_contract": ""
    },
    {
      "name": "freezelog",
      "type": "freezelog",
      "ricardian_contract": ""
    },
    {
      "name": "maxdeposit",
      "type": "maxdeposit",
      "ricardian_contract": ""
    },
    {
      "name": "repaylog",
      "type": "repaylog",
      "ricardian_contract": ""
    },
    {
      "name": "rewardlog",
      "type": "rewardlog",
      "ricardian_contract": ""
    },
    {
      "name": "statlog",
      "type": "statlog",
      "ricardian_contract": ""
    },
    {
      "name": "statuslog",
      "type": "statuslog",
      "ricardian_contract": ""
    },
    {
      "name": "tokenstatus",
      "type": "tokenstatus",
      "ricardian_contract": ""
    },
    {
      "name": "transfer",
      "type": "transfer",
      "ricardian_contract": ""
    },
    {
      "name": "transferlog",
      "type": "transferlog",
      "ricardian_contract": ""
    },
    {
      "name": "transstatus",
      "type": "transstatus",
      "ricardian_contract": ""
    },
    {
      "name": "unfreeze",
      "type": "unfreeze",
      "ricardian_contract": ""
    },
    {
      "name": "unfreezelog",
      "type": "unfreezelog",
      "ricardian_contract": ""
    },
    {
      "name": "updateratio",
      "type": "updateratio",
      "ricardian_contract": ""
    },
    {
      "name": "updatestatus",
      "type": "updatestatus",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": ""
    },
    {
      "name": "withdrawlog",
      "type": "withdrawlog",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "borrows",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "borrow_row"
    },
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config_row"
    },
    {
      "name": "deposits",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "deposit_row"
    },
    {
      "name": "rents",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "rent_row"
    },
    {
      "name": "renttokens",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "rent_token_row"
    },
    {
      "name": "stat",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "stat_row"
    },
    {
      "name": "userrewards",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "user_reward_row"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}