フリー問題

Blockchain Fundamentals Certificate のフリー問題 11 / 20 問目

問題文

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?

選択肢

  1. 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.
  2. 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.
  3. 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.
  4. 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.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。