Skip to content

Commit

Permalink
Agent: fix radspec for execute with value (aragon#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai authored Nov 15, 2019
1 parent 0994a8c commit 6da74a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/agent/contracts/Agent.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ contract Agent is IERC165, ERC1271Bytes, IForwarder, IsContract, Vault {
event SetDesignatedSigner(address indexed sender, address indexed oldSigner, address indexed newSigner);

/**
* @notice Execute '`@radspec(_target, _data)`' on `_target``_ethValue == 0 ? '' : ' (Sending' + @tokenAmount(0x0000000000000000000000000000000000000000, _ethValue) + ')'`
* @notice Execute '`@radspec(_target, _data)`' on `_target``_ethValue == 0 ? '' : ' (Sending ' + @tokenAmount(0x0000000000000000000000000000000000000000, _ethValue) + ')'`
* @param _target Address where the action is being executed
* @param _ethValue Amount of ETH from the contract that is sent with the action
* @param _data Calldata for the action
Expand Down Expand Up @@ -86,7 +86,7 @@ contract Agent is IERC165, ERC1271Bytes, IForwarder, IsContract, Vault {
}

/**
* @notice Execute '`@radspec(_target, _data)`' on `_target` ensuring that protected tokens can't be spent
* @notice Execute '`@radspec(_target, _data)`' on `_target`, ensuring that protected tokens can't be spent
* @param _target Address where the action is being executed
* @param _data Calldata for the action
* @return Exits call frame forwarding the return data of the executed call (either error or success data)
Expand Down

0 comments on commit 6da74a8

Please sign in to comment.