ETH Price: $2,054.61 (+7.26%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Proxy

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;

contract Proxy {

    function calculateProxyAddress(uint256 i, bytes memory _salt) external view returns (address) {
        bytes32 bytecode = keccak256(abi.encodePacked(bytes.concat(bytes20(0x3D602d80600A3D3981F3363d3d373d3D3D363d73), bytes20(address(0x0dE8bf93dA2f7eecb3d9169422413A9bef4ef628)), bytes15(0x5af43d82803e903d91602b57fd5bf3))));
        bytes32 salt = keccak256(abi.encodePacked(_salt,i,msg.sender));
        address proxy = address(uint160(uint(keccak256(abi.encodePacked(
                    hex'ff',
                    address(0x0dE8bf93dA2f7eecb3d9169422413A9bef4ef628),
                    salt,
                    bytecode
                )))));
        return proxy;
    }
    
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"bytes","name":"_salt","type":"bytes"}],"name":"calculateProxyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506106c2806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e049e1b314610030575b600080fd5b61004a600480360381019061004591906101f5565b610060565b60405161005791906103fc565b60405180910390f35b600080733d602d80600a3d3981f3363d3d373d3d3d363d7360601b730de8bf93da2f7eecb3d9169422413a9bef4ef62860601b6e5af43d82803e903d91602b57fd5bf360881b6040516020016100b893929190610327565b6040516020818303038152906040526040516020016100d79190610364565b60405160208183030381529060405280519060200120905060008385336040516020016101069392919061037b565b6040516020818303038152906040528051906020012090506000730de8bf93da2f7eecb3d9169422413a9bef4ef6288284604051602001610149939291906103b4565b6040516020818303038152906040528051906020012060001c905080935050505092915050565b600061018361017e8461043c565b610417565b90508281526020810184848401111561019f5761019e61061f565b5b6101aa84828561052c565b509392505050565b600082601f8301126101c7576101c661061a565b5b81356101d7848260208601610170565b91505092915050565b6000813590506101ef81610675565b92915050565b6000806040838503121561020c5761020b610629565b5b600061021a858286016101e0565b925050602083013567ffffffffffffffff81111561023b5761023a610624565b5b610247858286016101b2565b9150509250929050565b61025a8161048e565b82525050565b61027161026c8261048e565b61059f565b82525050565b610288610283826104a0565b6105b1565b82525050565b61029f61029a826104cc565b6105bb565b82525050565b6102b66102b1826104f8565b6105c5565b82525050565b60006102c78261046d565b6102d18185610478565b93506102e181856020860161053b565b80840191505092915050565b60006102fa600183610483565b91506103058261064c565b600182019050919050565b61032161031c82610522565b6105e1565b82525050565b6000610333828661028e565b601482019150610343828561028e565b6014820191506103538284610277565b600f82019150819050949350505050565b600061037082846102bc565b915081905092915050565b600061038782866102bc565b91506103938285610310565b6020820191506103a38284610260565b601482019150819050949350505050565b60006103bf826102ed565b91506103cb8286610260565b6014820191506103db82856102a5565b6020820191506103eb82846102a5565b602082019150819050949350505050565b60006020820190506104116000830184610251565b92915050565b6000610421610432565b905061042d828261056e565b919050565b6000604051905090565b600067ffffffffffffffff821115610457576104566105eb565b5b6104608261062e565b9050602081019050919050565b600081519050919050565b600081905092915050565b600081905092915050565b600061049982610502565b9050919050565b60007fffffffffffffffffffffffffffffff000000000000000000000000000000000082169050919050565b60007fffffffffffffffffffffffffffffffffffffffff00000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561055957808201518184015260208101905061053e565b83811115610568576000848401525b50505050565b6105778261062e565b810181811067ffffffffffffffff82111715610596576105956105eb565b5b80604052505050565b60006105aa826105cf565b9050919050565b6000819050919050565b6000819050919050565b6000819050919050565b60006105da8261063f565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7fff00000000000000000000000000000000000000000000000000000000000000600082015250565b61067e81610522565b811461068957600080fd5b5056fea2646970667358221220422fee06ce60f717e22e6b1e842411f21ad98f89b4b2730e60d3778ac32284ae64736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e049e1b314610030575b600080fd5b61004a600480360381019061004591906101f5565b610060565b60405161005791906103fc565b60405180910390f35b600080733d602d80600a3d3981f3363d3d373d3d3d363d7360601b730de8bf93da2f7eecb3d9169422413a9bef4ef62860601b6e5af43d82803e903d91602b57fd5bf360881b6040516020016100b893929190610327565b6040516020818303038152906040526040516020016100d79190610364565b60405160208183030381529060405280519060200120905060008385336040516020016101069392919061037b565b6040516020818303038152906040528051906020012090506000730de8bf93da2f7eecb3d9169422413a9bef4ef6288284604051602001610149939291906103b4565b6040516020818303038152906040528051906020012060001c905080935050505092915050565b600061018361017e8461043c565b610417565b90508281526020810184848401111561019f5761019e61061f565b5b6101aa84828561052c565b509392505050565b600082601f8301126101c7576101c661061a565b5b81356101d7848260208601610170565b91505092915050565b6000813590506101ef81610675565b92915050565b6000806040838503121561020c5761020b610629565b5b600061021a858286016101e0565b925050602083013567ffffffffffffffff81111561023b5761023a610624565b5b610247858286016101b2565b9150509250929050565b61025a8161048e565b82525050565b61027161026c8261048e565b61059f565b82525050565b610288610283826104a0565b6105b1565b82525050565b61029f61029a826104cc565b6105bb565b82525050565b6102b66102b1826104f8565b6105c5565b82525050565b60006102c78261046d565b6102d18185610478565b93506102e181856020860161053b565b80840191505092915050565b60006102fa600183610483565b91506103058261064c565b600182019050919050565b61032161031c82610522565b6105e1565b82525050565b6000610333828661028e565b601482019150610343828561028e565b6014820191506103538284610277565b600f82019150819050949350505050565b600061037082846102bc565b915081905092915050565b600061038782866102bc565b91506103938285610310565b6020820191506103a38284610260565b601482019150819050949350505050565b60006103bf826102ed565b91506103cb8286610260565b6014820191506103db82856102a5565b6020820191506103eb82846102a5565b602082019150819050949350505050565b60006020820190506104116000830184610251565b92915050565b6000610421610432565b905061042d828261056e565b919050565b6000604051905090565b600067ffffffffffffffff821115610457576104566105eb565b5b6104608261062e565b9050602081019050919050565b600081519050919050565b600081905092915050565b600081905092915050565b600061049982610502565b9050919050565b60007fffffffffffffffffffffffffffffff000000000000000000000000000000000082169050919050565b60007fffffffffffffffffffffffffffffffffffffffff00000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561055957808201518184015260208101905061053e565b83811115610568576000848401525b50505050565b6105778261062e565b810181811067ffffffffffffffff82111715610596576105956105eb565b5b80604052505050565b60006105aa826105cf565b9050919050565b6000819050919050565b6000819050919050565b6000819050919050565b60006105da8261063f565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7fff00000000000000000000000000000000000000000000000000000000000000600082015250565b61067e81610522565b811461068957600080fd5b5056fea2646970667358221220422fee06ce60f717e22e6b1e842411f21ad98f89b4b2730e60d3778ac32284ae64736f6c63430008070033

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

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.