This file contains hidden or 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
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.28; | |
| import { Test } from "forge-std/Test.sol"; | |
| import { IGovernor } from "@openzeppelin/contracts/governance/IGovernor.sol"; | |
| import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
| import { IERC20Metadata } from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; | |
| import { OptimisticSelectorRegistry } from "@governance/OptimisticSelectorRegistry.sol"; |
This file contains hidden or 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
| // SPDX-License-Identifier: BUSL-1.1 | |
| pragma solidity ^0.8.19; | |
| import {BurnMintERC677} from "@chainlink/contracts-ccip/src/v0.8/shared/token/ERC677/BurnMintERC677.sol"; | |
| /// @title BurnMintERC677Helper | |
| /// @notice This contract extends the functionality of the BurnMintERC677 token contract to include a `drip` function that mints one full token to a specified address. | |
| /// @dev Inherits from the BurnMintERC677 contract and sets the token name, symbol, decimals, and initial supply in the constructor. | |
| contract BurnMintERC677Helper is BurnMintERC677 { | |
| /** |