Build
Architecture
contracts
contracts
evm
testing
AttackerContract.sol
Contract.attackercontract

Git Source (opens in a new tab)

victimContractAddress

address public victimContractAddress;

_victimMethod

uint256 private _victimMethod;

constructor

constructor(address victimContractAddress_, address wzeta, uint256 victimMethod);

receive

receive() external payable;

attackDeposit

function attackDeposit() internal;

attackWidrawal

function attackWidrawal() internal;

attack

function attack() internal;

balanceOf

function balanceOf(address account) external returns (uint256);

transferFrom

function transferFrom(address from, address to, uint256 amount) public returns (bool);

transfer

function transfer(address to, uint256 amount) public returns (bool);