Code Monkey home page Code Monkey logo

JusDeFi Contracts

Transparent re-implementation of AMPLYFI.

Professionally audited by Callisto Network.

Deployments

Contract Address (mainnet) Notes
JusDeFi 0x75cdc4F6be18Dc003dC2Ae424f85D1243f0fB781 JDFI Token
JDFIStakingPool 0x7ec638eE0Ca9591D74b338FCc3aC80ed19B1E6bf JDFI/S Token
UNIV2StakingPool 0x199092dA8DE9168C6DDCA6eD83c6B72dE3B49978 JDFI-WETH-UNI-V2/S Token
FeePool 0x4a04BB4C3e9Bb8295d1D71e5e4c591b29AC79A1D
UniswapV2Pair 0xaA53Df90b6ce10FEd75D76415Db10ccd35A599D2 Uniswap Pair / UNI-V2 Token
AirdropToken 0x1F89ABfc1A80EAe67b8036a49204823e8861eAF6 JDFI/A Token

Development

Install dependencies via Yarn:

yarn install

Compile contracts via Hardhat:

yarn run hardhat compile

Networks

By default, Hardhat uses the Hardhat Network in-process.

To use an external network via URL, set the URL environment variable and append commands with --network generic:

URL="[NODE_URL]" yarn run hardhat test --network generic

Testing

To test the contracts via Hardhat, specify a URL from which to fork the mainnet by setting the FORK_URL environment variable:

FORK_URL="[NODE_URL]" yarn run hardhat test

Activate gas usage reporting by setting the REPORT_GAS environment variable to "true":

REPORT_GAS=true yarn run hardhat test

Generate a code coverage report using solidity-coverage:

yarn run hardhat coverage

JusDeFi's Projects

airdrop-ledger icon airdrop-ledger

List of JDFI/A airdrop addresses extracted from AmplyFi deposit history on Etherscan

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.