2
重複してご質問申し訳ございません。 "_"演算子は何をしますか?Ethereumからのオペレータ_;
このコードはイーサリアム契約書からです: https://ethereum.org/token#deploying
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
if (msg.sender != owner) throw;
_;
}
function transferOwnership(address newOwner) onlyOwner {
owner = newOwner;
}
}
:
あなたは、答えでは詳しい説明と例を参照することができます。 https://ethereum.stackexchange.com/questions/5861/are-underscores-in-modifiers-code-or-are-they-just-meant-to-look-cool?newreg=95181540ee304308aa071f6a2b97d87f – Dez