Overview
S Balance
S Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create Token | 9671346 | 5 days ago | IN | 0 S | 0.05965355 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
9671346 | 5 days ago | Contract Creation | 0 S |
Loading...
Loading
Contract Name:
TokenFactory
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract CustomToken is ERC20, Ownable { struct TokenMetadata { string tokenURI; string description; string website; string twitter; string telegram; } struct TokenPermissions { bool canMint; bool canFreeze; bool canUpdateMetadata; } TokenMetadata public metadata; TokenPermissions public permissions; uint8 private immutable _decimals; constructor( string memory name, string memory symbol, uint256 initialSupply, uint8 decimals_, address creator, TokenMetadata memory _metadata, TokenPermissions memory _permissions ) ERC20(name, symbol) Ownable(creator) { metadata = _metadata; permissions = _permissions; _decimals = decimals_; _mint(creator, initialSupply); } function decimals() public view override returns (uint8) { return _decimals; } // Getters para manter compatibilidade function tokenURI() public view returns (string memory) { return metadata.tokenURI; } function description() public view returns (string memory) { return metadata.description; } function website() public view returns (string memory) { return metadata.website; } function twitter() public view returns (string memory) { return metadata.twitter; } function telegram() public view returns (string memory) { return metadata.telegram; } function canMint() public view returns (bool) { return permissions.canMint; } function canFreeze() public view returns (bool) { return permissions.canFreeze; } function canUpdateMetadata() public view returns (bool) { return permissions.canUpdateMetadata; } } contract TokenFactory is Ownable { event TokenCreated( address indexed tokenAddress, string name, string symbol, uint256 totalSupply, address creator ); constructor() Ownable(msg.sender) {} function createToken( string memory name, string memory symbol, uint256 initialSupply, uint8 decimals_, CustomToken.TokenMetadata memory metadata, CustomToken.TokenPermissions memory permissions ) external returns (address) { CustomToken newToken = new CustomToken( name, symbol, initialSupply, decimals_, msg.sender, metadata, permissions ); emit TokenCreated( address(newToken), name, symbol, initialSupply, msg.sender ); return address(newToken); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC-20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC-721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC-1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC-20 * applications. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Skips emitting an {Approval} event indicating an allowance update. This is not * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * * ```solidity * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance < type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC-20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IERC20 { /** * @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); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"},{"indexed":false,"internalType":"address","name":"creator","type":"address"}],"name":"TokenCreated","type":"event"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"components":[{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"website","type":"string"},{"internalType":"string","name":"twitter","type":"string"},{"internalType":"string","name":"telegram","type":"string"}],"internalType":"struct CustomToken.TokenMetadata","name":"metadata","type":"tuple"},{"components":[{"internalType":"bool","name":"canMint","type":"bool"},{"internalType":"bool","name":"canFreeze","type":"bool"},{"internalType":"bool","name":"canUpdateMetadata","type":"bool"}],"internalType":"struct CustomToken.TokenPermissions","name":"permissions","type":"tuple"}],"name":"createToken","outputs":[{"internalType":"address","name":"","type":"address"}],"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","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50338061003757604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61004081610046565b50610096565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611cfb806100a56000396000f3fe60806040523480156200001157600080fd5b5060043610620000525760003560e01c8063715018a614620000575780638da5cb5b1462000063578063b1c4733a146200008c578063f2fde38b14620000a3575b600080fd5b62000061620000ba565b005b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b620000706200009d3660046200049b565b620000d2565b62000061620000b436600462000566565b62000170565b620000c4620001b8565b620000d06000620001e7565b565b60008087878787338888604051620000ea9062000237565b620000fc9796959493929190620005e0565b604051809103906000f08015801562000119573d6000803e3d6000fd5b509050806001600160a01b03167fb7d8fd3c9d56d12c15c8e139bc4e6febd6ad2349b3ebe6a1a91c0a9e7797710d898989336040516200015d9493929190620006f1565b60405180910390a2979650505050505050565b6200017a620001b8565b6001600160a01b038116620001aa57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001b581620001e7565b50565b6000546001600160a01b03163314620000d05760405163118cdaa760e01b8152336004820152602401620001a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611589806200073d83390190565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff8111828210171562000281576200028162000245565b60405290565b600082601f8301126200029957600080fd5b813567ffffffffffffffff80821115620002b757620002b762000245565b604051601f8301601f19908116603f01168101908282118183101715620002e257620002e262000245565b81604052838152866020858801011115620002fc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060a082840312156200032f57600080fd5b620003396200025b565b9050813567ffffffffffffffff808211156200035457600080fd5b620003628583860162000287565b835260208401359150808211156200037957600080fd5b620003878583860162000287565b60208401526040840135915080821115620003a157600080fd5b620003af8583860162000287565b60408401526060840135915080821115620003c957600080fd5b620003d78583860162000287565b60608401526080840135915080821115620003f157600080fd5b50620004008482850162000287565b60808301525092915050565b803580151581146200041d57600080fd5b919050565b6000606082840312156200043557600080fd5b6040516060810181811067ffffffffffffffff821117156200045b576200045b62000245565b6040529050806200046c836200040c565b81526200047c602084016200040c565b60208201526200048f604084016200040c565b60408201525092915050565b6000806000806000806101008789031215620004b657600080fd5b863567ffffffffffffffff80821115620004cf57600080fd5b620004dd8a838b0162000287565b97506020890135915080821115620004f457600080fd5b620005028a838b0162000287565b9650604089013595506060890135915060ff821682146200052257600080fd5b909350608088013590808211156200053957600080fd5b506200054889828a016200031c565b9250506200055a8860a0890162000422565b90509295509295509295565b6000602082840312156200057957600080fd5b81356001600160a01b03811681146200059157600080fd5b9392505050565b6000815180845260005b81811015620005c057602081850181015186830182015201620005a2565b506000602082860101526020601f19601f83011685010191505092915050565b6000610120808352620005f68184018b62000598565b905082810360208401526200060c818a62000598565b905087604084015260ff8716606084015260018060a01b038616608084015282810360a0840152845160a082526200064860a083018262000598565b90506020860151828203602084015262000663828262000598565b915050604086015182820360408401526200067f828262000598565b915050606086015182820360608401526200069b828262000598565b91505060808601518282036080840152620006b7828262000598565b8651151560c08701526020870151151560e0870152604087015115156101008701529350620006e592505050565b98975050505050505050565b60808152600062000706608083018762000598565b82810360208401526200071a818762000598565b604084019590955250506001600160a01b03919091166060909101529291505056fe60a06040523480156200001157600080fd5b5060405162001589380380620015898339810160408190526200003491620005c8565b828787600362000045838262000736565b50600462000054828262000736565b5050506001600160a01b0381166200008757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b62000092816200016e565b50815182906006908190620000a8908262000736565b5060208201516001820190620000bf908262000736565b5060408201516002820190620000d6908262000736565b5060608201516003820190620000ed908262000736565b506080820151600482019062000104908262000736565b50508151600b8054602085015160408601511515620100000262ff0000199115156101000261ff00199515159590951661ffff199093169290921793909317929092169190911790555060ff8416608052620001618386620001c0565b505050505050506200082a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001ec5760405163ec442f0560e01b8152600060048201526024016200007e565b620001fa60008383620001fe565b5050565b6001600160a01b0383166200022d57806002600082825462000221919062000802565b90915550620002a19050565b6001600160a01b03831660009081526020819052604090205481811015620002825760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200007e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002bf57600280548290039055620002de565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200032491815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b60405160a081016001600160401b03811182821017156200036c576200036c62000331565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200039d576200039d62000331565b604052919050565b600082601f830112620003b757600080fd5b81516001600160401b03811115620003d357620003d362000331565b6020620003e9601f8301601f1916820162000372565b8281528582848701011115620003fe57600080fd5b60005b838110156200041e57858101830151828201840152820162000401565b506000928101909101919091529392505050565b80516001600160a01b03811681146200044a57600080fd5b919050565b600060a082840312156200046257600080fd5b6200046c62000347565b82519091506001600160401b03808211156200048757600080fd5b6200049585838601620003a5565b83526020840151915080821115620004ac57600080fd5b620004ba85838601620003a5565b60208401526040840151915080821115620004d457600080fd5b620004e285838601620003a5565b60408401526060840151915080821115620004fc57600080fd5b6200050a85838601620003a5565b606084015260808401519150808211156200052457600080fd5b506200053384828501620003a5565b60808301525092915050565b805180151581146200044a57600080fd5b6000606082840312156200056357600080fd5b604051606081016001600160401b038111828210171562000588576200058862000331565b60405290508062000599836200053f565b8152620005a9602084016200053f565b6020820152620005bc604084016200053f565b60408201525092915050565b6000806000806000806000610120888a031215620005e557600080fd5b87516001600160401b0380821115620005fd57600080fd5b6200060b8b838c01620003a5565b985060208a01519150808211156200062257600080fd5b620006308b838c01620003a5565b975060408a0151965060608a0151915060ff821682146200065057600080fd5b8195506200066160808b0162000432565b945060a08a01519150808211156200067857600080fd5b50620006878a828b016200044f565b925050620006998960c08a0162000550565b905092959891949750929550565b600181811c90821680620006bc57607f821691505b602082108103620006dd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200073157600081815260208120601f850160051c810160208610156200070c5750805b601f850160051c820191505b818110156200072d5782815560010162000718565b5050505b505050565b81516001600160401b0381111562000752576200075262000331565b6200076a81620007638454620006a7565b84620006e3565b602080601f831160018114620007a25760008415620007895750858301515b600019600386901b1c1916600185901b1785556200072d565b600085815260208120601f198616915b82811015620007d357888601518255948401946001909101908401620007b2565b5085821015620007f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200082457634e487b7160e01b600052601160045260246000fd5b92915050565b608051610d436200084660003960006101c50152610d436000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637284e416116100b8578063abfaeee01161007c578063abfaeee0146102c8578063beb0a416146102d0578063beb9716d146102d8578063dd62ed3e146102e3578063f2fde38b1461031c578063fbc6e84e1461032f57600080fd5b80637284e4161461024b5780638da5cb5b1461025357806395d89b411461026e578063a9059cbb14610276578063ab8c71c01461028957600080fd5b8063313ce5671161010a578063313ce567146101be578063392f37e9146101ef5780633c130d901461020857806347ecb6651461021057806370a0823114610218578063715018a61461024157600080fd5b806306fdde0314610147578063095ea7b3146101655780630facaef31461018857806318160ddd1461019957806323b872dd146101ab575b600080fd5b61014f61033f565b60405161015c9190610b5b565b60405180910390f35b610178610173366004610b91565b6103d1565b604051901515815260200161015c565b600b5462010000900460ff16610178565b6002545b60405190815260200161015c565b6101786101b9366004610bbb565b6103eb565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161015c565b6101f761040f565b60405161015c959493929190610bf7565b61014f6106d9565b61014f6106eb565b61019d610226366004610c64565b6001600160a01b031660009081526020819052604090205490565b6102496106fd565b005b61014f610711565b6005546040516001600160a01b03909116815260200161015c565b61014f610723565b610178610284366004610b91565b610732565b600b546102a99060ff808216916101008104821691620100009091041683565b604080519315158452911515602084015215159082015260600161015c565b61014f610740565b61014f610752565b600b5460ff16610178565b61019d6102f1366004610c7f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61024961032a366004610c64565b610764565b600b54610100900460ff16610178565b60606003805461034e90610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461037a90610cb2565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b5050505050905090565b6000336103df8185856107a7565b60019150505b92915050565b6000336103f98582856107b9565b610404858585610838565b506001949350505050565b60068054819061041e90610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461044a90610cb2565b80156104975780601f1061046c57610100808354040283529160200191610497565b820191906000526020600020905b81548152906001019060200180831161047a57829003601f168201915b5050505050908060010180546104ac90610cb2565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890610cb2565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b50505050509080600201805461053a90610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461056690610cb2565b80156105b35780601f10610588576101008083540402835291602001916105b3565b820191906000526020600020905b81548152906001019060200180831161059657829003601f168201915b5050505050908060030180546105c890610cb2565b80601f01602080910402602001604051908101604052809291908181526020018280546105f490610cb2565b80156106415780601f1061061657610100808354040283529160200191610641565b820191906000526020600020905b81548152906001019060200180831161062457829003601f168201915b50505050509080600401805461065690610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461068290610cb2565b80156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b5050505050905085565b60606006600001805461034e90610cb2565b60606006600401805461034e90610cb2565b610705610897565b61070f60006108c4565b565b60606006600101805461034e90610cb2565b60606004805461034e90610cb2565b6000336103df818585610838565b60606006600301805461034e90610cb2565b60606006600201805461034e90610cb2565b61076c610897565b6001600160a01b03811661079b57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6107a4816108c4565b50565b6107b48383836001610916565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610832578181101561082357604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610792565b61083284848484036000610916565b50505050565b6001600160a01b03831661086257604051634b637e8f60e11b815260006004820152602401610792565b6001600160a01b03821661088c5760405163ec442f0560e01b815260006004820152602401610792565b6107b48383836109eb565b6005546001600160a01b0316331461070f5760405163118cdaa760e01b8152336004820152602401610792565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166109405760405163e602df0560e01b815260006004820152602401610792565b6001600160a01b03831661096a57604051634a1406b160e11b815260006004820152602401610792565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561083257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109dd91815260200190565b60405180910390a350505050565b6001600160a01b038316610a16578060026000828254610a0b9190610cec565b90915550610a889050565b6001600160a01b03831660009081526020819052604090205481811015610a695760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610792565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610aa457600280548290039055610ac3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b0891815260200190565b60405180910390a3505050565b6000815180845260005b81811015610b3b57602081850181015186830182015201610b1f565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b6e6020830184610b15565b9392505050565b80356001600160a01b0381168114610b8c57600080fd5b919050565b60008060408385031215610ba457600080fd5b610bad83610b75565b946020939093013593505050565b600080600060608486031215610bd057600080fd5b610bd984610b75565b9250610be760208501610b75565b9150604084013590509250925092565b60a081526000610c0a60a0830188610b15565b8281036020840152610c1c8188610b15565b90508281036040840152610c308187610b15565b90508281036060840152610c448186610b15565b90508281036080840152610c588185610b15565b98975050505050505050565b600060208284031215610c7657600080fd5b610b6e82610b75565b60008060408385031215610c9257600080fd5b610c9b83610b75565b9150610ca960208401610b75565b90509250929050565b600181811c90821680610cc657607f821691505b602082108103610ce657634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156103e557634e487b7160e01b600052601160045260246000fdfea2646970667358221220eb8083616098b8c5ca31b01353e1d9569b53052e3c806f53cb5ccbdf421e9e6a64736f6c63430008140033a26469706673582212208728fd47e4f3291967ac96a83d067e08dcaaeee5dce1fe256117ae8d7268683864736f6c63430008140033
Deployed Bytecode
0x60806040523480156200001157600080fd5b5060043610620000525760003560e01c8063715018a614620000575780638da5cb5b1462000063578063b1c4733a146200008c578063f2fde38b14620000a3575b600080fd5b62000061620000ba565b005b6000546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b620000706200009d3660046200049b565b620000d2565b62000061620000b436600462000566565b62000170565b620000c4620001b8565b620000d06000620001e7565b565b60008087878787338888604051620000ea9062000237565b620000fc9796959493929190620005e0565b604051809103906000f08015801562000119573d6000803e3d6000fd5b509050806001600160a01b03167fb7d8fd3c9d56d12c15c8e139bc4e6febd6ad2349b3ebe6a1a91c0a9e7797710d898989336040516200015d9493929190620006f1565b60405180910390a2979650505050505050565b6200017a620001b8565b6001600160a01b038116620001aa57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001b581620001e7565b50565b6000546001600160a01b03163314620000d05760405163118cdaa760e01b8152336004820152602401620001a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611589806200073d83390190565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff8111828210171562000281576200028162000245565b60405290565b600082601f8301126200029957600080fd5b813567ffffffffffffffff80821115620002b757620002b762000245565b604051601f8301601f19908116603f01168101908282118183101715620002e257620002e262000245565b81604052838152866020858801011115620002fc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060a082840312156200032f57600080fd5b620003396200025b565b9050813567ffffffffffffffff808211156200035457600080fd5b620003628583860162000287565b835260208401359150808211156200037957600080fd5b620003878583860162000287565b60208401526040840135915080821115620003a157600080fd5b620003af8583860162000287565b60408401526060840135915080821115620003c957600080fd5b620003d78583860162000287565b60608401526080840135915080821115620003f157600080fd5b50620004008482850162000287565b60808301525092915050565b803580151581146200041d57600080fd5b919050565b6000606082840312156200043557600080fd5b6040516060810181811067ffffffffffffffff821117156200045b576200045b62000245565b6040529050806200046c836200040c565b81526200047c602084016200040c565b60208201526200048f604084016200040c565b60408201525092915050565b6000806000806000806101008789031215620004b657600080fd5b863567ffffffffffffffff80821115620004cf57600080fd5b620004dd8a838b0162000287565b97506020890135915080821115620004f457600080fd5b620005028a838b0162000287565b9650604089013595506060890135915060ff821682146200052257600080fd5b909350608088013590808211156200053957600080fd5b506200054889828a016200031c565b9250506200055a8860a0890162000422565b90509295509295509295565b6000602082840312156200057957600080fd5b81356001600160a01b03811681146200059157600080fd5b9392505050565b6000815180845260005b81811015620005c057602081850181015186830182015201620005a2565b506000602082860101526020601f19601f83011685010191505092915050565b6000610120808352620005f68184018b62000598565b905082810360208401526200060c818a62000598565b905087604084015260ff8716606084015260018060a01b038616608084015282810360a0840152845160a082526200064860a083018262000598565b90506020860151828203602084015262000663828262000598565b915050604086015182820360408401526200067f828262000598565b915050606086015182820360608401526200069b828262000598565b91505060808601518282036080840152620006b7828262000598565b8651151560c08701526020870151151560e0870152604087015115156101008701529350620006e592505050565b98975050505050505050565b60808152600062000706608083018762000598565b82810360208401526200071a818762000598565b604084019590955250506001600160a01b03919091166060909101529291505056fe60a06040523480156200001157600080fd5b5060405162001589380380620015898339810160408190526200003491620005c8565b828787600362000045838262000736565b50600462000054828262000736565b5050506001600160a01b0381166200008757604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b62000092816200016e565b50815182906006908190620000a8908262000736565b5060208201516001820190620000bf908262000736565b5060408201516002820190620000d6908262000736565b5060608201516003820190620000ed908262000736565b506080820151600482019062000104908262000736565b50508151600b8054602085015160408601511515620100000262ff0000199115156101000261ff00199515159590951661ffff199093169290921793909317929092169190911790555060ff8416608052620001618386620001c0565b505050505050506200082a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001ec5760405163ec442f0560e01b8152600060048201526024016200007e565b620001fa60008383620001fe565b5050565b6001600160a01b0383166200022d57806002600082825462000221919062000802565b90915550620002a19050565b6001600160a01b03831660009081526020819052604090205481811015620002825760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200007e565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002bf57600280548290039055620002de565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200032491815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b60405160a081016001600160401b03811182821017156200036c576200036c62000331565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200039d576200039d62000331565b604052919050565b600082601f830112620003b757600080fd5b81516001600160401b03811115620003d357620003d362000331565b6020620003e9601f8301601f1916820162000372565b8281528582848701011115620003fe57600080fd5b60005b838110156200041e57858101830151828201840152820162000401565b506000928101909101919091529392505050565b80516001600160a01b03811681146200044a57600080fd5b919050565b600060a082840312156200046257600080fd5b6200046c62000347565b82519091506001600160401b03808211156200048757600080fd5b6200049585838601620003a5565b83526020840151915080821115620004ac57600080fd5b620004ba85838601620003a5565b60208401526040840151915080821115620004d457600080fd5b620004e285838601620003a5565b60408401526060840151915080821115620004fc57600080fd5b6200050a85838601620003a5565b606084015260808401519150808211156200052457600080fd5b506200053384828501620003a5565b60808301525092915050565b805180151581146200044a57600080fd5b6000606082840312156200056357600080fd5b604051606081016001600160401b038111828210171562000588576200058862000331565b60405290508062000599836200053f565b8152620005a9602084016200053f565b6020820152620005bc604084016200053f565b60408201525092915050565b6000806000806000806000610120888a031215620005e557600080fd5b87516001600160401b0380821115620005fd57600080fd5b6200060b8b838c01620003a5565b985060208a01519150808211156200062257600080fd5b620006308b838c01620003a5565b975060408a0151965060608a0151915060ff821682146200065057600080fd5b8195506200066160808b0162000432565b945060a08a01519150808211156200067857600080fd5b50620006878a828b016200044f565b925050620006998960c08a0162000550565b905092959891949750929550565b600181811c90821680620006bc57607f821691505b602082108103620006dd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200073157600081815260208120601f850160051c810160208610156200070c5750805b601f850160051c820191505b818110156200072d5782815560010162000718565b5050505b505050565b81516001600160401b0381111562000752576200075262000331565b6200076a81620007638454620006a7565b84620006e3565b602080601f831160018114620007a25760008415620007895750858301515b600019600386901b1c1916600185901b1785556200072d565b600085815260208120601f198616915b82811015620007d357888601518255948401946001909101908401620007b2565b5085821015620007f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200082457634e487b7160e01b600052601160045260246000fd5b92915050565b608051610d436200084660003960006101c50152610d436000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80637284e416116100b8578063abfaeee01161007c578063abfaeee0146102c8578063beb0a416146102d0578063beb9716d146102d8578063dd62ed3e146102e3578063f2fde38b1461031c578063fbc6e84e1461032f57600080fd5b80637284e4161461024b5780638da5cb5b1461025357806395d89b411461026e578063a9059cbb14610276578063ab8c71c01461028957600080fd5b8063313ce5671161010a578063313ce567146101be578063392f37e9146101ef5780633c130d901461020857806347ecb6651461021057806370a0823114610218578063715018a61461024157600080fd5b806306fdde0314610147578063095ea7b3146101655780630facaef31461018857806318160ddd1461019957806323b872dd146101ab575b600080fd5b61014f61033f565b60405161015c9190610b5b565b60405180910390f35b610178610173366004610b91565b6103d1565b604051901515815260200161015c565b600b5462010000900460ff16610178565b6002545b60405190815260200161015c565b6101786101b9366004610bbb565b6103eb565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161015c565b6101f761040f565b60405161015c959493929190610bf7565b61014f6106d9565b61014f6106eb565b61019d610226366004610c64565b6001600160a01b031660009081526020819052604090205490565b6102496106fd565b005b61014f610711565b6005546040516001600160a01b03909116815260200161015c565b61014f610723565b610178610284366004610b91565b610732565b600b546102a99060ff808216916101008104821691620100009091041683565b604080519315158452911515602084015215159082015260600161015c565b61014f610740565b61014f610752565b600b5460ff16610178565b61019d6102f1366004610c7f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61024961032a366004610c64565b610764565b600b54610100900460ff16610178565b60606003805461034e90610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461037a90610cb2565b80156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b5050505050905090565b6000336103df8185856107a7565b60019150505b92915050565b6000336103f98582856107b9565b610404858585610838565b506001949350505050565b60068054819061041e90610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461044a90610cb2565b80156104975780601f1061046c57610100808354040283529160200191610497565b820191906000526020600020905b81548152906001019060200180831161047a57829003601f168201915b5050505050908060010180546104ac90610cb2565b80601f01602080910402602001604051908101604052809291908181526020018280546104d890610cb2565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b50505050509080600201805461053a90610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461056690610cb2565b80156105b35780601f10610588576101008083540402835291602001916105b3565b820191906000526020600020905b81548152906001019060200180831161059657829003601f168201915b5050505050908060030180546105c890610cb2565b80601f01602080910402602001604051908101604052809291908181526020018280546105f490610cb2565b80156106415780601f1061061657610100808354040283529160200191610641565b820191906000526020600020905b81548152906001019060200180831161062457829003601f168201915b50505050509080600401805461065690610cb2565b80601f016020809104026020016040519081016040528092919081815260200182805461068290610cb2565b80156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b5050505050905085565b60606006600001805461034e90610cb2565b60606006600401805461034e90610cb2565b610705610897565b61070f60006108c4565b565b60606006600101805461034e90610cb2565b60606004805461034e90610cb2565b6000336103df818585610838565b60606006600301805461034e90610cb2565b60606006600201805461034e90610cb2565b61076c610897565b6001600160a01b03811661079b57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6107a4816108c4565b50565b6107b48383836001610916565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811015610832578181101561082357604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610792565b61083284848484036000610916565b50505050565b6001600160a01b03831661086257604051634b637e8f60e11b815260006004820152602401610792565b6001600160a01b03821661088c5760405163ec442f0560e01b815260006004820152602401610792565b6107b48383836109eb565b6005546001600160a01b0316331461070f5760405163118cdaa760e01b8152336004820152602401610792565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166109405760405163e602df0560e01b815260006004820152602401610792565b6001600160a01b03831661096a57604051634a1406b160e11b815260006004820152602401610792565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561083257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516109dd91815260200190565b60405180910390a350505050565b6001600160a01b038316610a16578060026000828254610a0b9190610cec565b90915550610a889050565b6001600160a01b03831660009081526020819052604090205481811015610a695760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610792565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610aa457600280548290039055610ac3565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b0891815260200190565b60405180910390a3505050565b6000815180845260005b81811015610b3b57602081850181015186830182015201610b1f565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b6e6020830184610b15565b9392505050565b80356001600160a01b0381168114610b8c57600080fd5b919050565b60008060408385031215610ba457600080fd5b610bad83610b75565b946020939093013593505050565b600080600060608486031215610bd057600080fd5b610bd984610b75565b9250610be760208501610b75565b9150604084013590509250925092565b60a081526000610c0a60a0830188610b15565b8281036020840152610c1c8188610b15565b90508281036040840152610c308187610b15565b90508281036060840152610c448186610b15565b90508281036080840152610c588185610b15565b98975050505050505050565b600060208284031215610c7657600080fd5b610b6e82610b75565b60008060408385031215610c9257600080fd5b610c9b83610b75565b9150610ca960208401610b75565b90509250929050565b600181811c90821680610cc657607f821691505b602082108103610ce657634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156103e557634e487b7160e01b600052601160045260246000fdfea2646970667358221220eb8083616098b8c5ca31b01353e1d9569b53052e3c806f53cb5ccbdf421e9e6a64736f6c63430008140033a26469706673582212208728fd47e4f3291967ac96a83d067e08dcaaeee5dce1fe256117ae8d7268683864736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.