GithubHelp home page GithubHelp logo

spaceswap / spaceswap Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 21.0 1.64 MB

License: GNU General Public License v3.0

JavaScript 0.22% Solidity 14.93% Shell 0.01% TypeScript 0.80% Python 0.01% HTML 84.04%

spaceswap'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()

spaceswap's People

Contributors

i9616271555 avatar lastmohicans avatar maxsiz avatar pillardevelopment avatar

Stargazers

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

Watchers

 avatar  avatar

spaceswap's Issues

A security vulnerability submission

Hello, I found a conditional competition vulnerability. I want to know how to submit vulnerability details and vulnerability reward rules. You can contact me through TG(@RedTeamPing).

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.