On the Celo blockchain, you can send CIP-64 transactions that will consume certain ERC20 tokens to pay for gas.
This repository contains:
- The IFeeCurrency interface, which must be implemented by tokens to be used as fee currencies, along with some explanatory comments.
- An example implementation of such a token.
- Tests to check the main requirements for a valid fee currency.
$ forge build$ forge test$ forge fmt