Skip to content

Commit

Permalink
Update DiscreteERC20.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
10d9e committed May 14, 2024
1 parent bb87e59 commit e464906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/examples/DiscreteERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ contract DiscreteERC20 {

/// @notice An event emitted in response to a balance request
/// @param account Address whose balance was requested
/// @param balance The balance of the account (unencrypted for event)
/// @param balance The balance of the account, encrypted under the corresponding public key
event ResponseBalance(address indexed account, Secp256k1Ciphertext balance);

/// @dev The total supply of tokens, encrypted
Expand Down Expand Up @@ -88,7 +88,7 @@ contract DiscreteERC20 {

/// @notice Emits an event with the response balance for a specified address
/// @param target The address whose balance is being reported
/// @param balance The balance of the specified address
/// @param balance The balance of the specified address, encrypted under their public key
function responseBalance(address target, Secp256k1Ciphertext calldata balance) external {
emit ResponseBalance(target, balance);
}
Expand Down

0 comments on commit e464906

Please sign in to comment.