Created
December 5, 2022 13:50
-
-
Save must479/7fec8a5b277299fa65a52bc9b5b02205 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.15+commit.e14f2714.js&optimize=false&runs=200&gist=
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
// SPDX-License-Identifier: Unlicense | |
pragma solidity >=0.6.0 <0.9.0; | |
import "./Vm.sol"; | |
import "./console.sol"; | |
import "./console2.sol"; | |
abstract contract Script { | |
address constant private VM_ADDRESS = | |
address(bytes20(uint160(uint256(keccak256('hevm cheat code'))))); | |
Vm public constant vm = Vm(VM_ADDRESS); | |
} |
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
PRIVATE_KEY= | |
RPC_URL= | |
ETHERSCAN_API_KEY= | |
CHAIN_ID= |
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
[core] | |
repositoryformatversion = 0 | |
filemode = false | |
bare = false | |
logallrefupdates = true | |
symlinks = false | |
ignorecase = true |
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
ref: refs/heads/main |
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
DIRC | |
c�RB3� c�RB3� � �� �}�7i��$���IQ��B.� | |
README.txt c�RB%@�@c�RB%@�@ � �� +j�2#�=��C��� p��� contracts/1_Storage.sol c�RB&�?�c�RB&�?� � �� �I����*̛���>K���?�' |