Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 695 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Generate | 22309483 | 7 hrs ago | IN | 0 ETH | 0.00005592 | ||||
Generate | 22301970 | 32 hrs ago | IN | 0 ETH | 0.00006472 | ||||
Generate | 22301523 | 34 hrs ago | IN | 0 ETH | 0.00005485 | ||||
Generate | 22297941 | 46 hrs ago | IN | 0 ETH | 0.00006205 | ||||
Generate | 22297089 | 2 days ago | IN | 0 ETH | 0.00007251 | ||||
Generate | 22282965 | 4 days ago | IN | 0 ETH | 0.00008933 | ||||
Generate | 22282367 | 4 days ago | IN | 0 ETH | 0.000137 | ||||
Generate | 22281222 | 4 days ago | IN | 0 ETH | 0.00005779 | ||||
Generate | 22281172 | 4 days ago | IN | 0 ETH | 0.00005521 | ||||
Generate | 22281172 | 4 days ago | IN | 0 ETH | 0.00016536 | ||||
Generate | 22269876 | 5 days ago | IN | 0 ETH | 0.0000568 | ||||
Generate | 22268782 | 5 days ago | IN | 0 ETH | 0.00020307 | ||||
Generate | 22268185 | 6 days ago | IN | 0 ETH | 0.00087265 | ||||
Generate | 22267838 | 6 days ago | IN | 0 ETH | 0.00033944 | ||||
Generate | 22264003 | 6 days ago | IN | 0 ETH | 0.00006318 | ||||
Generate | 22261361 | 7 days ago | IN | 0 ETH | 0.00007946 | ||||
Generate | 22258820 | 7 days ago | IN | 0 ETH | 0.0000719 | ||||
Generate | 22258670 | 7 days ago | IN | 0 ETH | 0.00006935 | ||||
Generate | 22251630 | 8 days ago | IN | 0 ETH | 0.00010291 | ||||
Generate | 22247606 | 8 days ago | IN | 0 ETH | 0.00024961 | ||||
Generate | 22240285 | 9 days ago | IN | 0 ETH | 0.00021726 | ||||
Generate | 22239192 | 10 days ago | IN | 0 ETH | 0.00115856 | ||||
Generate | 22239142 | 10 days ago | IN | 0 ETH | 0.00135793 | ||||
Generate | 22226483 | 11 days ago | IN | 0 ETH | 0.00014449 | ||||
Generate | 22226236 | 11 days ago | IN | 0 ETH | 0.00018577 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|---|
0x3d602d80 | 22309483 | 7 hrs ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22301970 | 32 hrs ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22301523 | 34 hrs ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22297941 | 46 hrs ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22297089 | 2 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22282965 | 4 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22282367 | 4 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22281222 | 4 days ago | Contract Creation | 0 ETH | |||
Transfer* | 22281172 | 4 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22281172 | 4 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22269876 | 5 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22268782 | 5 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22268185 | 6 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22267838 | 6 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22264003 | 6 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22261361 | 7 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22258820 | 7 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22258670 | 7 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22251630 | 8 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22247606 | 8 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22240285 | 9 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22239192 | 10 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22239142 | 10 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22226483 | 11 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 22226236 | 11 days ago | Contract Creation | 0 ETH |
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.
Contract Name:
WalletFactory
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/proxy/Clones.sol"; import "./Wallet.sol"; /** * @dev Implementation of the wallet controller contract. * It aims to serve as an orchestration mechanism to generate new wallets. The main idea is that any ethereum * address could call the `generate` method in order to have a new address available to receive funds. */ contract WalletFactory is Ownable { using Clones for address; /** * @dev Event fired whenever the `oldMaster` address has been replaced by the `newMaster` one. */ event MasterChanged(address oldMaster, address newMaster); /** * @dev Event fired whenever a new address has been generated via the `generate` method. */ event AddressGenerated(address indexed generatedAddress); /** * @dev Event fired upon receiving `amount` ether from `sender`. */ event EtherReceived(address indexed sender, address indexed receiver, uint amount); /** * @dev Address where all funds coming from `Wallet` contracts will be collected in. */ address payable public master; /** * @dev Address where the `Wallet` implementation lies. Used for cloning so that some gas can be saved * in the process. */ address public immutable template; /** * Stores whether an address has been generated by this contract or not. */ mapping(address => bool) public generatedAddresses; constructor(address payable _master, address _template) { require(_template != address(0), "WalletFactory: template address cannot be zero"); template = _template; _setMaster(_master); } /** * @dev Internal method to set master address */ function _setMaster(address payable _newMaster) internal { require(_newMaster != address(0), "WalletFactory: master address cannot be zero"); emit MasterChanged(master, _newMaster); master = _newMaster; } /** * @dev Changes the current master address for `_newMaster`. * This operation can only be performed by the owner. */ function setMaster(address payable _newMaster) public onlyOwner { _setMaster(_newMaster); } /** * @dev Generates a new `Wallet` contract using cloning method and returns its address. * @return 'address' new wallet contract address */ function generate(bytes32 _salt, address[] calldata _assets) public returns (address) { address clone = template.cloneDeterministic(_salt); require(!generatedAddresses[clone], "WalletFactory: There is a contract with that address already generated"); Wallet wallet = Wallet(payable(clone)); wallet.setup(); generatedAddresses[clone] = true; emit AddressGenerated(clone); if (_assets.length > 0) { wallet.collectMany(_assets); } return clone; } /** * @dev Checks whether the provided salt would generate a contract that already exists or not. * @return 'bool' Whether it exists or not */ function isWalletGenerated(bytes32 _salt) public view returns (bool) { address computedAddress = computeAddress(_salt); return generatedAddresses[computedAddress]; } /** * @dev Calculates the generated address given the salt. * @return 'address' provided by salt */ function computeAddress(bytes32 _salt) public view returns (address) { return template.predictDeterministicAddress(_salt, address(this)); } /** * @dev Gets called by a generated address whenever ether is received */ function notifyEtherReceived(address _sender, uint _amount) public { require(generatedAddresses[msg.sender], "WalletFactory: receiver has not been generated by the factory"); emit EtherReceived(_sender, msg.sender, _amount); } }
pragma solidity 0.8.6; import "./WalletFactory.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /** * @dev Implementation of the generic wallet contract. * This implementation intends to allow receiving any ERC20 token and ether at the same * time it constraints sending (also called "collecting") to only one address. * * That address is specified by the `WalletFactory` contract. */ contract Wallet { using SafeERC20 for IERC20; using Address for address payable; WalletFactory public factory; /** * @dev This method is intended to be called only once by the factory immediately after contract creation. * The reason the code within is not included in a constructor is because `Wallet` contracts are cloned * from a template, which forces not to use constructors. * * Please note this method can only be called once in the contract's lifetime. */ function setup() public { require(address(factory) == address(0), "Wallet: cannot call setup twice"); factory = WalletFactory(msg.sender); } /** * @dev Gets the master address where funds will be transferred to. */ function master() public view returns (address payable) { return factory.master(); } /** * @dev Collects all available ether and sends it to the master address. */ function collectEther() public returns (uint) { uint balance = address(this).balance; master().sendValue(balance); return balance; } /** * @dev Collects all available ERC20 tokens and sends them to the master address. */ function collect(address _asset) public returns (uint) { uint balance; if (_asset == address(0)) { balance = collectEther(); } else { IERC20 token = IERC20(_asset); balance = token.balanceOf(address(this)); token.safeTransfer(master(), balance); } return balance; } /** * @dev Collects several tokens and ether at once and sends it all to the master address. */ function collectMany(address[] calldata _assets) public returns (uint[] memory) { require(_assets.length > 0, "Wallet: at least one asset must be specified"); uint[] memory values = new uint[](_assets.length); for (uint i = 0; i < _assets.length; i++) { values[i] = collect(_assets[i]); } return values; } /** * @dev Method to log whenever ether is received by this contract. */ receive() external payable { factory.notifyEtherReceived(msg.sender, msg.value); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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. * * _Available since v3.4._ */ library Clones { /** * @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) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create(0, ptr, 0x37) } require(instance != address(0), "ERC1167: create failed"); } /** * @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) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create2(0, ptr, 0x37, salt) } require(instance != address(0), "ERC1167: create2 failed"); } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt, address deployer ) internal pure returns (address predicted) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) mstore(add(ptr, 0x38), shl(0x60, deployer)) mstore(add(ptr, 0x4c), salt) mstore(add(ptr, 0x6c), keccak256(ptr, 0x37)) predicted := keccak256(add(ptr, 0x37), 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 pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address payable","name":"_master","type":"address"},{"internalType":"address","name":"_template","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"generatedAddress","type":"address"}],"name":"AddressGenerated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EtherReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldMaster","type":"address"},{"indexed":false,"internalType":"address","name":"newMaster","type":"address"}],"name":"MasterChanged","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":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"name":"computeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"address[]","name":"_assets","type":"address[]"}],"name":"generate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"generatedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_salt","type":"bytes32"}],"name":"isWalletGenerated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"master","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"notifyEtherReceived","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newMaster","type":"address"}],"name":"setMaster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"template","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162001bef38038062001bef833981810160405281019062000037919062000328565b620000576200004b6200011a60201b60201c565b6200012260201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620000ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000c190620003fb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250506200011282620001e660201b60201c565b5050620005ab565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000250906200041d565b60405180910390fd5b7f605b9e797fb93e2a4c0b8e6865e8c52ff84d9e8c543ec9590f2e024f60ba3df3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051620002ae929190620003ce565b60405180910390a180600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000815190506200030b8162000577565b92915050565b600081519050620003228162000591565b92915050565b60008060408385031215620003425762000341620004d4565b5b6000620003528582860162000311565b92505060206200036585828601620002fa565b9150509250929050565b6200037a8162000498565b82525050565b60006200038f602e836200043f565b91506200039c82620004d9565b604082019050919050565b6000620003b6602c836200043f565b9150620003c38262000528565b604082019050919050565b6000604082019050620003e560008301856200036f565b620003f460208301846200036f565b9392505050565b60006020820190508181036000830152620004168162000380565b9050919050565b600060208201905081810360008301526200043881620003a7565b9050919050565b600082825260208201905092915050565b60006200045d8262000478565b9050919050565b6000620004718262000478565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004a582620004ac565b9050919050565b6000620004b982620004c0565b9050919050565b6000620004cd8262000478565b9050919050565b600080fd5b7f57616c6c6574466163746f72793a2074656d706c61746520616464726573732060008201527f63616e6e6f74206265207a65726f000000000000000000000000000000000000602082015250565b7f57616c6c6574466163746f72793a206d6173746572206164647265737320636160008201527f6e6e6f74206265207a65726f0000000000000000000000000000000000000000602082015250565b620005828162000450565b81146200058e57600080fd5b50565b6200059c8162000464565b8114620005a857600080fd5b50565b60805160601c611617620005d8600039600081816103ab015281816106ae015261076101526116176000f3fe608060405234801561001057600080fd5b50600436106100a85760003560e01c80636f2ddd93116100715780636f2ddd9314610175578063715018a6146101935780637fde56da1461019d5780638da5cb5b146101cd578063ee97f7f3146101eb578063f2fde38b14610209576100a8565b8062418c20146100ad57806326fae0d3146100c957806343871f6f146100e5578063551d74ac146101155780635f5fbd2714610145575b600080fd5b6100c760048036038101906100c29190610ddc565b610225565b005b6100e360048036038101906100de9190610daf565b61031a565b005b6100ff60048036038101906100fa9190610e92565b6103a2565b60405161010c9190611093565b60405180910390f35b61012f600480360381019061012a9190610e65565b610629565b60405161013c9190611116565b60405180910390f35b61015f600480360381019061015a9190610d82565b61068c565b60405161016c9190611116565b60405180910390f35b61017d6106ac565b60405161018a9190611093565b60405180910390f35b61019b6106d0565b005b6101b760048036038101906101b29190610e65565b610758565b6040516101c49190611093565b60405180910390f35b6101d56107ac565b6040516101e29190611093565b60405180910390f35b6101f36107d5565b60405161020091906110ae565b60405180910390f35b610223600480360381019061021e9190610d82565b6107fb565b005b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a890611151565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c82feb7b79494c422e5ad6bb648b1c1f9b7932213a7654ee30c3f1785c094888360405161030e91906111f1565b60405180910390a35050565b6103226108f3565b73ffffffffffffffffffffffffffffffffffffffff166103406107ac565b73ffffffffffffffffffffffffffffffffffffffff1614610396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038d906111b1565b60405180910390fd5b61039f816108fb565b50565b6000806103ee857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610a0a90919063ffffffff16565b9050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561047d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610474906111d1565b60405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff1663ba0bba406040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156104ca57600080fd5b505af11580156104de573d6000803e3d6000fd5b505050506001600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f3945542e751a5ef3623bd1ce9809b0623129dab59601ebf0f0be2b3d58592f5960405160405180910390a2600085859050111561061d578073ffffffffffffffffffffffffffffffffffffffff1663ee53e63786866040518363ffffffff1660e01b81526004016105c49291906110f2565b600060405180830381600087803b1580156105de57600080fd5b505af11580156105f2573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061061b9190610e1c565b505b81925050509392505050565b60008061063583610758565b9050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16915050919050565b60026020528060005260406000206000915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6106d86108f3565b73ffffffffffffffffffffffffffffffffffffffff166106f66107ac565b73ffffffffffffffffffffffffffffffffffffffff161461074c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610743906111b1565b60405180910390fd5b6107566000610ae1565b565b60006107a582307f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610ba59092919063ffffffff16565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108036108f3565b73ffffffffffffffffffffffffffffffffffffffff166108216107ac565b73ffffffffffffffffffffffffffffffffffffffff1614610877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086e906111b1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90611131565b60405180910390fd5b6108f081610ae1565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561096b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096290611191565b60405180910390fd5b7f605b9e797fb93e2a4c0b8e6865e8c52ff84d9e8c543ec9590f2e024f60ba3df3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516109be9291906110c9565b60405180910390a180600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528360601b60148201527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006028820152826037826000f5915050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290611171565b60405180910390fd5b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528460601b60148201527f5af43d82803e903d91602b57fd5bf3ff0000000000000000000000000000000060288201528260601b603882015283604c82015260378120606c820152605560378201209150509392505050565b6000610c38610c3384611231565b61120c565b90508083825260208201905082856020860282011115610c5b57610c5a6113b1565b5b60005b85811015610c8b5781610c718882610d6d565b845260208401935060208301925050600181019050610c5e565b5050509392505050565b600081359050610ca481611585565b92915050565b600081359050610cb98161159c565b92915050565b60008083601f840112610cd557610cd46113ac565b5b8235905067ffffffffffffffff811115610cf257610cf16113a7565b5b602083019150836020820283011115610d0e57610d0d6113b1565b5b9250929050565b600082601f830112610d2a57610d296113ac565b5b8151610d3a848260208601610c25565b91505092915050565b600081359050610d52816115b3565b92915050565b600081359050610d67816115ca565b92915050565b600081519050610d7c816115ca565b92915050565b600060208284031215610d9857610d976113bb565b5b6000610da684828501610c95565b91505092915050565b600060208284031215610dc557610dc46113bb565b5b6000610dd384828501610caa565b91505092915050565b60008060408385031215610df357610df26113bb565b5b6000610e0185828601610c95565b9250506020610e1285828601610d58565b9150509250929050565b600060208284031215610e3257610e316113bb565b5b600082015167ffffffffffffffff811115610e5057610e4f6113b6565b5b610e5c84828501610d15565b91505092915050565b600060208284031215610e7b57610e7a6113bb565b5b6000610e8984828501610d43565b91505092915050565b600080600060408486031215610eab57610eaa6113bb565b5b6000610eb986828701610d43565b935050602084013567ffffffffffffffff811115610eda57610ed96113b6565b5b610ee686828701610cbf565b92509250509250925092565b6000610efe8383610f28565b60208301905092915050565b610f1381611311565b82525050565b610f22816112bf565b82525050565b610f31816112ad565b82525050565b610f40816112ad565b82525050565b6000610f528385611274565b9350610f5d8261125d565b8060005b85811015610f9657610f738284611296565b610f7d8882610ef2565b9750610f8883611267565b925050600181019050610f61565b5085925050509392505050565b610fac816112d1565b82525050565b6000610fbf602683611285565b9150610fca826113d1565b604082019050919050565b6000610fe2603d83611285565b9150610fed82611420565b604082019050919050565b6000611005601783611285565b91506110108261146f565b602082019050919050565b6000611028602c83611285565b915061103382611498565b604082019050919050565b600061104b602083611285565b9150611056826114e7565b602082019050919050565b600061106e604683611285565b915061107982611510565b606082019050919050565b61108d81611307565b82525050565b60006020820190506110a86000830184610f37565b92915050565b60006020820190506110c36000830184610f19565b92915050565b60006040820190506110de6000830185610f0a565b6110eb6020830184610f0a565b9392505050565b6000602082019050818103600083015261110d818486610f46565b90509392505050565b600060208201905061112b6000830184610fa3565b92915050565b6000602082019050818103600083015261114a81610fb2565b9050919050565b6000602082019050818103600083015261116a81610fd5565b9050919050565b6000602082019050818103600083015261118a81610ff8565b9050919050565b600060208201905081810360008301526111aa8161101b565b9050919050565b600060208201905081810360008301526111ca8161103e565b9050919050565b600060208201905081810360008301526111ea81611061565b9050919050565b60006020820190506112066000830184611084565b92915050565b6000611216611227565b90506112228282611347565b919050565b6000604051905090565b600067ffffffffffffffff82111561124c5761124b611378565b5b602082029050602081019050919050565b6000819050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006112a56020840184610c95565b905092915050565b60006112b8826112e7565b9050919050565b60006112ca826112e7565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061131c82611323565b9050919050565b600061132e82611335565b9050919050565b6000611340826112e7565b9050919050565b611350826113c0565b810181811067ffffffffffffffff8211171561136f5761136e611378565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f57616c6c6574466163746f72793a20726563656976657220686173206e6f742060008201527f6265656e2067656e6572617465642062792074686520666163746f7279000000602082015250565b7f455243313136373a2063726561746532206661696c6564000000000000000000600082015250565b7f57616c6c6574466163746f72793a206d6173746572206164647265737320636160008201527f6e6e6f74206265207a65726f0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57616c6c6574466163746f72793a205468657265206973206120636f6e74726160008201527f637420776974682074686174206164647265737320616c72656164792067656e60208201527f6572617465640000000000000000000000000000000000000000000000000000604082015250565b61158e816112ad565b811461159957600080fd5b50565b6115a5816112bf565b81146115b057600080fd5b50565b6115bc816112dd565b81146115c757600080fd5b50565b6115d381611307565b81146115de57600080fd5b5056fea264697066735822122099f2cd48ab442792199b51803c589e66ad38aa54a3b0647e610e16b69ef605ed64736f6c63430008060033000000000000000000000000e477a563ca019a695123ac2fe692bc17d4f139c90000000000000000000000000d213a76138ce362dd107773643560012091744c
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a85760003560e01c80636f2ddd93116100715780636f2ddd9314610175578063715018a6146101935780637fde56da1461019d5780638da5cb5b146101cd578063ee97f7f3146101eb578063f2fde38b14610209576100a8565b8062418c20146100ad57806326fae0d3146100c957806343871f6f146100e5578063551d74ac146101155780635f5fbd2714610145575b600080fd5b6100c760048036038101906100c29190610ddc565b610225565b005b6100e360048036038101906100de9190610daf565b61031a565b005b6100ff60048036038101906100fa9190610e92565b6103a2565b60405161010c9190611093565b60405180910390f35b61012f600480360381019061012a9190610e65565b610629565b60405161013c9190611116565b60405180910390f35b61015f600480360381019061015a9190610d82565b61068c565b60405161016c9190611116565b60405180910390f35b61017d6106ac565b60405161018a9190611093565b60405180910390f35b61019b6106d0565b005b6101b760048036038101906101b29190610e65565b610758565b6040516101c49190611093565b60405180910390f35b6101d56107ac565b6040516101e29190611093565b60405180910390f35b6101f36107d5565b60405161020091906110ae565b60405180910390f35b610223600480360381019061021e9190610d82565b6107fb565b005b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a890611151565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c82feb7b79494c422e5ad6bb648b1c1f9b7932213a7654ee30c3f1785c094888360405161030e91906111f1565b60405180910390a35050565b6103226108f3565b73ffffffffffffffffffffffffffffffffffffffff166103406107ac565b73ffffffffffffffffffffffffffffffffffffffff1614610396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038d906111b1565b60405180910390fd5b61039f816108fb565b50565b6000806103ee857f0000000000000000000000000d213a76138ce362dd107773643560012091744c73ffffffffffffffffffffffffffffffffffffffff16610a0a90919063ffffffff16565b9050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561047d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610474906111d1565b60405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff1663ba0bba406040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156104ca57600080fd5b505af11580156104de573d6000803e3d6000fd5b505050506001600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f3945542e751a5ef3623bd1ce9809b0623129dab59601ebf0f0be2b3d58592f5960405160405180910390a2600085859050111561061d578073ffffffffffffffffffffffffffffffffffffffff1663ee53e63786866040518363ffffffff1660e01b81526004016105c49291906110f2565b600060405180830381600087803b1580156105de57600080fd5b505af11580156105f2573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061061b9190610e1c565b505b81925050509392505050565b60008061063583610758565b9050600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16915050919050565b60026020528060005260406000206000915054906101000a900460ff1681565b7f0000000000000000000000000d213a76138ce362dd107773643560012091744c81565b6106d86108f3565b73ffffffffffffffffffffffffffffffffffffffff166106f66107ac565b73ffffffffffffffffffffffffffffffffffffffff161461074c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610743906111b1565b60405180910390fd5b6107566000610ae1565b565b60006107a582307f0000000000000000000000000d213a76138ce362dd107773643560012091744c73ffffffffffffffffffffffffffffffffffffffff16610ba59092919063ffffffff16565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108036108f3565b73ffffffffffffffffffffffffffffffffffffffff166108216107ac565b73ffffffffffffffffffffffffffffffffffffffff1614610877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086e906111b1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90611131565b60405180910390fd5b6108f081610ae1565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561096b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096290611191565b60405180910390fd5b7f605b9e797fb93e2a4c0b8e6865e8c52ff84d9e8c543ec9590f2e024f60ba3df3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516109be9291906110c9565b60405180910390a180600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528360601b60148201527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006028820152826037826000f5915050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290611171565b60405180910390fd5b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528460601b60148201527f5af43d82803e903d91602b57fd5bf3ff0000000000000000000000000000000060288201528260601b603882015283604c82015260378120606c820152605560378201209150509392505050565b6000610c38610c3384611231565b61120c565b90508083825260208201905082856020860282011115610c5b57610c5a6113b1565b5b60005b85811015610c8b5781610c718882610d6d565b845260208401935060208301925050600181019050610c5e565b5050509392505050565b600081359050610ca481611585565b92915050565b600081359050610cb98161159c565b92915050565b60008083601f840112610cd557610cd46113ac565b5b8235905067ffffffffffffffff811115610cf257610cf16113a7565b5b602083019150836020820283011115610d0e57610d0d6113b1565b5b9250929050565b600082601f830112610d2a57610d296113ac565b5b8151610d3a848260208601610c25565b91505092915050565b600081359050610d52816115b3565b92915050565b600081359050610d67816115ca565b92915050565b600081519050610d7c816115ca565b92915050565b600060208284031215610d9857610d976113bb565b5b6000610da684828501610c95565b91505092915050565b600060208284031215610dc557610dc46113bb565b5b6000610dd384828501610caa565b91505092915050565b60008060408385031215610df357610df26113bb565b5b6000610e0185828601610c95565b9250506020610e1285828601610d58565b9150509250929050565b600060208284031215610e3257610e316113bb565b5b600082015167ffffffffffffffff811115610e5057610e4f6113b6565b5b610e5c84828501610d15565b91505092915050565b600060208284031215610e7b57610e7a6113bb565b5b6000610e8984828501610d43565b91505092915050565b600080600060408486031215610eab57610eaa6113bb565b5b6000610eb986828701610d43565b935050602084013567ffffffffffffffff811115610eda57610ed96113b6565b5b610ee686828701610cbf565b92509250509250925092565b6000610efe8383610f28565b60208301905092915050565b610f1381611311565b82525050565b610f22816112bf565b82525050565b610f31816112ad565b82525050565b610f40816112ad565b82525050565b6000610f528385611274565b9350610f5d8261125d565b8060005b85811015610f9657610f738284611296565b610f7d8882610ef2565b9750610f8883611267565b925050600181019050610f61565b5085925050509392505050565b610fac816112d1565b82525050565b6000610fbf602683611285565b9150610fca826113d1565b604082019050919050565b6000610fe2603d83611285565b9150610fed82611420565b604082019050919050565b6000611005601783611285565b91506110108261146f565b602082019050919050565b6000611028602c83611285565b915061103382611498565b604082019050919050565b600061104b602083611285565b9150611056826114e7565b602082019050919050565b600061106e604683611285565b915061107982611510565b606082019050919050565b61108d81611307565b82525050565b60006020820190506110a86000830184610f37565b92915050565b60006020820190506110c36000830184610f19565b92915050565b60006040820190506110de6000830185610f0a565b6110eb6020830184610f0a565b9392505050565b6000602082019050818103600083015261110d818486610f46565b90509392505050565b600060208201905061112b6000830184610fa3565b92915050565b6000602082019050818103600083015261114a81610fb2565b9050919050565b6000602082019050818103600083015261116a81610fd5565b9050919050565b6000602082019050818103600083015261118a81610ff8565b9050919050565b600060208201905081810360008301526111aa8161101b565b9050919050565b600060208201905081810360008301526111ca8161103e565b9050919050565b600060208201905081810360008301526111ea81611061565b9050919050565b60006020820190506112066000830184611084565b92915050565b6000611216611227565b90506112228282611347565b919050565b6000604051905090565b600067ffffffffffffffff82111561124c5761124b611378565b5b602082029050602081019050919050565b6000819050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006112a56020840184610c95565b905092915050565b60006112b8826112e7565b9050919050565b60006112ca826112e7565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061131c82611323565b9050919050565b600061132e82611335565b9050919050565b6000611340826112e7565b9050919050565b611350826113c0565b810181811067ffffffffffffffff8211171561136f5761136e611378565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f57616c6c6574466163746f72793a20726563656976657220686173206e6f742060008201527f6265656e2067656e6572617465642062792074686520666163746f7279000000602082015250565b7f455243313136373a2063726561746532206661696c6564000000000000000000600082015250565b7f57616c6c6574466163746f72793a206d6173746572206164647265737320636160008201527f6e6e6f74206265207a65726f0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f57616c6c6574466163746f72793a205468657265206973206120636f6e74726160008201527f637420776974682074686174206164647265737320616c72656164792067656e60208201527f6572617465640000000000000000000000000000000000000000000000000000604082015250565b61158e816112ad565b811461159957600080fd5b50565b6115a5816112bf565b81146115b057600080fd5b50565b6115bc816112dd565b81146115c757600080fd5b50565b6115d381611307565b81146115de57600080fd5b5056fea264697066735822122099f2cd48ab442792199b51803c589e66ad38aa54a3b0647e610e16b69ef605ed64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e477a563ca019a695123ac2fe692bc17d4f139c90000000000000000000000000d213a76138ce362dd107773643560012091744c
-----Decoded View---------------
Arg [0] : _master (address): 0xE477a563cA019A695123AC2fE692BC17D4f139c9
Arg [1] : _template (address): 0x0d213A76138CE362dD107773643560012091744C
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e477a563ca019a695123ac2fe692bc17d4f139c9
Arg [1] : 0000000000000000000000000d213a76138ce362dd107773643560012091744c
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.