ETH Price: $3,156.12 (+1.18%)
Gas: 2 Gwei

Contract

0x5a1Bc518E8d34979479aA9c48cc3E3c062248Fa7
 
Transaction Hash
Method
Block
From
To
Exec Transaction117373382021-01-27 10:39:521263 days ago1611743992IN
0x5a1Bc518...062248Fa7
0 ETH0.004631758
Exec Transaction116867602021-01-19 16:11:471270 days ago1611072707IN
0x5a1Bc518...062248Fa7
0 ETH0.01001406125.4
Exec Transaction116867432021-01-19 16:06:541270 days ago1611072414IN
0x5a1Bc518...062248Fa7
0 ETH0.00611136120
Exec Transaction116867402021-01-19 16:06:191270 days ago1611072379IN
0x5a1Bc518...062248Fa7
0 ETH0.00529651104
Exec Transaction116866832021-01-19 15:54:411271 days ago1611071681IN
0x5a1Bc518...062248Fa7
0 ETH0.01050311139
Exec Transaction116866632021-01-19 15:50:121271 days ago1611071412IN
0x5a1Bc518...062248Fa7
0 ETH0.0148568138
Exec Transaction116866232021-01-19 15:41:351271 days ago1611070895IN
0x5a1Bc518...062248Fa7
0 ETH0.01683022131
Exec Transaction116859752021-01-19 13:21:351271 days ago1611062495IN
0x5a1Bc518...062248Fa7
0 ETH0.01278204145
Exec Transaction116859712021-01-19 13:20:381271 days ago1611062438IN
0x5a1Bc518...062248Fa7
0 ETH0.01414301145
Exec Transaction116859612021-01-19 13:18:071271 days ago1611062287IN
0x5a1Bc518...062248Fa7
0 ETH0.01033908145
Exec Transaction116013322021-01-06 13:38:181284 days ago1609940298IN
0x5a1Bc518...062248Fa7
0 ETH0.02078422136.4
Exec Transaction114704332020-12-17 11:46:481304 days ago1608205608IN
0x5a1Bc518...062248Fa7
0 ETH0.01715175189
Exec Transaction113813542020-12-03 18:44:221317 days ago1607021062IN
0x5a1Bc518...062248Fa7
0 ETH0.0039765642
Exec Transaction113345202020-11-26 14:19:351325 days ago1606400375IN
0x5a1Bc518...062248Fa7
0 ETH0.0077548288
Exec Transaction113345112020-11-26 14:17:321325 days ago1606400252IN
0x5a1Bc518...062248Fa7
0 ETH0.0077548288.00000025
Exec Transaction113201812020-11-24 9:20:531327 days ago1606209653IN
0x5a1Bc518...062248Fa7
0 ETH0.0079921688
Exec Transaction112228062020-11-09 10:40:401342 days ago1604918440IN
0x5a1Bc518...062248Fa7
0 ETH0.004526950
Exec Transaction111982762020-11-05 16:24:041345 days ago1604593444IN
0x5a1Bc518...062248Fa7
0 ETH0.01042324132
Exec Transaction111838812020-11-03 11:16:221348 days ago1604402182IN
0x5a1Bc518...062248Fa7
0 ETH0.0097377349.5
Exec Transaction111838652020-11-03 11:12:451348 days ago1604401965IN
0x5a1Bc518...062248Fa7
0 ETH0.0150431949.5
Exec Transaction111838592020-11-03 11:12:011348 days ago1604401921IN
0x5a1Bc518...062248Fa7
0 ETH0.0042685849.5
Exec Transaction111838482020-11-03 11:09:571348 days ago1604401797IN
0x5a1Bc518...062248Fa7
0 ETH0.008249150
Exec Transaction111838432020-11-03 11:08:381348 days ago1604401718IN
0x5a1Bc518...062248Fa7
0 ETH0.0043858550
Exec Transaction111838242020-11-03 11:05:061348 days ago1604401506IN
0x5a1Bc518...062248Fa7
0 ETH0.0061524549.5
Exec Transaction111777492020-11-02 12:52:281349 days ago1604321548IN
0x5a1Bc518...062248Fa7
0 ETH0.0053518987
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
116859612021-01-19 13:18:071271 days ago1611062287
0x5a1Bc518...062248Fa7
0.04 ETH
113813542020-12-03 18:44:221317 days ago1607021062
0x5a1Bc518...062248Fa7
0.05 ETH
111777492020-11-02 12:52:281349 days ago1604321548
0x5a1Bc518...062248Fa7
0.0047502 ETH
111777492020-11-02 12:52:281349 days ago1604321548
0x5a1Bc518...062248Fa7
0.02 ETH
108802762020-09-17 14:36:581395 days ago1600353418
0x5a1Bc518...062248Fa7
0.09 ETH
107495332020-08-28 13:47:141415 days ago1598622434
0x5a1Bc518...062248Fa7
0.03 ETH
107495132020-08-28 13:42:291415 days ago1598622149
0x5a1Bc518...062248Fa7
0.02 ETH
103723542020-07-01 8:10:231473 days ago1593591023
0x5a1Bc518...062248Fa7
0.02 ETH
97480142020-03-26 16:16:151569 days ago1585239375
0x5a1Bc518...062248Fa7
0.02 ETH
96836252020-03-16 16:17:581579 days ago1584375478
0x5a1Bc518...062248Fa7
0.08 ETH
96836152020-03-16 16:16:591579 days ago1584375419
0x5a1Bc518...062248Fa7
0.08 ETH
95211552020-02-20 16:19:561604 days ago1582215596
0x5a1Bc518...062248Fa7
0.02 ETH
92076322020-01-03 13:48:111653 days ago1578059291
0x5a1Bc518...062248Fa7
0.2 ETH
86756222019-10-04 12:17:331744 days ago1570191453
0x5a1Bc518...062248Fa7
0.01 ETH
85732702019-09-18 11:55:401760 days ago1568807740
0x5a1Bc518...062248Fa7
0.02 ETH
85278502019-09-11 10:00:571767 days ago1568196057
0x5a1Bc518...062248Fa7
0.02 ETH
84843342019-09-04 15:12:311774 days ago1567609951
0x5a1Bc518...062248Fa7
0.002 ETH
84057922019-08-23 9:38:361786 days ago1566553116
0x5a1Bc518...062248Fa7
0.01 ETH
84056882019-08-23 9:18:051786 days ago1566551885
0x5a1Bc518...062248Fa7
0.01 ETH
83100602019-08-08 12:52:051801 days ago1565268725
0x5a1Bc518...062248Fa7
0.002 ETH
82910522019-08-05 14:00:411804 days ago1565013641
0x5a1Bc518...062248Fa7
0.08 ETH
82463282019-07-29 15:27:281811 days ago1564414048
0x5a1Bc518...062248Fa7
0.00129743 ETH
82463282019-07-29 15:27:281811 days ago1564414048
0x5a1Bc518...062248Fa7
0.02 ETH
82200172019-07-25 13:24:121815 days ago1564061052
0x5a1Bc518...062248Fa7
0.00179702 ETH
82200172019-07-25 13:24:121815 days ago1564061052
0x5a1Bc518...062248Fa7
0.002 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
PayingProxy

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-10-31
*/

pragma solidity ^0.4.24;

contract SecuredTokenTransfer {

    /// @dev Transfers a token and returns if it was a success
    /// @param token Token that should be transferred
    /// @param receiver Receiver to whom the token should be transferred
    /// @param amount The amount of tokens that should be transferred
    function transferToken (
        address token, 
        address receiver,
        uint256 amount
    )
        internal
        returns (bool transferred)
    {
        bytes memory data = abi.encodeWithSignature("transfer(address,uint256)", receiver, amount);
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let success := call(sub(gas, 10000), token, 0, add(data, 0x20), mload(data), 0, 0)
            let ptr := mload(0x40)
            returndatacopy(ptr, 0, returndatasize)
            switch returndatasize 
            case 0 { transferred := success }
            case 0x20 { transferred := iszero(or(iszero(success), iszero(mload(ptr)))) }
            default { transferred := 0 }
        }
    }
}

contract Proxy {

    // masterCopy always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.
    address masterCopy;

    /// @dev Constructor function sets address of master copy contract.
    /// @param _masterCopy Master copy address.
    constructor(address _masterCopy)
        public
    {
        require(_masterCopy != 0, "Invalid master copy address provided");
        masterCopy = _masterCopy;
    }

    /// @dev Fallback function forwards all transactions and returns all received return data.
    function ()
        external
        payable
    {
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let masterCopy := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
            calldatacopy(0, 0, calldatasize())
            let success := delegatecall(gas, masterCopy, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            if eq(success, 0) { revert(0, returndatasize()) }
            return(0, returndatasize())
        }
    }

    function implementation()
        public
        view
        returns (address)
    {
        return masterCopy;
    }

    function proxyType()
        public
        pure
        returns (uint256)
    {
        return 2;
    }
}

contract DelegateConstructorProxy is Proxy {

    /// @dev Constructor function sets address of master copy contract.
    /// @param _masterCopy Master copy address.
    /// @param initializer Data used for a delegate call to initialize the contract.
    constructor(address _masterCopy, bytes initializer) Proxy(_masterCopy)
        public
    {
        if (initializer.length > 0) {
            // solium-disable-next-line security/no-inline-assembly
            assembly {
                let masterCopy := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
                let success := delegatecall(sub(gas, 10000), masterCopy, add(initializer, 0x20), mload(initializer), 0, 0)
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize)
                if eq(success, 0) { revert(ptr, returndatasize) }
            }
        }
    }
}

contract PayingProxy is DelegateConstructorProxy, SecuredTokenTransfer {

    /// @dev Constructor function sets address of master copy contract.
    /// @param _masterCopy Master copy address.
    /// @param initializer Data used for a delegate call to initialize the contract.
    /// @param funder Address that should be paid for the execution of this call
    /// @param paymentToken Token that should be used for the payment (0 is ETH)
    /// @param payment Value that should be paid
    constructor(address _masterCopy, bytes initializer, address funder, address paymentToken, uint256 payment) 
        DelegateConstructorProxy(_masterCopy, initializer)
        public
    {
        if (payment > 0) {
            if (paymentToken == address(0)) {
                 // solium-disable-next-line security/no-send
                require(funder.send(payment), "Could not pay safe creation with ether");
            } else {
                require(transferToken(paymentToken, funder, payment), "Could not pay safe creation with token");
            }
        } 
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_masterCopy","type":"address"},{"name":"initializer","type":"bytes"},{"name":"funder","type":"address"},{"name":"paymentToken","type":"address"},{"name":"payment","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

Deployed Bytecode

0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634555d5c91461008b5780635c60da1b146100b6575b73ffffffffffffffffffffffffffffffffffffffff600054163660008037600080366000845af43d6000803e6000811415610086573d6000fd5b3d6000f35b34801561009757600080fd5b506100a061010d565b6040518082815260200191505060405180910390f35b3480156100c257600080fd5b506100cb610116565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006002905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050905600a165627a7a7230582007fffd557dfc8c4d2fdf56ba6381a6ce5b65b6260e1492d87f26c6d4f1d041080029

Swarm Source

bzzr://07fffd557dfc8c4d2fdf56ba6381a6ce5b65b6260e1492d87f26c6d4f1d04108

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  ]
[ 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.