GithubHelp home page GithubHelp logo

cvault-finance / core-v1 Goto Github PK

View Code? Open in Web Editor NEW
33.0 9.0 59.0 1.2 MB

CORE smart contracts v1

License: Do What The F*ck You Want To Public License

Solidity 77.98% JavaScript 21.12% Shell 0.23% HTML 0.44% CSS 0.24%

core-v1's Introduction

How to build

Here to fork CORE? I wish you the best of luck. Please add build steps in your fork and open a PR. It's the least you can do, right?

Introducing CORE

CORE is a non-inflationary cryptocurrency that is designed to execute profit-generating strategies autonomously with a completely decentralized approach. In existing autonomous strategy-executing platforms a team or single developer is solely responsible for determining how locked funds are used to generate ROI. This is hazardous to the health of the fund as it grows, as it creates flawed incentives, and invites mistakes to be made. CORE does away with this dynamic and instead opts for one with decentralized governance.

CORE tokens holders will be able to provide strategy contracts and vote on what goes live and when, in order to decentralize autonomous strategy execution. 5% of all profits generated from these strategies are used to auto market-buy the CORE token.

Live Contracts

NEW

CoreDEX:

DELTA:

LGE III (Part 2):

FannyVault Proxy:

LGE III:

CORE v2:

COREv1Router:

CORE Contracts:

Governance Contracts:

Ecosystem Contracts:

Initial Distribution

The CORE team is kickstarting the initial distribution with a liquidity event. Contribute ETH to the CORE Fair Launch smart contract to receive tokens, and the contributed ETH will be matched and added to the Uniswap liquidity pool. Note that once added, liquidity tokens can not be removed from the CORE Uniswap LP pools. This is by design. Read on to learn about why..

Deflationary Farming

Farming tokens have a problem for their owners. To keep users farming, they have to mint more ever more coins. This completely destroys the value of the underlying token, due to excessive inflation. It's easy to find examples of this across the DeFi ecosystem.

Our solution is called deflationary farming, and it is quite simple in only two steps:

  1. Charge a fee on token transfers
  2. Users can earn the fee by farming

This simple process means that those holding tokens are able to farm without infinite inflation.

Keeping Liquidity Liquid

All transfers have to be approved by the CORE Transfers smart contract, which will block all liquidity withdrawals from Uniswap. This will guarantee a stable market, giving holders and farmers skin in the game.

Real Governance

CORE is designed for great community governance. The communtiy decides everything, from developer fees, to deciding on the fee approver contract, adding new pools, rebalancing, and even disabling pools in the CORE Transfer contract.

If the holders decide COREVault should have a YFI pool, we can set the ratio of fees it will be able to distribute, as well as when people should be able to withdraw YFI tokens from it.

This creates an incentive to hold even more CORE by the holders of YFI tokens. Let the governance begin.

10000 CORE Forever

Theres absolutely no way to create new CORE tokens. This means the circulating supply can only ever go down, period.

Testing

To run the tests run npx buidler test

core-v1's People

Contributors

0xrevert avatar x3devships avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

core-v1's Issues

Core LPs to coreDAO vouchers update

Wallet updates:

  • Add a note that LPs have migrated to coreDAO vouchers and link to medium article

  • Disable staking for old core LPs - this has resulted in lots of unnecessary failed txns already

  • coreDAO should be completely separate from core LPs in both Summary and Farm. Instead of having to add two separate sections, I recommend changing all section titles from current format (i.e. CORE/WETH (LP)) to coreDAO ETH LP or whatever you are calling it now. Then, under each section, where it says Total/Wallet/Staked, add another line that says Unwrapped and display unstaked coreLP balance there (in the future link to wrapping tutorial)
    image

  • Fix APY under Farm (currently at 0%)

Main website background

  • Fix background text with totals on tvl and tvpl until data is updated

Router

  • since new LPs cannot automatically be staked and have to be manually wrapped, either update the code so that coreDAO LPs are minted instead of core LPs, OR disable this feature until coreDAO zap is built.

trying to get CORE-v1 to deploy with truffle

trying to get CORE-v1 to deploy with truffle. Compiling works, but trying to deploy to localnet gets me

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.

bash-5.0$ truffle migrate --network=development
Warning: Both truffle-config.js and truffle.js were found. Using truffle-config.js.

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.

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.