ETH Price: $2,308.70 (+0.07%)

Contract

0x46a96FBccC0aeA41182EAF80a2beEF69E05F4367
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Finalize179037722023-08-13 5:12:23402 days ago1691903543IN
0x46a96FBc...9E05F4367
0 ETH0.0007388211.61855423
Contribute179037602023-08-13 5:09:59402 days ago1691903399IN
0x46a96FBc...9E05F4367
0.07 ETH0.0024218811.0294304
Contribute179037192023-08-13 5:01:47402 days ago1691902907IN
0x46a96FBc...9E05F4367
0.07 ETH0.0024303411.06854225
Contribute179036802023-08-13 4:53:59402 days ago1691902439IN
0x46a96FBc...9E05F4367
0.07 ETH0.0028321812.89796549
Contribute179036772023-08-13 4:53:23402 days ago1691902403IN
0x46a96FBc...9E05F4367
0.07 ETH0.0027652612.59318708
Contribute179036662023-08-13 4:51:11402 days ago1691902271IN
0x46a96FBc...9E05F4367
0.07 ETH0.002455811.18390303
Contribute179036592023-08-13 4:49:47402 days ago1691902187IN
0x46a96FBc...9E05F4367
0.07 ETH0.0028328211.96882172

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
179037722023-08-13 5:12:23402 days ago1691903543
0x46a96FBc...9E05F4367
0.42 ETH
178980652023-08-12 10:02:35403 days ago1691834555  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Proxy

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : Proxy.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.20;

import "./LibRawResult.sol";
import "./Implementation.sol";

/// @notice Base class for all proxy contracts.
contract Proxy {
    using LibRawResult for bytes;

    /// @notice The address of the implementation contract used by this proxy.
    Implementation public immutable IMPL;

    // Made `payable` to allow initialized crowdfunds to receive ETH as an
    // initial contribution.
    constructor(Implementation impl, bytes memory initCallData) payable {
        IMPL = impl;
        (bool s, bytes memory r) = address(impl).delegatecall(initCallData);
        if (!s) {
            r.rawRevert();
        }
    }

    // Forward all calls to the implementation.
    fallback() external payable {
        Implementation impl = IMPL;
        assembly {
            calldatacopy(0x00, 0x00, calldatasize())
            let s := delegatecall(gas(), impl, 0x00, calldatasize(), 0x00, 0)
            returndatacopy(0x00, 0x00, returndatasize())
            if iszero(s) {
                revert(0x00, returndatasize())
            }
            return(0x00, returndatasize())
        }
    }
}

File 2 of 3 : LibRawResult.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.20;

library LibRawResult {
    // Revert with the data in `b`.
    function rawRevert(bytes memory b) internal pure {
        assembly {
            revert(add(b, 32), mload(b))
        }
    }

    // Return with the data in `b`.
    function rawReturn(bytes memory b) internal pure {
        assembly {
            return(add(b, 32), mload(b))
        }
    }
}

File 3 of 3 : Implementation.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.20;

// Base contract for all contracts intended to be delegatecalled into.
abstract contract Implementation {
    error OnlyDelegateCallError();
    error OnlyConstructorError();

    address public immutable IMPL;

    constructor() {
        IMPL = address(this);
    }

    // Reverts if the current function context is not inside of a delegatecall.
    modifier onlyDelegateCall() virtual {
        if (address(this) == IMPL) {
            revert OnlyDelegateCallError();
        }
        _;
    }

    // Reverts if the current function context is not inside of a constructor.
    modifier onlyConstructor() {
        if (address(this).code.length != 0) {
            revert OnlyConstructorError();
        }
        _;
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/",
    "solmate/=lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {},
  "viaIR": true
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract Implementation","name":"impl","type":"address"},{"internalType":"bytes","name":"initCallData","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"IMPL","outputs":[{"internalType":"contract Implementation","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a060405261025480380380610014816100df565b92833981016040828203126100c45781516001600160a01b03811681036100c45760208381015190936001600160401b0382116100c4570182601f820112156100c45780519061006b61006683610109565b6100df565b938285528583830101116100c45760005b8281106100b15750506100959360009184010152610124565b60405160da908161017a823960805181818160190152606f0152f35b818101860151858201870152850161007c565b600080fd5b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f191682016001600160401b0381118382101761010457604052565b6100c9565b6001600160401b03811161010457601f01601f191660200190565b6080819052815160009283926020909101906001600160a01b03165af43d15610171573d9061015561006683610109565b9182523d6000602084013e5b156101695750565b602081519101fd5b60609061016156fe60806040526004361015604a575b600036818037808036817f00000000000000000000000000000000000000000000000000000000000000005af43d82803e156046573d90f35b3d90fd5b6000803560e01c6356973ee514605f5750600d565b3460a1578060031936011260a1577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166080908152602090f35b80fdfea264697066735822122071fb9b5f96e8d1bb39716cafe53eda307c95659122e63328b4b21a20a30944a064736f6c6343000814003300000000000000000000000023c886396cfbadb0f3bac4b728150e8a59dc0e10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000005c4ad6f10d50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000000000f8b0a10e470000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644726f706b7a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644726f706b7a0000000000000000000000000000000000000000000000000000000000000000000000000000b676cfeeed5c7b739452a502f1eff9ab684a56da000000000000000000000000c0e0ec5541e26e93d5a9f5e999ab2a0a7f8260ae00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000002a3000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000000fa000000000000000000000000f7f52dd34bc21eda08c0b804c7c1dbc48375820f0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000b8254b65a6c62be125cfdbe8a237d29be82ea9a2000000000000000000000000f8e72f0e6f8f47ac22435b9d1b1772ce25adba0e0000000000000000000000004f0894524708087d76dc4aebc74cdccd147c4436000000000000000000000000c95a2e1000d5a2edb9ec4040235bb17a7b79dce700000000000000000000000055e461b2499d120db62c1edeec476ab7b19bd4b800000000000000000000000081f07287edad78e033793ad19bb50d622af7244a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361015604a575b600036818037808036817f00000000000000000000000023c886396cfbadb0f3bac4b728150e8a59dc0e105af43d82803e156046573d90f35b3d90fd5b6000803560e01c6356973ee514605f5750600d565b3460a1578060031936011260a1577f00000000000000000000000023c886396cfbadb0f3bac4b728150e8a59dc0e106001600160a01b03166080908152602090f35b80fdfea264697066735822122071fb9b5f96e8d1bb39716cafe53eda307c95659122e63328b4b21a20a30944a064736f6c63430008140033

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

00000000000000000000000023c886396cfbadb0f3bac4b728150e8a59dc0e10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000005c4ad6f10d50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000000000f8b0a10e470000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644726f706b7a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644726f706b7a0000000000000000000000000000000000000000000000000000000000000000000000000000b676cfeeed5c7b739452a502f1eff9ab684a56da000000000000000000000000c0e0ec5541e26e93d5a9f5e999ab2a0a7f8260ae00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000002a3000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000000fa000000000000000000000000f7f52dd34bc21eda08c0b804c7c1dbc48375820f0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000b8254b65a6c62be125cfdbe8a237d29be82ea9a2000000000000000000000000f8e72f0e6f8f47ac22435b9d1b1772ce25adba0e0000000000000000000000004f0894524708087d76dc4aebc74cdccd147c4436000000000000000000000000c95a2e1000d5a2edb9ec4040235bb17a7b79dce700000000000000000000000055e461b2499d120db62c1edeec476ab7b19bd4b800000000000000000000000081f07287edad78e033793ad19bb50d622af7244a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : impl (address): 0x23C886396CFbaDB0F3bAC4b728150e8A59dC0E10
Arg [1] : initCallData (bytes): 0xad6f10d50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000000000f8b0a10e470000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000f8b0a10e47000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644726f706b7a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000644726f706b7a0000000000000000000000000000000000000000000000000000000000000000000000000000b676cfeeed5c7b739452a502f1eff9ab684a56da000000000000000000000000c0e0ec5541e26e93d5a9f5e999ab2a0a7f8260ae00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000093a800000000000000000000000000000000000000000000000000000000000002a3000000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000000fa000000000000000000000000f7f52dd34bc21eda08c0b804c7c1dbc48375820f0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000b8254b65a6c62be125cfdbe8a237d29be82ea9a2000000000000000000000000f8e72f0e6f8f47ac22435b9d1b1772ce25adba0e0000000000000000000000004f0894524708087d76dc4aebc74cdccd147c4436000000000000000000000000c95a2e1000d5a2edb9ec4040235bb17a7b79dce700000000000000000000000055e461b2499d120db62c1edeec476ab7b19bd4b800000000000000000000000081f07287edad78e033793ad19bb50d622af7244a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
50 Constructor Arguments found :
Arg [0] : 00000000000000000000000023c886396cfbadb0f3bac4b728150e8a59dc0e10
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 00000000000000000000000000000000000000000000000000000000000005c4
Arg [3] : ad6f10d500000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000f8b0a1
Arg [6] : 0e47000000000000000000000000000000000000000000000000000000f8b0a1
Arg [7] : 0e47000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000100000000000000000000000000000000000000000000000000f8b0a1
Arg [9] : 0e47000000000000000000000000000000000000000000000000d3c21bcecced
Arg [10] : a100000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000271000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 00093a8000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 000001c000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000016000000000000000000000000000000000000000000000000000000000
Arg [19] : 000001a000000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000100000000000000000000000000000000000000000000000000000000
Arg [21] : 000001e000000000000000000000000000000000000000000000000000000000
Arg [22] : 0000000100000000000000000000000000000000000000000000000000000000
Arg [23] : 0000000100000000000000000000000000000000000000000000000000000000
Arg [24] : 0000000100000000000000000000000000000000000000000000000000000000
Arg [25] : 0000000100000000000000000000000000000000000000000000000000000000
Arg [26] : 000003c000000000000000000000000000000000000000000000000000000000
Arg [27] : 000003e000000000000000000000000000000000000000000000000000000000
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [29] : 0000000644726f706b7a00000000000000000000000000000000000000000000
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [31] : 0000000644726f706b7a00000000000000000000000000000000000000000000
Arg [32] : 00000000000000000000000000000000b676cfeeed5c7b739452a502f1eff9ab
Arg [33] : 684a56da000000000000000000000000c0e0ec5541e26e93d5a9f5e999ab2a0a
Arg [34] : 7f8260ae00000000000000000000000000000000000000000000000000000000
Arg [35] : 0000010000000000000000000000000000000000000000000000000000000000
Arg [36] : 00093a8000000000000000000000000000000000000000000000000000000000
Arg [37] : 00002a3000000000000000000000000000000000000000000000000000000000
Arg [38] : 000007d000000000000000000000000000000000000000000000000000000000
Arg [39] : 000000fa000000000000000000000000f7f52dd34bc21eda08c0b804c7c1dbc4
Arg [40] : 8375820f00000000000000000000000000000000000000000000000000000000
Arg [41] : 00000006000000000000000000000000b8254b65a6c62be125cfdbe8a237d29b
Arg [42] : e82ea9a2000000000000000000000000f8e72f0e6f8f47ac22435b9d1b1772ce
Arg [43] : 25adba0e0000000000000000000000004f0894524708087d76dc4aebc74cdccd
Arg [44] : 147c4436000000000000000000000000c95a2e1000d5a2edb9ec4040235bb17a
Arg [45] : 7b79dce700000000000000000000000055e461b2499d120db62c1edeec476ab7
Arg [46] : b19bd4b800000000000000000000000081f07287edad78e033793ad19bb50d62
Arg [47] : 2af7244a00000000000000000000000000000000000000000000000000000000
Arg [48] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000000


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.