BTC $64,948.00 +0.20%
ETH $1,839.70 +0.99%
BNB $594.23 +0.58%
XRP $0.9659 +0.75%
SOL $73.06 +1.85%
TRX $0.3060 +0.81%
DOGE $0.0592 +0.43%
ADA $0.1544 +0.39%
BCH $209.31 +0.34%
LINK $9.21 +0.28%
HYPE $70.51 +6.17%
AAVE $112.61 +3.04%
SUI $0.7278 +0.35%
XLM $0.1390 -0.40%
ZEC $927.95 +4.31%
AAPL $353.18 -1.12%
AMZN $258.54 -2.25%
GOOGL $285.08 -2.79%
MSFT $517.87 -1.02%
META $625.10 -1.46%
NVDA $158.06 -2.32%
TSLA $380.32 -1.35%
SNDK $821.33 -3.02%
INTC $55.02 -4.61%
SPCX $138.19 -0.97%
MU $726.50 -3.04%
AMD $512.73 -0.79%
BTC $64,948.00 +0.20%
ETH $1,839.70 +0.99%
BNB $594.23 +0.58%
XRP $0.9659 +0.75%
SOL $73.06 +1.85%
TRX $0.3060 +0.81%
DOGE $0.0592 +0.43%
ADA $0.1544 +0.39%
BCH $209.31 +0.34%
LINK $9.21 +0.28%
HYPE $70.51 +6.17%
AAVE $112.61 +3.04%
SUI $0.7278 +0.35%
XLM $0.1390 -0.40%
ZEC $927.95 +4.31%
AAPL $353.18 -1.12%
AMZN $258.54 -2.25%
GOOGL $285.08 -2.79%
MSFT $517.87 -1.02%
META $625.10 -1.46%
NVDA $158.06 -2.32%
TSLA $380.32 -1.35%
SNDK $821.33 -3.02%
INTC $55.02 -4.61%
SPCX $138.19 -0.97%
MU $726.50 -3.04%
AMD $512.73 -0.79%

Slow Fog Cosine: ERC404 is not yet a mature standard, and attention should be paid to the new risks brought by the new mechanism

2024-02-09 10:36:55

ChainCatcher message, Slow Mist founder Yu Xian expressed his views on the ERC404 code on social media.

Yu Xian stated: "Assuming this is a coin, with FT on one side and NFT on the other, when you trade FT, the rarity of the other side (NFT) is indiscriminately given away _owned[from].pop(). Alternatively, if the number of FT is slightly less than an integer, it will also burn an NFT. For example, if your FT is 3, corresponding to 3 NFTs, due to FT… so ERC404 also introduced a whitelist mechanism to allow some pairs/routers to not have to frequently deal with NFTs, just handle FT transactions, as the accounts are all in the contract and cannot disappear. Finally, there is the possibility of a disappearing owner; if revokeOwnership is executed, the subsequent whitelist mechanism will no longer be updated. The new mechanism will definitely bring new security risks. If a protocol does not handle the dual-sided mechanism of ERC404 properly, it could lead to unexpected consequences.

It is also important to note that ERC404 is not yet a mature standard. I casually looked at the contract codes of several projects, and there are some modifications, so this is also a possible risk, with security risks arising from differences."

链捕手ChainCatcher напоминает: относитесь к блокчейну рационально, повышайте осведомлённость о рисках и будьте осторожны с выпуском и спекуляциями виртуальными токенами. Весь контент на сайте является рыночной информацией или мнением соответствующих сторон и не является инвестиционной рекомендацией в любой форме. Если вы обнаружите чувствительную информацию, нажмите — мы оперативно разберёмся.

app_icon
ChainCatcher Building the Web3 world with innovations.