ETH Price: $3,202.27 (+1.48%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
109239342020-09-24 7:24:371586 days ago1600932277  Contract Creation0 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xc22B30E4...93929a3e9
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ZoraProxy

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-12-04
*/

pragma solidity ^0.6.8;
pragma experimental ABIEncoderV2;


contract ZoraProxyStorage {

    address public implementation;
    address public admin;

    modifier onlyAdmin() {
        require(
            admin == msg.sender,
            "ZoraProxyStorage: only admin"
        );
        _;
    }
}

// SPDX-License-Identifier: MIT
contract ZoraProxy is ZoraProxyStorage {

    /* ============ Constructor ============ */
    constructor(
        address _implementation,
        address _admin
    )
        public
    {
        implementation = _implementation;
        admin = _admin;
    }

    function setAdmin(
        address _admin
    )
        public
        onlyAdmin
    {
        admin = _admin;
    }

    function setImplementation(
        address _implementation
    )
        public
        onlyAdmin
    {
        implementation = _implementation;
    }

    fallback() external payable {
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let target := sload(0)
            calldatacopy(0, 0, calldatasize())
            let result := delegatecall(gas(), target, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            switch result
            case 0 {revert(0, returndatasize())}
            default {return (0, returndatasize())}
        }
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106100435760003560e01c80635c60da1b1461006d578063704b6c0214610098578063d784d426146100c1578063f851a440146100ea57610044565b5b6000543660008037600080366000845af43d6000803e8060008114610068573d6000f35b3d6000fd5b34801561007957600080fd5b50610082610115565b60405161008f9190610394565b60405180910390f35b3480156100a457600080fd5b506100bf60048036038101906100ba919061031c565b61013a565b005b3480156100cd57600080fd5b506100e860048036038101906100e3919061031c565b61020e565b005b3480156100f657600080fd5b506100ff6102e1565b60405161010c9190610394565b60405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146101ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101c1906103af565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461029e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610295906103af565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008135905061031681610412565b92915050565b60006020828403121561032e57600080fd5b600061033c84828501610307565b91505092915050565b61034e816103e0565b82525050565b6000610361601c836103cf565b91507f5a6f726150726f787953746f726167653a206f6e6c792061646d696e000000006000830152602082019050919050565b60006020820190506103a96000830184610345565b92915050565b600060208201905081810360008301526103c881610354565b9050919050565b600082825260208201905092915050565b60006103eb826103f2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b61041b816103e0565b811461042657600080fd5b5056fea2646970667358221220286ea7ad6a5cb7462325d9e394de365e85b52dfd674738b81e548ed653760c6364736f6c63430006080033

Deployed Bytecode Sourcemap

353:1060:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1079:1;1073:8;1114:14;1111:1;1108;1095:34;1207:1;1204;1188:14;1185:1;1177:6;1170:5;1157:52;1244:16;1241:1;1238;1223:38;1282:6;1307:1;1302:36;;;;1372:16;1369:1;1361:28;1302:36;1320:16;1317:1;1310:27;99:29;;5:9:-1;2:2;;;27:1;24;17:12;2:2;99:29:0;;;:::i;:::-;;;;;;;;;;;;;;;;633:123;;5:9:-1;2:2;;;27:1;24;17:12;2:2;633:123:0;;;;;;;;;;;;;;;;:::i;:::-;;764:159;;5:9:-1;2:2;;;27:1;24;17:12;2:2;764:159:0;;;;;;;;;;;;;;;;:::i;:::-;;135:20;;5:9:-1;2:2;;;27:1;24;17:12;2:2;135:20:0;;;:::i;:::-;;;;;;;;;;;;;;;;99:29;;;;;;;;;;;;;:::o;633:123::-;227:10;218:19;;:5;;;;;;;;;;;:19;;;196:97;;;;;;;;;;;;;;;;;;;;;;742:6:::1;734:5;;:14;;;;;;;;;;;;;;;;;;633:123:::0;:::o;764:159::-;227:10;218:19;;:5;;;;;;;;;;;:19;;;196:97;;;;;;;;;;;;;;;;;;;;;;900:15:::1;883:14;::::0;:32:::1;;;;;;;;;;;;;;;;;;764:159:::0;:::o;135:20::-;;;;;;;;;;;;;:::o;5:130:-1:-;;85:6;72:20;63:29;;97:33;124:5;97:33;;;57:78;;;;;142:241;;246:2;234:9;225:7;221:23;217:32;214:2;;;262:1;259;252:12;214:2;297:1;314:53;359:7;350:6;339:9;335:22;314:53;;;304:63;;276:97;208:175;;;;;390:113;473:24;491:5;473:24;;;468:3;461:37;455:48;;;511:328;;671:67;735:2;730:3;671:67;;;664:74;;771:30;767:1;762:3;758:11;751:51;830:2;825:3;821:12;814:19;;657:182;;;;847:222;;974:2;963:9;959:18;951:26;;988:71;1056:1;1045:9;1041:17;1032:6;988:71;;;945:124;;;;;1076:416;;1276:2;1265:9;1261:18;1253:26;;1326:9;1320:4;1316:20;1312:1;1301:9;1297:17;1290:47;1351:131;1477:4;1351:131;;;1343:139;;1247:245;;;;1500:163;;1615:6;1610:3;1603:19;1652:4;1647:3;1643:14;1628:29;;1596:67;;;;;1671:91;;1733:24;1751:5;1733:24;;;1722:35;;1716:46;;;;1769:121;;1842:42;1835:5;1831:54;1820:65;;1814:76;;;;1897:117;1966:24;1984:5;1966:24;;;1959:5;1956:35;1946:2;;2005:1;2002;1995:12;1946:2;1940:74;

Swarm Source

ipfs://286ea7ad6a5cb7462325d9e394de365e85b52dfd674738b81e548ed653760c63

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.