ETH Price: $2,403.92 (-0.85%)

Contract

0x70841052Aec22F89A80ADF589d948FfDeCF6D387
 

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

Please try again later

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
140449912022-01-20 21:47:31989 days ago1642715251  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
UserProxy

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-01
*/

pragma solidity ^0.5.0;

contract UserProxy { //@audit focus on this

    address private _owner;

    /**
     * @dev Initializes the contract settings
     */
    constructor()
        public
    {
        _owner = msg.sender;
    }

    /**
     * @dev Transfers punk to the smart contract owner
     */
    function transfer(address punkContract, uint256 punkIndex)
        external
        returns (bool)
    {
        if (_owner != msg.sender) {
            return false;
        }

        (bool result,) = punkContract.call(abi.encodeWithSignature("transferPunk(address,uint256)", _owner, punkIndex));

        return result;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":false,"inputs":[{"internalType":"address","name":"punkContract","type":"address"},{"internalType":"uint256","name":"punkIndex","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a9059cbb14610030575b600080fd5b61005c6004803603604081101561004657600080fd5b506001600160a01b038135169060200135610070565b604080519115158252519081900360200190f35b600080546001600160a01b0316331461008b57506000610176565b60008054604080516001600160a01b039283166024820152604480820187905282518083039091018152606490910182526020810180516001600160e01b03166322dca8bb60e21b1781529151815193881693919290918291908083835b602083106101085780518252601f1990920191602091820191016100e9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461016a576040519150601f19603f3d011682016040523d82523d6000602084013e61016f565b606091505b5090925050505b9291505056fea265627a7a723158202431eb3db44f6d4e7b3be276b8da5ceb848f136661ca00c86b8403d61ac6d1bf64736f6c63430005110032

Deployed Bytecode Sourcemap

27:646:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27:646:0;;;;;;;;;;;;;;;;;;;329:339;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;329:339:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;424:4;450:6;;-1:-1:-1;;;;;450:6:0;460:10;450:20;446:65;;-1:-1:-1;494:5:0;487:12;;446:65;524:11;615:6;;558:75;;;-1:-1:-1;;;;;615:6:0;;;558:75;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;558:75:0;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;540:94:0;;;;:17;;;;558:75;;540:94;;;;25:18:-1;540:94:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;540:94:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;-1:-1;523:111:0;;-1:-1:-1;;;329:339:0;;;;;:::o

Swarm Source

bzzr://2431eb3db44f6d4e7b3be276b8da5ceb848f136661ca00c86b8403d61ac6d1bf

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.