Contract
0xf9d09d634fb818b05149329c1dccfaea53639d96
14
Contract Overview
Balance:
0 MATIC
My Name Tag:
Not Available
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Factory
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.7.6; import "./Wallet.sol"; contract Factory { /** * @notice Will deploy a new wallet instance * @param _mainModule Address of the main module to be used by the wallet * @param _salt Salt used to generate the wallet, which is the imageHash * of the wallet's configuration. * @dev It is recommended to not have more than 200 signers as opcode repricing * could make transactions impossible to execute as all the signers must be * passed for each transaction. */ function deploy(address _mainModule, bytes32 _salt) public payable returns (address _contract) { bytes memory code = abi.encodePacked(Wallet.creationCode, uint256(_mainModule)); assembly { _contract := create2(callvalue(), add(code, 32), mload(code), _salt) } } }
// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.7.6; /** Minimal upgradeable proxy implementation, delegates all calls to the address defined by the storage slot matching the wallet address. Inspired by EIP-1167 Implementation (https://eips.ethereum.org/EIPS/eip-1167) deployed code: 0x00 0x36 0x36 CALLDATASIZE cds 0x01 0x3d 0x3d RETURNDATASIZE 0 cds 0x02 0x3d 0x3d RETURNDATASIZE 0 0 cds 0x03 0x37 0x37 CALLDATACOPY 0x04 0x3d 0x3d RETURNDATASIZE 0 0x05 0x3d 0x3d RETURNDATASIZE 0 0 0x06 0x3d 0x3d RETURNDATASIZE 0 0 0 0x07 0x36 0x36 CALLDATASIZE cds 0 0 0 0x08 0x3d 0x3d RETURNDATASIZE 0 cds 0 0 0 0x09 0x30 0x30 ADDRESS addr 0 cds 0 0 0 0x0A 0x54 0x54 SLOAD imp 0 cds 0 0 0 0x0B 0x5a 0x5a GAS gas imp 0 cds 0 0 0 0x0C 0xf4 0xf4 DELEGATECALL suc 0 0x0D 0x3d 0x3d RETURNDATASIZE rds suc 0 0x0E 0x82 0x82 DUP3 0 rds suc 0 0x0F 0x80 0x80 DUP1 0 0 rds suc 0 0x10 0x3e 0x3e RETURNDATACOPY suc 0 0x11 0x90 0x90 SWAP1 0 suc 0x12 0x3d 0x3d RETURNDATASIZE rds 0 suc 0x13 0x91 0x91 SWAP2 suc 0 rds 0x14 0x60 0x18 0x6018 PUSH1 0x18 suc 0 rds /-- 0x16 0x57 0x57 JUMPI 0 rds | 0x17 0xfd 0xfd REVERT \-> 0x18 0x5b 0x5b JUMPDEST 0 rds 0x19 0xf3 0xf3 RETURN flat deployed code: 0x363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3 deploy function: 0x00 0x60 0x3a 0x603a PUSH1 0x3a 0x02 0x60 0x0e 0x600e PUSH1 0x0e 0x3a 0x04 0x3d 0x3d RETURNDATASIZE 0 0x0e 0x3a 0x05 0x39 0x39 CODECOPY 0x06 0x60 0x1a 0x601a PUSH1 0x1a 0x08 0x80 0x80 DUP1 0x1a 0x1a 0x09 0x51 0x51 MLOAD imp 0x1a 0x0A 0x30 0x30 ADDRESS addr imp 0x1a 0x0B 0x55 0x55 SSTORE 0x1a 0x0C 0x3d 0x3d RETURNDATASIZE 0 0x1a 0x0D 0xf3 0xf3 RETURN [...deployed code] flat deploy function: 0x603a600e3d39601a805130553df3363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3 */ library Wallet { bytes internal constant creationCode = hex"603a600e3d39601a805130553df3363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3"; }
{ "optimizer": { "enabled": true, "runs": 999999, "details": { "yul": true } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"_mainModule","type":"address"},{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"name":"deploy","outputs":[{"internalType":"address","name":"_contract","type":"address"}],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506101c8806100206000396000f3fe60806040526004361061001e5760003560e01c806332c02a1414610023575b600080fd5b61005c6004803603604081101561003957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610085565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60008060405180606001604052806028815260200161016b602891398473ffffffffffffffffffffffffffffffffffffffff166040516020018083805190602001908083835b6020831061010857805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016100cb565b51815160209384036101000a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0180199092169116179052920193845250604080518085038152938201905282519294508693508401905034f594935050505056fe603a600e3d39601a805130553df3363d3d373d3d3d363d30545af43d82803e903d91601857fd5bf3a26469706673582212209b0bce93afab3297b9ebf4e58fa642ef123d74bcbd3bdb4e48b662eb12b430ca64736f6c63430007060033
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|