<aside> 📜 TABLE OF CONTENTS

Smart Contract Details 💽

The XFUEL platform utilizes smart contracts to execute gasless transactions securely and efficiently. These contracts implement the PermitAndTransfer interface to facilitate off-chain signature approvals and token transfers, adhering to the EIP-2612 standard. A single deployed contract handles all token interactions and gas sponsorships.

EIP-2612 Compliance

The permit functionality is based on the EIP-2612 standard, which introduces gasless approvals for ERC20 tokens. This enables off-chain approval of token transfers, minimizing gas costs and simplifying the user experience.

https://eips.ethereum.org/EIPS/eip-2612

Required methods

function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external
function nonces(address owner) external view returns (uint)
function DOMAIN_SEPARATOR() external view returns (bytes32)