-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.20; | ||
|
||
import {ERC20, ERC20Permit} from "openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol"; | ||
import {IPolygon} from "./interfaces/IPolygon.sol"; | ||
import {ERC20, ERC20Permit} from "openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Votes.sol"; | ||
import {Ownable2Step} from "openzeppelin-contracts/contracts/access/Ownable2Step.sol"; | ||
|
||
/// @title Polygon ERC20 token | ||
/// @author QEDK <[email protected]> (https://polygon.technology) | ||
/// @notice This is the Polygon ERC20 token contract on Ethereum L1 | ||
/// @dev The contract allows for a 1-to-1 representation between $POL and $MATIC and allows for additional inflation based | ||
/// on hub and treasury requirements | ||
/// @custom:security-contact [email protected] | ||
contract Polygon is Ownable2Step, ERC20Permit, IPolygon { | ||
contract Polygon is ERC20Permit, IPolygon { | ||
address public immutable inflationManager; | ||
|
||
constructor(address migration_, address inflationManager_, address owner_) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters