Merge 3.4 master into solc-0.8 (#2499)
* 3.4.0-rc.0 * Allow manual dispatch of Test CI job * Update lockfile (#2481) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Add "available since" comments in documentation * Add "available since" comments in documentation (cherry picked from commit63a0343dda) * Remove SafeMathMock compilation warnings (#2497) * Remove SafeMathMock compilation warnings (#2497) (cherry picked from commitf4e57fd529) * 3.4.0 * fix safemath test to use renamed function from the mock Co-authored-by: Francisco Giordano <frangio.1@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
@ -18,6 +18,8 @@ pragma solidity ^0.8.0;
|
||||
*
|
||||
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
|
||||
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
|
||||
*
|
||||
* _Available since v3.4._
|
||||
*/
|
||||
abstract contract EIP712 {
|
||||
/* solhint-disable var-name-mixedcase */
|
||||
|
||||
@ -15,6 +15,8 @@ import "./EIP712.sol";
|
||||
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
|
||||
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
|
||||
* need to send a transaction, and thus is not required to hold Ether at all.
|
||||
*
|
||||
* _Available since v3.4._
|
||||
*/
|
||||
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
|
||||
using Counters for Counters.Counter;
|
||||
|
||||
Reference in New Issue
Block a user