Example test to show the usage of permit function of an ERC20Permit token.
-
Updated
May 21, 2023 - Solidity
Example test to show the usage of permit function of an ERC20Permit token.
The contract leverages the EIP-712 standard for structured data hashing and signing
This is a very common way to deploy a governance protocol. It seems simple to deploy and manage at first, but issues inevitably arise when trading of governance tokens comes into play and speculation on price throws governance to the wind. The challenge is to find better solutions. Using ERC20 tokens for voting is a bad model which is popular now.
Add a description, image, and links to the erc20permit topic page so that developers can more easily learn about it.
To associate your repository with the erc20permit topic, visit your repo's landing page and select "manage topics."