Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Seedifyfund/staking

Repository files navigation

Staking

Production is using 161df000273e608f84f5e8e0d1ecb24b4a01f997 hash and 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published