Source Code
Overview
ETH Balance
0 ETH
Token Holdings
More Info
ContractCreator
Multichain Info
N/A
Latest 25 from a total of 343 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deploy | 7461402 | 2 days ago | IN | 0 ETH | 0.00877072 | ||||
Deploy | 7456139 | 3 days ago | IN | 0 ETH | 0.0007042 | ||||
Deploy | 7455350 | 3 days ago | IN | 0 ETH | 0.00204278 | ||||
Deploy | 7449130 | 4 days ago | IN | 0 ETH | 0.14403425 | ||||
Deploy | 7449122 | 4 days ago | IN | 0 ETH | 0.14298026 | ||||
Deploy | 7447239 | 4 days ago | IN | 0 ETH | 0.00479025 | ||||
Deploy | 7444221 | 5 days ago | IN | 0 ETH | 0.00567363 | ||||
Deploy | 7428014 | 7 days ago | IN | 0 ETH | 0.00294096 | ||||
Deploy | 7414127 | 9 days ago | IN | 0 ETH | 0.0028166 | ||||
Deploy | 7408382 | 10 days ago | IN | 0 ETH | 0.00144474 | ||||
Deploy | 7407794 | 10 days ago | IN | 0 ETH | 0.00287911 | ||||
Deploy | 7407392 | 10 days ago | IN | 0 ETH | 0.0047152 | ||||
Deploy | 7335500 | 21 days ago | IN | 0 ETH | 0.00122389 | ||||
Deploy | 7335492 | 21 days ago | IN | 0 ETH | 0.00129796 | ||||
Deploy | 7335465 | 21 days ago | IN | 0 ETH | 0.00095402 | ||||
Deploy | 7319315 | 23 days ago | IN | 0 ETH | 0.01678006 | ||||
Deploy | 7312145 | 24 days ago | IN | 0 ETH | 0.00635152 | ||||
Deploy | 7311625 | 24 days ago | IN | 0 ETH | 0.01394244 | ||||
Deploy | 7311589 | 24 days ago | IN | 0 ETH | 0.01373106 | ||||
Deploy | 7308423 | 25 days ago | IN | 0 ETH | 0.00105162 | ||||
Deploy | 7308416 | 25 days ago | IN | 0 ETH | 0.00104642 | ||||
Deploy | 7308402 | 25 days ago | IN | 0 ETH | 0.00099598 | ||||
Deploy | 7308390 | 25 days ago | IN | 0 ETH | 0.00099237 | ||||
Deploy | 7307566 | 25 days ago | IN | 0 ETH | 0.00057941 | ||||
Deploy | 7307557 | 25 days ago | IN | 0 ETH | 0.00059093 |
Latest 25 internal transactions (View All)
Advanced mode:
Loading...
Loading
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.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x01FD1596...eC7D27b23 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TLUniversalDeployer
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 20000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.22; import {Ownable} from "openzeppelin/access/Ownable.sol"; import {Clones} from "openzeppelin/proxy/Clones.sol"; /// @title TLUniversalDeployer.sol /// @notice Transient Labs universal deployer - a contract factory allowing for easy deployment of TL contracts /// @dev This contract uses deterministic contract deployments (CREATE2) /// @author transientlabs.xyz /// @custom:version 1.0.0 contract TLUniversalDeployer is Ownable { /*////////////////////////////////////////////////////////////////////////// Custom Types //////////////////////////////////////////////////////////////////////////*/ /// @dev Struct defining a contract version that is deployable /// @param id A human readable string showing the version identifier /// @param address The implementation address struct ContractVersion { string id; address implementation; } /// @dev Struct defining a contract that is deployable /// @param created A boolean spcifying if the cloneable contract struct has been created or not /// @param cType The contract type (human readable - ex: ERC721TL) /// @param versions An array of `ContractVersion` structs that are deployable struct DeployableContract { bool created; string cType; ContractVersion[] versions; } /*////////////////////////////////////////////////////////////////////////// State Variables //////////////////////////////////////////////////////////////////////////*/ string public constant VERSION = "1.0.0"; mapping(bytes32 => DeployableContract) private _deployableContracts; // keccak256(name) -> DeployableContract bytes32[] private _deployableContractKeys; /*////////////////////////////////////////////////////////////////////////// Events //////////////////////////////////////////////////////////////////////////*/ /// @dev Event emitted whenever a contract is deployed /// @param sender The msg sender /// @param deployedContract The address of the deployed contract /// @param implementation The address of the implementation contract /// @param cType The type of contract deployed /// @param version The version of contract deployed event ContractDeployed( address indexed sender, address indexed deployedContract, address indexed implementation, string cType, string version ); /*////////////////////////////////////////////////////////////////////////// Custom Errors //////////////////////////////////////////////////////////////////////////*/ /// @dev Not a valid contract name error InvalidDeployableContract(); /// @dev Initialization failed error InitializationFailed(); /// @dev Contract already created error ContractAlreadyCreated(); /*////////////////////////////////////////////////////////////////////////// Constructor //////////////////////////////////////////////////////////////////////////*/ /// @param initOwner The initial owner of the contract constructor(address initOwner) Ownable(initOwner) {} /*////////////////////////////////////////////////////////////////////////// Deploy Functions //////////////////////////////////////////////////////////////////////////*/ /// @notice Function to deploy the latest version of a deployable contract /// @param contractType The contract type to deploy /// @param initializationCode The initialization code to call after contract deployment function deploy(string calldata contractType, bytes calldata initializationCode) external { // get DeployableContract bytes32 dcId = keccak256(bytes(contractType)); DeployableContract memory dc = _deployableContracts[dcId]; // verify contract is valid if (!dc.created) revert InvalidDeployableContract(); // get latest version ContractVersion memory cv = dc.versions[dc.versions.length - 1]; // deploy _deploy(dc, cv, initializationCode); } /// @notice Function to deploy the latest version of a cloneable contract /// @param contractType The contract type to deploy /// @param initializationCode The initialization code to call after contract deployment /// @param versionIndex The indeex of the `ContractVersion` to deploy function deploy(string calldata contractType, bytes calldata initializationCode, uint256 versionIndex) external { // get DeployableContract bytes32 dcId = keccak256(bytes(contractType)); DeployableContract memory dc = _deployableContracts[dcId]; // verify cloneable contract is valid if (!dc.created) revert InvalidDeployableContract(); if (versionIndex >= dc.versions.length) revert InvalidDeployableContract(); // get latest version ContractVersion memory cv = dc.versions[versionIndex]; // deploy _deploy(dc, cv, initializationCode); } /*////////////////////////////////////////////////////////////////////////// Admin Functions //////////////////////////////////////////////////////////////////////////*/ /// @notice Function to add a contract type and/or version /// @dev Restricted to only owner /// @param contractType The contract type to save this under /// @param version The version to push to the DeployableContract struct function addDeployableContract(string calldata contractType, ContractVersion calldata version) external onlyOwner { // get DeployableContract bytes32 dcId = keccak256(bytes(contractType)); DeployableContract storage dc = _deployableContracts[dcId]; // if the contract type has not been created, create. e // else, skip and just push version. if (!dc.created) { dc.created = true; dc.cType = contractType; _deployableContractKeys.push(dcId); } // push version dc.versions.push(version); } /*////////////////////////////////////////////////////////////////////////// Public Functions //////////////////////////////////////////////////////////////////////////*/ /// @notice Function to get contracts that can be deployed function getDeployableContracts() external view returns (string[] memory) { string[] memory dcs = new string[](_deployableContractKeys.length); for (uint256 i = 0; i < _deployableContractKeys.length; i++) { dcs[i] = _deployableContracts[_deployableContractKeys[i]].cType; } return dcs; } /// @notice Function to get a specific contract type /// @dev Does not revert for a `contractType` that doesn't exist /// @param contractType The contract type to look up function getDeployableContract(string calldata contractType) external view returns (DeployableContract memory) { bytes32 dcId = keccak256(bytes(contractType)); DeployableContract memory dc = _deployableContracts[dcId]; return dc; } /// @notice Function to predict the address at which a contract would be deployed /// @dev Predicts for the latest implementation /// @param sender The sender of the contract deployment transaction /// @param contractType The contract type to deploy /// @param initializationCode The initialization code to call after contract deployment function predictDeployedContractAddress( address sender, string calldata contractType, bytes calldata initializationCode ) external view returns (address) { // get DeployableContract bytes32 dcId = keccak256(bytes(contractType)); DeployableContract memory dc = _deployableContracts[dcId]; // verify contract is valid if (!dc.created) revert InvalidDeployableContract(); // get latest version ContractVersion memory cv = dc.versions[dc.versions.length - 1]; // create salt by hashing the sender and init code bytes32 salt = keccak256(abi.encodePacked(sender, initializationCode)); // predict return Clones.predictDeterministicAddress(cv.implementation, salt); } /// @notice Function to predict the address at which a contract would be deployed /// @dev Predicts for a specific implementation /// @param sender The sender of the contract deployment transaction /// @param contractType The contract type to deploy /// @param initializationCode The initialization code to call after contract deployment /// @param versionIndex The indeex of the `ContractVersion` to deploy function predictDeployedContractAddress( address sender, string calldata contractType, bytes calldata initializationCode, uint256 versionIndex ) external view returns (address) { // get DeployableContract bytes32 dcId = keccak256(bytes(contractType)); DeployableContract memory dc = _deployableContracts[dcId]; // verify contract is valid if (!dc.created) revert InvalidDeployableContract(); if (versionIndex >= dc.versions.length) revert InvalidDeployableContract(); // get latest version ContractVersion memory cv = dc.versions[versionIndex]; // create salt by hashing the sender and init code bytes32 salt = keccak256(abi.encodePacked(sender, initializationCode)); // predict return Clones.predictDeterministicAddress(cv.implementation, salt); } /*////////////////////////////////////////////////////////////////////////// Private Functions //////////////////////////////////////////////////////////////////////////*/ /// @notice Private function to deploy contracts function _deploy(DeployableContract memory dc, ContractVersion memory cv, bytes memory initializationCode) private { // create salt by hashing the sender and init code bytes32 salt = keccak256(abi.encodePacked(msg.sender, initializationCode)); // clone address deployedContract = Clones.cloneDeterministic(cv.implementation, salt); // initialize (bool success,) = deployedContract.call(initializationCode); if (!success) revert InitializationFailed(); // emit event emit ContractDeployed(msg.sender, deployedContract, cv.implementation, dc.cType, cv.id); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (proxy/Clones.sol) pragma solidity ^0.8.20; /** * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for * deploying minimal proxy contracts, also known as "clones". * * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies * > a minimal bytecode implementation that delegates all calls to a known, fixed address. * * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2` * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the * deterministic method. */ library Clones { /** * @dev A clone instance deployment failed. */ error ERC1167FailedCreateClone(); /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create opcode, which should never revert. */ function clone(address implementation) internal returns (address instance) { /// @solidity memory-safe-assembly assembly { // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes // of the `implementation` address with the bytecode before the address. mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000)) // Packs the remaining 17 bytes of `implementation` with the bytecode after the address. mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3)) instance := create(0, 0x09, 0x37) } if (instance == address(0)) { revert ERC1167FailedCreateClone(); } } /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create2 opcode and a `salt` to deterministically deploy * the clone. Using the same `implementation` and `salt` multiple time will revert, since * the clones cannot be deployed twice at the same address. */ function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) { /// @solidity memory-safe-assembly assembly { // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes // of the `implementation` address with the bytecode before the address. mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000)) // Packs the remaining 17 bytes of `implementation` with the bytecode after the address. mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3)) instance := create2(0, 0x09, 0x37, salt) } if (instance == address(0)) { revert ERC1167FailedCreateClone(); } } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt, address deployer ) internal pure returns (address predicted) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(add(ptr, 0x38), deployer) mstore(add(ptr, 0x24), 0x5af43d82803e903d91602b57fd5bf3ff) mstore(add(ptr, 0x14), implementation) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73) mstore(add(ptr, 0x58), salt) mstore(add(ptr, 0x78), keccak256(add(ptr, 0x0c), 0x37)) predicted := keccak256(add(ptr, 0x43), 0x55) } } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt ) internal view returns (address predicted) { return predictDeterministicAddress(implementation, salt, address(this)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "remappings": [ "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/", "openzeppelin-contracts/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 20000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
[{"inputs":[{"internalType":"address","name":"initOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ContractAlreadyCreated","type":"error"},{"inputs":[],"name":"ERC1167FailedCreateClone","type":"error"},{"inputs":[],"name":"InitializationFailed","type":"error"},{"inputs":[],"name":"InvalidDeployableContract","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"deployedContract","type":"address"},{"indexed":true,"internalType":"address","name":"implementation","type":"address"},{"indexed":false,"internalType":"string","name":"cType","type":"string"},{"indexed":false,"internalType":"string","name":"version","type":"string"}],"name":"ContractDeployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"contractType","type":"string"},{"components":[{"internalType":"string","name":"id","type":"string"},{"internalType":"address","name":"implementation","type":"address"}],"internalType":"struct TLUniversalDeployer.ContractVersion","name":"version","type":"tuple"}],"name":"addDeployableContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractType","type":"string"},{"internalType":"bytes","name":"initializationCode","type":"bytes"}],"name":"deploy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractType","type":"string"},{"internalType":"bytes","name":"initializationCode","type":"bytes"},{"internalType":"uint256","name":"versionIndex","type":"uint256"}],"name":"deploy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractType","type":"string"}],"name":"getDeployableContract","outputs":[{"components":[{"internalType":"bool","name":"created","type":"bool"},{"internalType":"string","name":"cType","type":"string"},{"components":[{"internalType":"string","name":"id","type":"string"},{"internalType":"address","name":"implementation","type":"address"}],"internalType":"struct TLUniversalDeployer.ContractVersion[]","name":"versions","type":"tuple[]"}],"internalType":"struct TLUniversalDeployer.DeployableContract","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDeployableContracts","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"string","name":"contractType","type":"string"},{"internalType":"bytes","name":"initializationCode","type":"bytes"},{"internalType":"uint256","name":"versionIndex","type":"uint256"}],"name":"predictDeployedContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"string","name":"contractType","type":"string"},{"internalType":"bytes","name":"initializationCode","type":"bytes"}],"name":"predictDeployedContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063bfa6c3da11610081578063d83c11381161005b578063d83c1138146101a1578063f2fde38b146101b4578063ffa1ad74146101c757600080fd5b8063bfa6c3da14610168578063c30869031461017b578063c6c6cfbc1461018e57600080fd5b80637bc984eb116100b25780637bc984eb146100f65780638da5cb5b14610116578063be3397e91461015557600080fd5b80632e2606a9146100ce578063715018a6146100ec575b600080fd5b6100d6610210565b6040516100e39190611542565b60405180910390f35b6100f461035b565b005b61010961010436600461160d565b61036f565b6040516100e3919061164f565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100e3565b6100f4610163366004611729565b610588565b6100f4610176366004611795565b610825565b610130610189366004611827565b6108fc565b61013061019c3660046118b2565b610bcb565b6100f46101af366004611935565b610e6a565b6100f46101c23660046119a9565b611137565b6102036040518060400160405280600581526020017f312e302e3000000000000000000000000000000000000000000000000000000081525081565b6040516100e391906119c6565b60025460609060009067ffffffffffffffff811115610231576102316119d9565b60405190808252806020026020018201604052801561026457816020015b606081526020019060019003908161024f5790505b50905060005b60025481101561035557600160006002838154811061028b5761028b611a08565b9060005260206000200154815260200190815260200160002060010180546102b290611a37565b80601f01602080910402602001604051908101604052809291908181526020018280546102de90611a37565b801561032b5780601f106103005761010080835404028352916020019161032b565b820191906000526020600020905b81548152906001019060200180831161030e57829003601f168201915b505050505082828151811061034257610342611a08565b602090810291909101015260010161026a565b50919050565b6103636111a0565b61036d60006111f3565b565b610395604051806060016040528060001515815260200160608152602001606081525090565b600083836040516103a7929190611a84565b6040805191829003822060008181526001602081815284832060608701909552845460ff161515865290840180549396509194939290840191906103ea90611a37565b80601f016020809104026020016040519081016040528092919081815260200182805461041690611a37565b80156104635780601f1061043857610100808354040283529160200191610463565b820191906000526020600020905b81548152906001019060200180831161044657829003601f168201915b5050505050815260200160028201805480602002602001604051908101604052809291908181526020016000905b8282101561057557838290600052602060002090600202016040518060400160405290816000820180546104c490611a37565b80601f01602080910402602001604051908101604052809291908181526020018280546104f090611a37565b801561053d5780601f106105125761010080835404028352916020019161053d565b820191906000526020600020905b81548152906001019060200180831161052057829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610491565b5050509152509093505050505b92915050565b6000848460405161059a929190611a84565b6040805191829003822060008181526001602081815284832060608701909552845460ff161515865290840180549396509194939290840191906105dd90611a37565b80601f016020809104026020016040519081016040528092919081815260200182805461060990611a37565b80156106565780601f1061062b57610100808354040283529160200191610656565b820191906000526020600020905b81548152906001019060200180831161063957829003601f168201915b5050505050815260200160028201805480602002602001604051908101604052809291908181526020016000905b8282101561076857838290600052602060002090600202016040518060400160405290816000820180546106b790611a37565b80601f01602080910402602001604051908101604052809291908181526020018280546106e390611a37565b80156107305780601f1061070557610100808354040283529160200191610730565b820191906000526020600020905b81548152906001019060200180831161071357829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610684565b5050509152505080519091506107aa576040517f8b57544000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408101518051600091906107c190600190611a94565b815181106107d1576107d1611a08565b6020026020010151905061081c828287878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061126892505050565b50505050505050565b61082d6111a0565b6000838360405161083f929190611a84565b6040805191829003909120600081815260016020529190912080549192509060ff166108d45780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081178255810161089d858783611b1f565b50600280546001810182556000919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018290555b60028082018054600181018255600091825260209091208592919091020161081c8282611c47565b600080868660405161090f929190611a84565b6040805191829003822060008181526001602081815284832060608701909552845460ff1615158652908401805493965091949392908401919061095290611a37565b80601f016020809104026020016040519081016040528092919081815260200182805461097e90611a37565b80156109cb5780601f106109a0576101008083540402835291602001916109cb565b820191906000526020600020905b8154815290600101906020018083116109ae57829003601f168201915b5050505050815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610add5783829060005260206000209060020201604051806040016040529081600082018054610a2c90611a37565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5890611a37565b8015610aa55780601f10610a7a57610100808354040283529160200191610aa5565b820191906000526020600020905b815481529060010190602001808311610a8857829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff166020918201529183529290920191016109f9565b505050915250508051909150610b1f576040517f8b57544000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060400151518410610b5d576040517f8b57544000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081604001518581518110610b7557610b75611a08565b6020026020010151905060008a8888604051602001610b9693929190611dfc565b604051602081830303815290604052805190602001209050610bbc8260200151826113dd565b9b9a5050505050505050505050565b6000808585604051610bde929190611a84565b6040805191829003822060008181526001602081815284832060608701909552845460ff16151586529084018054939650919493929084019190610c2190611a37565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4d90611a37565b8015610c9a5780601f10610c6f57610100808354040283529160200191610c9a565b820191906000526020600020905b815481529060010190602001808311610c7d57829003601f168201915b5050505050815260200160028201805480602002602001604051908101604052809291908181526020016000905b82821015610dac5783829060005260206000209060020201604051806040016040529081600082018054610cfb90611a37565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2790611a37565b8015610d745780601f10610d4957610100808354040283529160200191610d74565b820191906000526020600020905b815481529060010190602001808311610d5757829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610cc8565b505050915250508051909150610dee576040517f8b57544000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040810151805160009190610e0590600190611a94565b81518110610e1557610e15611a08565b602002602001015190506000898787604051602001610e3693929190611dfc565b604051602081830303815290604052805190602001209050610e5c8260200151826113dd565b9a9950505050505050505050565b60008585604051610e7c929190611a84565b6040805191829003822060008181526001602081815284832060608701909552845460ff16151586529084018054939650919493929084019190610ebf90611a37565b80601f0160208091040260200160405190810160405280929190818152602001828054610eeb90611a37565b8015610f385780601f10610f0d57610100808354040283529160200191610f38565b820191906000526020600020905b815481529060010190602001808311610f1b57829003601f168201915b5050505050815260200160028201805480602002602001604051908101604052809291908181526020016000905b8282101561104a5783829060005260206000209060020201604051806040016040529081600082018054610f9990611a37565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc590611a37565b80156110125780601f10610fe757610100808354040283529160200191611012565b820191906000526020600020905b815481529060010190602001808311610ff557829003601f168201915b505050918352505060019182015473ffffffffffffffffffffffffffffffffffffffff16602091820152918352929092019101610f66565b50505091525050805190915061108c576040517f8b57544000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80604001515183106110ca576040517f8b57544000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816040015184815181106110e2576110e2611a08565b6020026020010151905061112d828288888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061126892505050565b5050505050505050565b61113f6111a0565b73ffffffffffffffffffffffffffffffffffffffff8116611194576040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600060048201526024015b60405180910390fd5b61119d816111f3565b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461036d576040517f118cdaa700000000000000000000000000000000000000000000000000000000815233600482015260240161118b565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000338260405160200161127d929190611e3b565b60405160208183030381529060405280519060200120905060006112a5846020015183611440565b905060008173ffffffffffffffffffffffffffffffffffffffff16846040516112ce9190611e86565b6000604051808303816000865af19150503d806000811461130b576040519150601f19603f3d011682016040523d82523d6000602084013e611310565b606091505b505090508061134b576040517f19b991a800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b846020015173ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f0c1b32e27e1a928b7d31f6c5decdd060020e984eff123a164bc35e716e0dbf75896020015189600001516040516113cd929190611ea2565b60405180910390a4505050505050565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff602482015260148101839052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018290526037600c820120607882015260556043909101206000905b9392505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f5905073ffffffffffffffffffffffffffffffffffffffff8116610582576040517fc2f868f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b838110156114ef5781810151838201526020016114d7565b50506000910152565b600081518084526115108160208601602086016114d4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b828110156115b7577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08886030184526115a58583516114f8565b9450928501929085019060010161156b565b5092979650505050505050565b60008083601f8401126115d657600080fd5b50813567ffffffffffffffff8111156115ee57600080fd5b60208301915083602082850101111561160657600080fd5b9250929050565b6000806020838503121561162057600080fd5b823567ffffffffffffffff81111561163757600080fd5b611643858286016115c4565b90969095509350505050565b6000602080835283511515818401528084015160406060604086015261167860808601836114f8565b915060408601517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0808785030160608801528382518086528686019150868160051b870101878501945060005b8281101561171a5784888303018452855180518884526116e7898501826114f8565b918b015173ffffffffffffffffffffffffffffffffffffffff16938b0193909352958901959389019391506001016116c5565b509a9950505050505050505050565b6000806000806040858703121561173f57600080fd5b843567ffffffffffffffff8082111561175757600080fd5b611763888389016115c4565b9096509450602087013591508082111561177c57600080fd5b50611789878288016115c4565b95989497509550505050565b6000806000604084860312156117aa57600080fd5b833567ffffffffffffffff808211156117c257600080fd5b6117ce878388016115c4565b909550935060208601359150808211156117e757600080fd5b508401604081870312156117fa57600080fd5b809150509250925092565b73ffffffffffffffffffffffffffffffffffffffff8116811461119d57600080fd5b6000806000806000806080878903121561184057600080fd5b863561184b81611805565b9550602087013567ffffffffffffffff8082111561186857600080fd5b6118748a838b016115c4565b9097509550604089013591508082111561188d57600080fd5b5061189a89828a016115c4565b979a9699509497949695606090950135949350505050565b6000806000806000606086880312156118ca57600080fd5b85356118d581611805565b9450602086013567ffffffffffffffff808211156118f257600080fd5b6118fe89838a016115c4565b9096509450604088013591508082111561191757600080fd5b50611924888289016115c4565b969995985093965092949392505050565b60008060008060006060868803121561194d57600080fd5b853567ffffffffffffffff8082111561196557600080fd5b61197189838a016115c4565b9097509550602088013591508082111561198a57600080fd5b50611997888289016115c4565b96999598509660400135949350505050565b6000602082840312156119bb57600080fd5b813561143981611805565b60208152600061143960208301846114f8565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600181811c90821680611a4b57607f821691505b602082108103610355577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b8183823760009101908152919050565b81810381811115610582577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b601f821115611b1a576000816000526020600020601f850160051c81016020861015611af75750805b601f850160051c820191505b81811015611b1657828155600101611b03565b5050505b505050565b67ffffffffffffffff831115611b3757611b376119d9565b611b4b83611b458354611a37565b83611ace565b6000601f841160018114611b9d5760008515611b675750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611c33565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b82811015611bec5786850135825560209485019460019092019101611bcc565b5086821015611c27577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6000813561058281611805565b81357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1833603018112611c7957600080fd5b8201803567ffffffffffffffff811115611c9257600080fd5b60208136038184011315611ca557600080fd5b611cb982611cb38654611a37565b86611ace565b6000601f831160018114611d0d5760008415611cd757508482018301355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178655611da6565b6000868152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0851690835b82811015611d5d578785018601358255938501936001909101908501611d3c565b5085821015611d9a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88760031b161c198585890101351681555b505060018460011b0186555b5050611c33611db6828701611c3a565b6001860173ffffffffffffffffffffffffffffffffffffffff82167fffffffffffffffffffffffff00000000000000000000000000000000000000008254161781555050565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008460601b168152818360148301376000910160140190815292915050565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008360601b16815260008251611e788160148501602087016114d4565b919091016014019392505050565b60008251611e988184602087016114d4565b9190910192915050565b604081526000611eb560408301856114f8565b8281036020840152611ec781856114f8565b9594505050505056fea26469706673582212200ee40f5b4652f6758dffd27b7620e7822326b7788e56670607f2dc743ed7a00e64736f6c63430008160033
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.