Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00Latest 5 internal transactions
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 5504987 | 153 days ago | Contract Creation | 0 ETH | |||
| 5504987 | 153 days ago | Contract Creation | 0 ETH | |||
| 5504987 | 153 days ago | Contract Creation | 0 ETH | |||
| 5504987 | 153 days ago | Contract Creation | 0 ETH | |||
| 5504987 | 153 days ago | Contract Creation | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
SingletonFactory
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
prague EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.20;
/**
* @title Singleton Factory (EIP-2470)
* @notice Exposes CREATE2 (EIP-1014) to deploy bytecode on deterministic addresses based on initialization code and salt.
* @author Ricardo Guilherme Schmidt (Status Research & Development GmbH)
*/
contract SingletonFactory {
/**
* @notice Deploys `_initCode` using `_salt` for defining the deterministic address.
* @param _initCode Initialization code.
* @param _salt Arbitrary value to modify resulting address.
* @return createdContract Created contract address.
*/
function deploy(bytes memory _initCode, bytes32 _salt)
public
returns (address payable createdContract)
{
assembly {
createdContract := create2(0, add(_initCode, 0x20), mload(_initCode), _salt)
}
}
}{
"evmVersion": "prague",
"libraries": {},
"metadata": {
"appendCBOR": true,
"bytecodeHash": "none",
"useLiteralContent": false
},
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": [
"forge-std/=deploy/forge-std/src/",
"@openzeppelin/=node_modules/@openzeppelin/",
"@nomial-contracts-v1/=deploy/nomial-contracts-v1/src/",
"nomial-contracts-v1/=deploy/nomial-contracts-v1/src/"
],
"viaIR": true
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"bytes","name":"_initCode","type":"bytes"},{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"name":"deploy","outputs":[{"internalType":"address payable","name":"createdContract","type":"address"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60808060405234601557610101908161001a8239f35b5f80fdfe608060405260043610156010575f80fd5b5f3560e01c634af63f02146022575f80fd5b3460d157604036600319011260d15760043567ffffffffffffffff811160d1573660238201121560d15780600401359067ffffffffffffffff821160d557604051601f8301601f19908116603f0116810167ffffffffffffffff81118282101760d557604052828152366024848401011160d1575f60208460cd95602460b3960183860137830101526024359060e9565b6040516001600160a01b0390911681529081906020820190565b0390f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b6020815191015ff59056fea164736f6c634300081c000a
Deployed Bytecode
0x608060405260043610156010575f80fd5b5f3560e01c634af63f02146022575f80fd5b3460d157604036600319011260d15760043567ffffffffffffffff811160d1573660238201121560d15780600401359067ffffffffffffffff821160d557604051601f8301601f19908116603f0116810167ffffffffffffffff81118282101760d557604052828152366024848401011160d1575f60208460cd95602460b3960183860137830101526024359060e9565b6040516001600160a01b0390911681529081906020820190565b0390f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b6020815191015ff59056fea164736f6c634300081c000a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.