Splendor White's blog

归档 · 2023

首页

关于

归档

Ethernaut 闯关笔记 第3关 Fallout

原始代码 // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import 'openzeppelin-contracts-06/math/SafeMath.sol'; contract Fallout { using SafeMath for uint256; mapping (address => uint) allocations; address payable public owner; /* constructor */ function Fal1out() public payable { owner = msg.sender; allocations[ow..

更多
12