IERC20PermitAllowed
Interface used by DAI/CHAI for permit
Functions
permit
Approve the spender to spend some tokens via the holder signature
This is the permit interface used by DAI and CHAI
Parameters:
Name | Type | Description |
---|---|---|
| address | The address of the token holder, the token owner |
| address | The address of the token spender |
| uint256 | The holder's nonce, increases at each call to permit |
| uint256 | The timestamp at which the permit is no longer valid |
| bool | Boolean that sets approval amount, true for type(uint256).max and false for 0 |
| uint8 | Must produce valid secp256k1 signature from the holder along with |
| bytes32 | Must produce valid secp256k1 signature from the holder along with |
| bytes32 | Must produce valid secp256k1 signature from the holder along with |
Last updated