We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
burn
operatorBurn
There is a discrepancy between the standard and the reference implementation regarding the burn and operatorBurn functions:
The current standard (https://github.com/ethereum/EIPs/blob/b41669ede219b9599a6a1c637e578b8a444ad6b1/EIPS/eip-777.md) says:
The data field of the tokensToSend hook MUST be empty.
But, the current reference implementation doesn't check (or enforce) the emptiness (of _holderData):
_holderData
https://github.com/jacquesd/ERC777/blob/896d077eb4b1beb0fc2258f9d4dff4b60478a479/contracts/ERC777BaseToken.sol#L202
The text was updated successfully, but these errors were encountered:
plus, the signatures for burn and operatorBurn are not updated. https://github.com/ethereum/EIPs/blame/b41669ede219b9599a6a1c637e578b8a444ad6b1/EIPS/eip-777.md#L57-L58 https://github.com/ethereum/EIPs/blame/b41669ede219b9599a6a1c637e578b8a444ad6b1/EIPS/eip-777.md#L488 https://github.com/ethereum/EIPs/blame/b41669ede219b9599a6a1c637e578b8a444ad6b1/EIPS/eip-777.md#L501
Sorry, something went wrong.
No branches or pull requests
There is a discrepancy between the standard and the reference implementation regarding the
burn
andoperatorBurn
functions:The current standard (https://github.com/ethereum/EIPs/blob/b41669ede219b9599a6a1c637e578b8a444ad6b1/EIPS/eip-777.md) says:
But, the current reference implementation doesn't check (or enforce) the emptiness (of
_holderData
):https://github.com/jacquesd/ERC777/blob/896d077eb4b1beb0fc2258f9d4dff4b60478a479/contracts/ERC777BaseToken.sol#L202
The text was updated successfully, but these errors were encountered: