Skip to content

CypherShares is a new index protocol that offers the most comprehensive and liquid index products in crypto.

License

Notifications You must be signed in to change notification settings

DAONOW/CypherShares

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CypherShares Protocol Contract Repository

CypherShares is a new index protocol that offers the most comprehensive and liquid index products in crypto. Our initial index will be the CypherShares DeFi Index (csDEFI) and will hold at least 100 tokens of the best DeFi projects. CypherShares will use a novel Threshold Farming strategy in order to incentivise index liquidity.


Deployments

Kovan Testnet:

  • Controller: 0x2E0F1bA21146ff234B0A07E298c70490ff54ffaD

  • CSTokenCreator: 0xd268f4052E7bB0dA6724151CF20a196b8875D983

  • BasicIssuanceModule: 0x0f0eE18189FB5472226A7E54e0c7a3BB1155705D

  • NavIssuanceModule: 0xE4F09C87E5DC4e309f84729d525C681751496321

  • GovernanceModule: 0x31Dca181eF571FC86eCE79d85D311667d122F95a

  • StreamingFeeModule: 0x10974dC97962677f0d913E89ef6b93c2941B2332

  • SingleIndexModule: 0x83D850EA8592c4EFF8dbb4E4b5e419Bc999eF7F4

  • Example Index (csDEFI): 0xf9d50338Fb100B5a97e79615a8a912e10975b61c


Tooling

  • Hardhat: compile and run the smart contracts on a local development network
  • TypeChain: generate TypeScript types for smart contracts
  • Ethers: renowned Ethereum library and wallet implementation
  • Waffle: tooling for writing comprehensive smart contract tests
  • Solhint: linter
  • Solcover code coverage
  • Prettier Plugin Solidity: code formatter

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

$ yarn install

Compile

Compile the smart contracts with Hardhat:

$ yarn compile

TypeChain

Compile the smart contracts and generate TypeChain artifacts:

$ yarn build

Lint Solidity

Lint the Solidity code:

$ yarn lint:sol

Lint TypeScript

Lint the TypeScript code:

$ yarn lint:ts

Test

Run the Mocha tests:

$ yarn test

Coverage

Generate the code coverage report:

$ yarn coverage

Clean

Delete the smart contract artifacts, the coverage reports and the Hardhat cache:

$ yarn clean

About

CypherShares is a new index protocol that offers the most comprehensive and liquid index products in crypto.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 50.8%
  • TypeScript 49.0%
  • Other 0.2%