A basic example of an ERC20 token implementation with staking functionality based on the SNX staking contract