Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 sBEASTS
Holders
236
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 sBEASTSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
StakedBEASTS
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-28 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // 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); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` 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 tokenId ) 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. * - `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 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: contracts/StakedBeasts.sol pragma solidity ^0.8.4; contract StakedBEASTS is ERC721, AccessControl { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string private _baseTokenURI = ""; constructor (address stakingContract) ERC721("sBEASTS", "sBEASTS") { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(MINTER_ROLE, stakingContract); } function mint(address to, uint256 tokenId) public onlyRole(MINTER_ROLE) { _safeMint(to, tokenId); } function batchMint( address[] memory to, uint256[] memory tokenIds ) public onlyRole(MINTER_ROLE) { require(to.length == tokenIds.length); for (uint256 i = 0; i < tokenIds.length; i++) { mint(to[i], tokenIds[i]); } } function burn(uint256 tokenId) public onlyRole(MINTER_ROLE) { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } function batchBurn(uint256[] memory tokenIds) public onlyRole(MINTER_ROLE) { for (uint256 i = 0; i < tokenIds.length; i++) { burn(tokenIds[i]); } } // VIEW FUNCTIONS function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } // ADMIN FUNCTIONS function setBaseURI(string calldata baseURI) external onlyRole(DEFAULT_ADMIN_ROLE) { _baseTokenURI = baseURI; } function supportsInterface(bytes4 interfaceId) public view virtual override (ERC721, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal pure override { require(from == address(0) || to == address(0), "Staked Beasts can not be transferred!"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"stakingContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b916007916200019d565b503480156200002957600080fd5b50604051620021b7380380620021b78339810160408190526200004c9162000243565b6040805180820182526007808252667342454153545360c81b6020808401828152855180870190965292855284015281519192916200008e916000916200019d565b508051620000a49060019060208401906200019d565b50620000b691506000905033620000e9565b620000e27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682620000e9565b50620002b2565b620000f58282620000f9565b5050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16620000f55760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001593390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620001ab9062000275565b90600052602060002090601f016020900481019282620001cf57600085556200021a565b82601f10620001ea57805160ff19168380011785556200021a565b828001600101855582156200021a579182015b828111156200021a578251825591602001919060010190620001fd565b50620002289291506200022c565b5090565b5b808211156200022857600081556001016200022d565b6000602082840312156200025657600080fd5b81516001600160a01b03811681146200026e57600080fd5b9392505050565b600181811c908216806200028a57607f821691505b60208210811415620002ac57634e487b7160e01b600052602260045260246000fd5b50919050565b611ef580620002c26000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063a22cb46511610097578063d539139311610071578063d539139314610340578063d547741f14610355578063dc8e92ea14610368578063e985e9c51461037b57600080fd5b8063a22cb46514610307578063b88d4fde1461031a578063c87b56dd1461032d57600080fd5b80636352211e146102ab57806368573107146102be57806370a08231146102d157806391d14854146102e457806395d89b41146102f7578063a217fddf146102ff57600080fd5b80632f2ff15d116101305780632f2ff15d1461023957806336568abe1461024c57806340c10f191461025f57806342842e0e1461027257806342966c681461028557806355f804b31461029857600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e057806323b872dd146101f5578063248a9ca314610208575b600080fd5b61018b610186366004611a61565b6103b7565b60405190151581526020015b60405180910390f35b6101a86103c8565b6040516101979190611c1a565b6101c86101c3366004611a25565b61045a565b6040516001600160a01b039091168152602001610197565b6101f36101ee3660046118ff565b610481565b005b6101f36102033660046117c7565b61059c565b61022b610216366004611a25565b60009081526006602052604090206001015490565b604051908152602001610197565b6101f3610247366004611a3e565b6105cd565b6101f361025a366004611a3e565b6105f2565b6101f361026d3660046118ff565b610670565b6101f36102803660046117c7565b610692565b6101f3610293366004611a25565b6106ad565b6101f36102a6366004611a9b565b61073e565b6101c86102b9366004611a25565b61075b565b6101f36102cc366004611929565b6107bb565b61022b6102df366004611779565b61083b565b61018b6102f2366004611a3e565b6108c1565b6101a86108ec565b61022b600081565b6101f36103153660046118c3565b6108fb565b6101f3610328366004611803565b610906565b6101a861033b366004611a25565b610937565b61022b600080516020611ea083398151915281565b6101f3610363366004611a3e565b61099e565b6101f36103763660046119f0565b6109c3565b61018b610389366004611794565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006103c282610a1b565b92915050565b6060600080546103d790611dc7565b80601f016020809104026020016040519081016040528092919081815260200182805461040390611dc7565b80156104505780601f1061042557610100808354040283529160200191610450565b820191906000526020600020905b81548152906001019060200180831161043357829003601f168201915b5050505050905090565b600061046582610a40565b506000908152600460205260409020546001600160a01b031690565b600061048c8261075b565b9050806001600160a01b0316836001600160a01b031614156104ff5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061051b575061051b8133610389565b61058d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104f6565b6105978383610aa2565b505050565b6105a63382610b10565b6105c25760405162461bcd60e51b81526004016104f690611c7f565b610597838383610b8f565b6000828152600660205260409020600101546105e881610d36565b6105978383610d40565b6001600160a01b03811633146106625760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104f6565b61066c8282610dc6565b5050565b600080516020611ea083398151915261068881610d36565b6105978383610e2d565b61059783838360405180602001604052806000815250610906565b600080516020611ea08339815191526106c581610d36565b6106d0335b83610b10565b6107355760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016104f6565b61066c82610e47565b600061074981610d36565b61075560078484611652565b50505050565b6000818152600260205260408120546001600160a01b0316806103c25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104f6565b600080516020611ea08339815191526107d381610d36565b81518351146107e157600080fd5b60005b82518110156107555761082984828151811061080257610802611e5d565b602002602001015184838151811061081c5761081c611e5d565b6020026020010151610670565b8061083381611e02565b9150506107e4565b60006001600160a01b0382166108a55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104f6565b506001600160a01b031660009081526003602052604090205490565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546103d790611dc7565b61066c338383610eee565b61090f336106ca565b61092b5760405162461bcd60e51b81526004016104f690611c7f565b61075584848484610fbd565b606061094282610a40565b600061094c610ff0565b9050600081511161096c5760405180602001604052806000815250610997565b8061097684610fff565b604051602001610987929190611b39565b6040516020818303038152906040525b9392505050565b6000828152600660205260409020600101546109b981610d36565b6105978383610dc6565b600080516020611ea08339815191526109db81610d36565b60005b825181101561059757610a098382815181106109fc576109fc611e5d565b60200260200101516106ad565b80610a1381611e02565b9150506109de565b60006001600160e01b03198216637965db0b60e01b14806103c257506103c2826110fd565b6000818152600260205260409020546001600160a01b0316610a9f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104f6565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ad78261075b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b1c8361075b565b9050806001600160a01b0316846001600160a01b03161480610b6357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b875750836001600160a01b0316610b7c8461045a565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ba28261075b565b6001600160a01b031614610c065760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104f6565b6001600160a01b038216610c685760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104f6565b610c7383838361114d565b610c7e600082610aa2565b6001600160a01b0383166000908152600360205260408120805460019290610ca7908490611d6d565b90915550506001600160a01b0382166000908152600360205260408120805460019290610cd5908490611d22565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a9f81336111c4565b610d4a82826108c1565b61066c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d823390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610dd082826108c1565b1561066c5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61066c828260405180602001604052806000815250611228565b6000610e528261075b565b9050610e608160008461114d565b610e6b600083610aa2565b6001600160a01b0381166000908152600360205260408120805460019290610e94908490611d6d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b03161415610f505760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104f6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610fc8848484610b8f565b610fd48484848461125b565b6107555760405162461bcd60e51b81526004016104f690611c2d565b6060600780546103d790611dc7565b6060816110235750506040805180820190915260018152600360fc1b602082015290565b8160005b811561104d578061103781611e02565b91506110469050600a83611d3a565b9150611027565b60008167ffffffffffffffff81111561106857611068611e73565b6040519080825280601f01601f191660200182016040528015611092576020820181803683370190505b5090505b8415610b87576110a7600183611d6d565b91506110b4600a86611e1d565b6110bf906030611d22565b60f81b8183815181106110d4576110d4611e5d565b60200101906001600160f81b031916908160001a9053506110f6600a86611d3a565b9450611096565b60006001600160e01b031982166380ac58cd60e01b148061112e57506001600160e01b03198216635b5e139f60e01b145b806103c257506301ffc9a760e01b6001600160e01b03198316146103c2565b6001600160a01b038316158061116a57506001600160a01b038216155b6105975760405162461bcd60e51b815260206004820152602560248201527f5374616b6564204265617374732063616e206e6f74206265207472616e736665604482015264727265642160d81b60648201526084016104f6565b6111ce82826108c1565b61066c576111e6816001600160a01b03166014611368565b6111f1836020611368565b604051602001611202929190611b68565b60408051601f198184030181529082905262461bcd60e51b82526104f691600401611c1a565b6112328383611504565b61123f600084848461125b565b6105975760405162461bcd60e51b81526004016104f690611c2d565b60006001600160a01b0384163b1561135d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061129f903390899088908890600401611bdd565b602060405180830381600087803b1580156112b957600080fd5b505af19250505080156112e9575060408051601f3d908101601f191682019092526112e691810190611a7e565b60015b611343573d808015611317576040519150601f19603f3d011682016040523d82523d6000602084013e61131c565b606091505b50805161133b5760405162461bcd60e51b81526004016104f690611c2d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b87565b506001949350505050565b60606000611377836002611d4e565b611382906002611d22565b67ffffffffffffffff81111561139a5761139a611e73565b6040519080825280601f01601f1916602001820160405280156113c4576020820181803683370190505b509050600360fc1b816000815181106113df576113df611e5d565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061140e5761140e611e5d565b60200101906001600160f81b031916908160001a9053506000611432846002611d4e565b61143d906001611d22565b90505b60018111156114b5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061147157611471611e5d565b1a60f81b82828151811061148757611487611e5d565b60200101906001600160f81b031916908160001a90535060049490941c936114ae81611db0565b9050611440565b5083156109975760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104f6565b6001600160a01b03821661155a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104f6565b6000818152600260205260409020546001600160a01b0316156115bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f6565b6115cb6000838361114d565b6001600160a01b03821660009081526003602052604081208054600192906115f4908490611d22565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461165e90611dc7565b90600052602060002090601f01602090048101928261168057600085556116c6565b82601f106116995782800160ff198235161785556116c6565b828001600101855582156116c6579182015b828111156116c65782358255916020019190600101906116ab565b506116d29291506116d6565b5090565b5b808211156116d257600081556001016116d7565b80356001600160a01b038116811461170257600080fd5b919050565b600082601f83011261171857600080fd5b8135602061172d61172883611cfe565b611ccd565b80838252828201915082860187848660051b890101111561174d57600080fd5b60005b8581101561176c57813584529284019290840190600101611750565b5090979650505050505050565b60006020828403121561178b57600080fd5b610997826116eb565b600080604083850312156117a757600080fd5b6117b0836116eb565b91506117be602084016116eb565b90509250929050565b6000806000606084860312156117dc57600080fd5b6117e5846116eb565b92506117f3602085016116eb565b9150604084013590509250925092565b6000806000806080858703121561181957600080fd5b611822856116eb565b935060206118318187016116eb565b935060408601359250606086013567ffffffffffffffff8082111561185557600080fd5b818801915088601f83011261186957600080fd5b81358181111561187b5761187b611e73565b61188d601f8201601f19168501611ccd565b915080825289848285010111156118a357600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156118d657600080fd5b6118df836116eb565b9150602083013580151581146118f457600080fd5b809150509250929050565b6000806040838503121561191257600080fd5b61191b836116eb565b946020939093013593505050565b6000806040838503121561193c57600080fd5b823567ffffffffffffffff8082111561195457600080fd5b818501915085601f83011261196857600080fd5b8135602061197861172883611cfe565b8083825282820191508286018a848660051b890101111561199857600080fd5b600096505b848710156119c2576119ae816116eb565b83526001969096019591830191830161199d565b50965050860135925050808211156119d957600080fd5b506119e685828601611707565b9150509250929050565b600060208284031215611a0257600080fd5b813567ffffffffffffffff811115611a1957600080fd5b610b8784828501611707565b600060208284031215611a3757600080fd5b5035919050565b60008060408385031215611a5157600080fd5b823591506117be602084016116eb565b600060208284031215611a7357600080fd5b813561099781611e89565b600060208284031215611a9057600080fd5b815161099781611e89565b60008060208385031215611aae57600080fd5b823567ffffffffffffffff80821115611ac657600080fd5b818501915085601f830112611ada57600080fd5b813581811115611ae957600080fd5b866020828501011115611afb57600080fd5b60209290920196919550909350505050565b60008151808452611b25816020860160208601611d84565b601f01601f19169290920160200192915050565b60008351611b4b818460208801611d84565b835190830190611b5f818360208801611d84565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611ba0816017850160208801611d84565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611bd1816028840160208801611d84565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1090830184611b0d565b9695505050505050565b6020815260006109976020830184611b0d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611cf657611cf6611e73565b604052919050565b600067ffffffffffffffff821115611d1857611d18611e73565b5060051b60200190565b60008219821115611d3557611d35611e31565b500190565b600082611d4957611d49611e47565b500490565b6000816000190483118215151615611d6857611d68611e31565b500290565b600082821015611d7f57611d7f611e31565b500390565b60005b83811015611d9f578181015183820152602001611d87565b838111156107555750506000910152565b600081611dbf57611dbf611e31565b506000190190565b600181811c90821680611ddb57607f821691505b60208210811415611dfc57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e1657611e16611e31565b5060010190565b600082611e2c57611e2c611e47565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a9f57600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122095b1f1640eda172daffd55a780dbd5c5cf7b554a4439cca171457a64d284258e64736f6c634300080700330000000000000000000000002dbb6e0d253bee7949d15940f4613161f7e2f48f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063a22cb46511610097578063d539139311610071578063d539139314610340578063d547741f14610355578063dc8e92ea14610368578063e985e9c51461037b57600080fd5b8063a22cb46514610307578063b88d4fde1461031a578063c87b56dd1461032d57600080fd5b80636352211e146102ab57806368573107146102be57806370a08231146102d157806391d14854146102e457806395d89b41146102f7578063a217fddf146102ff57600080fd5b80632f2ff15d116101305780632f2ff15d1461023957806336568abe1461024c57806340c10f191461025f57806342842e0e1461027257806342966c681461028557806355f804b31461029857600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e057806323b872dd146101f5578063248a9ca314610208575b600080fd5b61018b610186366004611a61565b6103b7565b60405190151581526020015b60405180910390f35b6101a86103c8565b6040516101979190611c1a565b6101c86101c3366004611a25565b61045a565b6040516001600160a01b039091168152602001610197565b6101f36101ee3660046118ff565b610481565b005b6101f36102033660046117c7565b61059c565b61022b610216366004611a25565b60009081526006602052604090206001015490565b604051908152602001610197565b6101f3610247366004611a3e565b6105cd565b6101f361025a366004611a3e565b6105f2565b6101f361026d3660046118ff565b610670565b6101f36102803660046117c7565b610692565b6101f3610293366004611a25565b6106ad565b6101f36102a6366004611a9b565b61073e565b6101c86102b9366004611a25565b61075b565b6101f36102cc366004611929565b6107bb565b61022b6102df366004611779565b61083b565b61018b6102f2366004611a3e565b6108c1565b6101a86108ec565b61022b600081565b6101f36103153660046118c3565b6108fb565b6101f3610328366004611803565b610906565b6101a861033b366004611a25565b610937565b61022b600080516020611ea083398151915281565b6101f3610363366004611a3e565b61099e565b6101f36103763660046119f0565b6109c3565b61018b610389366004611794565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006103c282610a1b565b92915050565b6060600080546103d790611dc7565b80601f016020809104026020016040519081016040528092919081815260200182805461040390611dc7565b80156104505780601f1061042557610100808354040283529160200191610450565b820191906000526020600020905b81548152906001019060200180831161043357829003601f168201915b5050505050905090565b600061046582610a40565b506000908152600460205260409020546001600160a01b031690565b600061048c8261075b565b9050806001600160a01b0316836001600160a01b031614156104ff5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061051b575061051b8133610389565b61058d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104f6565b6105978383610aa2565b505050565b6105a63382610b10565b6105c25760405162461bcd60e51b81526004016104f690611c7f565b610597838383610b8f565b6000828152600660205260409020600101546105e881610d36565b6105978383610d40565b6001600160a01b03811633146106625760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104f6565b61066c8282610dc6565b5050565b600080516020611ea083398151915261068881610d36565b6105978383610e2d565b61059783838360405180602001604052806000815250610906565b600080516020611ea08339815191526106c581610d36565b6106d0335b83610b10565b6107355760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016104f6565b61066c82610e47565b600061074981610d36565b61075560078484611652565b50505050565b6000818152600260205260408120546001600160a01b0316806103c25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104f6565b600080516020611ea08339815191526107d381610d36565b81518351146107e157600080fd5b60005b82518110156107555761082984828151811061080257610802611e5d565b602002602001015184838151811061081c5761081c611e5d565b6020026020010151610670565b8061083381611e02565b9150506107e4565b60006001600160a01b0382166108a55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104f6565b506001600160a01b031660009081526003602052604090205490565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546103d790611dc7565b61066c338383610eee565b61090f336106ca565b61092b5760405162461bcd60e51b81526004016104f690611c7f565b61075584848484610fbd565b606061094282610a40565b600061094c610ff0565b9050600081511161096c5760405180602001604052806000815250610997565b8061097684610fff565b604051602001610987929190611b39565b6040516020818303038152906040525b9392505050565b6000828152600660205260409020600101546109b981610d36565b6105978383610dc6565b600080516020611ea08339815191526109db81610d36565b60005b825181101561059757610a098382815181106109fc576109fc611e5d565b60200260200101516106ad565b80610a1381611e02565b9150506109de565b60006001600160e01b03198216637965db0b60e01b14806103c257506103c2826110fd565b6000818152600260205260409020546001600160a01b0316610a9f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104f6565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ad78261075b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b1c8361075b565b9050806001600160a01b0316846001600160a01b03161480610b6357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b875750836001600160a01b0316610b7c8461045a565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ba28261075b565b6001600160a01b031614610c065760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104f6565b6001600160a01b038216610c685760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104f6565b610c7383838361114d565b610c7e600082610aa2565b6001600160a01b0383166000908152600360205260408120805460019290610ca7908490611d6d565b90915550506001600160a01b0382166000908152600360205260408120805460019290610cd5908490611d22565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a9f81336111c4565b610d4a82826108c1565b61066c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d823390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610dd082826108c1565b1561066c5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61066c828260405180602001604052806000815250611228565b6000610e528261075b565b9050610e608160008461114d565b610e6b600083610aa2565b6001600160a01b0381166000908152600360205260408120805460019290610e94908490611d6d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b03161415610f505760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104f6565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610fc8848484610b8f565b610fd48484848461125b565b6107555760405162461bcd60e51b81526004016104f690611c2d565b6060600780546103d790611dc7565b6060816110235750506040805180820190915260018152600360fc1b602082015290565b8160005b811561104d578061103781611e02565b91506110469050600a83611d3a565b9150611027565b60008167ffffffffffffffff81111561106857611068611e73565b6040519080825280601f01601f191660200182016040528015611092576020820181803683370190505b5090505b8415610b87576110a7600183611d6d565b91506110b4600a86611e1d565b6110bf906030611d22565b60f81b8183815181106110d4576110d4611e5d565b60200101906001600160f81b031916908160001a9053506110f6600a86611d3a565b9450611096565b60006001600160e01b031982166380ac58cd60e01b148061112e57506001600160e01b03198216635b5e139f60e01b145b806103c257506301ffc9a760e01b6001600160e01b03198316146103c2565b6001600160a01b038316158061116a57506001600160a01b038216155b6105975760405162461bcd60e51b815260206004820152602560248201527f5374616b6564204265617374732063616e206e6f74206265207472616e736665604482015264727265642160d81b60648201526084016104f6565b6111ce82826108c1565b61066c576111e6816001600160a01b03166014611368565b6111f1836020611368565b604051602001611202929190611b68565b60408051601f198184030181529082905262461bcd60e51b82526104f691600401611c1a565b6112328383611504565b61123f600084848461125b565b6105975760405162461bcd60e51b81526004016104f690611c2d565b60006001600160a01b0384163b1561135d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061129f903390899088908890600401611bdd565b602060405180830381600087803b1580156112b957600080fd5b505af19250505080156112e9575060408051601f3d908101601f191682019092526112e691810190611a7e565b60015b611343573d808015611317576040519150601f19603f3d011682016040523d82523d6000602084013e61131c565b606091505b50805161133b5760405162461bcd60e51b81526004016104f690611c2d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b87565b506001949350505050565b60606000611377836002611d4e565b611382906002611d22565b67ffffffffffffffff81111561139a5761139a611e73565b6040519080825280601f01601f1916602001820160405280156113c4576020820181803683370190505b509050600360fc1b816000815181106113df576113df611e5d565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061140e5761140e611e5d565b60200101906001600160f81b031916908160001a9053506000611432846002611d4e565b61143d906001611d22565b90505b60018111156114b5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061147157611471611e5d565b1a60f81b82828151811061148757611487611e5d565b60200101906001600160f81b031916908160001a90535060049490941c936114ae81611db0565b9050611440565b5083156109975760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104f6565b6001600160a01b03821661155a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104f6565b6000818152600260205260409020546001600160a01b0316156115bf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f6565b6115cb6000838361114d565b6001600160a01b03821660009081526003602052604081208054600192906115f4908490611d22565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461165e90611dc7565b90600052602060002090601f01602090048101928261168057600085556116c6565b82601f106116995782800160ff198235161785556116c6565b828001600101855582156116c6579182015b828111156116c65782358255916020019190600101906116ab565b506116d29291506116d6565b5090565b5b808211156116d257600081556001016116d7565b80356001600160a01b038116811461170257600080fd5b919050565b600082601f83011261171857600080fd5b8135602061172d61172883611cfe565b611ccd565b80838252828201915082860187848660051b890101111561174d57600080fd5b60005b8581101561176c57813584529284019290840190600101611750565b5090979650505050505050565b60006020828403121561178b57600080fd5b610997826116eb565b600080604083850312156117a757600080fd5b6117b0836116eb565b91506117be602084016116eb565b90509250929050565b6000806000606084860312156117dc57600080fd5b6117e5846116eb565b92506117f3602085016116eb565b9150604084013590509250925092565b6000806000806080858703121561181957600080fd5b611822856116eb565b935060206118318187016116eb565b935060408601359250606086013567ffffffffffffffff8082111561185557600080fd5b818801915088601f83011261186957600080fd5b81358181111561187b5761187b611e73565b61188d601f8201601f19168501611ccd565b915080825289848285010111156118a357600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156118d657600080fd5b6118df836116eb565b9150602083013580151581146118f457600080fd5b809150509250929050565b6000806040838503121561191257600080fd5b61191b836116eb565b946020939093013593505050565b6000806040838503121561193c57600080fd5b823567ffffffffffffffff8082111561195457600080fd5b818501915085601f83011261196857600080fd5b8135602061197861172883611cfe565b8083825282820191508286018a848660051b890101111561199857600080fd5b600096505b848710156119c2576119ae816116eb565b83526001969096019591830191830161199d565b50965050860135925050808211156119d957600080fd5b506119e685828601611707565b9150509250929050565b600060208284031215611a0257600080fd5b813567ffffffffffffffff811115611a1957600080fd5b610b8784828501611707565b600060208284031215611a3757600080fd5b5035919050565b60008060408385031215611a5157600080fd5b823591506117be602084016116eb565b600060208284031215611a7357600080fd5b813561099781611e89565b600060208284031215611a9057600080fd5b815161099781611e89565b60008060208385031215611aae57600080fd5b823567ffffffffffffffff80821115611ac657600080fd5b818501915085601f830112611ada57600080fd5b813581811115611ae957600080fd5b866020828501011115611afb57600080fd5b60209290920196919550909350505050565b60008151808452611b25816020860160208601611d84565b601f01601f19169290920160200192915050565b60008351611b4b818460208801611d84565b835190830190611b5f818360208801611d84565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611ba0816017850160208801611d84565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611bd1816028840160208801611d84565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1090830184611b0d565b9695505050505050565b6020815260006109976020830184611b0d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611cf657611cf6611e73565b604052919050565b600067ffffffffffffffff821115611d1857611d18611e73565b5060051b60200190565b60008219821115611d3557611d35611e31565b500190565b600082611d4957611d49611e47565b500490565b6000816000190483118215151615611d6857611d68611e31565b500290565b600082821015611d7f57611d7f611e31565b500390565b60005b83811015611d9f578181015183820152602001611d87565b838111156107555750506000910152565b600081611dbf57611dbf611e31565b506000190190565b600181811c90821680611ddb57607f821691505b60208210811415611dfc57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e1657611e16611e31565b5060010190565b600082611e2c57611e2c611e47565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a9f57600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122095b1f1640eda172daffd55a780dbd5c5cf7b554a4439cca171457a64d284258e64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002dbb6e0d253bee7949d15940f4613161f7e2f48f
-----Decoded View---------------
Arg [0] : stakingContract (address): 0x2DBB6E0D253bee7949D15940f4613161F7e2F48F
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002dbb6e0d253bee7949d15940f4613161f7e2f48f
Deployed Bytecode Sourcemap
46626:1979:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48124:233;;;;;;:::i;:::-;;:::i;:::-;;;8894:14:1;;8887:22;8869:41;;8857:2;8842:18;48124:233:0;;;;;;;;22997:100;;;:::i;:::-;;;;;;;:::i;24510:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8192:32:1;;;8174:51;;8162:2;8147:18;24510:171:0;8028:203:1;24027:417:0;;;;;;:::i;:::-;;:::i;:::-;;25210:336;;;;;;:::i;:::-;;:::i;42706:131::-;;;;;;:::i;:::-;42780:7;42807:12;;;:6;:12;;;;;:22;;;;42706:131;;;;9067:25:1;;;9055:2;9040:18;42706:131:0;8921:177:1;43147:147:0;;;;;;:::i;:::-;;:::i;44291:218::-;;;;;;:::i;:::-;;:::i;46978:113::-;;;;;;:::i;:::-;;:::i;25617:185::-;;;;;;:::i;:::-;;:::i;47417:206::-;;;;;;:::i;:::-;;:::i;47991:125::-;;;;;;:::i;:::-;;:::i;22708:222::-;;;;;;:::i;:::-;;:::i;47099:310::-;;;;;;:::i;:::-;;:::i;22439:207::-;;;;;;:::i;:::-;;:::i;41166:147::-;;;;;;:::i;:::-;;:::i;23166:104::-;;;:::i;40271:49::-;;40316:4;40271:49;;24753:155;;;;;;:::i;:::-;;:::i;25873:323::-;;;;;;:::i;:::-;;:::i;23341:281::-;;;;;;:::i;:::-;;:::i;46680:62::-;;-1:-1:-1;;;;;;;;;;;46680:62:0;;43587:149;;;;;;:::i;:::-;;:::i;47631:183::-;;;;;;:::i;:::-;;:::i;24979:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25100:25:0;;;25076:4;25100:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24979:164;48124:233;48283:4;48313:36;48337:11;48313:23;:36::i;:::-;48306:43;48124:233;-1:-1:-1;;48124:233:0:o;22997:100::-;23051:13;23084:5;23077:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22997:100;:::o;24510:171::-;24586:7;24606:23;24621:7;24606:14;:23::i;:::-;-1:-1:-1;24649:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24649:24:0;;24510:171::o;24027:417::-;24108:13;24124:23;24139:7;24124:14;:23::i;:::-;24108:39;;24172:5;-1:-1:-1;;;;;24166:11:0;:2;-1:-1:-1;;;;;24166:11:0;;;24158:57;;;;-1:-1:-1;;;24158:57:0;;13792:2:1;24158:57:0;;;13774:21:1;13831:2;13811:18;;;13804:30;13870:34;13850:18;;;13843:62;-1:-1:-1;;;13921:18:1;;;13914:31;13962:19;;24158:57:0;;;;;;;;;20529:10;-1:-1:-1;;;;;24250:21:0;;;;:62;;-1:-1:-1;24275:37:0;24292:5;20529:10;24979:164;:::i;24275:37::-;24228:174;;;;-1:-1:-1;;;24228:174:0;;12241:2:1;24228:174:0;;;12223:21:1;12280:2;12260:18;;;12253:30;12319:34;12299:18;;;12292:62;12390:32;12370:18;;;12363:60;12440:19;;24228:174:0;12039:426:1;24228:174:0;24415:21;24424:2;24428:7;24415:8;:21::i;:::-;24097:347;24027:417;;:::o;25210:336::-;25405:41;20529:10;25438:7;25405:18;:41::i;:::-;25397:100;;;;-1:-1:-1;;;25397:100:0;;;;;;;:::i;:::-;25510:28;25520:4;25526:2;25530:7;25510:9;:28::i;43147:147::-;42780:7;42807:12;;;:6;:12;;;;;:22;;;40762:16;40773:4;40762:10;:16::i;:::-;43261:25:::1;43272:4;43278:7;43261:10;:25::i;44291:218::-:0;-1:-1:-1;;;;;44387:23:0;;20529:10;44387:23;44379:83;;;;-1:-1:-1;;;44379:83:0;;15026:2:1;44379:83:0;;;15008:21:1;15065:2;15045:18;;;15038:30;15104:34;15084:18;;;15077:62;-1:-1:-1;;;15155:18:1;;;15148:45;15210:19;;44379:83:0;14824:411:1;44379:83:0;44475:26;44487:4;44493:7;44475:11;:26::i;:::-;44291:218;;:::o;46978:113::-;-1:-1:-1;;;;;;;;;;;40762:16:0;40773:4;40762:10;:16::i;:::-;47061:22:::1;47071:2;47075:7;47061:9;:22::i;25617:185::-:0;25755:39;25772:4;25778:2;25782:7;25755:39;;;;;;;;;;;;:16;:39::i;47417:206::-;-1:-1:-1;;;;;;;;;;;40762:16:0;40773:4;40762:10;:16::i;:::-;47496:41:::1;20529:10:::0;47515:12:::1;47529:7;47496:18;:41::i;:::-;47488:102;;;::::0;-1:-1:-1;;;47488:102:0;;14609:2:1;47488:102:0::1;::::0;::::1;14591:21:1::0;14648:2;14628:18;;;14621:30;14687:34;14667:18;;;14660:62;-1:-1:-1;;;14738:18:1;;;14731:46;14794:19;;47488:102:0::1;14407:412:1::0;47488:102:0::1;47601:14;47607:7;47601:5;:14::i;47991:125::-:0;40316:4;40762:16;40316:4;40762:10;:16::i;:::-;48085:23:::1;:13;48101:7:::0;;48085:23:::1;:::i;:::-;;47991:125:::0;;;:::o;22708:222::-;22780:7;22816:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22816:16:0;22851:19;22843:56;;;;-1:-1:-1;;;22843:56:0;;13033:2:1;22843:56:0;;;13015:21:1;13072:2;13052:18;;;13045:30;-1:-1:-1;;;13091:18:1;;;13084:54;13155:18;;22843:56:0;12831:348:1;47099:310:0;-1:-1:-1;;;;;;;;;;;40762:16:0;40773:4;40762:10;:16::i;:::-;47278:8:::1;:15;47265:2;:9;:28;47257:37;;;::::0;::::1;;47310:9;47305:97;47329:8;:15;47325:1;:19;47305:97;;;47366:24;47371:2;47374:1;47371:5;;;;;;;;:::i;:::-;;;;;;;47378:8;47387:1;47378:11;;;;;;;;:::i;:::-;;;;;;;47366:4;:24::i;:::-;47346:3:::0;::::1;::::0;::::1;:::i;:::-;;;;47305:97;;22439:207:::0;22511:7;-1:-1:-1;;;;;22539:19:0;;22531:73;;;;-1:-1:-1;;;22531:73:0;;11831:2:1;22531:73:0;;;11813:21:1;11870:2;11850:18;;;11843:30;11909:34;11889:18;;;11882:62;-1:-1:-1;;;11960:18:1;;;11953:39;12009:19;;22531:73:0;11629:405:1;22531:73:0;-1:-1:-1;;;;;;22622:16:0;;;;;:9;:16;;;;;;;22439:207::o;41166:147::-;41252:4;41276:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;41276:29:0;;;;;;;;;;;;;;;41166:147::o;23166:104::-;23222:13;23255:7;23248:14;;;;;:::i;24753:155::-;24848:52;20529:10;24881:8;24891;24848:18;:52::i;25873:323::-;26047:41;20529:10;26066:12;20449:98;26047:41;26039:100;;;;-1:-1:-1;;;26039:100:0;;;;;;;:::i;:::-;26150:38;26164:4;26170:2;26174:7;26183:4;26150:13;:38::i;23341:281::-;23414:13;23440:23;23455:7;23440:14;:23::i;:::-;23476:21;23500:10;:8;:10::i;:::-;23476:34;;23552:1;23534:7;23528:21;:25;:86;;;;;;;;;;;;;;;;;23580:7;23589:18;:7;:16;:18::i;:::-;23563:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23528:86;23521:93;23341:281;-1:-1:-1;;;23341:281:0:o;43587:149::-;42780:7;42807:12;;;:6;:12;;;;;:22;;;40762:16;40773:4;40762:10;:16::i;:::-;43702:26:::1;43714:4;43720:7;43702:11;:26::i;47631:183::-:0;-1:-1:-1;;;;;;;;;;;40762:16:0;40773:4;40762:10;:16::i;:::-;47722:9:::1;47717:90;47741:8;:15;47737:1;:19;47717:90;;;47778:17;47783:8;47792:1;47783:11;;;;;;;;:::i;:::-;;;;;;;47778:4;:17::i;:::-;47758:3:::0;::::1;::::0;::::1;:::i;:::-;;;;47717:90;;40870:204:::0;40955:4;-1:-1:-1;;;;;;40979:47:0;;-1:-1:-1;;;40979:47:0;;:87;;;41030:36;41054:11;41030:23;:36::i;32485:135::-;27768:4;27792:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27792:16:0;32559:53;;;;-1:-1:-1;;;32559:53:0;;13033:2:1;32559:53:0;;;13015:21:1;13072:2;13052:18;;;13045:30;-1:-1:-1;;;13091:18:1;;;13084:54;13155:18;;32559:53:0;12831:348:1;32559:53:0;32485:135;:::o;31764:174::-;31839:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31839:29:0;-1:-1:-1;;;;;31839:29:0;;;;;;;;:24;;31893:23;31839:24;31893:14;:23::i;:::-;-1:-1:-1;;;;;31884:46:0;;;;;;;;;;;31764:174;;:::o;27997:264::-;28090:4;28107:13;28123:23;28138:7;28123:14;:23::i;:::-;28107:39;;28176:5;-1:-1:-1;;;;;28165:16:0;:7;-1:-1:-1;;;;;28165:16:0;;:52;;;-1:-1:-1;;;;;;25100:25:0;;;25076:4;25100:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28185:32;28165:87;;;;28245:7;-1:-1:-1;;;;;28221:31:0;:20;28233:7;28221:11;:20::i;:::-;-1:-1:-1;;;;;28221:31:0;;28165:87;28157:96;27997:264;-1:-1:-1;;;;27997:264:0:o;31020:625::-;31179:4;-1:-1:-1;;;;;31152:31:0;:23;31167:7;31152:14;:23::i;:::-;-1:-1:-1;;;;;31152:31:0;;31144:81;;;;-1:-1:-1;;;31144:81:0;;10309:2:1;31144:81:0;;;10291:21:1;10348:2;10328:18;;;10321:30;10387:34;10367:18;;;10360:62;-1:-1:-1;;;10438:18:1;;;10431:35;10483:19;;31144:81:0;10107:401:1;31144:81:0;-1:-1:-1;;;;;31244:16:0;;31236:65;;;;-1:-1:-1;;;31236:65:0;;11072:2:1;31236:65:0;;;11054:21:1;11111:2;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;-1:-1:-1;;;11201:18:1;;;11194:34;11245:19;;31236:65:0;10870:400:1;31236:65:0;31314:39;31335:4;31341:2;31345:7;31314:20;:39::i;:::-;31418:29;31435:1;31439:7;31418:8;:29::i;:::-;-1:-1:-1;;;;;31460:15:0;;;;;;:9;:15;;;;;:20;;31479:1;;31460:15;:20;;31479:1;;31460:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31491:13:0;;;;;;:9;:13;;;;;:18;;31508:1;;31491:13;:18;;31508:1;;31491:18;:::i;:::-;;;;-1:-1:-1;;31520:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31520:21:0;-1:-1:-1;;;;;31520:21:0;;;;;;;;;31559:27;;31520:16;;31559:27;;;;;;;24097:347;24027:417;;:::o;41617:105::-;41684:30;41695:4;20529:10;41684;:30::i;45888:238::-;45972:22;45980:4;45986:7;45972;:22::i;:::-;45967:152;;46011:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46011:29:0;;;;;;;;;:36;;-1:-1:-1;;46011:36:0;46043:4;46011:36;;;46094:12;20529:10;;20449:98;46094:12;-1:-1:-1;;;;;46067:40:0;46085:7;-1:-1:-1;;;;;46067:40:0;46079:4;46067:40;;;;;;;;;;45888:238;;:::o;46306:239::-;46390:22;46398:4;46404:7;46390;:22::i;:::-;46386:152;;;46461:5;46429:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;46429:29:0;;;;;;;;;;:37;;-1:-1:-1;;46429:37:0;;;46486:40;20529:10;;46429:12;;46486:40;;46461:5;46486:40;46306:239;;:::o;28603:110::-;28679:26;28689:2;28693:7;28679:26;;;;;;;;;;;;:9;:26::i;30263:420::-;30323:13;30339:23;30354:7;30339:14;:23::i;:::-;30323:39;;30375:48;30396:5;30411:1;30415:7;30375:20;:48::i;:::-;30464:29;30481:1;30485:7;30464:8;:29::i;:::-;-1:-1:-1;;;;;30506:16:0;;;;;;:9;:16;;;;;:21;;30526:1;;30506:16;:21;;30526:1;;30506:21;:::i;:::-;;;;-1:-1:-1;;30545:16:0;;;;:7;:16;;;;;;30538:23;;-1:-1:-1;;;;;;30538:23:0;;;30579:36;30553:7;;30545:16;-1:-1:-1;;;;;30579:36:0;;;;;30545:16;;30579:36;44291:218;;:::o;32081:315::-;32236:8;-1:-1:-1;;;;;32227:17:0;:5;-1:-1:-1;;;;;32227:17:0;;;32219:55;;;;-1:-1:-1;;;32219:55:0;;11477:2:1;32219:55:0;;;11459:21:1;11516:2;11496:18;;;11489:30;11555:27;11535:18;;;11528:55;11600:18;;32219:55:0;11275:349:1;32219:55:0;-1:-1:-1;;;;;32285:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;32285:46:0;;;;;;;;;;32347:41;;8869::1;;;32347::0;;8842:18:1;32347:41:0;;;;;;;32081:315;;;:::o;27077:313::-;27233:28;27243:4;27249:2;27253:7;27233:9;:28::i;:::-;27280:47;27303:4;27309:2;27313:7;27322:4;27280:22;:47::i;:::-;27272:110;;;;-1:-1:-1;;;27272:110:0;;;;;;;:::i;47845:114::-;47905:13;47938;47931:20;;;;;:::i;17703:723::-;17759:13;17980:10;17976:53;;-1:-1:-1;;18007:10:0;;;;;;;;;;;;-1:-1:-1;;;18007:10:0;;;;;17703:723::o;17976:53::-;18054:5;18039:12;18095:78;18102:9;;18095:78;;18128:8;;;;:::i;:::-;;-1:-1:-1;18151:10:0;;-1:-1:-1;18159:2:0;18151:10;;:::i;:::-;;;18095:78;;;18183:19;18215:6;18205:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18205:17:0;;18183:39;;18233:154;18240:10;;18233:154;;18267:11;18277:1;18267:11;;:::i;:::-;;-1:-1:-1;18336:10:0;18344:2;18336:5;:10;:::i;:::-;18323:24;;:2;:24;:::i;:::-;18310:39;;18293:6;18300;18293:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;18293:56:0;;;;;;;;-1:-1:-1;18364:11:0;18373:2;18364:11;;:::i;:::-;;;18233:154;;22070:305;22172:4;-1:-1:-1;;;;;;22209:40:0;;-1:-1:-1;;;22209:40:0;;:105;;-1:-1:-1;;;;;;;22266:48:0;;-1:-1:-1;;;22266:48:0;22209:105;:158;;;-1:-1:-1;;;;;;;;;;17218:40:0;;;22331:36;17109:157;48365:237;-1:-1:-1;;;;;48514:18:0;;;;:38;;-1:-1:-1;;;;;;48536:16:0;;;48514:38;48506:88;;;;-1:-1:-1;;;48506:88:0;;13386:2:1;48506:88:0;;;13368:21:1;13425:2;13405:18;;;13398:30;13464:34;13444:18;;;13437:62;-1:-1:-1;;;13515:18:1;;;13508:35;13560:19;;48506:88:0;13184:401:1;42012:505:0;42101:22;42109:4;42115:7;42101;:22::i;:::-;42096:414;;42289:41;42317:7;-1:-1:-1;;;;;42289:41:0;42327:2;42289:19;:41::i;:::-;42403:38;42431:4;42438:2;42403:19;:38::i;:::-;42194:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;42194:270:0;;;;;;;;;;-1:-1:-1;;;42140:358:0;;;;;;;:::i;28940:319::-;29069:18;29075:2;29079:7;29069:5;:18::i;:::-;29120:53;29151:1;29155:2;29159:7;29168:4;29120:22;:53::i;:::-;29098:153;;;;-1:-1:-1;;;29098:153:0;;;;;;;:::i;33184:853::-;33338:4;-1:-1:-1;;;;;33359:13:0;;1561:19;:23;33355:675;;33395:71;;-1:-1:-1;;;33395:71:0;;-1:-1:-1;;;;;33395:36:0;;;;;:71;;20529:10;;33446:4;;33452:7;;33461:4;;33395:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33395:71:0;;;;;;;;-1:-1:-1;;33395:71:0;;;;;;;;;;;;:::i;:::-;;;33391:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33636:13:0;;33632:328;;33679:60;;-1:-1:-1;;;33679:60:0;;;;;;;:::i;33632:328::-;33910:6;33904:13;33895:6;33891:2;33887:15;33880:38;33391:584;-1:-1:-1;;;;;;33517:51:0;-1:-1:-1;;;33517:51:0;;-1:-1:-1;33510:58:0;;33355:675;-1:-1:-1;34014:4:0;33184:853;;;;;;:::o;19004:451::-;19079:13;19105:19;19137:10;19141:6;19137:1;:10;:::i;:::-;:14;;19150:1;19137:14;:::i;:::-;19127:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19127:25:0;;19105:47;;-1:-1:-1;;;19163:6:0;19170:1;19163:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19163:15:0;;;;;;;;;-1:-1:-1;;;19189:6:0;19196:1;19189:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19189:15:0;;;;;;;;-1:-1:-1;19220:9:0;19232:10;19236:6;19232:1;:10;:::i;:::-;:14;;19245:1;19232:14;:::i;:::-;19220:26;;19215:135;19252:1;19248;:5;19215:135;;;-1:-1:-1;;;19300:5:0;19308:3;19300:11;19287:25;;;;;;;:::i;:::-;;;;19275:6;19282:1;19275:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;19275:37:0;;;;;;;;-1:-1:-1;19337:1:0;19327:11;;;;;19255:3;;;:::i;:::-;;;19215:135;;;-1:-1:-1;19368:10:0;;19360:55;;;;-1:-1:-1;;;19360:55:0;;9529:2:1;19360:55:0;;;9511:21:1;;;9548:18;;;9541:30;9607:34;9587:18;;;9580:62;9659:18;;19360:55:0;9327:356:1;29595:439:0;-1:-1:-1;;;;;29675:16:0;;29667:61;;;;-1:-1:-1;;;29667:61:0;;12672:2:1;29667:61:0;;;12654:21:1;;;12691:18;;;12684:30;12750:34;12730:18;;;12723:62;12802:18;;29667:61:0;12470:356:1;29667:61:0;27768:4;27792:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27792:16:0;:30;29739:58;;;;-1:-1:-1;;;29739:58:0;;10715:2:1;29739:58:0;;;10697:21:1;10754:2;10734:18;;;10727:30;10793;10773:18;;;10766:58;10841:18;;29739:58:0;10513:352:1;29739:58:0;29810:45;29839:1;29843:2;29847:7;29810:20;:45::i;:::-;-1:-1:-1;;;;;29868:13:0;;;;;;:9;:13;;;;;:18;;29885:1;;29868:13;:18;;29885:1;;29868:18;:::i;:::-;;;;-1:-1:-1;;29897:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29897:21:0;-1:-1:-1;;;;;29897:21:0;;;;;;;;29936:33;;29897:16;;;29936:33;;29897:16;;29936:33;44291:218;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:673::-;246:5;299:3;292:4;284:6;280:17;276:27;266:55;;317:1;314;307:12;266:55;353:6;340:20;379:4;403:60;419:43;459:2;419:43;:::i;:::-;403:60;:::i;:::-;485:3;509:2;504:3;497:15;537:2;532:3;528:12;521:19;;572:2;564:6;560:15;624:3;619:2;613;610:1;606:10;598:6;594:23;590:32;587:41;584:61;;;641:1;638;631:12;584:61;663:1;673:163;687:2;684:1;681:9;673:163;;;744:17;;732:30;;782:12;;;;814;;;;705:1;698:9;673:163;;;-1:-1:-1;854:5:1;;192:673;-1:-1:-1;;;;;;;192:673:1:o;870:186::-;929:6;982:2;970:9;961:7;957:23;953:32;950:52;;;998:1;995;988:12;950:52;1021:29;1040:9;1021:29;:::i;1061:260::-;1129:6;1137;1190:2;1178:9;1169:7;1165:23;1161:32;1158:52;;;1206:1;1203;1196:12;1158:52;1229:29;1248:9;1229:29;:::i;:::-;1219:39;;1277:38;1311:2;1300:9;1296:18;1277:38;:::i;:::-;1267:48;;1061:260;;;;;:::o;1326:328::-;1403:6;1411;1419;1472:2;1460:9;1451:7;1447:23;1443:32;1440:52;;;1488:1;1485;1478:12;1440:52;1511:29;1530:9;1511:29;:::i;:::-;1501:39;;1559:38;1593:2;1582:9;1578:18;1559:38;:::i;:::-;1549:48;;1644:2;1633:9;1629:18;1616:32;1606:42;;1326:328;;;;;:::o;1659:980::-;1754:6;1762;1770;1778;1831:3;1819:9;1810:7;1806:23;1802:33;1799:53;;;1848:1;1845;1838:12;1799:53;1871:29;1890:9;1871:29;:::i;:::-;1861:39;;1919:2;1940:38;1974:2;1963:9;1959:18;1940:38;:::i;:::-;1930:48;;2025:2;2014:9;2010:18;1997:32;1987:42;;2080:2;2069:9;2065:18;2052:32;2103:18;2144:2;2136:6;2133:14;2130:34;;;2160:1;2157;2150:12;2130:34;2198:6;2187:9;2183:22;2173:32;;2243:7;2236:4;2232:2;2228:13;2224:27;2214:55;;2265:1;2262;2255:12;2214:55;2301:2;2288:16;2323:2;2319;2316:10;2313:36;;;2329:18;;:::i;:::-;2371:53;2414:2;2395:13;;-1:-1:-1;;2391:27:1;2387:36;;2371:53;:::i;:::-;2358:66;;2447:2;2440:5;2433:17;2487:7;2482:2;2477;2473;2469:11;2465:20;2462:33;2459:53;;;2508:1;2505;2498:12;2459:53;2563:2;2558;2554;2550:11;2545:2;2538:5;2534:14;2521:45;2607:1;2602:2;2597;2590:5;2586:14;2582:23;2575:34;;2628:5;2618:15;;;;;1659:980;;;;;;;:::o;2644:347::-;2709:6;2717;2770:2;2758:9;2749:7;2745:23;2741:32;2738:52;;;2786:1;2783;2776:12;2738:52;2809:29;2828:9;2809:29;:::i;:::-;2799:39;;2888:2;2877:9;2873:18;2860:32;2935:5;2928:13;2921:21;2914:5;2911:32;2901:60;;2957:1;2954;2947:12;2901:60;2980:5;2970:15;;;2644:347;;;;;:::o;2996:254::-;3064:6;3072;3125:2;3113:9;3104:7;3100:23;3096:32;3093:52;;;3141:1;3138;3131:12;3093:52;3164:29;3183:9;3164:29;:::i;:::-;3154:39;3240:2;3225:18;;;;3212:32;;-1:-1:-1;;;2996:254:1:o;3255:1157::-;3373:6;3381;3434:2;3422:9;3413:7;3409:23;3405:32;3402:52;;;3450:1;3447;3440:12;3402:52;3490:9;3477:23;3519:18;3560:2;3552:6;3549:14;3546:34;;;3576:1;3573;3566:12;3546:34;3614:6;3603:9;3599:22;3589:32;;3659:7;3652:4;3648:2;3644:13;3640:27;3630:55;;3681:1;3678;3671:12;3630:55;3717:2;3704:16;3739:4;3763:60;3779:43;3819:2;3779:43;:::i;3763:60::-;3845:3;3869:2;3864:3;3857:15;3897:2;3892:3;3888:12;3881:19;;3928:2;3924;3920:11;3976:7;3971:2;3965;3962:1;3958:10;3954:2;3950:19;3946:28;3943:41;3940:61;;;3997:1;3994;3987:12;3940:61;4019:1;4010:10;;4029:169;4043:2;4040:1;4037:9;4029:169;;;4100:23;4119:3;4100:23;:::i;:::-;4088:36;;4061:1;4054:9;;;;;4144:12;;;;4176;;4029:169;;;-1:-1:-1;4217:5:1;-1:-1:-1;;4260:18:1;;4247:32;;-1:-1:-1;;4291:16:1;;;4288:36;;;4320:1;4317;4310:12;4288:36;;4343:63;4398:7;4387:8;4376:9;4372:24;4343:63;:::i;:::-;4333:73;;;3255:1157;;;;;:::o;4417:348::-;4501:6;4554:2;4542:9;4533:7;4529:23;4525:32;4522:52;;;4570:1;4567;4560:12;4522:52;4610:9;4597:23;4643:18;4635:6;4632:30;4629:50;;;4675:1;4672;4665:12;4629:50;4698:61;4751:7;4742:6;4731:9;4727:22;4698:61;:::i;4770:180::-;4829:6;4882:2;4870:9;4861:7;4857:23;4853:32;4850:52;;;4898:1;4895;4888:12;4850:52;-1:-1:-1;4921:23:1;;4770:180;-1:-1:-1;4770:180:1:o;4955:254::-;5023:6;5031;5084:2;5072:9;5063:7;5059:23;5055:32;5052:52;;;5100:1;5097;5090:12;5052:52;5136:9;5123:23;5113:33;;5165:38;5199:2;5188:9;5184:18;5165:38;:::i;5214:245::-;5272:6;5325:2;5313:9;5304:7;5300:23;5296:32;5293:52;;;5341:1;5338;5331:12;5293:52;5380:9;5367:23;5399:30;5423:5;5399:30;:::i;5464:249::-;5533:6;5586:2;5574:9;5565:7;5561:23;5557:32;5554:52;;;5602:1;5599;5592:12;5554:52;5634:9;5628:16;5653:30;5677:5;5653:30;:::i;5718:592::-;5789:6;5797;5850:2;5838:9;5829:7;5825:23;5821:32;5818:52;;;5866:1;5863;5856:12;5818:52;5906:9;5893:23;5935:18;5976:2;5968:6;5965:14;5962:34;;;5992:1;5989;5982:12;5962:34;6030:6;6019:9;6015:22;6005:32;;6075:7;6068:4;6064:2;6060:13;6056:27;6046:55;;6097:1;6094;6087:12;6046:55;6137:2;6124:16;6163:2;6155:6;6152:14;6149:34;;;6179:1;6176;6169:12;6149:34;6224:7;6219:2;6210:6;6206:2;6202:15;6198:24;6195:37;6192:57;;;6245:1;6242;6235:12;6192:57;6276:2;6268:11;;;;;6298:6;;-1:-1:-1;5718:592:1;;-1:-1:-1;;;;5718:592:1:o;6500:257::-;6541:3;6579:5;6573:12;6606:6;6601:3;6594:19;6622:63;6678:6;6671:4;6666:3;6662:14;6655:4;6648:5;6644:16;6622:63;:::i;:::-;6739:2;6718:15;-1:-1:-1;;6714:29:1;6705:39;;;;6746:4;6701:50;;6500:257;-1:-1:-1;;6500:257:1:o;6762:470::-;6941:3;6979:6;6973:13;6995:53;7041:6;7036:3;7029:4;7021:6;7017:17;6995:53;:::i;:::-;7111:13;;7070:16;;;;7133:57;7111:13;7070:16;7167:4;7155:17;;7133:57;:::i;:::-;7206:20;;6762:470;-1:-1:-1;;;;6762:470:1:o;7237:786::-;7648:25;7643:3;7636:38;7618:3;7703:6;7697:13;7719:62;7774:6;7769:2;7764:3;7760:12;7753:4;7745:6;7741:17;7719:62;:::i;:::-;-1:-1:-1;;;7840:2:1;7800:16;;;7832:11;;;7825:40;7890:13;;7912:63;7890:13;7961:2;7953:11;;7946:4;7934:17;;7912:63;:::i;:::-;7995:17;8014:2;7991:26;;7237:786;-1:-1:-1;;;;7237:786:1:o;8236:488::-;-1:-1:-1;;;;;8505:15:1;;;8487:34;;8557:15;;8552:2;8537:18;;8530:43;8604:2;8589:18;;8582:34;;;8652:3;8647:2;8632:18;;8625:31;;;8430:4;;8673:45;;8698:19;;8690:6;8673:45;:::i;:::-;8665:53;8236:488;-1:-1:-1;;;;;;8236:488:1:o;9103:219::-;9252:2;9241:9;9234:21;9215:4;9272:44;9312:2;9301:9;9297:18;9289:6;9272:44;:::i;9688:414::-;9890:2;9872:21;;;9929:2;9909:18;;;9902:30;9968:34;9963:2;9948:18;;9941:62;-1:-1:-1;;;10034:2:1;10019:18;;10012:48;10092:3;10077:19;;9688:414::o;13992:410::-;14194:2;14176:21;;;14233:2;14213:18;;;14206:30;14272:34;14267:2;14252:18;;14245:62;-1:-1:-1;;;14338:2:1;14323:18;;14316:44;14392:3;14377:19;;13992:410::o;15422:275::-;15493:2;15487:9;15558:2;15539:13;;-1:-1:-1;;15535:27:1;15523:40;;15593:18;15578:34;;15614:22;;;15575:62;15572:88;;;15640:18;;:::i;:::-;15676:2;15669:22;15422:275;;-1:-1:-1;15422:275:1:o;15702:183::-;15762:4;15795:18;15787:6;15784:30;15781:56;;;15817:18;;:::i;:::-;-1:-1:-1;15862:1:1;15858:14;15874:4;15854:25;;15702:183::o;15890:128::-;15930:3;15961:1;15957:6;15954:1;15951:13;15948:39;;;15967:18;;:::i;:::-;-1:-1:-1;16003:9:1;;15890:128::o;16023:120::-;16063:1;16089;16079:35;;16094:18;;:::i;:::-;-1:-1:-1;16128:9:1;;16023:120::o;16148:168::-;16188:7;16254:1;16250;16246:6;16242:14;16239:1;16236:21;16231:1;16224:9;16217:17;16213:45;16210:71;;;16261:18;;:::i;:::-;-1:-1:-1;16301:9:1;;16148:168::o;16321:125::-;16361:4;16389:1;16386;16383:8;16380:34;;;16394:18;;:::i;:::-;-1:-1:-1;16431:9:1;;16321:125::o;16451:258::-;16523:1;16533:113;16547:6;16544:1;16541:13;16533:113;;;16623:11;;;16617:18;16604:11;;;16597:39;16569:2;16562:10;16533:113;;;16664:6;16661:1;16658:13;16655:48;;;-1:-1:-1;;16699:1:1;16681:16;;16674:27;16451:258::o;16714:136::-;16753:3;16781:5;16771:39;;16790:18;;:::i;:::-;-1:-1:-1;;;16826:18:1;;16714:136::o;16855:380::-;16934:1;16930:12;;;;16977;;;16998:61;;17052:4;17044:6;17040:17;17030:27;;16998:61;17105:2;17097:6;17094:14;17074:18;17071:38;17068:161;;;17151:10;17146:3;17142:20;17139:1;17132:31;17186:4;17183:1;17176:15;17214:4;17211:1;17204:15;17068:161;;16855:380;;;:::o;17240:135::-;17279:3;-1:-1:-1;;17300:17:1;;17297:43;;;17320:18;;:::i;:::-;-1:-1:-1;17367:1:1;17356:13;;17240:135::o;17380:112::-;17412:1;17438;17428:35;;17443:18;;:::i;:::-;-1:-1:-1;17477:9:1;;17380:112::o;17497:127::-;17558:10;17553:3;17549:20;17546:1;17539:31;17589:4;17586:1;17579:15;17613:4;17610:1;17603:15;17629:127;17690:10;17685:3;17681:20;17678:1;17671:31;17721:4;17718:1;17711:15;17745:4;17742:1;17735:15;17761:127;17822:10;17817:3;17813:20;17810:1;17803:31;17853:4;17850:1;17843:15;17877:4;17874:1;17867:15;17893:127;17954:10;17949:3;17945:20;17942:1;17935:31;17985:4;17982:1;17975:15;18009:4;18006:1;17999:15;18025:131;-1:-1:-1;;;;;;18099:32:1;;18089:43;;18079:71;;18146:1;18143;18136:12
Swarm Source
ipfs://95b1f1640eda172daffd55a780dbd5c5cf7b554a4439cca171457a64d284258e
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.