...励 3:现阶段是部署在ETH下,但是后续会部署在其他ERC20的链上(自己发的链和币),给矿工结算奖励的时候应该如何结算,现有合约代码需要做什么改变 4:因为头一次写挖矿合约,所以未引入其他的合约,是否需要引入...
...essage); return a % b; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** ...
...m/solidity/issues/2691 return msg.data; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool...