Coder Social home page Coder Social logo

Comments (2)

TripleSpeeder avatar TripleSpeeder commented on June 21, 2024

Hey, thank you for your feedback! The message you are seeing is actually quite misleading. What happens is the following:

  1. TAC calls "approve" on the ERC20 token contract to change the approved amount for an existing spender address.
  2. Metamask detects the "approve" call in the transaction and displays it's standard warning message, which is really useful for the normal usecase, but really confusing for the TAC usecase :-/

So in reality there is no approval done for TAC. Rather you are changing the approval for some other site. The problem is that Metamask can not know who is the owner of the spender address that TAC is changing the approval for, so they assume that the spender address belongs to the current website.

This question keeps coming up recently, so i raised an issue with Metamask to see if there is a way to improve the message, as it is really confusing. You can follow the issue at MetaMask/metamask-extension#9721.

I will also add a clarification to TAC why you see this warning. I fully agree with you that it sounds frightening.

from token-allowance-checker.

tennox avatar tennox commented on June 21, 2024

More specific MetaMask issue:
MetaMask/metamask-extension#11125

from token-allowance-checker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.