Events
The USD e-money emits events similarly to other ERC20 tokens. The below table illustrates the some of the commonly queried events that are emitted.
Type | Trigger | Event name | Function | Example transaction |
---|---|---|---|---|
Supply changes | Tokens are minted | Transfer | mint() mintSet() |
|
Tokens are burned | Transfer | burnFromWithPermit() burnFrom() burn() |
||
Fund movements | Tokens are transferred | Transfer | transfer() transferFrom() |
|
Critical admin actions | The contract is paused | Paused | pause() | |
The contract is unpaused | Unpaused | unpause() | ||
The implementation is upgraded | Upgraded | upgradeTo() upgradeToAndCall() |
N/A |