UNPKG

@ohgeez/fsushi

Version:

fSUSHI is a protocol built on top of [FlashStake](http://flashstake.io/) and [SushiSwap](https://sushi.com) that enables stakers to get instant, upfront yield without waiting for it to accrue.

92 lines (91 loc) 1.89 kB
[ { "inputs": [ { "internalType": "address", "name": "_strategyAddress", "type": "address" }, { "internalType": "uint256", "name": "_tokenAmount", "type": "uint256" }, { "internalType": "uint256", "name": "_stakeDuration", "type": "uint256" }, { "internalType": "address", "name": "_fTokensTo", "type": "address" }, { "internalType": "bool", "name": "_issueNFT", "type": "bool" } ], "name": "stake", "outputs": [ { "internalType": "address", "name": "stakerAddress", "type": "address" }, { "internalType": "address", "name": "strategyAddress", "type": "address" }, { "internalType": "uint256", "name": "stakeStartTs", "type": "uint256" }, { "internalType": "uint256", "name": "stakeDuration", "type": "uint256" }, { "internalType": "uint256", "name": "stakedAmount", "type": "uint256" }, { "internalType": "bool", "name": "active", "type": "bool" }, { "internalType": "uint256", "name": "nftId", "type": "uint256" }, { "internalType": "uint256", "name": "fTokensToUser", "type": "uint256" }, { "internalType": "uint256", "name": "fTokensFee", "type": "uint256" }, { "internalType": "uint256", "name": "totalFTokenBurned", "type": "uint256" }, { "internalType": "uint256", "name": "totalStakedWithdrawn", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ]