The success of ERC-20 standard tokens and their associated utility are undeniable in the Ethereum ecosystem. However, on a protocol level, the functionality of these tokens remains quite limited due to lack of abstraction within their "approve" method.
Simply put, users have to hold ETH on their balance to be able to interact with any smart contract on Ethereum. ETH is required to pay gas costs while sending an additional transaction aka approval - a permission to a specific smart contract to spend your token.
This issue was addressed in the EIP-2612 and the solution comes in the elegant form of "permit" method added to the token structure.
Permits allow anyone to authorize and swap a token in one simple transaction.
The 1inch network user interface supports permit function on these tokens.
You can also check if a specific token supports this method by reviewing its contract on the block explorer:
From the user experience perspective, this innovation replaces an approval transaction (for the cases when an approval wasn't granted previously) with signing of a piece of data inside your wallet. It eliminates the need to pay additional gas fees and creates a much smoother swap experience.
Here is how the permit parameter works on 1inch:
Go to https://app.1inch.io/;
Set a pair of tokens you want to trade;
If the "You Pay" token supports the permit method, and you haven't given an allowance to the 1inch smart contract, you will see the option "permit and swap" on the UI; hit the button;
4. Sign the data inside your wallet application;
5. After signing, the permit will be valid for 30 min - the period given to a user to execute a swap, so proceed with the swap;
How to adjust permit parameters
To adjust permit parameters, click the settings icon in the swap window, then the "Sign Permit" option.
On the next screen, there are 3 options for permits that can be selected:
Isn't this fantastic!?
The following tokens can now be swapped on 1inch without having to submit a full approval:
avWETH, avDAI, avUSDT, avUSDC, avAAVE, avWBTC, avWAVAX, PNG, YTS, SHERPA, BNB, YAK, QI, ELK, TIME, SPELL, AMPL, BOOFI, FXS, OH, SB, CRA, JEWEL, gOHM, CLY, PTP, SYN, BOO, ICE, PENDLE, MAGE, TSD, MIM, AVAI, FRAX, agEUR, USDt, ELK
Binance Smart Chain:
VAI, 1INCH, renBTC, NMX, YVS, DFX, UBXT, bDIGG, bBADGER, FUSE, XED, xMARK, POLS, ICE, XEND, MOD, HAKKA, GTON, UNCX, RBX, FRAX, MLT, ASIA, TOWER, DERC, GAIA, REVV, GMEE, ELK, MYST
STAKE, wNXM, BAL, ALEPH, AMPL, renBTC, cETH, DAI, renZEC, renBCH, YAM, JRT, PRQ, HAKKA, UNI, AAVE, ZEE, ANT, HEZ, AUDIO, UFT, aAAVE, aBAT, aBUSD, aDAI, aENJ, aKNC, aLINK, aMANA, aMKR, aSNX, aSUSD, aTUSD, aUNI, aUSDC, aUSDT, aWBTC, aWETH, aYFI, aZRX, TORN, 1INCH, PPAY, COVER, USDFL, pBTC35A, NDX, SNOW, OPIUM, renDOGE, BMI, LON, ARCH, $TRDL, BT, VSP, RAI, PREMIA, POOL, NORD, RAD, MATTER, RULER, INV, DFX, YIELD, ODDZ, VTX, TRIBE, FEI, LUSD, MIST, PUSH, BOSON, FORTH, SWISE, ICE, MARSH, GLM, UDT, ROUTE, CTX, BANK_BANKLESS, GTC, VUSD, DEFT, DFYN, LQTY, INST, ARCX, DVF, EDEN, TMM, GEL, wCFG, wstETH, MC, ENS, PSP, RBX, GAS, TEMP, T, OOKI, agEUR, ANGLE, SIS, BBS, SYN, THOR, OHM, COW, CULT, FNC, NFP, gOHM, DATA, TIC, VISION, FOXy, ELK, MYST, HONEY, HOP, PDI
AAVE, CRV, DAI, fUSDT, GTON, ICE, LINK, SNX, SUSHI, USDC, BTC, ETH, YFI, BIFI, FRAX, MIM, KEK, WOO, FONT, SPELL, CFi, EXOD, JulD, miMATIC, HEC, SPA, JOE, FHM, TUSD, OOE, AVAX, MULTI, MATIC, HND, CREDIT, LIQR, MOD, STA, IB, LCD, TEMP, TOR, ALPACA, gfUSDT, ELK, gOHM, MIMO
Let us know what you think about this improvement in the customer support LiveChat.