A standard interface for tokens that support chargebacks, theft prevention, and lost & found resolutions.
The following standard allows for the implementation of a standard API for tokens extending ERC-20 or ERC-791. This standard provides basic functionality to recover stolen or lost accounts, as well as provide for the chargeback of tokens.
To mitigate the effects of reasonably provable token or asset loss or theft and to help resolve other conflicts. Ethereum's protocol should not be modified because of loss, theft, or conflicts, but it is possible to solve these problems in the smart contract layer.
Reports the lostAccount address as being lost. MUST trigger the AccountClaimedLost event.
After the time configured in getLostAccountRecoveryTimeInMinutes the implementer MUST provide a mechanism for determining the correct owner of the tokens held and moving the tokens to a new account.
Account recoveries must trigger the AccountRecovered event.
Reports the msg.sender's account as being not being lost. MUST trigger the AccountClaimedLostCanceled event.
MUST fail if an account recovery process has already begun.
Otherwise, this method MUST stop a dispute from being started to recover funds.
Reports the current address as being stolen. MUST trigger the AccountFrozen event.
Successful calls MUST result in the msg.sender's tokens being frozen.
The implementer MUST provide a mechanism for determining the correct owner of the tokens held and moving the tokens to a new account.
Account recoveries must trigger the AccountRecovered event.
Requests a reversal of transfer on behalf of msg.sender.
The implementer MUST provide a mechanism for determining the correct owner of the tokens disputed and moving the tokens to the correct account.
MUST comply with sender's chargeback window as value configured by setPendingTransferTimeInMinutes.
Get the time an account has to chargeback a transfer.
Sets the time msg.sender's account has to chargeback a transfer.
MUST NOT change the time if the account has any pending transfers.
Get the time account has to wait before a lost account dispute can start.
Sets the time msg.sender's account has to sit before a lost account dispute can start.
MUST NOT change the time if the account has open disputes.
The recovery of an account that was lost or stolen.
An account claimed as being lost.
An account claimed as being lost.
A record of a transfer pending.
A record of a chargeback being requested.
A record of a transfer being reversed.
A record of an account being frozen. MUST trigger when an account is frozen.
Pending.
Copyright and related rights waived via CC0.