{"id":21584194,"url":"https://github.com/onomyprotocol/reserve","last_synced_at":"2025-07-16T23:30:43.707Z","repository":{"id":239818265,"uuid":"781234023","full_name":"pendulum-labs/reserve-onomy","owner":"pendulum-labs","description":"Onomy Reserve","archived":false,"fork":false,"pushed_at":"2024-07-10T02:57:05.000Z","size":1412,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T09:44:27.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pendulum-labs.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-03T01:56:53.000Z","updated_at":"2024-07-15T06:09:22.000Z","dependencies_parsed_at":"2024-05-28T23:34:03.396Z","dependency_job_id":"d1fbb900-e908-42df-8cfc-1aec8459f94c","html_url":"https://github.com/pendulum-labs/reserve-onomy","commit_stats":null,"previous_names":["onomyprotocol/reserve"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pendulum-labs%2Freserve-onomy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pendulum-labs%2Freserve-onomy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pendulum-labs%2Freserve-onomy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pendulum-labs%2Freserve-onomy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pendulum-labs","download_url":"https://codeload.github.com/pendulum-labs/reserve-onomy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226178438,"owners_count":17585959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T15:01:06.122Z","updated_at":"2024-11-24T15:02:19.127Z","avatar_url":"https://github.com/pendulum-labs.png","language":"TypeScript","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# reserve\n\nThe Onomy Reserve\n\n## Reserve Concepts\n\n`denom` is a minted representation of a real-world asset\n\n`collateral` is a coin that is deposited in a vault to mint denoms\n\n`vault` is storage of collateral that is being or will be used for minting of denoms\n\n`collateralization ratio` is the ratio of value of denoms minted to the collateral stored within a vault\n\n`vault ratio` is the collateralization ratio of a vault at a given moment\n\n`minter` is a user that mints stablecoins\n\n`saver` is a user that bonds stablecoins for interest\n\n`liquidator` is a user that liquidates a vault that is in default because of too low of collateralization ratio\n\n## Reserve Parameters\n\n`lending ratio` is the minimum vault ratio at which denom lent or collateral withdrawn\n\n`liquidation ratio` is the vault ratio at which the vault for a specific denom may be liquidated by a liquidator\n\n`burn ratio` is parameter that defines the ratio of burned vs stored NOM at liquidation of a vault\n\n`liquidity deposit` is the minimum amount of liquidity for a specific collateral that must be provided to create a denom\n\n`minting interest rate` is the interest rate on denoms loaned to minters.  This is meant to aide in stabilization of the stablecoin.\n\n`savings interest rate` is the interest rate paid on denoms that have been bonded to the reserve.\n\n## Reserve Transactions\n\n`create-vault` by depositing collateral.  Each vault has a unique name per user as well as UID\n\n`deposit` collateral or denoms into vault\n\n`withdraw` collateral or denoms from vault.  Withdrawal of collateral or denoms dependent on collateralization ratio.\n\n`liquidate` vaults whose collateral ratios drop below the liquidation ratio\n\n`bond` denoms to the reserve to earn savings interest\n\n`unbond` denoms that have been bonded to the reserve\n\n## Reserve Governance\n\n`register-collateral` is a governance proposal that must be submitted to register a collateral for minting denoms\n\n`create-denom` is a governance proposal that must be submitted to initialize a new denom\n\n`update-minting-ratio` is a governance proposal that updates the minting ratio for a denom\n\n`update-liquidation-ratio` is a governance proposal that updates the liquidation ratio for a denom\n\n`update-minting-interest-rate` is a governance proposal that updates the minting interest rate for a denom\n\n`update-savings-interest-rate` is a governance proposal that updates the savings interest rate for a denom\n\n## Development\n\n**reserve** is a blockchain module built using Cosmos SDK and Tendermint and created with [Ignite](https://github.com/ignite/cli).\n\nNote: in order to regenerate proto files, install Ignite CLI v0.23.0 (do not use a later version until we update past SDK v0.45), `go mod tidy`, `rm -rf vendor` (you actually have to remove it for some reason), run `ignite generate proto-go`, then `go mod tidy` after that to clean up\n\n## Get started\n\n```\nignite chain serve\n```\n\n`serve` command installs dependencies, builds, initializes, and starts your blockchain in development.\n\n### Configure\n\nYour blockchain in development can be configured with `config.yml`. To learn more, see the [Starport docs](https://docs.starport.com).\n\n## Release\n\nTo release a new version of your blockchain, create and push a new tag with `v` prefix. A new draft release with the configured targets will be created.\n\n```\ngit tag v0.1\ngit push origin v0.1\n```\n\nAfter a draft release is created, make your final changes from the release page and publish it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonomyprotocol%2Freserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonomyprotocol%2Freserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonomyprotocol%2Freserve/lists"}