GithubHelp home page GithubHelp logo

martefranco / balanced-contracts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from balancednetwork/balanced-contracts

0.0 0.0 0.0 3.61 MB

Smart Contracts for the Balanced network on ICON

Home Page: https://balanced.network

License: MIT License

Jupyter Notebook 19.45% Python 80.55%

balanced-contracts's Introduction

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 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.

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

balanced-contracts's People

Contributors

dbrehmer avatar suyog007 avatar ajaya-man avatar gedanziger avatar simusud avatar skyvell avatar sink772 avatar goldworm avatar sdpisreddevil avatar deceivious avatar illusioncoder7 avatar cow-hs avatar kailehok avatar saroj7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.