Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,046 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
NFTDAO Mint | 12401612 | 1355 days ago | IN | 0 ETH | 0.04901081 | ||||
NFTDAO Mint | 12365343 | 1361 days ago | IN | 0 ETH | 0.02882997 | ||||
NFTDAO Mint | 12362308 | 1361 days ago | IN | 0 ETH | 0.04436836 | ||||
NFTDAO Mint | 12350579 | 1363 days ago | IN | 0 ETH | 0.02362076 | ||||
NFTDAO Mint | 12214377 | 1384 days ago | IN | 0 ETH | 0.05389519 | ||||
NFTDAO Mint | 12213828 | 1384 days ago | IN | 0 ETH | 0.07201404 | ||||
NFTDAO Mint | 12213089 | 1384 days ago | IN | 0 ETH | 0.07140821 | ||||
NFTDAO Mint | 12207579 | 1385 days ago | IN | 0 ETH | 0.07320549 | ||||
NFTDAO Mint | 12207008 | 1385 days ago | IN | 0 ETH | 0.06942463 | ||||
New Alchemy Impl... | 12206857 | 1385 days ago | IN | 0 ETH | 0.00426405 | ||||
NFTDAO Mint | 12184439 | 1389 days ago | IN | 0 ETH | 0.05694183 | ||||
NFTDAO Mint | 12184439 | 1389 days ago | IN | 0 ETH | 0.05870823 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05870823 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05870823 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05870823 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05989126 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05989126 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05989126 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05989126 | ||||
NFTDAO Mint | 12184403 | 1389 days ago | IN | 0 ETH | 0.05950486 | ||||
NFTDAO Mint | 12184100 | 1389 days ago | IN | 0 ETH | 0.067063 | ||||
NFTDAO Mint | 12183906 | 1389 days ago | IN | 0 ETH | 0.06464354 | ||||
NFTDAO Mint | 12183904 | 1389 days ago | IN | 0 ETH | 0.07311959 | ||||
NFTDAO Mint | 12183896 | 1389 days ago | IN | 0 ETH | 0.06464354 | ||||
NFTDAO Mint | 12183896 | 1389 days ago | IN | 0 ETH | 0.06464354 |
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.
Contract Source Code Verified (Exact Match)
Contract Name:
AlchemyFactory
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "./libraries/CloneLibrary.sol"; /// @author Alchemy Team /// @title AlchemyFactory /// @notice Factory contract to create new instances of Alchemy contract AlchemyFactory { using CloneLibrary for address; // event that is emitted when a new Alchemy Contract was minted event NewAlchemy(address alchemy, address governor, address timelock); // the Alchemy governance token IERC20 public alch; // the factory owner address payable public factoryOwner; address payable public alchemyRouter; address public alchemyImplementation; address public governorAlphaImplementation; address public timelockImplementation; constructor( IERC20 _alch, address _alchemyImplementation, address _governorAlphaImplementation, address _timelockImplementation, address payable _alchemyRouter ) { alch = _alch; factoryOwner = msg.sender; alchemyImplementation = _alchemyImplementation; governorAlphaImplementation = _governorAlphaImplementation; timelockImplementation = _timelockImplementation; alchemyRouter =_alchemyRouter; } /** * @dev distributes the ALCH token supply * * @param amount the amount to distribute */ function distributeAlch(uint amount) internal { if (alch.balanceOf(address(this)) >= amount) { alch.transfer(msg.sender, amount); } } /** * @dev mints a new Alchemy Contract * * @param nftAddress_ the initial nft address to add to the contract * @param owner_ the owner of the contract * @param tokenId_ the token id of the nft to be added * @param totalSupply_ the total supply of the erc20 * @param name_ the token name * @param symbol_ the token symbol * @param buyoutPrice_ the buyout price to buyout the dao * @param votingPeriod_ the voting period for the DAO in blocks * @param timelockDelay_ the timelock delay in seconds * @return alchemy - the address of the newly generated alchemy contract * governor - the address of the new governor alpha * timelock - the address of the new timelock */ function NFTDAOMint( IERC721 nftAddress_, address owner_, uint256 tokenId_, uint256 totalSupply_, string memory name_, string memory symbol_, uint256 buyoutPrice_, uint256 votingPeriod_, uint256 timelockDelay_ ) public returns (address alchemy, address governor, address timelock) { alchemy = alchemyImplementation.createClone(); governor = governorAlphaImplementation.createClone(); timelock = timelockImplementation.createClone(); nftAddress_.transferFrom(msg.sender, alchemy, tokenId_); IGovernorAlpha(governor).initialize( alchemy, timelock, totalSupply_, votingPeriod_ ); ITimelock(timelock).initialize(governor, timelockDelay_); IAlchemy(alchemy).initialize( nftAddress_, owner_, tokenId_, totalSupply_, name_, symbol_, buyoutPrice_, address(this), governor, timelock ); // distribute gov token distributeAlch(100 * 10 ** 18); emit NewAlchemy(alchemy, governor, timelock); } /** * @dev lets the owner transfer alch token to another address * * @param dst the address to send the tokens * @param amount the token amount */ function transferAlch(address dst, uint256 amount) external { require(msg.sender == factoryOwner, "Only owner"); alch.transfer(dst, amount); } /** * @dev lets the owner change the ownership to another address * * @param newOwner the address of the new owner */ function newFactoryOwner(address payable newOwner) external { require(msg.sender == factoryOwner, "Only owner"); factoryOwner = newOwner; } /** * @dev lets the owner change the address to another address * * @param newAlchemyImplementation_ the new address */ function newAlchemyImplementation(address newAlchemyImplementation_) external { require(msg.sender == factoryOwner, "Only owner"); alchemyImplementation = newAlchemyImplementation_; } /** * @dev lets the owner change the address to another address * * @param newGovernorAlphaImplementation_ the new address */ function newGovernorAlphaImplementation(address newGovernorAlphaImplementation_) external { require(msg.sender == factoryOwner, "Only owner"); governorAlphaImplementation = newGovernorAlphaImplementation_; } /** * @dev lets the owner change the address to another address * * @param newTimelockImplementation_ the new address */ function newTimelockImplementation(address newTimelockImplementation_) external { require(msg.sender == factoryOwner, "Only owner"); timelockImplementation = newTimelockImplementation_; } /** * @dev lets the owner change the address to another address * * @param newRouter the address of the new router */ function newAlchemyRouter(address payable newRouter) external { require(msg.sender == factoryOwner, "Only owner"); alchemyRouter = newRouter; } /** * @dev gets the address of the current alchemy router * * @return the address of the alchemy router */ function getAlchemyRouter() public view returns (address payable) { return alchemyRouter; } } interface IAlchemy { function initialize( IERC721 nftAddress_, address owner_, uint256 tokenId_, uint256 totalSupply_, string memory name_, string memory symbol_, uint256 buyoutPrice_, address factoryContract, address governor_, address timelock_ ) external; } interface IGovernorAlpha { function initialize( address nft_, address timelock_, uint supply_, uint votingPeriod_ ) external; } interface ITimelock { function initialize(address admin_, uint delay_) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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.6.2 <0.8.0; import "../../introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /* The MIT License (MIT) Copyright (c) 2018 Murray Software, LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ //solhint-disable max-line-length //solhint-disable no-inline-assembly /** * EIP 1167 Proxy Deployment * Originally from https://github.com/optionality/clone-factory/ */ library CloneLibrary { function createClone(address target) internal returns (address result) { // Reserve 55 bytes for the deploy code + 17 bytes as a buffer to prevent overwriting // other memory in the final mstore bytes memory cloneBuffer = new bytes(72); assembly { let clone := add(cloneBuffer, 32) mstore(clone, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(clone, 0x14), shl(96, target)) mstore(add(clone, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) result := create(0, clone, 0x37) } } function isClone(address target, address query) internal view returns (bool result) { assembly { let clone := mload(0x40) mstore(clone, 0x363d3d373d3d3d363d7300000000000000000000000000000000000000000000) mstore(add(clone, 0xa), shl(96, target)) mstore(add(clone, 0x1e), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) let other := add(clone, 0x40) extcodecopy(query, other, 0, 0x2d) result := and( eq(mload(clone), mload(other)), eq(mload(add(clone, 0xd)), mload(add(other, 0xd))) ) } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_alch","type":"address"},{"internalType":"address","name":"_alchemyImplementation","type":"address"},{"internalType":"address","name":"_governorAlphaImplementation","type":"address"},{"internalType":"address","name":"_timelockImplementation","type":"address"},{"internalType":"address payable","name":"_alchemyRouter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"alchemy","type":"address"},{"indexed":false,"internalType":"address","name":"governor","type":"address"},{"indexed":false,"internalType":"address","name":"timelock","type":"address"}],"name":"NewAlchemy","type":"event"},{"inputs":[{"internalType":"contract IERC721","name":"nftAddress_","type":"address"},{"internalType":"address","name":"owner_","type":"address"},{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"buyoutPrice_","type":"uint256"},{"internalType":"uint256","name":"votingPeriod_","type":"uint256"},{"internalType":"uint256","name":"timelockDelay_","type":"uint256"}],"name":"NFTDAOMint","outputs":[{"internalType":"address","name":"alchemy","type":"address"},{"internalType":"address","name":"governor","type":"address"},{"internalType":"address","name":"timelock","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"alch","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alchemyImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alchemyRouter","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factoryOwner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAlchemyRouter","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governorAlphaImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAlchemyImplementation_","type":"address"}],"name":"newAlchemyImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newRouter","type":"address"}],"name":"newAlchemyRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"newFactoryOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newGovernorAlphaImplementation_","type":"address"}],"name":"newGovernorAlphaImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTimelockImplementation_","type":"address"}],"name":"newTimelockImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timelockImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferAlch","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516117b53803806117b5833981810160405260a081101561003357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050846000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050506115b0806102056000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806396cd11321161008c578063c5e8f3e511610066578063c5e8f3e514610546578063c95859d11461057a578063d6ae163e146105be578063e8e73ab1146105f2576100ea565b806396cd1132146102b5578063aa704ef1146102e9578063bced168e14610512576100ea565b806375e0bec9116100c857806375e0bec91461019b5780637c44b123146101e95780637dddb3931461022d5780637e315e0b14610271576100ea565b80632b4b326c146100ef5780634273601c1461013357806349aa94fd14610167575b600080fd5b6101316004803603602081101561010557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610626565b005b61013b61072d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61016f610753565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e7600480360360408110156101b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610777565b005b61022b600480360360208110156101ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061090b565b005b61026f6004803603602081101561024357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a12565b005b6102b36004803603602081101561028757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b19565b005b6102bd610c20565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104ac600480360361012081101561030057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019064010000000081111561037157600080fd5b82018360208201111561038357600080fd5b803590602001918460018302840111640100000000831117156103a557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561040857600080fd5b82018360208201111561041a57600080fd5b8035906020019184600183028401116401000000008311171561043c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291908035906020019092919080359060200190929190505050610c46565b604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390f35b61051a611188565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61054e6111ae565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105bc6004803603602081101561059057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111d4565b005b6105c66112db565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105fa611301565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461083a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506040513d60208110156108f557600080fd5b8101908080519060200190929190505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000610c8c600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661132b565b9250610ccf600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661132b565b9150610d12600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661132b565b90508b73ffffffffffffffffffffffffffffffffffffffff166323b872dd33858d6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015610da357600080fd5b505af1158015610db7573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff1663eb990c5984838c896040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001945050505050600060405180830381600087803b158015610e5257600080fd5b505af1158015610e66573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff1663cd6dc68783866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610edb57600080fd5b505af1158015610eef573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff1663c7373faf8d8d8d8d8d8d8d308b8b6040518b63ffffffff1660e01b8152600401808b73ffffffffffffffffffffffffffffffffffffffff1681526020018a73ffffffffffffffffffffffffffffffffffffffff16815260200189815260200188815260200180602001806020018781526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838103835289818151815260200191508051906020019080838360005b8381101561100a578082015181840152602081019050610fef565b50505050905090810190601f1680156110375780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360005b83811015611070578082015181840152602081019050611055565b50505050905090810190601f16801561109d5780820380516001836020036101000a031916815260200191505b509c50505050505050505050505050600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b505050506110f068056bc75e2d631000006113e1565b7f5f731dbb5ce5c93a99bb7a46ad29054ac43a67fd0d01256ac717a9d30d67aa52838383604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a199509950999650505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080604867ffffffffffffffff8111801561134657600080fd5b506040519080825280601f01601f1916602001820160405280156113795781602001600182028036833780820191505090505b509050602081017f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528360601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f092505050919050565b8060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561146957600080fd5b505afa15801561147d573d6000803e3d6000fd5b505050506040513d602081101561149357600080fd5b8101908080519060200190929190505050106115775760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561153a57600080fd5b505af115801561154e573d6000803e3d6000fd5b505050506040513d602081101561156457600080fd5b8101908080519060200190929190505050505b5056fea264697066735822122054a34fb580813d5c8b0e53f28426c4fc5e90c884f9fa6c8a11def3ba10e914da64736f6c634300070600330000000000000000000000000000a1c00009a619684135b824ba02f7fbf3a572000000000000000000000000b8ea9249d45681edc5ce730478132417697f209700000000000000000000000032c1970560a604bcff4c4c82acf9f47161b5f42800000000000000000000000081692f5647ef63766f3a521114bc9ed094ec23ce000000000000000000000000c311fd8b92b5777c6e345aab02117919892a9cc2
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806396cd11321161008c578063c5e8f3e511610066578063c5e8f3e514610546578063c95859d11461057a578063d6ae163e146105be578063e8e73ab1146105f2576100ea565b806396cd1132146102b5578063aa704ef1146102e9578063bced168e14610512576100ea565b806375e0bec9116100c857806375e0bec91461019b5780637c44b123146101e95780637dddb3931461022d5780637e315e0b14610271576100ea565b80632b4b326c146100ef5780634273601c1461013357806349aa94fd14610167575b600080fd5b6101316004803603602081101561010557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610626565b005b61013b61072d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61016f610753565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e7600480360360408110156101b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610777565b005b61022b600480360360208110156101ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061090b565b005b61026f6004803603602081101561024357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a12565b005b6102b36004803603602081101561028757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b19565b005b6102bd610c20565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104ac600480360361012081101561030057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019064010000000081111561037157600080fd5b82018360208201111561038357600080fd5b803590602001918460018302840111640100000000831117156103a557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561040857600080fd5b82018360208201111561041a57600080fd5b8035906020019184600183028401116401000000008311171561043c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290803590602001909291908035906020019092919080359060200190929190505050610c46565b604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390f35b61051a611188565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61054e6111ae565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105bc6004803603602081101561059057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111d4565b005b6105c66112db565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105fa611301565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461083a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b505050506040513d60208110156108f557600080fd5b8101908080519060200190929190505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000610c8c600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661132b565b9250610ccf600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661132b565b9150610d12600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661132b565b90508b73ffffffffffffffffffffffffffffffffffffffff166323b872dd33858d6040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015610da357600080fd5b505af1158015610db7573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff1663eb990c5984838c896040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001945050505050600060405180830381600087803b158015610e5257600080fd5b505af1158015610e66573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff1663cd6dc68783866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610edb57600080fd5b505af1158015610eef573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff1663c7373faf8d8d8d8d8d8d8d308b8b6040518b63ffffffff1660e01b8152600401808b73ffffffffffffffffffffffffffffffffffffffff1681526020018a73ffffffffffffffffffffffffffffffffffffffff16815260200189815260200188815260200180602001806020018781526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838103835289818151815260200191508051906020019080838360005b8381101561100a578082015181840152602081019050610fef565b50505050905090810190601f1680156110375780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360005b83811015611070578082015181840152602081019050611055565b50505050905090810190601f16801561109d5780820380516001836020036101000a031916815260200191505b509c50505050505050505050505050600060405180830381600087803b1580156110c657600080fd5b505af11580156110da573d6000803e3d6000fd5b505050506110f068056bc75e2d631000006113e1565b7f5f731dbb5ce5c93a99bb7a46ad29054ac43a67fd0d01256ac717a9d30d67aa52838383604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001935050505060405180910390a199509950999650505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080604867ffffffffffffffff8111801561134657600080fd5b506040519080825280601f01601f1916602001820160405280156113795781602001600182028036833780820191505090505b509050602081017f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528360601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f092505050919050565b8060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561146957600080fd5b505afa15801561147d573d6000803e3d6000fd5b505050506040513d602081101561149357600080fd5b8101908080519060200190929190505050106115775760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561153a57600080fd5b505af115801561154e573d6000803e3d6000fd5b505050506040513d602081101561156457600080fd5b8101908080519060200190929190505050505b5056fea264697066735822122054a34fb580813d5c8b0e53f28426c4fc5e90c884f9fa6c8a11def3ba10e914da64736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000a1c00009a619684135b824ba02f7fbf3a572000000000000000000000000b8ea9249d45681edc5ce730478132417697f209700000000000000000000000032c1970560a604bcff4c4c82acf9f47161b5f42800000000000000000000000081692f5647ef63766f3a521114bc9ed094ec23ce000000000000000000000000c311fd8b92b5777c6e345aab02117919892a9cc2
-----Decoded View---------------
Arg [0] : _alch (address): 0x0000A1c00009A619684135B824Ba02f7FbF3A572
Arg [1] : _alchemyImplementation (address): 0xb8ea9249D45681edc5cE730478132417697f2097
Arg [2] : _governorAlphaImplementation (address): 0x32c1970560a604bcFF4c4C82AcF9F47161b5f428
Arg [3] : _timelockImplementation (address): 0x81692F5647ef63766F3A521114bc9ED094eC23cE
Arg [4] : _alchemyRouter (address): 0xC311fD8b92B5777C6e345AAB02117919892A9cC2
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000a1c00009a619684135b824ba02f7fbf3a572
Arg [1] : 000000000000000000000000b8ea9249d45681edc5ce730478132417697f2097
Arg [2] : 00000000000000000000000032c1970560a604bcff4c4c82acf9f47161b5f428
Arg [3] : 00000000000000000000000081692f5647ef63766f3a521114bc9ed094ec23ce
Arg [4] : 000000000000000000000000c311fd8b92b5777c6e345aab02117919892a9cc2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.