{"id":17737586,"url":"https://github.com/augmint/augmint-contracts","last_synced_at":"2025-04-30T07:49:33.753Z","repository":{"id":29062201,"uuid":"120094973","full_name":"Augmint/augmint-contracts","owner":"Augmint","description":"Augmint Solidity Contracts","archived":false,"fork":false,"pushed_at":"2023-01-13T23:03:20.000Z","size":5792,"stargazers_count":8,"open_issues_count":32,"forks_count":4,"subscribers_count":3,"default_branch":"staging","last_synced_at":"2025-04-30T07:49:32.253Z","etag":null,"topics":["cryptocurrencies","cryptocurrency","dapp","finance","money","smart-contracts","solidity","solidity-contracts"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Augmint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-03T13:46:47.000Z","updated_at":"2024-12-15T22:46:17.000Z","dependencies_parsed_at":"2023-01-14T14:03:44.036Z","dependency_job_id":null,"html_url":"https://github.com/Augmint/augmint-contracts","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Augmint%2Faugmint-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Augmint%2Faugmint-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Augmint%2Faugmint-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Augmint%2Faugmint-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Augmint","download_url":"https://codeload.github.com/Augmint/augmint-contracts/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251666226,"owners_count":21624290,"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":["cryptocurrencies","cryptocurrency","dapp","finance","money","smart-contracts","solidity","solidity-contracts"],"created_at":"2024-10-26T01:05:06.977Z","updated_at":"2025-04-30T07:49:33.704Z","avatar_url":"https://github.com/Augmint.png","language":"JavaScript","readme":"\u003cspan style=\"display:block;text-align:center\"\u003e![Augmint](http://www.augmint.cc/android-chrome-192x192.png)\n\u003c/span\u003e\n\n# Augmint - Stable Digital Tokens - Solidity Contracts\n\n[![Build Status](https://travis-ci.org/Augmint/augmint-contracts.svg?branch=staging)](https://travis-ci.org/Augmint/augmint-contracts)\n[![Coveralls github branch](https://img.shields.io/coveralls/github/Augmint/augmint-contracts/staging.svg)](https://coveralls.io/github/Augmint/augmint-contracts)\n[![Discord](https://img.shields.io/discord/407574313810788364.svg)](https://discord.gg/PwDmsnu)\n[![license](https://img.shields.io/github/license/Augmint/augmint-contracts.svg)](https://github.com/Augmint/augmint-contracts/blob/master/LICENSE)\n\nDecentralised stable cryptocurrency on Ethereum\n\n## Concept\n\nDecentralized stablecoins targeted to fiat currencies built on Ethereum.\n\nThe first Augmint token is AEUR.\n\n**1 AEUR ≈ 1 EUR.**\n\n-   Buy and sell AEUR for ETH or EUR.\n-   Get a loan in AEUR by depositing ETH.\n-   Lock AEUR to earn a premium.\n\nTry it: **[https://www.augmint.org](http://www.augmint.org)**\n\n**[Manifesto](https://www.augmint.org/manifesto)**\n\n**[White Paper](http://bit.ly/augmint-wp)**\n\n### Related repos\n\n-   [Web frontend](https://github.com/Augmint/augmint-web)\n-   [@augmint/js library](https://github.com/Augmint/augmint-js)\n\n## Flow diagrams\n\n-   [Loan flow](docs/loanFlow.png)\n-   [Lock flow](docs/lockFlow.png)\n-   [Exchange flow](docs/exchangeFlow.png)\n-   [Flow of funds](https://docs.google.com/document/d/1IQwGEsImpAv2Nlz5IgU_iCJkEqlM2VUHf5SFkcvb80A/#heading=h.jsbfubuh6okn)\n\n## Solidity Contracts\n\n### Dependencies\n\n[![Contract dependency graph](docs/contractDependencies.png)](docs/contractDependencies.png)\n\n### List of contracts\n\n-   [Restricted.sol](./contracts/generic/Restricted.sol)  \n    Stores permissions per address\n-   [MultiSig.sol](./contracts/generic/MultiSig.sol)  \n    Abstract contract to manage multi signature approval and execution of atomic, one-off contract scripts\n-   [StabilityBoardProxy.sol](./contracts/generic/StabilityBoardProxy.sol)  \n    Augmint parameters can be set only via this contract with a quorum approving a contract script to run.\n-   [ERC20.sol](./contracts/generic/ERC20.sol)  \n    Standard [ERC20](https://theethereum.wiki/w/index.php/ERC20_Token_Standard) token interface.\n-   [SystemAccount.sol](./contracts/generic/ERC20.sol)\n    Abstract contract to maintain balances of Augmint system accounts\n-   [AugmintReserves](./contracts/AugmintReserves.sol)\n    -   Holds Augmint's ETH and token reserves\n-   [InterestEarnedAccount](./contracts/InterestEarnedAccount.sol)\n    -   Holds interest earning from token lending - only from repaid loans, i.e. already \"earned\"\n    -   Provides interest for Locks\n-   [FeeAccount.sol](./contracts/FeeAccount.sol)\n    -   holds all fees: tokens from transfer and exchange fees (to be implemented) + ETH fees from defaulting fees\n    -   calculates transferFees\n-   [AugmintToken.sol](./contracts/generic/AugmintToken.sol)  \n    Base contract for all Augmint tokens, [TokenAEur.sol](./contracts/TokenAEur.sol) being the first implementation.\n    -   ERC20 standard functions\n    -   maintains account token balances\n    -   Generic `transferAndNotify` \"convenience\" function\n    -   allows MonetarySupervisor to issue tokens on loan disbursement and for reserve\n    -   allows accounts to burn their tokens (used by repay loan and burn from reserves via MonetarySupervisor contract)\n-   [MonetarySupervisor.sol](./contracts/MonetarySupervisor.sol)\n    -   maintains system wide KPIs (totalLockAmount, totalLoanAmount)\n    -   enforces system wide limits (Loan to Deposit ratio limits)\n    -   issue to \u0026 from reserve functions\n-   [TokenAEur.sol](./contracts/TokenAEur.sol)\n    -   First AugmintToken contract instance, pegged for pegged to EUR (A-EUR aka Augmint Euro aka A€ )\n    -   Sets standard token parameters (name, symbol, decimals, peggedSymbol etc.)\n-   [Rates.sol](./contracts/Rates.sol)  \n    A contract to return fiat/ETH exchange rates.\n-   [Exchange.sol](./contracts/Exchange.sol)  \n    EUR / ETH exchange contract. Sell or buy A-EUR for ETH\n-   [LoanManager.sol](./contracts/LoanManager.sol)\n    -   Loan products and their parameters\n    -   Maintains all loans via new loan, repayment, collection functions\n    -   Holds collateral in escrow\n-   [Locker.sol](./contracts/Lock.sol)\n    -   Lock products and parameters\n    -   Token funds locking and releasing\n    -   Holds locked tokens (with interest)\n\n## Contributions\n\nAugmint is an open and transparent project.\n\nWe are looking for great minds to extend our core team. Contributions in any area is much appreciated: development, testing, UX\u0026UI design, legal, marketing, spreading the word etc.\n\n[Code of Conduct](CODE_OF_CONDUCT.md)\n\n## [Development environment setup](docs/developmentEnvironment.md)\n\n## Get in touch\n\n-   [hello@augmint.org](mailto:hello@augmint.org)\n-   [Discord server](https://discord.gg/PwDmsnu) [![Discord](https://img.shields.io/discord/407574313810788364.svg)](https://discord.gg/PwDmsnu)\n-   [Telegram](https://t.me/augmint)\n\n## Authors\n\nSee team on [www.augmint.org](https://www.augmint.org)\n\n\u003cimg src=\"https://github.com/Augmint/augmint-web/raw/staging/src/assets/images/decentlabs.png\" alt=\"Decentlabs\" width=\"60\" height=\"60\"\u003e The project was born at [DECENT Labs](http://www.decent.org)\n\n### Concept, initial version\n\n-   [szerintedmi](https://github.com/szerintedmi)\n-   [Charlie](https://github.com/krosza)\n\n## Licence\n\nThis project is licensed under the GNU Affero General Public License v3.0 license - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugmint%2Faugmint-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugmint%2Faugmint-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugmint%2Faugmint-contracts/lists"}