Decentral Bank Fixes Bug that Let One User Mint 10 Trillion $USN for just $10

DAO Decentral Bank, which issues NEAR's native stablecoin $USN, has fixed a smart contract bug that briefly caused about 10 trillion $USN tokens to be minted. The team has burned the tokens and plans to reward the affected user with a bug bounty. It is reported that when a user converts $USN to $USDT via Decentral Bank, if there is no $USDT in their wallet it causes the transaction to fail and also causes the number of refunds to expand by a factor of 1 trillion due to a counting error when the contract is refunded. A user exchanging 5 $USN for $USDT caused the contract to refund nearly 10 trillion $USN after two attempts due to a vulnerability. Decentral bank has now deployed a fix.
Source

Near

Stablecoins

Security Incidents

DeFi

In This Article

Related News
Daily Market Wrap | Jan. 29 Daily Market Wrap | Jan. 29
Daily Market Wrap | Jan. 27 Daily Market Wrap | Jan. 27
Daily Market Wrap | Jan. 26 Daily Market Wrap | Jan. 26
Daily Market Wrap | Jan. 16 Daily Market Wrap | Jan. 16
Daily Market Wrap | Jan. 15 Daily Market Wrap | Jan. 15
Latest News More More
36 Minutes Ago Daily Market Wrap | Feb. 06
1 Day Ago Daily Market Wrap | Feb. 05
1 Day Ago Daily Market Wrap | Feb. 04
2 Days Ago Daily Market Wrap | Feb. 03
3 Days Ago Daily Market Wrap | Feb. 02
delate
Use TokenInsight App All Crypto Insights Are In Your Hands
Open