Address Contract Verified
Address
0x08072D67a6f158FE2c6f21886B0742736e925536
Balance
0 ETH
Nonce
124
Code Size
1663 bytes
Creator
0x6e632701...57c5 at tx 0x981738d8...c94217
Indexed Transactions
0 (124 on-chain, 0.7% indexed)
Contract Bytecode
1663 bytes
0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634847be6f1461003b5780634ed7b1e81461006b575b600080fd5b6100556004803603810190610050919061045a565b61009b565b604051610062919061050a565b60405180910390f35b6100856004803603810190610080919061055d565b610155565b604051610092919061050a565b60405180910390f35b60008183518460200186f59050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010e90610629565b60405180910390fd5b7f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b51181604051610146919061050a565b60405180910390a19392505050565b600082516020840185f09050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101c790610629565b60405180910390fd5b7f4db17dd5e4732fb6da34a148104a592783ca119a1e7bb8829eba6cbadef0b511816040516101ff919061050a565b60405180910390a1811561028d578073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b73cba28b38103307ec8da98377fff9816c164f9afa6040518263ffffffff1660e01b815260040161025a919061050a565b600060405180830381600087803b15801561027457600080fd5b505af1158015610288573d6000803e3d6000fd5b505050505b9392505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6102bb816102a8565b81146102c657600080fd5b50565b6000813590506102d8816102b2565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610331826102e8565b810181811067ffffffffffffffff821117156103505761034f6102f9565b5b80604052505050565b6000610363610294565b905061036f8282610328565b919050565b600067ffffffffffffffff82111561038f5761038e6102f9565b5b610398826102e8565b9050602081019050919050565b82818337600083830152505050565b60006103c76103c284610374565b610359565b9050828152602081018484840111156103e3576103e26102e3565b5b6103ee8482856103a5565b509392505050565b600082601f83011261040b5761040a6102de565b5b813561041b8482602086016103b4565b91505092915050565b6000819050919050565b61043781610424565b811461044257600080fd5b50565b6000813590506104548161042e565b92915050565b6000806000606084860312156104735761047261029e565b5b6000610481868287016102c9565b935050602084013567ffffffffffffffff8111156104a2576104a16102a3565b5b6104ae868287016103f6565b92505060406104bf86828701610445565b9150509250925092565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006104f4826104c9565b9050919050565b610504816104e9565b82525050565b600060208201905061051f60008301846104fb565b92915050565b60008115159050919050565b61053a81610525565b811461054557600080fd5b50565b60008135905061055781610531565b92915050565b6000806000606084860312156105765761057561029e565b5b6000610584868287016102c9565b935050602084013567ffffffffffffffff8111156105a5576105a46102a3565b5b6105b1868287016103f6565b92505060406105c286828701610548565b9150509250925092565b600082825260208201905092915050565b7f436f756c64206e6f74206465706c6f7920636f6e747261637400000000000000600082015250565b60006106136019836105cc565b915061061e826105dd565b602082019050919050565b6000602082019050818103600083015261064281610606565b905091905056fea2646970667358221220c988d76e1eb0261ca9da1b3a97ddc3094addee4a3067595c4018e0a6583213c164736f6c634300080d0033
Verified Source Code Full Match
Compiler: v0.8.13+commit.abaa5c0e
EVM: london
Optimization: No
AdmoDeployer.sol 36 lines
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;
interface IOwnable {
function transferOwnership(address) external;
}
contract AdmoDeployer {
address constant morphoDao = 0xcBa28b38103307Ec8dA98377ffF9816C164f9AFa;
event ContractCreation(address newContract);
function performCreate2(
uint256 value,
bytes memory deploymentData,
bytes32 salt
) public returns (address newContract) {
// solhint-disable-next-line no-inline-assembly
assembly {
newContract := create2(value, add(0x20, deploymentData), mload(deploymentData), salt)
}
require(newContract != address(0), "Could not deploy contract");
emit ContractCreation(newContract);
}
function performCreate(uint256 value, bytes memory deploymentData, bool transferOwnership) public returns (address newContract) {
// solhint-disable-next-line no-inline-assembly
assembly {
newContract := create(value, add(deploymentData, 0x20), mload(deploymentData))
}
require(newContract != address(0), "Could not deploy contract");
emit ContractCreation(newContract);
if (transferOwnership) IOwnable(newContract).transferOwnership(morphoDao);
}
}
Write Contract 2 functions
These functions modify contract state and require a wallet transaction to execute.
performCreate 0x4ed7b1e8
uint256 value
bytes deploymentData
bool transferOwnership
returns: address
performCreate2 0x4847be6f
uint256 value
bytes deploymentData
bytes32 salt
returns: address
Recent Transactions
This address has 124 on-chain transactions, but only 0.7% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →