...r, _amount);
return _amount;
}
// Calculate and mint the amount of superToken the stakeToken is worth. The ratio will change overtime, as superToken is burned/minted and stakeToken deposited + gained from fees / withdrawn.
else {
uint256 what = _a...
...n "setValue". Two or more base classes define functions with the same name and parameter types`
意思是:因为父合约定义具有相同名称和参数类型的函数,派生合约必须重写([override](https://learnblockchain.cn/docs/solidity/contracts.html#overriding))函数“setVal...
...enId, address indexed user, uint64 expires);
/// @notice set the user and expires of an NFT
/// @dev The zero address indicates there is no user
/// Throws if `tokenId` is not valid NFT
/// @param user The new user of the NFT
/// @param expires UNIX timestamp, The new user...