Skip to content

Commit

Permalink
Merge pull request #52 from ewasm/halt
Browse files Browse the repository at this point in the history
EEI: clarify return and selfdestruct
  • Loading branch information
axic committed Oct 9, 2016
2 parents 546ec02 + 02fad14 commit e79eeef
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions eth_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ account with non-empty associated code.

## return

Halt execution returning output data.
Set the returning output data for the execution.

*Note*: multiple invocations will overwrite the previous data.

**Parameters**

Expand All @@ -390,8 +392,12 @@ Halt execution returning output data.

## selfDestruct

Halt execution and register account for later deletion giving the remaining
balance to an address path
Mark account for later deletion and give the remaining balance to the specified
beneficiary address. This takes effect once the contract execution terminates.

*Note*: multiple invocations will overwrite the benficiary address.

*Note*: the contract **shall** halt execution after this call.

**Parameters**

Expand Down

0 comments on commit e79eeef

Please sign in to comment.