ETH Price: $2,264.47 (+7.51%)

Contract

0x000000006551c19487814612e58FE06813775758
 

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
Create Account243803812026-02-04 2:03:5940 days ago1770170639IN
0x00000000...813775758
0 ETH0.000012960.13651731
Create Account242559292026-01-17 17:22:3557 days ago1768670555IN
0x00000000...813775758
0 ETH0.000192712.02935753
Create Account237374352025-11-06 3:03:11130 days ago1762398191IN
0x00000000...813775758
0 ETH0.000041950.44089418
Create Account236425402025-10-23 20:20:35143 days ago1761250835IN
0x00000000...813775758
0 ETH0.000011870.12508662
Create Account229038092025-07-12 14:53:47246 days ago1752332027IN
0x00000000...813775758
0 ETH0.000298793.1471198
Create Account228567212025-07-06 0:55:35253 days ago1751763335IN
0x00000000...813775758
0 ETH0.000212812.24097379
Create Account227856012025-06-26 2:22:11263 days ago1750904531IN
0x00000000...813775758
0 ETH0.000026461.03546224
Create Account227593762025-06-22 10:26:11266 days ago1750587971IN
0x00000000...813775758
0 ETH0.000009280.36345255
Create Account227448812025-06-20 9:46:11268 days ago1750412771IN
0x00000000...813775758
0 ETH0.000021330.83473446
Create Account227424522025-06-20 1:37:23269 days ago1750383443IN
0x00000000...813775758
0 ETH0.000009320.36476242
Create Account227029822025-06-14 13:06:23274 days ago1749906383IN
0x00000000...813775758
0 ETH0.000017280.67639134
0x06134716226768162025-06-10 21:20:59278 days ago1749590459IN
0x00000000...813775758
0 ETH0.000084253.4
Set To Custom Se...226767542025-06-10 21:08:23278 days ago1749589703IN
0x00000000...813775758
0 ETH0.000117544.8832593
Create Account226648692025-06-09 5:14:59280 days ago1749446099IN
0x00000000...813775758
0 ETH0.000014880.58199235
Create Account226644242025-06-09 3:45:47280 days ago1749440747IN
0x00000000...813775758
0 ETH0.000015740.61609889
Create Account226622492025-06-08 20:27:59280 days ago1749414479IN
0x00000000...813775758
0 ETH0.000024890.97368222
Create Account226196472025-06-02 21:25:23286 days ago1748899523IN
0x00000000...813775758
0 ETH0.000333213.50922508
Create Account226180802025-06-02 16:08:47286 days ago1748880527IN
0x00000000...813775758
0 ETH0.00045614.80407315
Create Account226178102025-06-02 15:14:23286 days ago1748877263IN
0x00000000...813775758
0 ETH0.000620896.53983698
Create Account226056242025-05-31 22:16:23288 days ago1748729783IN
0x00000000...813775758
0 ETH0.000025891.01315459
Create Account226029832025-05-31 13:23:11288 days ago1748697791IN
0x00000000...813775758
0 ETH0.000181241.90901563
Create Account225164132025-05-19 10:27:47300 days ago1747650467IN
0x00000000...813775758
0 ETH0.000027141.06191008
Create Account225145382025-05-19 4:09:47301 days ago1747627787IN
0x00000000...813775758
0 ETH0.000010170.39792879
Create Account225118092025-05-18 18:58:35301 days ago1747594715IN
0x00000000...813775758
0 ETH0.000021640.84687181
Create Account224330112025-05-07 16:45:59312 days ago1746636359IN
0x00000000...813775758
0 ETH0.000189741.99850599
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x3d60ad80246685862026-03-16 7:31:351 min ago1773646295
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246685832026-03-16 7:30:591 min ago1773646259
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246685602026-03-16 7:26:236 mins ago1773645983
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246685422026-03-16 7:22:4710 mins ago1773645767
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246685362026-03-16 7:21:2311 mins ago1773645683
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246685362026-03-16 7:21:2311 mins ago1773645683
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246685322026-03-16 7:20:3512 mins ago1773645635
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246685112026-03-16 7:16:1116 mins ago1773645371
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246684942026-03-16 7:12:4720 mins ago1773645167
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246684862026-03-16 7:11:1121 mins ago1773645071
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246684712026-03-16 7:08:1124 mins ago1773644891
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246684672026-03-16 7:07:2325 mins ago1773644843
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246684492026-03-16 7:03:4729 mins ago1773644627
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246684122026-03-16 6:56:2336 mins ago1773644183
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246683972026-03-16 6:53:2339 mins ago1773644003
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246683942026-03-16 6:52:4740 mins ago1773643967
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246683922026-03-16 6:52:2340 mins ago1773643943
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246683842026-03-16 6:50:4742 mins ago1773643847
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246683292026-03-16 6:39:3553 mins ago1773643175
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246683132026-03-16 6:36:1156 mins ago1773642971
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246682902026-03-16 6:31:351 hr ago1773642695
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246682162026-03-16 6:16:471 hr ago1773641807
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246682042026-03-16 6:14:231 hr ago1773641663
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246681862026-03-16 6:10:471 hr ago1773641447
0x00000000...813775758
 Contract Creation0 ETH
0x3d60ad80246681542026-03-16 6:04:231 hr ago1773641063
0x00000000...813775758
 Contract Creation0 ETH
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:
ERC6551Registry

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IERC6551Registry {
    /**
     * @dev The registry MUST emit the ERC6551AccountCreated event upon successful account creation.
     */
    event ERC6551AccountCreated(
        address account,
        address indexed implementation,
        bytes32 salt,
        uint256 chainId,
        address indexed tokenContract,
        uint256 indexed tokenId
    );

    /**
     * @dev The registry MUST revert with AccountCreationFailed error if the create2 operation fails.
     */
    error AccountCreationFailed();

    /**
     * @dev Creates a token bound account for a non-fungible token.
     *
     * If account has already been created, returns the account address without calling create2.
     *
     * Emits ERC6551AccountCreated event.
     *
     * @return account The address of the token bound account
     */
    function createAccount(
        address implementation,
        bytes32 salt,
        uint256 chainId,
        address tokenContract,
        uint256 tokenId
    ) external returns (address account);

    /**
     * @dev Returns the computed token bound account address for a non-fungible token.
     *
     * @return account The address of the token bound account
     */
    function account(
        address implementation,
        bytes32 salt,
        uint256 chainId,
        address tokenContract,
        uint256 tokenId
    ) external view returns (address account);
}

contract ERC6551Registry is IERC6551Registry {
    function createAccount(
        address implementation,
        bytes32 salt,
        uint256 chainId,
        address tokenContract,
        uint256 tokenId
    ) external returns (address) {
        assembly {
            // Memory Layout:
            // ----
            // 0x00   0xff                           (1 byte)
            // 0x01   registry (address)             (20 bytes)
            // 0x15   salt (bytes32)                 (32 bytes)
            // 0x35   Bytecode Hash (bytes32)        (32 bytes)
            // ----
            // 0x55   ERC-1167 Constructor + Header  (20 bytes)
            // 0x69   implementation (address)       (20 bytes)
            // 0x5D   ERC-1167 Footer                (15 bytes)
            // 0x8C   salt (uint256)                 (32 bytes)
            // 0xAC   chainId (uint256)              (32 bytes)
            // 0xCC   tokenContract (address)        (32 bytes)
            // 0xEC   tokenId (uint256)              (32 bytes)

            // Silence unused variable warnings
            pop(chainId)

            // Copy bytecode + constant data to memory
            calldatacopy(0x8c, 0x24, 0x80) // salt, chainId, tokenContract, tokenId
            mstore(0x6c, 0x5af43d82803e903d91602b57fd5bf3) // ERC-1167 footer
            mstore(0x5d, implementation) // implementation
            mstore(0x49, 0x3d60ad80600a3d3981f3363d3d373d3d3d363d73) // ERC-1167 constructor + header

            // Copy create2 computation data to memory
            mstore8(0x00, 0xff) // 0xFF
            mstore(0x35, keccak256(0x55, 0xb7)) // keccak256(bytecode)
            mstore(0x01, shl(96, address())) // registry address
            mstore(0x15, salt) // salt

            // Compute account address
            let computed := keccak256(0x00, 0x55)

            // If the account has not yet been deployed
            if iszero(extcodesize(computed)) {
                // Deploy account contract
                let deployed := create2(0, 0x55, 0xb7, salt)

                // Revert if the deployment fails
                if iszero(deployed) {
                    mstore(0x00, 0x20188a59) // `AccountCreationFailed()`
                    revert(0x1c, 0x04)
                }

                // Store account address in memory before salt and chainId
                mstore(0x6c, deployed)

                // Emit the ERC6551AccountCreated event
                log4(
                    0x6c,
                    0x60,
                    // `ERC6551AccountCreated(address,address,bytes32,uint256,address,uint256)`
                    0x79f19b3655ee38b1ce526556b7731a20c8f218fbda4a3990b6cc4172fdf88722,
                    implementation,
                    tokenContract,
                    tokenId
                )

                // Return the account address
                return(0x6c, 0x20)
            }

            // Otherwise, return the computed account address
            mstore(0x00, shr(96, shl(96, computed)))
            return(0x00, 0x20)
        }
    }

    function account(
        address implementation,
        bytes32 salt,
        uint256 chainId,
        address tokenContract,
        uint256 tokenId
    ) external view returns (address) {
        assembly {
            // Silence unused variable warnings
            pop(chainId)
            pop(tokenContract)
            pop(tokenId)

            // Copy bytecode + constant data to memory
            calldatacopy(0x8c, 0x24, 0x80) // salt, chainId, tokenContract, tokenId
            mstore(0x6c, 0x5af43d82803e903d91602b57fd5bf3) // ERC-1167 footer
            mstore(0x5d, implementation) // implementation
            mstore(0x49, 0x3d60ad80600a3d3981f3363d3d373d3d3d363d73) // ERC-1167 constructor + header

            // Copy create2 computation data to memory
            mstore8(0x00, 0xff) // 0xFF
            mstore(0x35, keccak256(0x55, 0xb7)) // keccak256(bytecode)
            mstore(0x01, shl(96, address())) // registry address
            mstore(0x15, salt) // salt

            // Store computed account address in memory
            mstore(0x00, shr(96, shl(96, keccak256(0x00, 0x55))))

            // Return computed account address
            return(0x00, 0x20)
        }
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"AccountCreationFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"implementation","type":"address"},{"indexed":false,"internalType":"bytes32","name":"salt","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"chainId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC6551AccountCreated","type":"event"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"account","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"createAccount","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061023b806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063246a00211461003b5780638a54c52f1461006a575b600080fd5b61004e6100493660046101b7565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e6100783660046101b7565b6100e1565b600060806024608c376e5af43d82803e903d91602b57fd5bf3606c5285605d52733d60ad80600a3d3981f3363d3d373d3d3d363d7360495260ff60005360b76055206035523060601b60015284601552605560002060601b60601c60005260206000f35b600060806024608c376e5af43d82803e903d91602b57fd5bf3606c5285605d52733d60ad80600a3d3981f3363d3d373d3d3d363d7360495260ff60005360b76055206035523060601b600152846015526055600020803b61018b578560b760556000f580610157576320188a596000526004601cfd5b80606c52508284887f79f19b3655ee38b1ce526556b7731a20c8f218fbda4a3990b6cc4172fdf887226060606ca46020606cf35b8060601b60601c60005260206000f35b80356001600160a01b03811681146101b257600080fd5b919050565b600080600080600060a086880312156101cf57600080fd5b6101d88661019b565b945060208601359350604086013592506101f46060870161019b565b94979396509194608001359291505056fea2646970667358221220ea2fe53af507453c64dd7c1db05549fa47a298dfb825d6d11e1689856135f16764736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063246a00211461003b5780638a54c52f1461006a575b600080fd5b61004e6100493660046101b7565b61007d565b6040516001600160a01b03909116815260200160405180910390f35b61004e6100783660046101b7565b6100e1565b600060806024608c376e5af43d82803e903d91602b57fd5bf3606c5285605d52733d60ad80600a3d3981f3363d3d373d3d3d363d7360495260ff60005360b76055206035523060601b60015284601552605560002060601b60601c60005260206000f35b600060806024608c376e5af43d82803e903d91602b57fd5bf3606c5285605d52733d60ad80600a3d3981f3363d3d373d3d3d363d7360495260ff60005360b76055206035523060601b600152846015526055600020803b61018b578560b760556000f580610157576320188a596000526004601cfd5b80606c52508284887f79f19b3655ee38b1ce526556b7731a20c8f218fbda4a3990b6cc4172fdf887226060606ca46020606cf35b8060601b60601c60005260206000f35b80356001600160a01b03811681146101b257600080fd5b919050565b600080600080600060a086880312156101cf57600080fd5b6101d88661019b565b945060208601359350604086013592506101f46060870161019b565b94979396509194608001359291505056fea2646970667358221220ea2fe53af507453c64dd7c1db05549fa47a298dfb825d6d11e1689856135f16764736f6c63430008110033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.