慢雾:DeFi 当红项目 YAM 闪电折戟,一行代码如何蒸发数亿美元? (11)
时间:2020-08-14 18:05来源:未知 作者:admin 点击:
次
length targets . length == calldatas . length , GovernorAlpha::propose: proposal function information arity mismatch ); require ( targets . length != 0 , GovernorAlpha::propose: must provide actions )
length && targets.length == calldatas.length, "GovernorAlpha::propose: proposal function information arity mismatch"); require(targets.length != 0, "GovernorAlpha::propose: must provide actions"); require(targets.length <= proposalMaxOperations(), "GovernorAlpha::propose: too many actions"); uint256 latestProposalId = latestProposalIds[msg.sender]; if (latestProposalId != 0) { ProposalState proposersLatestProposalState = state(latestProposalId); require(proposersLatestProposalState != ProposalState.Active, "GovernorAlpha::propose: one live proposal per proposer, found an already active proposal"); require(proposersLatestProposalState != ProposalState.Pending, "GovernorAlpha::propose: one live proposal per proposer, found an already pending proposal"); } uint256 startBlock = add256(block.number, votingDelay()); uint256 endBlock = add256
(责任编辑:admin1) |
织梦二维码生成器
------分隔线----------------------------