翻译下面代码:n--function-setHolderRewardConditionuint256-amount-external-onlyFunder-n--------holderRewardCondition-=-amount;n----
将下面的代码翻译为中文:
function setHolderRewardCondition(uint256 amount) external onlyFunder {
holderRewardCondition = amount;
}
定义一个函数 setHolderRewardCondition,该函数有一个名为 amount 的参数,类型为 uint256。该函数只能由 onlyFunder 修饰的外部调用者调用。函数的作用是将 holderRewardCondition 的值设置为传递进来的参数 amount。
原文地址: https://www.cveoy.top/t/topic/gD2 著作权归作者所有。请勿转载和采集!