{"id":27066031,"url":"https://github.com/balancednetwork/balanced-contracts","last_synced_at":"2025-04-05T18:34:46.720Z","repository":{"id":39987190,"uuid":"293671655","full_name":"balancednetwork/balanced-contracts","owner":"balancednetwork","description":"Smart Contracts for the Balanced network on ICON","archived":false,"fork":false,"pushed_at":"2022-03-04T09:47:45.000Z","size":3960,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":8,"default_branch":"development","last_synced_at":"2024-04-23T19:15:46.622Z","etag":null,"topics":["blockchain","defi","dex","icon-project","synthetic-assets"],"latest_commit_sha":null,"homepage":"https://balanced.network","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/balancednetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-08T01:40:09.000Z","updated_at":"2023-11-14T21:20:00.000Z","dependencies_parsed_at":"2022-07-16T13:30:31.125Z","dependency_job_id":null,"html_url":"https://github.com/balancednetwork/balanced-contracts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancednetwork%2Fbalanced-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancednetwork%2Fbalanced-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancednetwork%2Fbalanced-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balancednetwork%2Fbalanced-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balancednetwork","download_url":"https://codeload.github.com/balancednetwork/balanced-contracts/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247384927,"owners_count":20930557,"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":["blockchain","defi","dex","icon-project","synthetic-assets"],"created_at":"2025-04-05T18:34:46.056Z","updated_at":"2025-04-05T18:34:46.698Z","avatar_url":"https://github.com/balancednetwork.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Balanced Smart Contracts\n\nThis is a repository holding the smart contracts layer of the balanced project. To deploy locally, we recommend setting up an instance of [T-Bears](https://www.icondev.io/docs/tbears-overview).\n\nOracles and price data for the synthetic assets are provided by [BAND](https://bandprotocol.com/).\n\nIn development, a day can be configured by the U_SECONDS_DAY param in each SCORE's constants file (consts.py). Dividing this by 24 makes daily actions occur every hour to speed testing.\n\nThe repository structure is:\n\n- `core_contracts` - This folder holds all of the core smart contracts deployed for use in Balanced. It contains: \n  - `daofund` - Contract receiving Balanced tokens with use voted on by the DAO\n  - `dex` - AMM Decentralized exchange with separate sICX/ICX queue instrument for trading minted assets\n  - `dividends` - Contract used to pay out dividends to BALN token holders\n  - `governance` - Used to vote on and perform DAO actions, as well as setting contract configuration variables\n  - `loans` - Used to mint synthetic assets, collateralized by `sICX`\n  - `oracle` - a dummy replacement for a BAND oracle, for use in development\n  - `reserve` - reserve funds for risk situations\n  - `rewards` - gives BALN tokens to addresses that earn them in platform actions\n  - `staking` - manages SICX\n- `token_contracts` - This folder holds all of the tokens used in the balanced protocol\n  - `baln` - balanced token, used in platform governance and claiming dividends. Can be earned by contributing to or using balanced\n  - `bnUSD` - Synthetic US Dollar, based on the band oracle price. Can be minted by locking up collateral (sICX)\n  - `bwt` - Balanced worker token, given to core contributers as pay and earns a part of the inflation\n  - `sicx` - staked ICX token, allows users to transact a staked token. Staking contract will allow choice of prep voted for in an update\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalancednetwork%2Fbalanced-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalancednetwork%2Fbalanced-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalancednetwork%2Fbalanced-contracts/lists"}