Skip to content

Commit

Permalink
Update EIP-6909: Update Transfer Event To Log Caller
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
jtriley2p authored Sep 24, 2023
1 parent ebcaa3c commit 4670d27
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions EIPS/eip-6909.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ MUST return True.

#### `Transfer`

The `sender` has transferred an `amount` of a token `id` to a `receiver`.
The `caller` initiates a transfer of an `amount` of a token `id` from a `sender` to a `receiver`.

MUST be logged when an `amount` of a token `id` is transferred from one account to another.

Expand All @@ -259,14 +259,17 @@ SHOULD be logged with the `receiver` address as the zero address when an `amount
type: event
inputs:
- name: caller
indexed: true
type: address
- name: sender
indexed: true
type: address
- name: receiver
indexed: true
type: address
- name: id
indexed: true
indexed: false
type: uint256
- name: amount
indexed: false
Expand Down Expand Up @@ -479,7 +482,7 @@ contract ERC6909 {
/// @param receiver The address of the receiver.
/// @param id The id of the token.
/// @param amount The amount of the token.
event Transfer(address indexed sender, address indexed receiver, uint256 indexed id, uint256 amount);
event Transfer(address indexed caller, address indexed sender, address indexed receiver, uint256 id, uint256 amount);
/// @notice The event emitted when an operator is set.
/// @param owner The address of the owner.
Expand Down

0 comments on commit 4670d27

Please sign in to comment.