Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 128 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deploy And Call | 19470305 | 344 days ago | IN | 0 ETH | 0.03423521 | ||||
Deploy And Call | 19338998 | 362 days ago | IN | 0 ETH | 0.01980769 | ||||
Deploy And Call | 19270359 | 372 days ago | IN | 0 ETH | 0.02323095 | ||||
Deploy And Call | 19230560 | 377 days ago | IN | 0 ETH | 0.00826294 | ||||
Deploy And Call | 19143188 | 390 days ago | IN | 0 ETH | 0.00172837 | ||||
Deploy And Call | 19143188 | 390 days ago | IN | 0 ETH | 0.00172837 | ||||
Deploy And Call | 19143188 | 390 days ago | IN | 0 ETH | 0.00173676 | ||||
Deploy And Call | 19093637 | 396 days ago | IN | 0 ETH | 0.00542118 | ||||
Deploy And Call | 19093102 | 397 days ago | IN | 0 ETH | 0.00779469 | ||||
Deploy And Call | 19093099 | 397 days ago | IN | 0 ETH | 0.00921839 | ||||
Deploy And Call | 18866726 | 428 days ago | IN | 0 ETH | 0.0046844 | ||||
Deploy And Call | 18483741 | 482 days ago | IN | 0 ETH | 0.00916016 | ||||
Deploy And Call | 18483741 | 482 days ago | IN | 0 ETH | 0.00916987 | ||||
Deploy And Call | 17939304 | 558 days ago | IN | 0 ETH | 0.00913455 | ||||
Deploy And Call | 17915580 | 562 days ago | IN | 0 ETH | 0.0097773 | ||||
Deploy And Call | 17196304 | 663 days ago | IN | 0 ETH | 0.05063618 | ||||
Deploy And Call | 17192570 | 663 days ago | IN | 0 ETH | 0.03319408 | ||||
Deploy And Call | 17146104 | 670 days ago | IN | 0 ETH | 0.0147116 | ||||
Deploy And Call | 17120497 | 673 days ago | IN | 0 ETH | 0.01115071 | ||||
Deploy And Call | 17115481 | 674 days ago | IN | 0 ETH | 0.01351839 | ||||
Deploy And Call | 17106797 | 675 days ago | IN | 0 ETH | 0.00347143 | ||||
Deploy And Call | 17106797 | 675 days ago | IN | 0 ETH | 0.00348829 | ||||
Deploy And Call | 17077905 | 679 days ago | IN | 0 ETH | 0.01441673 | ||||
Deploy And Call | 17046554 | 684 days ago | IN | 0 ETH | 0.01159361 | ||||
Deploy And Call | 17046553 | 684 days ago | IN | 0 ETH | 0.01019272 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
19470305 | 344 days ago | 0 ETH | |||||
19470305 | 344 days ago | 0 ETH | |||||
19338998 | 362 days ago | 0 ETH | |||||
19338998 | 362 days ago | 0 ETH | |||||
19270359 | 372 days ago | 0 ETH | |||||
19270359 | 372 days ago | 0 ETH | |||||
19230560 | 377 days ago | 0 ETH | |||||
19230560 | 377 days ago | 0 ETH | |||||
19143188 | 390 days ago | 0 ETH | |||||
19143188 | 390 days ago | 0 ETH | |||||
19143188 | 390 days ago | 0 ETH | |||||
19143188 | 390 days ago | 0 ETH | |||||
19093637 | 396 days ago | 0 ETH | |||||
19093637 | 396 days ago | 0 ETH | |||||
19093102 | 397 days ago | 0 ETH | |||||
19093102 | 397 days ago | 0 ETH | |||||
19093099 | 397 days ago | 0 ETH | |||||
19093099 | 397 days ago | 0 ETH | |||||
18866726 | 428 days ago | 0 ETH | |||||
18866726 | 428 days ago | 0 ETH | |||||
18483741 | 482 days ago | 0 ETH | |||||
18483741 | 482 days ago | 0 ETH | |||||
18483741 | 482 days ago | 0 ETH | |||||
17939304 | 558 days ago | 0 ETH | |||||
17939304 | 558 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DeployAndCall
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity =0.8.10; pragma abicoder v1; /** * ,, ,, * *MM db `7MM * MM MM * MM,dMMb. `7Mb,od8 `7MM `7MMpMMMb. MM ,MP' * MM `Mb MM' "' MM MM MM MM ;Y * MM M8 MM MM MM MM MM;Mm * MM. ,M9 MM MM MM MM MM `Mb. * P^YbmdP' .JMML. .JMML. .JMML JMML. .JMML. YA. * * DeployAndCall.sol :: 0x452C31d60883F0CB51744Ab9fd01685d7443CA6f * etherscan.io verified 2021-12-18 */ import "../Account/AccountFactory.sol"; /// @title DeployAndCall /// @notice This contract contains a function to batch account deploy and call into one transaction contract DeployAndCall { /// @dev The AccountFactory to use for account deployments AccountFactory constant ACCOUNT_FACTORY = AccountFactory(0xe925f84cA9Dd5b3844fC424861D7bDf9485761B6); /// @dev Deploys an account for the given owner and executes callData on the account /// @param owner Address of the account owner /// @param callData The call to execute on the account after deployment function deployAndCall(address owner, bytes memory callData) external payable { address account = ACCOUNT_FACTORY.deployAccount(owner); if (callData.length > 0) { assembly { let result := call(gas(), account, callvalue(), add(callData, 0x20), mload(callData), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity =0.8.10; pragma abicoder v1; /** * ,, ,, * *MM db `7MM * MM MM * MM,dMMb. `7Mb,od8 `7MM `7MMpMMMb. MM ,MP' * MM `Mb MM' "' MM MM MM MM ;Y * MM M8 MM MM MM MM MM;Mm * MM. ,M9 MM MM MM MM MM `Mb. * P^YbmdP' .JMML. .JMML. .JMML JMML. .JMML. YA. * * AccountFactory.sol :: 0xe925f84cA9Dd5b3844fC424861D7bDf9485761B6 * etherscan.io verified 2021-12-18 */ /// @title Brink account factory /// @notice This is a factory contract used for deployment of Brink proxy accounts contract AccountFactory { error DeployFailed(); /// @dev Deploys a Proxy account for the given owner /// @param owner Owner of the Proxy account /// @return account Address of the deployed Proxy account /// @notice This deploys a "minimal proxy" contract with the proxy owner address added to the deployed bytecode. The /// owner address can be read within a delegatecall by using `extcodecopy`. Minimal proxy bytecode is from /// https://medium.com/coinmonks/the-more-minimal-proxy-5756ae08ee48 and https://eips.ethereum.org/EIPS/eip-1167. It /// utilizes the "vanity address optimization" from EIP 1167 function deployAccount(address owner) external returns (address account) { bytes memory initCode = abi.encodePacked( // [* constructor **] [** minimal proxy ***] [******* implementation *******] [**** minimal proxy *****] hex'603c3d8160093d39f3_3d3d3d3d363d3d37363d6f_afcbce78c080f96032a5c1cb1b832d7b_5af43d3d93803e602657fd5bf3', owner ); assembly { account := create2(0, add(initCode, 0x20), mload(initCode), 0) } if(account == address(0)) { revert DeployFailed(); } } }
{ "optimizer": { "enabled": true, "runs": 800 }, "metadata": { "bytecodeHash": "none" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes","name":"callData","type":"bytes"}],"name":"deployAndCall","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506101c3806100206000396000f3fe60806040526004361061001e5760003560e01c8063ade8090514610023575b600080fd5b6100e66004803603604081101561003957600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561007157600080fd5b82018360208201111561008357600080fd5b803590602001918460018302840111640100000000831117156100a557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506100e8945050505050565b005b600073e925f84ca9dd5b3844fc424861d7bdf9485761b673ffffffffffffffffffffffffffffffffffffffff1663da9fc1ae846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1681526020019150506020604051808303816000875af115801561016c573d6000803e3d6000fd5b505050506040513d602081101561018257600080fd5b50518251909150156101b15760008083516020850134855af13d6000803e8080156101ac573d6000f35b3d6000fd5b50505056fea164736f6c634300080a000a
Deployed Bytecode
0x60806040526004361061001e5760003560e01c8063ade8090514610023575b600080fd5b6100e66004803603604081101561003957600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561007157600080fd5b82018360208201111561008357600080fd5b803590602001918460018302840111640100000000831117156100a557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506100e8945050505050565b005b600073e925f84ca9dd5b3844fc424861d7bdf9485761b673ffffffffffffffffffffffffffffffffffffffff1663da9fc1ae846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1681526020019150506020604051808303816000875af115801561016c573d6000803e3d6000fd5b505050506040513d602081101561018257600080fd5b50518251909150156101b15760008083516020850134855af13d6000803e8080156101ac573d6000f35b3d6000fd5b50505056fea164736f6c634300080a000a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.