Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Real Estate
Overview
Max Total Supply
10,000,000,000 QLINDO
Holders
10,413 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (+0.08%)
Onchain Market Cap
$4,464,700.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 0 Decimals)
Balance
19 QLINDOValue
$0.01 ( ~2.92899240317416E-06 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
QLINDO
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "./arteq-tech/contracts/abstract/task-managed/AccountLocker.sol"; import "./arteq-tech/contracts/abstract/task-managed/BatchTransferEnabled.sol"; import "./arteq-tech/contracts/abstract/task-managed/TaskManagedERC20VaultEnabled.sol"; import "./arteq-tech/contracts/abstract/task-managed/TaskManagedERC721VaultEnabled.sol"; import "./arteq-tech/contracts/abstract/task-managed/TaskManagedERC1155VaultEnabled.sol"; /// @author Kam Amini <[email protected]> <[email protected]> /// /// @notice Use at your own risk contract QLINDO is ERC20, AccountLocker, BatchTransferEnabled, TaskManagedERC20VaultEnabled, TaskManagedERC721VaultEnabled, TaskManagedERC1155VaultEnabled { constructor(address taskManager) ERC20("Qlindo Realestate Investment Token", "QLINDO") { require(taskManager != address(0), "QLINDO: zero address set for task manager"); _setTaskManager(taskManager); _mint(_getTaskManager(), 10 * 10 ** 9); // 10 billion tokens } function decimals() public view virtual override returns (uint8) { return 0; } function _beforeTokenTransfer( address from, address /*to*/, uint256 /*amount*/ ) internal virtual override { require(!_isLocked(from), "QLINDO: account cannot transfer tokens"); } function _batchTransferSingle( address source, address to, uint256 amount ) internal virtual override { _transfer(source, to, amount); } receive() external payable { revert("QLINDO: cannot accept ether"); } fallback() external payable { revert("QLINDO: cannot accept ether"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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 ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 value {ERC20} uses, unless this function is * 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override 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 `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` 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 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * 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 `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` 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. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/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; }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "./TaskExecutor.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract AccountLocker is TaskExecutor { mapping (address => uint256) private _lockedAccounts; event LockTsChanged(address account, uint256 lockTimestamp); function updateLockTs( uint256 taskId, address[] memory accounts, uint256[] memory lockTss ) external tryExecuteTaskAfterwards(taskId) { require(accounts.length == lockTss.length, "AccountLocker: inputs have incorrect lengths"); require(accounts.length > 0, "AccountLocker: empty inputs"); for (uint256 i = 0; i < accounts.length; i++) { _updateLockTs(accounts[i], lockTss[i]); } } function _getLockTs(address account) internal view returns (uint256) { return _lockedAccounts[account]; } function _updateLockTs(address account, uint256 lockTs) internal { uint256 oldLockTs = _lockedAccounts[account]; _lockedAccounts[account] = lockTs; if (oldLockTs != lockTs) { emit LockTsChanged(account, lockTs); } } function _isLocked(address account) internal view returns (bool) { uint256 lockTs = _getLockTs(account); return lockTs > 0 && block.timestamp <= lockTs; } }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "./AccountLocker.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract BatchTransferEnabled is AccountLocker { function doBatchTransferWithLock( uint256 taskId, address[] memory tos, uint256[] memory amounts, uint256[] memory lockTss ) external tryExecuteTaskAfterwards(taskId) { _doBatchTransferWithLock(tos, amounts, lockTss); } function _batchTransferSingle(address source, address to, uint256 amount) internal virtual; function _doBatchTransferWithLock( address[] memory tos, uint256[] memory amounts, uint256[] memory lockTss ) private { require(_getTaskManager() != address(0), "BatchTransferEnabled: batch transfer source is not set"); require(tos.length == amounts.length, "BatchTransferEnabled: inputs have incorrect lengths"); require(tos.length == lockTss.length, "BatchTransferEnabled: inputs have incorrect lengths"); require(tos.length > 0, "BatchTransferEnabled: empty inputs"); for (uint256 i = 0; i < tos.length; i++) { require(tos[i] != address(0), "BatchTransferEnabled: target with zero address"); require(tos[i] != _getTaskManager(), "BatchTransferEnabled: invalid target"); if (amounts[i] > 0) { _batchTransferSingle(_getTaskManager(), tos[i], amounts[i]); } if (lockTss[i] > 0) { _updateLockTs(tos[i], lockTss[i]); } } } }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "../ERC20Vault.sol"; import "./TaskExecutor.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract TaskManagedERC20VaultEnabled is TaskExecutor, ERC20Vault { function ERC20Transfer( uint256 taskId, address tokenContract, address to, uint256 amount ) external tryExecuteTaskAfterwards(taskId) { _ERC20Transfer(tokenContract, to, amount); } function ERC20Approve( uint256 taskId, address tokenContract, address spender, uint256 amount ) external tryExecuteTaskAfterwards(taskId) { _ERC20Approve(tokenContract, spender, amount); } }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "../ERC721Vault.sol"; import "./TaskExecutor.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract TaskManagedERC721VaultEnabled is TaskExecutor, ERC721Vault { function ERC721Transfer( uint256 taskId, address tokenContract, address to, uint256 tokenId ) external tryExecuteTaskAfterwards(taskId) { _ERC721Transfer(tokenContract, to, tokenId); } function ERC721Approve( uint256 taskId, address tokenContract, address operator, uint256 tokenId ) external tryExecuteTaskAfterwards(taskId) { _ERC721Approve(tokenContract, operator, tokenId); } function ERC721SetApprovalForAll( uint256 taskId, address tokenContract, address operator, bool approved ) external tryExecuteTaskAfterwards(taskId) { _ERC721SetApprovalForAll(tokenContract, operator, approved); } }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "../ERC1155Vault.sol"; import "./TaskExecutor.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract TaskManagedERC1155VaultEnabled is TaskExecutor, ERC1155Vault { function ERC1155Transfer( uint256 taskId, address tokenContract, address to, uint256 tokenId, uint256 amount ) external tryExecuteTaskAfterwards(taskId) { _ERC1155Transfer(tokenContract, to, tokenId, amount); } function ERC1155SetApprovalForAll( uint256 taskId, address tokenContract, address operator, bool approved ) external tryExecuteTaskAfterwards(taskId) { _ERC1155SetApprovalForAll(tokenContract, operator, approved); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^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); }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "@openzeppelin/contracts/interfaces/IERC165.sol"; import "../../interfaces/ITaskExecutor.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract TaskExecutor { address private _taskManager; event TaskManagerChanged(address newTaskManager); modifier tryExecuteTaskAfterwards(uint256 taskId) { require(_taskManager != address(0), "TaskExecutor: task manager is not set"); _; ITaskExecutor(_taskManager).executeTask(msg.sender, taskId); } function getTaskManager() external view returns (address) { return _getTaskManager(); } function setTaskManager( uint256 adminTaskId, address newTaskManager ) external { address oldTaskManager = _taskManager; _setTaskManager(newTaskManager); if (oldTaskManager != address(0)) { ITaskExecutor(oldTaskManager).executeAdminTask(msg.sender, adminTaskId); } } function _getTaskManager() internal view returns (address) { return _taskManager; } function _setTaskManager(address newTaskManager) internal { require(newTaskManager != address(0), "TaskExecutor: zero address cannot be set"); require(IERC165(newTaskManager).supportsInterface(type(ITaskExecutor).interfaceId), "TaskExecutor: invalid contract"); _taskManager = newTaskManager; emit TaskManagerChanged(_taskManager); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk interface ITaskExecutor { event TaskExecuted(address finalizer, address executor, uint256 taskId); function executeTask(address executor, uint256 taskId) external; function executeAdminTask(address executor, uint256 taskId) external; }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "@openzeppelin/contracts/interfaces/IERC20.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract ERC20Vault { event ERC20Transferred(address tokenContract, address to, uint256 amount); event ERC20Approved(address tokenContract, address spender, uint256 amount); function _ERC20Transfer( address tokenContract, address to, uint256 amount ) internal { require(tokenContract != address(0), "ERC20Vault: zero token address"); require(to != address(0), "ERC20Vault: cannot transfer to zero"); require(amount > 0, "ERC20Vault: amount is zero"); require(amount <= IERC20(tokenContract).balanceOf(address(this)), "ERC20Vault: transfer more than balance"); IERC20(tokenContract).transfer(to, amount); emit ERC20Transferred(tokenContract, to, amount); } function _ERC20Approve( address tokenContract, address spender, uint256 amount ) internal { require(tokenContract != address(0), "ERC20Vault: zero token address"); require(spender != address(0), "ERC20Vault: zero address for spender"); IERC20(tokenContract).approve(spender, amount); emit ERC20Approved(tokenContract, spender, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "@openzeppelin/contracts/interfaces/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract ERC721Vault is IERC721Receiver { event ERC721Transferred(address tokenContract, address to, uint256 tokenId); event ERC721Approved(address tokenContract, address to, uint256 tokenId); event ERC721ApprovedForAll(address tokenContract, address operator, bool approved); function onERC721Received( address /* operator */, address /* from */, uint256 /* tokenId */, bytes calldata /* data */ ) external pure override returns (bytes4) { return bytes4(keccak256("onERC721Received(address,address,uint256,bytes)")); } function _ERC721Transfer( address tokenContract, address to, uint256 tokenId ) internal { require(tokenContract != address(0), "ERC721Vault: zero token address"); require(to != address(0), "ERC721Vault: cannot transfer to zero"); IERC721(tokenContract).safeTransferFrom(address(this), to, tokenId, ""); emit ERC721Transferred(tokenContract, to, tokenId); } // operator can be the zero address. function _ERC721Approve( address tokenContract, address operator, uint256 tokenId ) internal { require(tokenContract != address(0), "ERC721Vault: zero token address"); IERC721(tokenContract).approve(operator, tokenId); emit ERC721Approved(tokenContract, operator, tokenId); } function _ERC721SetApprovalForAll( address tokenContract, address operator, bool approved ) internal { require(tokenContract != address(0), "ERC721Vault: zero token address"); require(operator != address(0), "ERC721Vault: zero address for operator"); IERC721(tokenContract).setApprovalForAll(operator, approved); emit ERC721ApprovedForAll(tokenContract, operator, approved); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
/* * This file is part of the artèQ Technologies contracts (https://github.com/arteq-tech/contracts). * Copyright (c) 2022 artèQ Technologies (https://arteq.tech) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // SPDX-License-Identifier: GNU General Public License v3.0 pragma solidity 0.8.1; import "@openzeppelin/contracts/interfaces/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; /// @author Kam Amini <[email protected]> /// /// @notice Use at your own risk abstract contract ERC1155Vault is IERC1155Receiver { event ERC1155Transferred(address tokenContract, address to, uint256 tokenId, uint256 amount); event ERC1155ApprovedForAll(address tokenContract, address operator, bool approved); function supportsInterface(bytes4 interfaceId) external view virtual override returns (bool) { return interfaceId == type(IERC1155Receiver).interfaceId; } function onERC1155Received( address /* operator */, address /* from */, uint256 /* id */, uint256 /* value */, bytes calldata /* data */ ) external pure override returns (bytes4) { return bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)")); } function onERC1155BatchReceived( address /* operator */, address /* from */, uint256[] calldata /* ids */, uint256[] calldata /* values */, bytes calldata /* data */ ) external pure override returns (bytes4) { return bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)")); } function _ERC1155Transfer( address tokenContract, address to, uint256 tokenId, uint256 amount ) internal { require(tokenContract != address(0), "ERC1155Vault: zero token address"); require(to != address(0), "ERC1155Vault: cannot transfer to zero"); IERC1155(tokenContract).safeTransferFrom(address(this), to, tokenId, amount, ""); emit ERC1155Transferred(tokenContract, to, tokenId, amount); } function _ERC1155SetApprovalForAll( address tokenContract, address operator, bool approved ) internal { require(tokenContract != address(0), "ERC1155Vault: zero token address"); require(operator != address(0), "ERC1155Vault: zero address for operator"); IERC1155(tokenContract).setApprovalForAll(operator, approved); emit ERC1155ApprovedForAll(tokenContract, operator, approved); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC1155.sol) pragma solidity ^0.8.0; import "../token/ERC1155/IERC1155.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"taskManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ERC1155ApprovedForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC1155Transferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ERC721ApprovedForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenContract","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721Transferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"lockTimestamp","type":"uint256"}],"name":"LockTsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTaskManager","type":"address"}],"name":"TaskManagerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"ERC1155SetApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC1155Transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721Approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"ERC721SetApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address","name":"tokenContract","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721Transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address[]","name":"tos","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"lockTss","type":"uint256[]"}],"name":"doBatchTransferWithLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTaskManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"adminTaskId","type":"uint256"},{"internalType":"address","name":"newTaskManager","type":"address"}],"name":"setTaskManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taskId","type":"uint256"},{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"lockTss","type":"uint256[]"}],"name":"updateLockTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620034a6380380620034a683398101604081905262000034916200042c565b604051806060016040528060228152602001620034846022913960405180604001604052806006815260200165514c494e444f60d01b81525081600390805190602001906200008592919062000386565b5080516200009b90600490602084019062000386565b5050506001600160a01b038116620000d05760405162461bcd60e51b8152600401620000c7906200052e565b60405180910390fd5b620000db81620000fc565b620000f5620000e96200022b565b6402540be4006200023a565b5062000650565b6001600160a01b038116620001255760405162461bcd60e51b8152600401620000c790620004e6565b6040516301ffc9a760e01b81526001600160a01b038216906301ffc9a7906200015a906304d657b360e51b906004016200048b565b60206040518083038186803b1580156200017357600080fd5b505afa15801562000188573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ae919062000455565b620001cd5760405162461bcd60e51b8152600401620000c79062000577565b600580546001600160a01b0319166001600160a01b0383811691909117918290556040517fd9944277d62f69cc63c9bc5bd2158fef907119ed7f90fd406f1cdfada1097d50926200022092169062000477565b60405180910390a150565b6005546001600160a01b031690565b6001600160a01b038216620002635760405162461bcd60e51b8152600401620000c790620005ae565b620002716000838362000313565b8060026000828254620002859190620005ee565b90915550506001600160a01b03821660009081526020819052604081208054839290620002b4908490620005ee565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620002f9908590620005e5565b60405180910390a36200030f600083836200033e565b5050565b6200031e8362000343565b156200033e5760405162461bcd60e51b8152600401620000c790620004a0565b505050565b60008062000351836200036b565b9050600081118015620003645750804211155b9392505050565b6001600160a01b031660009081526006602052604090205490565b828054620003949062000613565b90600052602060002090601f016020900481019282620003b8576000855562000403565b82601f10620003d357805160ff191683800117855562000403565b8280016001018555821562000403579182015b8281111562000403578251825591602001919060010190620003e6565b506200041192915062000415565b5090565b5b8082111562000411576000815560010162000416565b6000602082840312156200043e578081fd5b81516001600160a01b038116811462000364578182fd5b60006020828403121562000467578081fd5b8151801515811462000364578182fd5b6001600160a01b0391909116815260200190565b6001600160e01b031991909116815260200190565b60208082526026908201527f514c494e444f3a206163636f756e742063616e6e6f74207472616e7366657220604082015265746f6b656e7360d01b606082015260800190565b60208082526028908201527f5461736b4578656375746f723a207a65726f20616464726573732063616e6e6f6040820152671d081899481cd95d60c21b606082015260800190565b60208082526029908201527f514c494e444f3a207a65726f20616464726573732073657420666f7220746173604082015268359036b0b730b3b2b960b91b606082015260800190565b6020808252601e908201527f5461736b4578656375746f723a20696e76616c696420636f6e74726163740000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b600082198211156200060e57634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200062857607f821691505b602082108114156200064a57634e487b7160e01b600052602260045260246000fd5b50919050565b612e2480620006606000396000f3fe6080604052600436106101a55760003560e01c806370a08231116100e1578063a457c2d71161008a578063bc197c8111610064578063bc197c81146104c5578063cbe4c6ef146104e5578063dd62ed3e14610505578063f23a6e6114610525576101cb565b8063a457c2d714610465578063a9059cbb14610485578063b42aebd1146104a5576101cb565b80638f4ac625116100bb5780638f4ac6251461041057806395d89b4114610430578063a37ef8f814610445576101cb565b806370a08231146103ae57806374e3d949146103ce57806382a22456146103f0576101cb565b806318160ddd1161014e578063313ce56711610128578063313ce5671461032c578063395093511461034e5780633c47b1631461036e5780633ec8c9f21461038e576101cb565b806318160ddd146102ca57806323b872dd146102ec5780632d31479b1461030c576101cb565b806314779cda1161017f57806314779cda1461025b578063150b7a021461027d578063153a6b75146102aa576101cb565b806301ffc9a7146101e357806306fdde0314610219578063095ea7b31461023b576101cb565b366101cb5760405162461bcd60e51b81526004016101c2906124ce565b60405180910390fd5b60405162461bcd60e51b81526004016101c2906124ce565b3480156101ef57600080fd5b506102036101fe366004611f24565b610545565b6040516102109190612298565b60405180910390f35b34801561022557600080fd5b5061022e610590565b60405161021091906122d0565b34801561024757600080fd5b50610203610256366004611edf565b610622565b34801561026757600080fd5b5061027b610276366004611fec565b610644565b005b34801561028957600080fd5b5061029d610298366004611dfc565b6106e4565b60405161021091906122a3565b3480156102b657600080fd5b5061027b6102c53660046120e6565b61070e565b3480156102d657600080fd5b506102df610743565b6040516102109190612cd7565b3480156102f857600080fd5b50610203610307366004611dc1565b610749565b34801561031857600080fd5b5061027b61032736600461202f565b610777565b34801561033857600080fd5b50610341610819565b6040516102109190612ce0565b34801561035a57600080fd5b50610203610369366004611edf565b61081e565b34801561037a57600080fd5b5061027b610389366004611f7c565b61086a565b34801561039a57600080fd5b5061027b6103a936600461207c565b61090d565b3480156103ba57600080fd5b506102df6103c9366004611cbe565b610a5a565b3480156103da57600080fd5b506103e3610a75565b6040516102109190612174565b3480156103fc57600080fd5b5061027b61040b366004611fec565b610a84565b34801561041c57600080fd5b5061027b61042b366004611fec565b610ab9565b34801561043c57600080fd5b5061022e610aee565b34801561045157600080fd5b5061027b610460366004611fec565b610afd565b34801561047157600080fd5b50610203610480366004611edf565b610b32565b34801561049157600080fd5b506102036104a0366004611edf565b610b93565b3480156104b157600080fd5b5061027b6104c0366004611f9e565b610bab565b3480156104d157600080fd5b5061029d6104e0366004611d0a565b610be0565b3480156104f157600080fd5b5061027b610500366004611f9e565b610c0d565b34801561051157600080fd5b506102df610520366004611cd8565b610c42565b34801561053157600080fd5b5061029d610540366004611e69565b610c6d565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f4e2312e000000000000000000000000000000000000000000000000000000000145b919050565b60606003805461059f90612d5b565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90612d5b565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b5050505050905090565b60008061062d610c98565b905061063a818585610c9c565b5060019392505050565b60055484906001600160a01b031661066e5760405162461bcd60e51b81526004016101c2906126e7565b610679848484610d50565b60055460405163f049076960e01b81526001600160a01b039091169063f0490769906106ab903390859060040161227f565b600060405180830381600087803b1580156106c557600080fd5b505af11580156106d9573d6000803e3d6000fd5b505050505050505050565b7f150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f95945050505050565b60055484906001600160a01b03166107385760405162461bcd60e51b81526004016101c2906126e7565b610679848484610e57565b60025490565b600080610754610c98565b90506107618582856110d4565b61076c858585611118565b506001949350505050565b60055485906001600160a01b03166107a15760405162461bcd60e51b81526004016101c2906126e7565b6107ad8585858561123c565b60055460405163f049076960e01b81526001600160a01b039091169063f0490769906107df903390859060040161227f565b600060405180830381600087803b1580156107f957600080fd5b505af115801561080d573d6000803e3d6000fd5b50505050505050505050565b600090565b600080610829610c98565b6001600160a01b0380821660009081526001602090815260408083209389168352929052205490915061063a9082908690610865908790612d43565b610c9c565b6005546001600160a01b031661087f82611348565b6001600160a01b03811615610908576040517f6a83f1090000000000000000000000000000000000000000000000000000000081526001600160a01b03821690636a83f109906108d5903390879060040161227f565b600060405180830381600087803b1580156108ef57600080fd5b505af1158015610903573d6000803e3d6000fd5b505050505b505050565b60055483906001600160a01b03166109375760405162461bcd60e51b81526004016101c2906126e7565b81518351146109585760405162461bcd60e51b81526004016101c290612b89565b60008351116109795760405162461bcd60e51b81526004016101c290612c43565b60005b83518110156109ef576109dd8482815181106109a857634e487b7160e01b600052603260045260246000fd5b60200260200101518483815181106109d057634e487b7160e01b600052603260045260246000fd5b60200260200101516114b3565b806109e781612d96565b91505061097c565b5060055460405163f049076960e01b81526001600160a01b039091169063f049076990610a22903390859060040161227f565b600060405180830381600087803b158015610a3c57600080fd5b505af1158015610a50573d6000803e3d6000fd5b5050505050505050565b6001600160a01b031660009081526020819052604090205490565b6000610a7f611509565b905090565b60055484906001600160a01b0316610aae5760405162461bcd60e51b81526004016101c2906126e7565b610679848484611518565b60055484906001600160a01b0316610ae35760405162461bcd60e51b81526004016101c2906126e7565b610679848484611631565b60606004805461059f90612d5b565b60055484906001600160a01b0316610b275760405162461bcd60e51b81526004016101c2906126e7565b61067984848461181e565b600080610b3d610c98565b6001600160a01b0380821660009081526001602090815260408083209389168352929052205490915083811015610b865760405162461bcd60e51b81526004016101c290612c7a565b61076c8286868403610c9c565b600080610b9e610c98565b905061063a818585611118565b60055484906001600160a01b0316610bd55760405162461bcd60e51b81526004016101c2906126e7565b6106798484846118f0565b7fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662198975050505050505050565b60055484906001600160a01b0316610c375760405162461bcd60e51b81526004016101c2906126e7565b6106798484846119e8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf979695505050505050565b3390565b6001600160a01b038316610cc25760405162461bcd60e51b81526004016101c290612a98565b6001600160a01b038216610ce85760405162461bcd60e51b81526004016101c290612414565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610d43908590612cd7565b60405180910390a3505050565b6001600160a01b038316610d765760405162461bcd60e51b81526004016101c290612380565b6001600160a01b038216610d9c5760405162461bcd60e51b81526004016101c290612af5565b6040517fb88d4fde0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063b88d4fde90610de5903090869086906004016121d0565b600060405180830381600087803b158015610dff57600080fd5b505af1158015610e13573d6000803e3d6000fd5b505050507fcd68d836931d28b26c81fd06a68b603542d9b3a2fd1ba1c1bd30c9e2e5f4e6eb838383604051610e4a939291906121ac565b60405180910390a1505050565b6000610e61611509565b6001600160a01b03161415610e885760405162461bcd60e51b81526004016101c290612be6565b8151835114610ea95760405162461bcd60e51b81526004016101c290612599565b8051835114610eca5760405162461bcd60e51b81526004016101c290612599565b6000835111610eeb5760405162461bcd60e51b81526004016101c29061262d565b60005b83518110156110ce5760006001600160a01b0316848281518110610f2257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03161415610f515760405162461bcd60e51b81526004016101c2906123b7565b610f59611509565b6001600160a01b0316848281518110610f8257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03161415610fb15760405162461bcd60e51b81526004016101c290612924565b6000838281518110610fd357634e487b7160e01b600052603260045260246000fd5b6020026020010151111561104157611041610fec611509565b85838151811061100c57634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061103457634e487b7160e01b600052603260045260246000fd5b6020026020010151611ae0565b600082828151811061106357634e487b7160e01b600052603260045260246000fd5b602002602001015111156110bc576110bc84828151811061109457634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106109d057634e487b7160e01b600052603260045260246000fd5b806110c681612d96565b915050610eee565b50505050565b60006110e08484610c42565b905060001981146110ce578181101561110b5760405162461bcd60e51b81526004016101c290612562565b6110ce8484848403610c9c565b6001600160a01b03831661113e5760405162461bcd60e51b81526004016101c2906129de565b6001600160a01b0382166111645760405162461bcd60e51b81526004016101c290612323565b61116f838383611aeb565b6001600160a01b038316600090815260208190526040902054818110156111a85760405162461bcd60e51b81526004016101c29061268a565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906111df908490612d43565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112299190612cd7565b60405180910390a36110ce848484610908565b6001600160a01b0384166112625760405162461bcd60e51b81526004016101c2906127a1565b6001600160a01b0383166112885760405162461bcd60e51b81526004016101c29061280d565b6040517ff242432a0000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f242432a906112d390309087908790879060040161222c565b600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b505050507f33627cfa024b2c6aba9bb8060d9b3112240af2250621855495464379de6ab1b58484848460405161133a9493929190612203565b60405180910390a150505050565b6001600160a01b03811661136e5760405162461bcd60e51b81526004016101c29061286a565b6040517f01ffc9a70000000000000000000000000000000000000000000000000000000081526001600160a01b038216906301ffc9a7906113d3907f9acaf66000000000000000000000000000000000000000000000000000000000906004016122a3565b60206040518083038186803b1580156113eb57600080fd5b505afa1580156113ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114239190611f08565b61143f5760405162461bcd60e51b81526004016101c290612b52565b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383811691909117918290556040517fd9944277d62f69cc63c9bc5bd2158fef907119ed7f90fd406f1cdfada1097d50926114a8921690612174565b60405180910390a150565b6001600160a01b0382166000908152600660205260409020805490829055818114610908577f70a64f3b2a8057b12bf11332b500e36fa8a62ffc3e53fc656c9b8c847008a4d58383604051610e4a92919061227f565b6005546001600160a01b031690565b6001600160a01b03831661153e5760405162461bcd60e51b81526004016101c2906127d6565b6001600160a01b0382166115645760405162461bcd60e51b81526004016101c290612744565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063095ea7b3906115ab908590859060040161227f565b602060405180830381600087803b1580156115c557600080fd5b505af11580156115d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fd9190611f08565b507fe285444a44723385de85da4844cbb9105030b82a9300a3ffca99054d624c5e30838383604051610e4a939291906121ac565b6001600160a01b0383166116575760405162461bcd60e51b81526004016101c2906127d6565b6001600160a01b03821661167d5760405162461bcd60e51b81526004016101c2906128c7565b6000811161169d5760405162461bcd60e51b81526004016101c2906125f6565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038416906370a08231906116e2903090600401612174565b60206040518083038186803b1580156116fa57600080fd5b505afa15801561170e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117329190611f64565b8111156117515760405162461bcd60e51b81526004016101c290612981565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a9059cbb90611798908590859060040161227f565b602060405180830381600087803b1580156117b257600080fd5b505af11580156117c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ea9190611f08565b507fe8de91d538b06154a2c48315768c5046f47e127d7fd3f726fd85cc723f29b052838383604051610e4a939291906121ac565b6001600160a01b0383166118445760405162461bcd60e51b81526004016101c290612380565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063095ea7b39061188b908590859060040161227f565b600060405180830381600087803b1580156118a557600080fd5b505af11580156118b9573d6000803e3d6000fd5b505050507fd28f69cf4df1f60ab7617e7a45ff83d9ea9c984c0839ca7c7bbea0654520b175838383604051610e4a939291906121ac565b6001600160a01b0383166119165760405162461bcd60e51b81526004016101c2906127a1565b6001600160a01b03821661193c5760405162461bcd60e51b81526004016101c290612a3b565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a22cb465906119839085908590600401612264565b600060405180830381600087803b15801561199d57600080fd5b505af11580156119b1573d6000803e3d6000fd5b505050507fdd7643f09c4969b2b902e40fb0b08a3c9cbf7f60975628ed6c175e85c851e222838383604051610e4a93929190612188565b6001600160a01b038316611a0e5760405162461bcd60e51b81526004016101c290612380565b6001600160a01b038216611a345760405162461bcd60e51b81526004016101c290612505565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a22cb46590611a7b9085908590600401612264565b600060405180830381600087803b158015611a9557600080fd5b505af1158015611aa9573d6000803e3d6000fd5b505050507fa7bccb6e0f084533659b39f9e36504532604da7f98afa2c4763a0ab3224a4c2b838383604051610e4a93929190612188565b610908838383611118565b611af483611b11565b156109085760405162461bcd60e51b81526004016101c290612471565b600080611b1d83611b36565b9050600081118015611b2f5750804211155b9392505050565b6001600160a01b031660009081526006602052604090205490565b80356001600160a01b038116811461058b57600080fd5b600082601f830112611b78578081fd5b81356020611b8d611b8883612d1f565b612cee565b8281528181019085830183850287018401881015611ba9578586fd5b855b85811015611bce57611bbc82611b51565b84529284019290840190600101611bab565b5090979650505050505050565b60008083601f840112611bec578182fd5b50813567ffffffffffffffff811115611c03578182fd5b6020830191508360208083028501011115611c1d57600080fd5b9250929050565b600082601f830112611c34578081fd5b81356020611c44611b8883612d1f565b8281528181019085830183850287018401881015611c60578586fd5b855b85811015611bce57813584529284019290840190600101611c62565b60008083601f840112611c8f578182fd5b50813567ffffffffffffffff811115611ca6578182fd5b602083019150836020828501011115611c1d57600080fd5b600060208284031215611ccf578081fd5b611b2f82611b51565b60008060408385031215611cea578081fd5b611cf383611b51565b9150611d0160208401611b51565b90509250929050565b60008060008060008060008060a0898b031215611d25578384fd5b611d2e89611b51565b9750611d3c60208a01611b51565b9650604089013567ffffffffffffffff80821115611d58578586fd5b611d648c838d01611bdb565b909850965060608b0135915080821115611d7c578586fd5b611d888c838d01611bdb565b909650945060808b0135915080821115611da0578384fd5b50611dad8b828c01611c7e565b999c989b5096995094979396929594505050565b600080600060608486031215611dd5578283fd5b611dde84611b51565b9250611dec60208501611b51565b9150604084013590509250925092565b600080600080600060808688031215611e13578081fd5b611e1c86611b51565b9450611e2a60208701611b51565b935060408601359250606086013567ffffffffffffffff811115611e4c578182fd5b611e5888828901611c7e565b969995985093965092949392505050565b60008060008060008060a08789031215611e81578182fd5b611e8a87611b51565b9550611e9860208801611b51565b94506040870135935060608701359250608087013567ffffffffffffffff811115611ec1578283fd5b611ecd89828a01611c7e565b979a9699509497509295939492505050565b60008060408385031215611ef1578182fd5b611efa83611b51565b946020939093013593505050565b600060208284031215611f19578081fd5b8151611b2f81612ddd565b600060208284031215611f35578081fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114611b2f578182fd5b600060208284031215611f75578081fd5b5051919050565b60008060408385031215611f8e578182fd5b82359150611d0160208401611b51565b60008060008060808587031215611fb3578182fd5b84359350611fc360208601611b51565b9250611fd160408601611b51565b91506060850135611fe181612ddd565b939692955090935050565b60008060008060808587031215612001578182fd5b8435935061201160208601611b51565b925061201f60408601611b51565b9396929550929360600135925050565b600080600080600060a08688031215612046578283fd5b8535945061205660208701611b51565b935061206460408701611b51565b94979396509394606081013594506080013592915050565b600080600060608486031215612090578081fd5b83359250602084013567ffffffffffffffff808211156120ae578283fd5b6120ba87838801611b68565b935060408601359150808211156120cf578283fd5b506120dc86828701611c24565b9150509250925092565b600080600080608085870312156120fb578182fd5b84359350602085013567ffffffffffffffff80821115612119578384fd5b61212588838901611b68565b9450604087013591508082111561213a578384fd5b61214688838901611c24565b9350606087013591508082111561215b578283fd5b5061216887828801611c24565b91505092959194509250565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152901515604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039384168152919092166020820152604081019190915260806060820181905260009082015260a00190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b6000602080835283518082850152825b818110156122fc578581018301518582016040015282016122e0565b8181111561230d5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f4552433732315661756c743a207a65726f20746f6b656e206164647265737300604082015260600190565b6020808252602e908201527f42617463685472616e73666572456e61626c65643a207461726765742077697460408201527f68207a65726f2061646472657373000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f514c494e444f3a206163636f756e742063616e6e6f74207472616e736665722060408201527f746f6b656e730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f514c494e444f3a2063616e6e6f74206163636570742065746865720000000000604082015260600190565b60208082526026908201527f4552433732315661756c743a207a65726f206164647265737320666f72206f7060408201527f657261746f720000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526033908201527f42617463685472616e73666572456e61626c65643a20696e707574732068617660408201527f6520696e636f7272656374206c656e6774687300000000000000000000000000606082015260800190565b6020808252601a908201527f45524332305661756c743a20616d6f756e74206973207a65726f000000000000604082015260600190565b60208082526022908201527f42617463685472616e73666572456e61626c65643a20656d70747920696e707560408201527f7473000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f5461736b4578656375746f723a207461736b206d616e61676572206973206e6f60408201527f7420736574000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332305661756c743a207a65726f206164647265737320666f722073706560408201527f6e64657200000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f455243313135355661756c743a207a65726f20746f6b656e2061646472657373604082015260600190565b6020808252601e908201527f45524332305661756c743a207a65726f20746f6b656e20616464726573730000604082015260600190565b60208082526025908201527f455243313135355661756c743a2063616e6e6f74207472616e7366657220746f60408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f5461736b4578656375746f723a207a65726f20616464726573732063616e6e6f60408201527f7420626520736574000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f45524332305661756c743a2063616e6e6f74207472616e7366657220746f207a60408201527f65726f0000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f42617463685472616e73666572456e61626c65643a20696e76616c696420746160408201527f7267657400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332305661756c743a207472616e73666572206d6f7265207468616e206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526027908201527f455243313135355661756c743a207a65726f206164647265737320666f72206f60408201527f70657261746f7200000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732315661756c743a2063616e6e6f74207472616e7366657220746f2060408201527f7a65726f00000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f5461736b4578656375746f723a20696e76616c696420636f6e74726163740000604082015260600190565b6020808252602c908201527f4163636f756e744c6f636b65723a20696e70757473206861766520696e636f7260408201527f72656374206c656e677468730000000000000000000000000000000000000000606082015260800190565b60208082526036908201527f42617463685472616e73666572456e61626c65643a206261746368207472616e60408201527f7366657220736f75726365206973206e6f742073657400000000000000000000606082015260800190565b6020808252601b908201527f4163636f756e744c6f636b65723a20656d70747920696e707574730000000000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b90815260200190565b60ff91909116815260200190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d1757612d17612dc7565b604052919050565b600067ffffffffffffffff821115612d3957612d39612dc7565b5060209081020190565b60008219821115612d5657612d56612db1565b500190565b600281046001821680612d6f57607f821691505b60208210811415612d9057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612daa57612daa612db1565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114612deb57600080fd5b5056fea26469706673582212207ef0c97501484360dcb5fefadf7459b71df34391081948696253ba32e608191564736f6c63430008010033516c696e646f205265616c65737461746520496e766573746d656e7420546f6b656e000000000000000000000000c2c2389dae1bd292a2685751d5fb091c9c28a5b3
Deployed Bytecode
0x6080604052600436106101a55760003560e01c806370a08231116100e1578063a457c2d71161008a578063bc197c8111610064578063bc197c81146104c5578063cbe4c6ef146104e5578063dd62ed3e14610505578063f23a6e6114610525576101cb565b8063a457c2d714610465578063a9059cbb14610485578063b42aebd1146104a5576101cb565b80638f4ac625116100bb5780638f4ac6251461041057806395d89b4114610430578063a37ef8f814610445576101cb565b806370a08231146103ae57806374e3d949146103ce57806382a22456146103f0576101cb565b806318160ddd1161014e578063313ce56711610128578063313ce5671461032c578063395093511461034e5780633c47b1631461036e5780633ec8c9f21461038e576101cb565b806318160ddd146102ca57806323b872dd146102ec5780632d31479b1461030c576101cb565b806314779cda1161017f57806314779cda1461025b578063150b7a021461027d578063153a6b75146102aa576101cb565b806301ffc9a7146101e357806306fdde0314610219578063095ea7b31461023b576101cb565b366101cb5760405162461bcd60e51b81526004016101c2906124ce565b60405180910390fd5b60405162461bcd60e51b81526004016101c2906124ce565b3480156101ef57600080fd5b506102036101fe366004611f24565b610545565b6040516102109190612298565b60405180910390f35b34801561022557600080fd5b5061022e610590565b60405161021091906122d0565b34801561024757600080fd5b50610203610256366004611edf565b610622565b34801561026757600080fd5b5061027b610276366004611fec565b610644565b005b34801561028957600080fd5b5061029d610298366004611dfc565b6106e4565b60405161021091906122a3565b3480156102b657600080fd5b5061027b6102c53660046120e6565b61070e565b3480156102d657600080fd5b506102df610743565b6040516102109190612cd7565b3480156102f857600080fd5b50610203610307366004611dc1565b610749565b34801561031857600080fd5b5061027b61032736600461202f565b610777565b34801561033857600080fd5b50610341610819565b6040516102109190612ce0565b34801561035a57600080fd5b50610203610369366004611edf565b61081e565b34801561037a57600080fd5b5061027b610389366004611f7c565b61086a565b34801561039a57600080fd5b5061027b6103a936600461207c565b61090d565b3480156103ba57600080fd5b506102df6103c9366004611cbe565b610a5a565b3480156103da57600080fd5b506103e3610a75565b6040516102109190612174565b3480156103fc57600080fd5b5061027b61040b366004611fec565b610a84565b34801561041c57600080fd5b5061027b61042b366004611fec565b610ab9565b34801561043c57600080fd5b5061022e610aee565b34801561045157600080fd5b5061027b610460366004611fec565b610afd565b34801561047157600080fd5b50610203610480366004611edf565b610b32565b34801561049157600080fd5b506102036104a0366004611edf565b610b93565b3480156104b157600080fd5b5061027b6104c0366004611f9e565b610bab565b3480156104d157600080fd5b5061029d6104e0366004611d0a565b610be0565b3480156104f157600080fd5b5061027b610500366004611f9e565b610c0d565b34801561051157600080fd5b506102df610520366004611cd8565b610c42565b34801561053157600080fd5b5061029d610540366004611e69565b610c6d565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f4e2312e000000000000000000000000000000000000000000000000000000000145b919050565b60606003805461059f90612d5b565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90612d5b565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b5050505050905090565b60008061062d610c98565b905061063a818585610c9c565b5060019392505050565b60055484906001600160a01b031661066e5760405162461bcd60e51b81526004016101c2906126e7565b610679848484610d50565b60055460405163f049076960e01b81526001600160a01b039091169063f0490769906106ab903390859060040161227f565b600060405180830381600087803b1580156106c557600080fd5b505af11580156106d9573d6000803e3d6000fd5b505050505050505050565b7f150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f95945050505050565b60055484906001600160a01b03166107385760405162461bcd60e51b81526004016101c2906126e7565b610679848484610e57565b60025490565b600080610754610c98565b90506107618582856110d4565b61076c858585611118565b506001949350505050565b60055485906001600160a01b03166107a15760405162461bcd60e51b81526004016101c2906126e7565b6107ad8585858561123c565b60055460405163f049076960e01b81526001600160a01b039091169063f0490769906107df903390859060040161227f565b600060405180830381600087803b1580156107f957600080fd5b505af115801561080d573d6000803e3d6000fd5b50505050505050505050565b600090565b600080610829610c98565b6001600160a01b0380821660009081526001602090815260408083209389168352929052205490915061063a9082908690610865908790612d43565b610c9c565b6005546001600160a01b031661087f82611348565b6001600160a01b03811615610908576040517f6a83f1090000000000000000000000000000000000000000000000000000000081526001600160a01b03821690636a83f109906108d5903390879060040161227f565b600060405180830381600087803b1580156108ef57600080fd5b505af1158015610903573d6000803e3d6000fd5b505050505b505050565b60055483906001600160a01b03166109375760405162461bcd60e51b81526004016101c2906126e7565b81518351146109585760405162461bcd60e51b81526004016101c290612b89565b60008351116109795760405162461bcd60e51b81526004016101c290612c43565b60005b83518110156109ef576109dd8482815181106109a857634e487b7160e01b600052603260045260246000fd5b60200260200101518483815181106109d057634e487b7160e01b600052603260045260246000fd5b60200260200101516114b3565b806109e781612d96565b91505061097c565b5060055460405163f049076960e01b81526001600160a01b039091169063f049076990610a22903390859060040161227f565b600060405180830381600087803b158015610a3c57600080fd5b505af1158015610a50573d6000803e3d6000fd5b5050505050505050565b6001600160a01b031660009081526020819052604090205490565b6000610a7f611509565b905090565b60055484906001600160a01b0316610aae5760405162461bcd60e51b81526004016101c2906126e7565b610679848484611518565b60055484906001600160a01b0316610ae35760405162461bcd60e51b81526004016101c2906126e7565b610679848484611631565b60606004805461059f90612d5b565b60055484906001600160a01b0316610b275760405162461bcd60e51b81526004016101c2906126e7565b61067984848461181e565b600080610b3d610c98565b6001600160a01b0380821660009081526001602090815260408083209389168352929052205490915083811015610b865760405162461bcd60e51b81526004016101c290612c7a565b61076c8286868403610c9c565b600080610b9e610c98565b905061063a818585611118565b60055484906001600160a01b0316610bd55760405162461bcd60e51b81526004016101c2906126e7565b6106798484846118f0565b7fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f669414662198975050505050505050565b60055484906001600160a01b0316610c375760405162461bcd60e51b81526004016101c2906126e7565b6106798484846119e8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf979695505050505050565b3390565b6001600160a01b038316610cc25760405162461bcd60e51b81526004016101c290612a98565b6001600160a01b038216610ce85760405162461bcd60e51b81526004016101c290612414565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610d43908590612cd7565b60405180910390a3505050565b6001600160a01b038316610d765760405162461bcd60e51b81526004016101c290612380565b6001600160a01b038216610d9c5760405162461bcd60e51b81526004016101c290612af5565b6040517fb88d4fde0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063b88d4fde90610de5903090869086906004016121d0565b600060405180830381600087803b158015610dff57600080fd5b505af1158015610e13573d6000803e3d6000fd5b505050507fcd68d836931d28b26c81fd06a68b603542d9b3a2fd1ba1c1bd30c9e2e5f4e6eb838383604051610e4a939291906121ac565b60405180910390a1505050565b6000610e61611509565b6001600160a01b03161415610e885760405162461bcd60e51b81526004016101c290612be6565b8151835114610ea95760405162461bcd60e51b81526004016101c290612599565b8051835114610eca5760405162461bcd60e51b81526004016101c290612599565b6000835111610eeb5760405162461bcd60e51b81526004016101c29061262d565b60005b83518110156110ce5760006001600160a01b0316848281518110610f2257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03161415610f515760405162461bcd60e51b81526004016101c2906123b7565b610f59611509565b6001600160a01b0316848281518110610f8257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03161415610fb15760405162461bcd60e51b81526004016101c290612924565b6000838281518110610fd357634e487b7160e01b600052603260045260246000fd5b6020026020010151111561104157611041610fec611509565b85838151811061100c57634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061103457634e487b7160e01b600052603260045260246000fd5b6020026020010151611ae0565b600082828151811061106357634e487b7160e01b600052603260045260246000fd5b602002602001015111156110bc576110bc84828151811061109457634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106109d057634e487b7160e01b600052603260045260246000fd5b806110c681612d96565b915050610eee565b50505050565b60006110e08484610c42565b905060001981146110ce578181101561110b5760405162461bcd60e51b81526004016101c290612562565b6110ce8484848403610c9c565b6001600160a01b03831661113e5760405162461bcd60e51b81526004016101c2906129de565b6001600160a01b0382166111645760405162461bcd60e51b81526004016101c290612323565b61116f838383611aeb565b6001600160a01b038316600090815260208190526040902054818110156111a85760405162461bcd60e51b81526004016101c29061268a565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906111df908490612d43565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112299190612cd7565b60405180910390a36110ce848484610908565b6001600160a01b0384166112625760405162461bcd60e51b81526004016101c2906127a1565b6001600160a01b0383166112885760405162461bcd60e51b81526004016101c29061280d565b6040517ff242432a0000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f242432a906112d390309087908790879060040161222c565b600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b505050507f33627cfa024b2c6aba9bb8060d9b3112240af2250621855495464379de6ab1b58484848460405161133a9493929190612203565b60405180910390a150505050565b6001600160a01b03811661136e5760405162461bcd60e51b81526004016101c29061286a565b6040517f01ffc9a70000000000000000000000000000000000000000000000000000000081526001600160a01b038216906301ffc9a7906113d3907f9acaf66000000000000000000000000000000000000000000000000000000000906004016122a3565b60206040518083038186803b1580156113eb57600080fd5b505afa1580156113ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114239190611f08565b61143f5760405162461bcd60e51b81526004016101c290612b52565b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383811691909117918290556040517fd9944277d62f69cc63c9bc5bd2158fef907119ed7f90fd406f1cdfada1097d50926114a8921690612174565b60405180910390a150565b6001600160a01b0382166000908152600660205260409020805490829055818114610908577f70a64f3b2a8057b12bf11332b500e36fa8a62ffc3e53fc656c9b8c847008a4d58383604051610e4a92919061227f565b6005546001600160a01b031690565b6001600160a01b03831661153e5760405162461bcd60e51b81526004016101c2906127d6565b6001600160a01b0382166115645760405162461bcd60e51b81526004016101c290612744565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063095ea7b3906115ab908590859060040161227f565b602060405180830381600087803b1580156115c557600080fd5b505af11580156115d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fd9190611f08565b507fe285444a44723385de85da4844cbb9105030b82a9300a3ffca99054d624c5e30838383604051610e4a939291906121ac565b6001600160a01b0383166116575760405162461bcd60e51b81526004016101c2906127d6565b6001600160a01b03821661167d5760405162461bcd60e51b81526004016101c2906128c7565b6000811161169d5760405162461bcd60e51b81526004016101c2906125f6565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038416906370a08231906116e2903090600401612174565b60206040518083038186803b1580156116fa57600080fd5b505afa15801561170e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117329190611f64565b8111156117515760405162461bcd60e51b81526004016101c290612981565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a9059cbb90611798908590859060040161227f565b602060405180830381600087803b1580156117b257600080fd5b505af11580156117c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ea9190611f08565b507fe8de91d538b06154a2c48315768c5046f47e127d7fd3f726fd85cc723f29b052838383604051610e4a939291906121ac565b6001600160a01b0383166118445760405162461bcd60e51b81526004016101c290612380565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063095ea7b39061188b908590859060040161227f565b600060405180830381600087803b1580156118a557600080fd5b505af11580156118b9573d6000803e3d6000fd5b505050507fd28f69cf4df1f60ab7617e7a45ff83d9ea9c984c0839ca7c7bbea0654520b175838383604051610e4a939291906121ac565b6001600160a01b0383166119165760405162461bcd60e51b81526004016101c2906127a1565b6001600160a01b03821661193c5760405162461bcd60e51b81526004016101c290612a3b565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a22cb465906119839085908590600401612264565b600060405180830381600087803b15801561199d57600080fd5b505af11580156119b1573d6000803e3d6000fd5b505050507fdd7643f09c4969b2b902e40fb0b08a3c9cbf7f60975628ed6c175e85c851e222838383604051610e4a93929190612188565b6001600160a01b038316611a0e5760405162461bcd60e51b81526004016101c290612380565b6001600160a01b038216611a345760405162461bcd60e51b81526004016101c290612505565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063a22cb46590611a7b9085908590600401612264565b600060405180830381600087803b158015611a9557600080fd5b505af1158015611aa9573d6000803e3d6000fd5b505050507fa7bccb6e0f084533659b39f9e36504532604da7f98afa2c4763a0ab3224a4c2b838383604051610e4a93929190612188565b610908838383611118565b611af483611b11565b156109085760405162461bcd60e51b81526004016101c290612471565b600080611b1d83611b36565b9050600081118015611b2f5750804211155b9392505050565b6001600160a01b031660009081526006602052604090205490565b80356001600160a01b038116811461058b57600080fd5b600082601f830112611b78578081fd5b81356020611b8d611b8883612d1f565b612cee565b8281528181019085830183850287018401881015611ba9578586fd5b855b85811015611bce57611bbc82611b51565b84529284019290840190600101611bab565b5090979650505050505050565b60008083601f840112611bec578182fd5b50813567ffffffffffffffff811115611c03578182fd5b6020830191508360208083028501011115611c1d57600080fd5b9250929050565b600082601f830112611c34578081fd5b81356020611c44611b8883612d1f565b8281528181019085830183850287018401881015611c60578586fd5b855b85811015611bce57813584529284019290840190600101611c62565b60008083601f840112611c8f578182fd5b50813567ffffffffffffffff811115611ca6578182fd5b602083019150836020828501011115611c1d57600080fd5b600060208284031215611ccf578081fd5b611b2f82611b51565b60008060408385031215611cea578081fd5b611cf383611b51565b9150611d0160208401611b51565b90509250929050565b60008060008060008060008060a0898b031215611d25578384fd5b611d2e89611b51565b9750611d3c60208a01611b51565b9650604089013567ffffffffffffffff80821115611d58578586fd5b611d648c838d01611bdb565b909850965060608b0135915080821115611d7c578586fd5b611d888c838d01611bdb565b909650945060808b0135915080821115611da0578384fd5b50611dad8b828c01611c7e565b999c989b5096995094979396929594505050565b600080600060608486031215611dd5578283fd5b611dde84611b51565b9250611dec60208501611b51565b9150604084013590509250925092565b600080600080600060808688031215611e13578081fd5b611e1c86611b51565b9450611e2a60208701611b51565b935060408601359250606086013567ffffffffffffffff811115611e4c578182fd5b611e5888828901611c7e565b969995985093965092949392505050565b60008060008060008060a08789031215611e81578182fd5b611e8a87611b51565b9550611e9860208801611b51565b94506040870135935060608701359250608087013567ffffffffffffffff811115611ec1578283fd5b611ecd89828a01611c7e565b979a9699509497509295939492505050565b60008060408385031215611ef1578182fd5b611efa83611b51565b946020939093013593505050565b600060208284031215611f19578081fd5b8151611b2f81612ddd565b600060208284031215611f35578081fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114611b2f578182fd5b600060208284031215611f75578081fd5b5051919050565b60008060408385031215611f8e578182fd5b82359150611d0160208401611b51565b60008060008060808587031215611fb3578182fd5b84359350611fc360208601611b51565b9250611fd160408601611b51565b91506060850135611fe181612ddd565b939692955090935050565b60008060008060808587031215612001578182fd5b8435935061201160208601611b51565b925061201f60408601611b51565b9396929550929360600135925050565b600080600080600060a08688031215612046578283fd5b8535945061205660208701611b51565b935061206460408701611b51565b94979396509394606081013594506080013592915050565b600080600060608486031215612090578081fd5b83359250602084013567ffffffffffffffff808211156120ae578283fd5b6120ba87838801611b68565b935060408601359150808211156120cf578283fd5b506120dc86828701611c24565b9150509250925092565b600080600080608085870312156120fb578182fd5b84359350602085013567ffffffffffffffff80821115612119578384fd5b61212588838901611b68565b9450604087013591508082111561213a578384fd5b61214688838901611c24565b9350606087013591508082111561215b578283fd5b5061216887828801611c24565b91505092959194509250565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152901515604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039384168152919092166020820152604081019190915260806060820181905260009082015260a00190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b6000602080835283518082850152825b818110156122fc578581018301518582016040015282016122e0565b8181111561230d5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f4552433732315661756c743a207a65726f20746f6b656e206164647265737300604082015260600190565b6020808252602e908201527f42617463685472616e73666572456e61626c65643a207461726765742077697460408201527f68207a65726f2061646472657373000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f514c494e444f3a206163636f756e742063616e6e6f74207472616e736665722060408201527f746f6b656e730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f514c494e444f3a2063616e6e6f74206163636570742065746865720000000000604082015260600190565b60208082526026908201527f4552433732315661756c743a207a65726f206164647265737320666f72206f7060408201527f657261746f720000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526033908201527f42617463685472616e73666572456e61626c65643a20696e707574732068617660408201527f6520696e636f7272656374206c656e6774687300000000000000000000000000606082015260800190565b6020808252601a908201527f45524332305661756c743a20616d6f756e74206973207a65726f000000000000604082015260600190565b60208082526022908201527f42617463685472616e73666572456e61626c65643a20656d70747920696e707560408201527f7473000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f5461736b4578656375746f723a207461736b206d616e61676572206973206e6f60408201527f7420736574000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332305661756c743a207a65726f206164647265737320666f722073706560408201527f6e64657200000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f455243313135355661756c743a207a65726f20746f6b656e2061646472657373604082015260600190565b6020808252601e908201527f45524332305661756c743a207a65726f20746f6b656e20616464726573730000604082015260600190565b60208082526025908201527f455243313135355661756c743a2063616e6e6f74207472616e7366657220746f60408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f5461736b4578656375746f723a207a65726f20616464726573732063616e6e6f60408201527f7420626520736574000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f45524332305661756c743a2063616e6e6f74207472616e7366657220746f207a60408201527f65726f0000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f42617463685472616e73666572456e61626c65643a20696e76616c696420746160408201527f7267657400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332305661756c743a207472616e73666572206d6f7265207468616e206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526027908201527f455243313135355661756c743a207a65726f206164647265737320666f72206f60408201527f70657261746f7200000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732315661756c743a2063616e6e6f74207472616e7366657220746f2060408201527f7a65726f00000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f5461736b4578656375746f723a20696e76616c696420636f6e74726163740000604082015260600190565b6020808252602c908201527f4163636f756e744c6f636b65723a20696e70757473206861766520696e636f7260408201527f72656374206c656e677468730000000000000000000000000000000000000000606082015260800190565b60208082526036908201527f42617463685472616e73666572456e61626c65643a206261746368207472616e60408201527f7366657220736f75726365206973206e6f742073657400000000000000000000606082015260800190565b6020808252601b908201527f4163636f756e744c6f636b65723a20656d70747920696e707574730000000000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b90815260200190565b60ff91909116815260200190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d1757612d17612dc7565b604052919050565b600067ffffffffffffffff821115612d3957612d39612dc7565b5060209081020190565b60008219821115612d5657612d56612db1565b500190565b600281046001821680612d6f57607f821691505b60208210811415612d9057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612daa57612daa612db1565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114612deb57600080fd5b5056fea26469706673582212207ef0c97501484360dcb5fefadf7459b71df34391081948696253ba32e608191564736f6c63430008010033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c2c2389dae1bd292a2685751d5fb091c9c28a5b3
-----Decoded View---------------
Arg [0] : taskManager (address): 0xc2C2389DAE1bD292A2685751D5Fb091C9C28a5b3
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c2c2389dae1bd292a2685751d5fb091c9c28a5b3
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.