Skip to content

mul1sh/CORE-v1

 
 

Repository files navigation

How to build and test the contracts

To build and test the contracts, please do the following,

  1. Make sure you have node.js and yarn installed in your system.
  2. Then install truffle globally in your system via the command yarn global add truffle.
  3. Navigate to the root of this project and install the required node dependencies through the command yarn install
  4. Replace the infuraKey variable in truffle-config.js with your own infura key.
  5. Finally, connect a ledger wallet via usb and fund the ethereum account associated with the device with some test kovan ETH and then run the command
 yarn build && yarn deploy && truffle test --network kovan

to compile & deploy the contracts to kovan and also run the tests to verify its functionality.

Run the UI

The UI is already built and connected to the live contracts on the mainnet.

So to run it locally, simply deploy a static python server via the command python -m SimpleHTTPServer and then navigaete to http://localhost:8000/ to interact with it.

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

About

CORE smart contracts v1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 77.3%
  • JavaScript 20.9%
  • HTML 1.4%
  • Other 0.4%