APE Price: $1.17 (+7.35%)

Contract

0xF494348C04BE6999A3058b56068b7C84c5F50a34
Transaction Hash
Method
Block
From
To
Exec Transaction42707792024-11-14 13:34:017 days ago1731591241IN
0xF494348C...4c5F50a34
0 APE0.0024181425.42069
Transfer40909112024-11-11 18:36:199 days ago1731350179IN
0xF494348C...4c5F50a34
163,010.1 APE0.0006950725.42069
Transfer40898432024-11-11 18:21:009 days ago1731349260IN
0xF494348C...4c5F50a34
1 APE0.0006950725.42069
Transfer40898022024-11-11 18:20:199 days ago1731349219IN
0xF494348C...4c5F50a34
1 APE0.0006950725.42069

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
48948212024-11-21 16:14:5218 secs ago1732205692
0xF494348C...4c5F50a34
44.229 APE
48904202024-11-21 15:15:051 hr ago1732202105
0xF494348C...4c5F50a34
44.3325 APE
48901412024-11-21 15:11:381 hr ago1732201898
0xF494348C...4c5F50a34
44.505 APE
48860522024-11-21 14:18:381 hr ago1732198718
0xF494348C...4c5F50a34
61.41 APE
48859292024-11-21 14:16:591 hr ago1732198619
0xF494348C...4c5F50a34
47.541 APE
48817122024-11-21 13:15:083 hrs ago1732194908
0xF494348C...4c5F50a34
55.131 APE
48795332024-11-21 12:45:323 hrs ago1732193132
0xF494348C...4c5F50a34
44.712 APE
48735522024-11-21 11:23:404 hrs ago1732188220
0xF494348C...4c5F50a34
44.712 APE
48728402024-11-21 11:13:395 hrs ago1732187619
0xF494348C...4c5F50a34
46.161 APE
48719962024-11-21 11:02:335 hrs ago1732186953
0xF494348C...4c5F50a34
44.643 APE
48691222024-11-21 10:22:145 hrs ago1732184534
0xF494348C...4c5F50a34
44.16 APE
48668372024-11-21 9:49:486 hrs ago1732182588
0xF494348C...4c5F50a34
44.16 APE
48668372024-11-21 9:49:486 hrs ago1732182588
0xF494348C...4c5F50a34
44.16 APE
48668372024-11-21 9:49:486 hrs ago1732182588
0xF494348C...4c5F50a34
44.16 APE
48668372024-11-21 9:49:486 hrs ago1732182588
0xF494348C...4c5F50a34
44.16 APE
48668372024-11-21 9:49:486 hrs ago1732182588
0xF494348C...4c5F50a34
44.091 APE
48653682024-11-21 9:27:546 hrs ago1732181274
0xF494348C...4c5F50a34
44.091 APE
48614462024-11-21 8:25:287 hrs ago1732177528
0xF494348C...4c5F50a34
42.78 APE
48605162024-11-21 8:10:208 hrs ago1732176620
0xF494348C...4c5F50a34
44.16 APE
48604742024-11-21 8:09:458 hrs ago1732176585
0xF494348C...4c5F50a34
41.4 APE
48570972024-11-21 7:19:278 hrs ago1732173567
0xF494348C...4c5F50a34
44.16 APE
48566622024-11-21 7:13:029 hrs ago1732173182
0xF494348C...4c5F50a34
44.16 APE
48422332024-11-21 3:25:1512 hrs ago1732159515
0xF494348C...4c5F50a34
44.505 APE
48398312024-11-21 2:48:2013 hrs ago1732157300
0xF494348C...4c5F50a34
82.8 APE
48376042024-11-21 2:15:0314 hrs ago1732155303
0xF494348C...4c5F50a34
60.72 APE
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SafeProxy

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
/**
 *Submitted for verification at apescan.io on 2024-11-14
*/

// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;

/**
 * @title IProxy - Helper interface to access the singleton address of the Proxy on-chain.
 * @author Richard Meissner - @rmeissner
 */
interface IProxy {
    function masterCopy() external view returns (address);
}

/**
 * @title SafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
 * @author Stefan George - <[email protected]>
 * @author Richard Meissner - <[email protected]>
 */
contract SafeProxy {
    // Singleton always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.
    // To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`
    address internal singleton;

    /**
     * @notice Constructor function sets address of singleton contract.
     * @param _singleton Singleton address.
     */
    constructor(address _singleton) {
        require(_singleton != address(0), "Invalid singleton address provided");
        singleton = _singleton;
    }

    /// @dev Fallback function forwards all transactions and returns all received return data.
    fallback() external payable {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            let _singleton := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
            // 0xa619486e == keccak("masterCopy()"). The value is right padded to 32-bytes with 0s
            if eq(calldataload(0), 0xa619486e00000000000000000000000000000000000000000000000000000000) {
                mstore(0, _singleton)
                return(0, 0x20)
            }
            calldatacopy(0, 0, calldatasize())
            let success := delegatecall(gas(), _singleton, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            if eq(success, 0) {
                revert(0, returndatasize())
            }
            return(0, returndatasize())
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_singleton","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b506040516101e63803806101e68339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806101c46022913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505060ab806101196000396000f3fe608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea264697066735822122003d1488ee65e08fa41e58e888a9865554c535f2c77126a82cb4c0f917f31441364736f6c63430007060033496e76616c69642073696e676c65746f6e20616464726573732070726f766964656400000000000000000000000041675c099f32341bf84bfc5382af534df5c7461a

Deployed Bytecode

0x608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea264697066735822122003d1488ee65e08fa41e58e888a9865554c535f2c77126a82cb4c0f917f31441364736f6c63430007060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000041675c099f32341bf84bfc5382af534df5c7461a

-----Decoded View---------------
Arg [0] : _singleton (address): 0x41675C099F32341bf84BFc5382aF534df5C7461a

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000041675c099f32341bf84bfc5382af534df5c7461a


Deployed Bytecode Sourcemap

536:1541:0:-:0;;;1401:42;1397:1;1391:8;1387:57;1581:66;1577:1;1564:15;1561:87;1558:2;;;1678:10;1675:1;1668:21;1717:4;1714:1;1707:15;1558:2;1770:14;1767:1;1764;1751:34;1868:1;1865;1849:14;1846:1;1834:10;1827:5;1814:56;1905:16;1902:1;1899;1884:38;1951:1;1942:7;1939:14;1936:2;;;1983:16;1980:1;1973:27;1936:2;2039:16;2036:1;2029:27

Swarm Source

ipfs://03d1488ee65e08fa41e58e888a9865554c535f2c77126a82cb4c0f917f314413

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