balancednetwork
balanced-contracts
Python

Smart Contracts for the Balanced network on ICON

Last updated Nov 14, 2023
10
Stars
5
Forks
0
Issues
0
Stars/day
Attention Score
4
Language breakdown
Python 80.6%
Jupyter Notebook 19.4%
Files click to expand
README

Balanced Smart Contracts

This is a repository holding the smart contracts layer of the balanced project. To deploy locally, we recommend setting up an instance of T-Bears.

Oracles and price data for the synthetic assets are provided by BAND.

In development, a day can be configured by the USECONDSDAY param in each SCORE's constants file (consts.py). Dividing this by 24 makes daily actions occur every hour to speed testing.

The repository structure is:

  • core_contracts - This folder holds all of the core smart contracts deployed for use in Balanced. It contains:
- daofund - Contract receiving Balanced tokens with use voted on by the DAO - dex - AMM Decentralized exchange with separate sICX/ICX queue instrument for trading minted assets - dividends - Contract used to pay out dividends to BALN token holders - governance - Used to vote on and perform DAO actions, as well as setting contract configuration variables - loans - Used to mint synthetic assets, collateralized by sICX - oracle - a dummy replacement for a BAND oracle, for use in development - reserve - reserve funds for risk situations - rewards - gives BALN tokens to addresses that earn them in platform actions - staking - manages SICX
  • token_contracts - This folder holds all of the tokens used in the balanced protocol
- baln - balanced token, used in platform governance and claiming dividends. Can be earned by contributing to or using balanced - bnUSD - Synthetic US Dollar, based on the band oracle price. Can be minted by locking up collateral (sICX) - bwt - Balanced worker token, given to core contributers as pay and earns a part of the inflation - sicx - staked ICX token, allows users to transact a staked token. Staking contract will allow choice of prep voted for in an update

© 2026 GitRepoTrend · balancednetwork/balanced-contracts · Updated daily from GitHub