Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
ERC721 NFT Staking with Infinite Rewards
copy icon
Cookbook
• version 1.0.0
Staking
NFT
ERC721
Deployable

ERC721 NFT Staking with Infinite Rewards

NFT staking contract that rewards stakers with an exact number of ERC20 tokens per day. On deployment, the owner specifies a daily reward rate, and an address that tokens will be pulled from. Neither of these can be changed. Each staked NFT receives the same number of tokens every day. The per NFT rate stays the same even when the number of staked NFTs increases/decreases. A common usecase is for blockchain-based games, where each NFT rewards a certain number of lives per day.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Cookbook

Recent Use

🍞 0x5DF1 saved
🥐 0xcF94 deployed
🥖 0x7Ddf saved
🥨 0x4897 saved
🥯 0x4DBD deployed
🥞 0xcF94 deployed
🧀 0xC9Ca downloaded
🍖 0x7CfC downloaded
🍗 0x68AB saved
🥩 0x68AB saved

Last Publish

9/29/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
available(address) :
returns the number of reward tokens available for an address
redeem() :
redeems all of a user's reward tokens.
stake(uint256) :
stakes a specific tokenID
withdraw(uint256) :
withdraws a token from the staking contract

Get Cookin'
share iconShare

copy iconNo-Code Deploy
copy iconDownload Source
copy iconnpx cookbookdev i nft-staking-with-infinite-rewards
copy icon

Bytecode

Download

Verification

Download

Recent Use

🍞 0x5DF1 saved
🥐 0xcF94 deployed
🥖 0x7Ddf saved
🥨 0x4897 saved
🥯 0x4DBD deployed
🥞 0xcF94 deployed
🧀 0xC9Ca downloaded
🍖 0x7CfC downloaded
🍗 0x68AB saved
🥩 0x68AB saved

Last Publish

9/29/2022

Solidity Compiler

0.8.15+commit.e14f2714

Version

1.0.0

Creator

Cookbook

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.