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
function testAddressBeforeAndAfterHack(address account1) public { | |
console2.log("Account1:", account1); | |
string memory lineaRpc = vm.envString("LINEA_RPC_URL"); | |
console2.log("------------------CoreP---BEFORE---------------------"); | |
vm.createSelectFork(lineaRpc, 24221040); // 24096677 | |
(address[] memory reservesList,) = | |
ILendingPool(0x17d8a5305A37fe93E13a28f09c46db5bE24E1B9E).getReservesList(); | |
UserReserveData[] memory mainPoolUserReserveData = | |
AsteraDataProvider2(DATA_PROVIDER).getUserMainPoolReservesData(account1); |
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
import {MakeERC20} from "./MakeERC20.sol"; | |
contract SimpleStorageZkSync { | |
address[] public listOfTokens; | |
bytes32 bytecodeHash = 0x0100019f3c855d478f067a60da1bf1defdc34f8af0f36f6402cb79a2e5f11006; | |
bytes32 ZKSYNC_CREATE2_PREFIX = 0x2020dba91b30cc0006188af794c2fb30dd8520db7e2c088b7fc7c103c00ca494; // or keccak256("zksyncCreate2") | |
function makeDeterministicToken(bytes32 _salt) public { |
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
pragma solidity 0.7.5; | |
//pragma abicoder_v2; | |
//import "./Ownable.sol"; | |
contract MultiSigWallet { | |
address payable public owner; | |
address[] public addressesToSign; | |
uint approvalsLimit; |