問題文
A payroll tool sends out transfers on a public network through a contract following the common interface for fungible tokens (EIP-20). Two of its runs end oddly. In the first run the tool asks for a sum larger than the holding of the account it pays from. In the second run a clerk leaves the amount field blank, so the tool asks for zero. Its author reads the published interface to settle what each run did. What comes of the first run, and what comes of the second run?
選択肢
- What comes of a call that asks beyond the holding is that nothing at all changes hands, and what comes of a call for zero is that the ledger treats it as a normal transfer.
- What comes of a call that asks beyond the holding is that whatever lies there changes hands, and what comes of a call for zero is that the ledger rejects it as a pointless transfer.
- What comes of a call that asks beyond the holding is that nothing at all changes hands, and what comes of a call for zero is that the ledger rejects it as a pointless transfer.
- What comes of a call that asks beyond the holding is that whatever lies there changes hands, and what comes of a call for zero is that the ledger treats it as a normal transfer.