Overview
APE Balance
0 APE
APE Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
SlotDataContract
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; contract SlotDataContract { uint256 latest = 49; // Slot 0 string name; // Slot 1 mapping(uint256 => uint256) highscores; // Slot 2 mapping(uint256 => string) highscorers; // Slot 3 mapping(string => string) realnames; // Slot 4 uint256 zero; // Slot 5 bytes pointlessBytes; // Slot 6 bytes paddedAddress; // Slot 7 mapping(address => string) addressIdentifiers; // Slot 8 string iam = "tomiscool"; // Slot 9 mapping(string => string) stringStrings; // Slot 10 address anotherAddress; // Slot 11 struct Node { uint256 num; string str; mapping(bytes => Node) map; } Node root; // Slot 12-14 constructor() { name = "Satoshi"; highscores[0] = 1; highscores[latest] = 12345; highscorers[latest] = name; highscorers[1] = "Hubert Blaine Wolfeschlegelsteinhausenbergerdorff Sr."; realnames["Money Skeleton"] = "Vitalik Buterin"; realnames[highscorers[latest]] = "Hal Finney"; pointlessBytes = abi.encodePacked(uint8(0),uint8(0),uint8(49)); paddedAddress = abi.encodePacked(uint64(0), address(this)); addressIdentifiers[address(this)] = "tom"; stringStrings["tom"] = "clowes"; anotherAddress = address(this); //tom => 0x746f6d //tomiscool => 0x746f6d6973636f6f6c root.num = 1; root.str = "raffy"; root.map["a"].num = 2; root.map["a"].str = "chonk"; root.map["a"].map["b"].num = 3; root.map["a"].map["b"].str = "eth"; // realnames[highscorers[latest]].slice(0, 3) + highscores[latest].slice(16, 16) highscorers[uint256(keccak256(abi.encodePacked("Hal", uint128(12345))))] = "chonk"; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract Creation Code
60315f5560c060405260096080818152681d1bdb5a5cd8dbdbdb60ba1b60a0526100299082610500565b50348015610035575f80fd5b506040805180820190915260078152665361746f73686960c81b60208201526001906100619082610500565b506002602090815260017fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b8190555f805481526040808220613039905581548252600390935291909120906100b690826105bd565b506040518060600160405280603581526020016107446035913960015f5260036020527fa15bc60c955c405d20d9149c709e2460f1c2d9a497496a7f46004d1772c3054c906101059082610500565b50604080518082018252600f81526e2b34ba30b634b590213aba32b934b760891b602082015281516d26b7b732bc9029b5b2b632ba37b760911b81526004600e820152915191829003602e019091209061015f9082610500565b506040518060400160405280600a81526020016948616c2046696e6e657960b01b815250600460035f805481526020019081526020015f206040516101a49190610689565b908152602001604051809103902090816101be9190610500565b506040515f602082018190526021820152603160f81b6022820152602301604051602081830303815290604052600690816101f99190610500565b506040515f60208201526001600160601b03193060601b166028820152603c01604051602081830303815290604052600790816102369190610500565b506040805180820182526003815262746f6d60e81b602080830191909152305f9081526008909152919091209061026d9082610500565b506040805180820182526006815265636c6f77657360d01b6020820152815162746f6d60e81b8152600a6003820152915191829003602301909120906102b39082610500565b50600b80546001600160a01b031916301790556001600c55604080518082019091526005815264726166667960d81b6020820152600d906102f49082610500565b5060408051606160f81b808252600e600180840182905284519384900360219081018520600290558486018652600585526463686f6e6b60d81b6020860152855193845283820192909252935191829003019020909101906103569082610500565b50604051606160f81b8152600390600e90600101908152604051908190036020018120603160f91b825260020190600101908152604080516020928190038301812093909355828101815260038352620cae8d60eb1b9183019190915251606160f81b8152600e90600101908152604051908190036020018120603160f91b825260020190600101908152602001604051809103902060010190816103fb9190610500565b50604080518082018252600581526463686f6e6b60d81b60208083019190915282516212185b60ea1b8183015261303960801b602382015283516013818303018152603390910184528051908201205f908152600390915291909120906104629082610500565b506106fa565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061049057607f821691505b6020821081036104ae57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156104fb57805f5260205f20601f840160051c810160208510156104d95750805b601f840160051c820191505b818110156104f8575f81556001016104e5565b50505b505050565b81516001600160401b0381111561051957610519610468565b61052d81610527845461047c565b846104b4565b6020601f821160018114610562575f83156105485750848201515b600184901b5f19600386901b1c198216175b8555506104f8565b5f84815260208120601f198516915b828110156105915787850151825560209485019460019092019101610571565b50848210156105ae57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b8181036105c8575050565b6105d2825461047c565b6001600160401b038111156105e9576105e9610468565b6105f781610527845461047c565b5f601f821160018114610626575f8315610548575081850154600184901b5f19600386901b1c1982161761055a565b5f8581526020808220868352908220601f198616925b8381101561065c578286015482556001958601959091019060200161063c565b508583101561067957818501545f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f8083546106968161047c565b6001821680156106ad57600181146106c2576106ef565b60ff19831686528115158202860193506106ef565b865f5260205f205f5b838110156106e7578154888201526001909101906020016106cb565b505081860193505b509195945050505050565b603e806107065f395ff3fe60806040525f80fdfea26469706673582212200b0ec70ece657916f82acd2ff8b6aab69518a2c66703aab42259b5757ef51c5d64736f6c634300081a003348756265727420426c61696e6520576f6c66657363686c6567656c737465696e68617573656e626572676572646f7266662053722e
Deployed Bytecode
0x60806040525f80fdfea26469706673582212200b0ec70ece657916f82acd2ff8b6aab69518a2c66703aab42259b5757ef51c5d64736f6c634300081a0033
Deployed Bytecode Sourcemap
61:1879:0:-:0;;;;;
Swarm Source
ipfs://0b0ec70ece657916f82acd2ff8b6aab69518a2c66703aab42259b5757ef51c5d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.