Address Details
contract

0xfcbbd4CA98C21013F4F27993689D849e8D46FBa6

Contract Name
SingletonFactory
Creator
0x4c828d–78dc3e at 0xa68ca5–9160d9
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
18 Transactions
Transfers
0 Transfers
Gas Used
12,978,636
Last Balance Update
5634475
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
SingletonFactory




Optimization enabled
true
Compiler version
v0.6.12+commit.27d51765




Optimization runs
200
EVM Version
istanbul




Verified at
2022-06-13T01:41:19.780090Z

/home/home/dotfiles/poof-deploy/deployer/contracts/SingletonFactory.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

/**
 * @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)
    }
  }
}
// IV is a value changed to generate the vanity address.
// IV: 6583047
        

Contract ABI

[{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"createdContract","internalType":"address payable"}],"name":"deploy","inputs":[{"type":"bytes","name":"_initCode","internalType":"bytes"},{"type":"bytes32","name":"_salt","internalType":"bytes32"}]}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b50610134806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80634af63f0214602d575b600080fd5b60cf60048036036040811015604157600080fd5b810190602081018135640100000000811115605b57600080fd5b820183602082011115606c57600080fd5b80359060200191846001830284011164010000000083111715608d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925060eb915050565b604080516001600160a01b039092168252519081900360200190f35b6000818351602085016000f5939250505056fea2646970667358221220bd8c0030ce27456c75e32bc32991017408613677dcea701496a09d721954d78564736f6c634300060c0033

Deployed ByteCode

0x6080604052348015600f57600080fd5b506004361060285760003560e01c80634af63f0214602d575b600080fd5b60cf60048036036040811015604157600080fd5b810190602081018135640100000000811115605b57600080fd5b820183602082011115606c57600080fd5b80359060200191846001830284011164010000000083111715608d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925060eb915050565b604080516001600160a01b039092168252519081900360200190f35b6000818351602085016000f5939250505056fea2646970667358221220bd8c0030ce27456c75e32bc32991017408613677dcea701496a09d721954d78564736f6c634300060c0033