GithubHelp home page GithubHelp logo

spaceswap / snapshot-spaces Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snapshot-labs/snapshot-spaces

1.0 1.0 1.0 3.45 MB

Home Page: https://docs.snapshot.page

License: MIT License

SCSS 98.86% CSS 1.14%

snapshot-spaces's Introduction

spaceswap

Milk2TToken

BabyMilk2

ShakeToken

Interstelar

BlenderV2

TimeLock

BlackHole

ShadowStakingV2

GravityV2

NFT

FArmingV2

####ADD()

Shake & Blender

Testing

Tests for Shake & Blender implemented with waffle and yarn. For run test's without installing yarn you can use docker as followed

Prepare docker environment

#clone git repo
git clone [email protected]:spaceswap/spaceswap.git

#change folder
cd <project_folder>

#Copy MILK2 and dependecies on ./contracts/autotest folder
cp ./contracts/MilkyWayToken.sol  ./contracts/autotest/MilkyWayToken.sol 
cp ./contracts/GovernanceContract.sol  ./contracts/autotest/GovernanceContract.sol

#run docker container with node and mapped sources
docker run -it -v $(pwd):/app node:12 bash
cd /app

Inside docker container (or local if you have node and yarn installed)

#Install dependecies
yarn

#Add external dependency
yarn add @openzeppelin/contracts -D

yarn compile

yarn test

Deploy

Shake

No constructor params any more

Blender

Please specify the following parametrs when deploying:
_milkAddress - MILK2 contract address _shakeAddress - SHAKE contract address _startFromBlock - from this block Blender will start

Frontend metrics

Max Supply - ShakeToken.MAX_TOTAL_SUPPLY()
Current Supply - ShakeToken.totalSupply()
Available to mint - ShakeToken.MAX_TOTAL_SUPPLY() - ShakeToken.totalSupply()
Total burned - ShakeToken.totalBurned()
Total minted - ShakeToken.totalMinted()
Current price - Blender.currShakePrice()
Price increment - Blender.SHAKE_PRICE_STEP()

snapshot-spaces's People

Contributors

0xpenguin avatar aisinoluhua avatar alanthecryptodev avatar alex-arpa avatar alphachief avatar bitbd83 avatar bonustrack avatar brockelmore avatar cch1985 avatar chrouzz avatar copejak avatar creedev avatar cryptoandy11 avatar daaab avatar danimesq avatar dego-team avatar dicedeployer avatar fitvbvlqxpo01tlnlo7o00hv5lp4krlbb9wo0ep avatar lastmohicans avatar meta-dreamer avatar moodysalem avatar psyduckasa avatar reaperdtme avatar sudo-owen avatar swapx-tech avatar thegostep avatar therealsakeswap avatar toozwu avatar wallbanger1 avatar willyogo avatar

Stargazers

 avatar

Watchers

 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.