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 | |
// author: @saucepoint | |
// Forge script | |
// Off the top my head (might be missing a flag): | |
// forge script script/SnowV1Program.s.sol --rpc-url https://mainnet-polygon.brave.com/ --chain-id 137 --private-key YOUR_PRIVATE_KEY --broadcast | |
pragma solidity ^0.8.13; | |
import "forge-std/Script.sol"; | |
import "../src/SnowV1Program.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: MIT | |
pragma solidity ^0.8.13; | |
// author: saucepoint | |
// run with a mainnet --fork-url such as: | |
// forge test --fork-url https://rpc.ankr.com/eth | |
import "forge-std/Test.sol"; | |
// temporary interface for minting USDC |