With the aspiration of bringing forth unique functionality and enhancing value for holders of ERC-20 tokens, our project aims to effortlessly reward token holders without necessitating users to lock, stake, or farm their tokens. Whenever the project generates profits, these profits can be distributed to the token holders.
Revenue Sharing is an extended version of ERC-20. It proposes an additional payment method for token holders.
This standard includes updating rewards for holders and allowing token holders to withdraw rewards.
Potential use cases encompass:
Returns max token reward.
Returns the account information of another account with the address token and account, including: inReward, outReward and withdraw.
Returns the list account information of another account with the account, including: inReward, outReward and withdraw.
inReward: when user's balance decreases, inReward will be updated
outReward: when user's balance increases, outReward will be updated
withdraw: total amount of reward tokens withdrawn
Returns the list token reward address of the token.
Updates rewardPerShare of token reward. rewardPerShare = rewardPerShare + amount / totalSupply()
Returns the list amount of reward for an account
Gets and returns reward with list token reward.
Returns the reward per share of token reward.
Returns the status of token reward.
TBD
Needs discussion.
Copyright and related rights waived via CC0.