ERC20 Staking
An Interface for your ERC20 Staking Web or Mobile App
This Object will let you create ERC20 Staking Contracts and interact with it.
Here you will be able to create APR products for your token with control over start time, end time, APR, total maximum amount per user and others.
All this functions are setup by the admin of the contract, which in this case should be a ledger address connecting to an admin portal or a a bot via an heroku machine for example
What you need for this to work
The variables existent for this contract are only 2, tokenAddress & contractAddress
tokenAddress | contractAddress (optional) |
---|---|
0xcf3c8be2e2c42331da80ef210e9b1b307c03d36a (example) | 0xcf3c8be2e2c42331da80ef210e9b1b307c03d36a (example) |
let stakingContract = app.getStakingContract({tokenAddress : /* Token Address */, contractAddress : /* optional */});
Updated almost 4 years ago