How to manage Ethereum Contract Interactive Authorization (ETH)

TokenPocket
3 min readDec 17, 2020

--

About Ethereum Contract Authorization:

When users interact with Ethereum smart contracts to manage token assets, the first thing to do is to approve the transaction, consider the commonly used DApp tools like Uniswap; in order to avoid repeated authorization by users (also repeated gas payments), most DApp developers would authorize the maximum number of tokens to the smart contract by default. However, such processing also obviously exposes risks. If there are loopholes or malicious code in the smart contractS, the user’s tokens will be at risk of loss, which is the potential risk that may exist after the contract is authorized.

Tool Recommendation №1: Approved

How to check and cancel authorization:

1. Open TP wallet, click on Discover page and find [Approved] in New Dapp Area, the UI looks neat.

Location 1: Day/Night Mode Switch

Location 2: Ethereum address search bar, the default one is your current Ethereum address

Location 3: Authorization List

  • The first column is the address you authorized. Since there is only address info, you need to click to see what DAPP is in the browser
  • The second column is the tokens you authorized. You can also find out the dapps you’ve authorised according to the authorized tokens.
  • The third column is the amount you authorized
  • The fourth column is Decline button which is to cancel the authorization

Location 4: This is the authorized token SFG that we want to cancel in this demonstration.

2. Click on the [Decline] button on the right side of the SFG token, and click on [confirm to pay] when the authorization page pops up. Should be noted that after the authorization is canceled, next time users need to Approve and pay for gas fee again. After complete it, the SFG token authorization record has been cancelled when we go and check the query page.

Tool Recommendation №2: TAC

How to check and cancel authorization:

  1. Open TP wallet, click on Discover page and find [TAC] in New Dapp Area, click [Check Allowances] to enter the login page. TAC’s interface adapts well to mobile devices.

2. Click Token Pocket to authorize login. After login, the system will automatically read the record of contract interaction authorization. The UI is easy to navigate. There is an address search bar on the top, you can fill in other Ethereum addresses to check the authorization, and the lower part is the retrieved history record. Click the arrow to view the details.

3. Click to view the details, where we can find the following information

  • Spender:The authorized dapp
  • Allowance:The authorized token amount
  • Last modified:The time when executed the contract interaction authorization
  • Action:For modifying authorization

After confirming the token authorization that needs to be modified, click the button under Action to enter the setting allowance page. In this page, you only need to set a new allowance amount according to actual needs (the default is 0) and then click Set allowance to set a new amount .

Follow us

Website: https://www.tokenpocket.pro/en/

Twitter: @TokenPocket_TP

Telegram: https://t.me/tokenPocket_en

--

--

TokenPocket
TokenPocket

Written by TokenPocket

Crypto&DeFi Wallet on BTC, ETH, BSC, HECO, TRON, Polkadot, Kusama, Klaytn, HSC, EOS, etc. APP download link: https://www.tokenpocket.pro/