Git Product home page Git Product logo

sfund-staking's Introduction

Staking

Both main and zok-prelim-report have been deployed on BSC mainnet:

  • Old contracts are using zok-prelim-report from hash 89559ba688d6ec6c19da04e3b600a84ffa2663a9 (solidity 0.8.9)
  • New contracts are using main from hash 161df000273e608f84f5e8e0d1ecb24b4a01f997 (solidity 0.5.16) - this should be the audited hash according to @awaitFix

Configuration

Doc from agency, says:

staking-APY-lock_duration

Deployment

To run deployment script, see comments in each deployment script: ./scripts/*.ts.

Mainnet

Roundup staking APRs and rate will be used for Ethereum and Arbitrum mainnets:

days-APR-rate

Mainnet Addresses

SFUND on both Ethereum & Arbitrum at: 0x560363BdA52BC6A44CA6C8c9B4a5FadbDa32fa60

Ethereum Network

Arbitrum Network

Testnet

Specific Configuration

  • 100% targeted APY for all contracts
  • Calculating hours, expressed in days (contract is not supporting less than days and solidity does not support decimals):
    • 1h = (1 day /24 hours) = 0.04166666667
    • 6h = (1 day /24 hours) * 6 = 0.25
    • etc...

Use hours instead of days for testing purposes:

  • 30 days becomes 1h:
    • rate = 1 = (100 _ ( (1/24) _ 1) / 365) * 100 (should have been 1.1415525114 if decimals were managed correctly in the contract)
    • lockDuration = 1
  • 90 days becomes 3h:
    • rate = 3 (should have been 3.4246575342 if decimals were managed correctly in the contract)
    • lockDuration = 3
  • 180 days becomes 6h:
    • rate = 7 (should have been 6.8493150685 if decimals were managed correctly in the contract)
    • lockDuration = 6
  • 270 days becomes 9h:
    • rate = 10 (should have been 10.2739726027 if decimals were managed correctly in the contract)
    • lockDuration = 9

Testnet Addresses

BSC Testnet

Ethereum Sepolia

Arbitrum Goerli

Testnet Token: Unlimited and Public Minting

sfund-staking's People

Contributors

theo6890 avatar chaitanyakreddy avatar

Stargazers

 avatar  avatar  avatar Nooneoneno avatar  avatar  avatar  avatar Sagar Behara avatar

Watchers

user409 avatar Just Nev avatar  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.