Vaulta

vault.defi

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "colupadtelog",
      "base": "",
      "fields": [
        {
          "name": "collateral_id",
          "type": "uint64"
        },
        {
          "name": "deposit_contract",
          "type": "name"
        },
        {
          "name": "deposit_symbol",
          "type": "symbol"
        },
        {
          "name": "issue_symbol",
          "type": "symbol"
        },
        {
          "name": "income_account",
          "type": "name"
        },
        {
          "name": "fees_account",
          "type": "name"
        },
        {
          "name": "min_quantity",
          "type": "asset"
        },
        {
          "name": "income_ratio",
          "type": "uint16"
        },
        {
          "name": "release_fees",
          "type": "uint16"
        },
        {
          "name": "refund_ratio",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "last_income_time",
          "type": "uint64"
        },
        {
          "name": "transfer_status",
          "type": "uint8"
        },
        {
          "name": "deposit_status",
          "type": "uint8"
        },
        {
          "name": "withdraw_status",
          "type": "uint8"
        },
        {
          "name": "log_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "createcoll",
      "base": "",
      "fields": [
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "income_account",
          "type": "name"
        },
        {
          "name": "fees_account",
          "type": "name"
        },
        {
          "name": "min_quantity",
          "type": "asset"
        },
        {
          "name": "income_ratio",
          "type": "uint16"
        },
        {
          "name": "release_fees",
          "type": "uint16"
        },
        {
          "name": "refund_ratio",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "depositlog",
      "base": "",
      "fields": [
        {
          "name": "collateral_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "rate",
          "type": "uint64"
        },
        {
          "name": "time",
          "type": "block_timestamp_type"
        }
      ]
    },
    {
      "name": "income",
      "base": "",
      "fields": [
        {
          "name": "bank",
          "type": "name"
        }
      ]
    },
    {
      "name": "maturities2_row",
      "base": "",
      "fields": [
        {
          "name": "maturity",
          "type": "time_point_sec"
        },
        {
          "name": "rex",
          "type": "uint64"
        },
        {
          "name": "banks",
          "type": "name[]"
        },
        {
          "name": "token_type",
          "type": "name"
        }
      ]
    },
    {
      "name": "maturities_row",
      "base": "",
      "fields": [
        {
          "name": "maturity",
          "type": "time_point_sec"
        },
        {
          "name": "rex",
          "type": "uint64"
        },
        {
          "name": "banks",
          "type": "name[]"
        }
      ]
    },
    {
      "name": "migrate",
      "base": "",
      "fields": []
    },
    {
      "name": "proxyto",
      "base": "",
      "fields": [
        {
          "name": "proxy",
          "type": "name"
        }
      ]
    },
    {
      "name": "release",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    },
    {
      "name": "releaselog",
      "base": "",
      "fields": [
        {
          "name": "collateral_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "maturity",
          "type": "time_point_sec"
        },
        {
          "name": "rex",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "remaintofee",
      "base": "",
      "fields": [
        {
          "name": "fees_account",
          "type": "name"
        }
      ]
    },
    {
      "name": "rex_price_row",
      "base": "",
      "fields": [
        {
          "name": "date",
          "type": "time_point_sec"
        },
        {
          "name": "price",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "s_collateral",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "deposit_contract",
          "type": "name"
        },
        {
          "name": "deposit_symbol",
          "type": "symbol"
        },
        {
          "name": "issue_symbol",
          "type": "symbol"
        },
        {
          "name": "last_income",
          "type": "asset"
        },
        {
          "name": "total_income",
          "type": "asset"
        },
        {
          "name": "income_ratio",
          "type": "uint16"
        },
        {
          "name": "income_account",
          "type": "name"
        },
        {
          "name": "min_quantity",
          "type": "asset"
        },
        {
          "name": "fees_account",
          "type": "name"
        },
        {
          "name": "release_fees",
          "type": "uint16"
        },
        {
          "name": "refund_ratio",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "trans",
      "base": "",
      "fields": [
        {
          "name": "code",
          "type": "name"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    },
    {
      "name": "updatecoll",
      "base": "",
      "fields": [
        {
          "name": "collateral_id",
          "type": "uint64"
        },
        {
          "name": "income_account",
          "type": "name"
        },
        {
          "name": "fees_account",
          "type": "name"
        },
        {
          "name": "min_quantity",
          "type": "asset"
        },
        {
          "name": "income_ratio",
          "type": "uint16"
        },
        {
          "name": "release_fees",
          "type": "uint16"
        },
        {
          "name": "refund_ratio",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "updatestatus",
      "base": "",
      "fields": [
        {
          "name": "transfer_status",
          "type": "uint8"
        },
        {
          "name": "deposit_status",
          "type": "uint8"
        },
        {
          "name": "withdraw_status",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "withdraw2_row",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "rex_maturities",
          "type": "maturities2_row[]"
        }
      ]
    },
    {
      "name": "withdraw_row",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "rex_maturities",
          "type": "maturities_row[]"
        }
      ]
    },
    {
      "name": "withdrawlog",
      "base": "",
      "fields": [
        {
          "name": "maturity",
          "type": "time_point_sec"
        },
        {
          "name": "collateral_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "rex_price",
          "type": "uint64"
        },
        {
          "name": "withdraw_quantity",
          "type": "asset"
        },
        {
          "name": "withdraw_award_fees",
          "type": "asset"
        },
        {
          "name": "withdraw_sys_fees",
          "type": "asset"
        },
        {
          "name": "time",
          "type": "time_point_sec"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "colupadtelog",
      "type": "colupadtelog",
      "ricardian_contract": ""
    },
    {
      "name": "createcoll",
      "type": "createcoll",
      "ricardian_contract": ""
    },
    {
      "name": "depositlog",
      "type": "depositlog",
      "ricardian_contract": ""
    },
    {
      "name": "income",
      "type": "income",
      "ricardian_contract": ""
    },
    {
      "name": "migrate",
      "type": "migrate",
      "ricardian_contract": ""
    },
    {
      "name": "proxyto",
      "type": "proxyto",
      "ricardian_contract": ""
    },
    {
      "name": "release",
      "type": "release",
      "ricardian_contract": ""
    },
    {
      "name": "releaselog",
      "type": "releaselog",
      "ricardian_contract": ""
    },
    {
      "name": "remaintofee",
      "type": "remaintofee",
      "ricardian_contract": ""
    },
    {
      "name": "trans",
      "type": "trans",
      "ricardian_contract": ""
    },
    {
      "name": "updatecoll",
      "type": "updatecoll",
      "ricardian_contract": ""
    },
    {
      "name": "updatestatus",
      "type": "updatestatus",
      "ricardian_contract": ""
    },
    {
      "name": "withdrawlog",
      "type": "withdrawlog",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "collaterals",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "s_collateral"
    },
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config"
    },
    {
      "name": "rexprice",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "rex_price_row"
    },
    {
      "name": "withdraws",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "withdraw_row"
    },
    {
      "name": "withdraws2",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "withdraw2_row"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}