Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 194 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Soulbound | 20819822 | 53 days ago | IN | 0 ETH | 0.00309049 | ||||
Claim Soulbound | 20580876 | 86 days ago | IN | 0 ETH | 0.00022643 | ||||
Claim Soulbound | 20542804 | 91 days ago | IN | 0 ETH | 0.00038716 | ||||
Claim Soulbound | 20482842 | 100 days ago | IN | 0 ETH | 0.00055587 | ||||
Claim Soulbound | 20409472 | 110 days ago | IN | 0 ETH | 0.00052088 | ||||
Claim Soulbound | 20370384 | 115 days ago | IN | 0 ETH | 0.00113039 | ||||
Claim Soulbound | 20360791 | 117 days ago | IN | 0 ETH | 0.00111001 | ||||
Claim Soulbound | 20284521 | 127 days ago | IN | 0 ETH | 0.0027056 | ||||
Claim Soulbound | 20218085 | 137 days ago | IN | 0 ETH | 0.00092252 | ||||
Claim Soulbound | 20062589 | 158 days ago | IN | 0 ETH | 0.00328006 | ||||
Claim Soulbound | 20052131 | 160 days ago | IN | 0 ETH | 0.00066001 | ||||
Claim Soulbound | 19999714 | 167 days ago | IN | 0 ETH | 0.00130018 | ||||
Claim Soulbound | 19966932 | 172 days ago | IN | 0 ETH | 0.00263306 | ||||
Claim Soulbound | 19965324 | 172 days ago | IN | 0 ETH | 0.00202562 | ||||
Claim Soulbound | 19965300 | 172 days ago | IN | 0 ETH | 0.00213479 | ||||
Claim Soulbound | 19965164 | 172 days ago | IN | 0 ETH | 0.00194899 | ||||
Claim Soulbound | 19948648 | 174 days ago | IN | 0 ETH | 0.00141233 | ||||
Claim Soulbound | 19866121 | 186 days ago | IN | 0 ETH | 0.00171848 | ||||
Claim Soulbound | 19758614 | 201 days ago | IN | 0 ETH | 0.00130626 | ||||
Claim Soulbound | 19713311 | 207 days ago | IN | 0 ETH | 0.00246895 | ||||
Claim Soulbound | 19683529 | 211 days ago | IN | 0 ETH | 0.00332311 | ||||
Claim Soulbound | 19556757 | 229 days ago | IN | 0 ETH | 0.00509816 | ||||
Claim Soulbound | 19539397 | 232 days ago | IN | 0 ETH | 0.0043611 | ||||
Claim Soulbound | 19538963 | 232 days ago | IN | 0 ETH | 0.00510313 | ||||
Claim Soulbound | 19533309 | 232 days ago | IN | 0 ETH | 0.01058687 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
AlphaWolvesSoulbound
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./IAlphaWolves.sol"; contract AlphaWolvesSoulbound is ERC721, Ownable, ReentrancyGuard { error NoContracts(); error NotAuthorized(); string private _baseTokenURI = "ipfs://bafybeibaq7sud2h2tusz27hpnbobrcyaesdkvun4qwfhidqw2gldmxszlm/"; IAlphaWolves alphaWolves = IAlphaWolves(0xdcd6d4a557ff208f01D4c2b5Bf829078622C37c5); bool public reclaim = false; bool public locked = true; mapping(uint256 => bool) public soulbound; mapping(address => bool) public controllers; mapping(address => uint256[]) public soulboundByUser; constructor() Ownable(msg.sender) ERC721("AlphaWolvesDAO Soulbound", "AWD SBT") { controllers[msg.sender] = true; } modifier callerIsUser() { if (msg.sender != tx.origin) revert NoContracts(); _; } modifier callerIsController() { if (!controllers[msg.sender]) revert NotAuthorized(); _; } function setSoulbound(uint256[] calldata tokenIds) external { require(controllers[msg.sender], "Only controllers can mint"); for (uint i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; soulbound[tokenId] = true; } } function setAlphaWolves(address addr) external onlyOwner { alphaWolves = IAlphaWolves(addr); } function toggleReclaim() external onlyOwner { reclaim = !reclaim; } function toggleLocked() external { require( controllers[msg.sender] || owner() == msg.sender, "Only controllers can toggle locked" ); locked = !locked; } function addController(address controller) external onlyOwner { controllers[controller] = true; } function removeController(address controller) external onlyOwner { controllers[controller] = false; } function claimSoulbound( uint256[] calldata tokenIds ) external nonReentrant callerIsUser { require(tokenIds.length > 0, "Must claim at least one"); for (uint i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; require( alphaWolves.ownerOf(tokenId) == msg.sender, "You do not own this Alpha Wolf" ); require( !soulbound[tokenId], "This Alpha Wolf is already soulbound" ); soulbound[tokenId] = true; alphaWolves.transferFrom(msg.sender, address(this), tokenId); soulboundByUser[msg.sender].push(tokenId); _mint(msg.sender, tokenId); } } function reclaimYourAlphaWolves() external nonReentrant callerIsUser { require(reclaim, "Reclaim is not enabled"); uint256[] memory tokenIds = soulboundByUser[msg.sender]; require( tokenIds.length > 0, "You do not have any soulbound Alpha Wolves" ); for (uint i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; require( alphaWolves.ownerOf(tokenId) == address(this), "This Alpha Wolf is not owned by the contract" ); require(soulbound[tokenId], "This Alpha Wolf is not soulbound"); soulbound[tokenId] = false; alphaWolves.transferFrom(address(this), msg.sender, tokenId); _burn(tokenId); } delete soulboundByUser[msg.sender]; } function deleteSoulboundByUser(address account) external onlyOwner { delete soulboundByUser[account]; } function emergencyReclaimSoulboundFromAlphaWolves( uint256[] calldata tokenIds ) external onlyOwner { require(tokenIds.length > 0, "Must claim at least one"); for (uint i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; require( alphaWolves.ownerOf(tokenId) == address(this), "This Alpha Wolf is not owned by the contract" ); alphaWolves.transferFrom(address(this), msg.sender, tokenId); } } function mint(address to, uint256 tokenId) public callerIsController { _safeMint(to, tokenId); } function batchMint( address to, uint256[] memory tokenIds ) external callerIsController { for (uint256 i = 0; i < tokenIds.length; i++) { mint(to, tokenIds[i]); } } function burn(uint256 tokenId) public callerIsController { _burn(tokenId); } function controllerTransfer( address from, address to, uint256 tokenId ) external callerIsController { _transfer(from, to, tokenId); } function batchBurn(uint256[] memory tokenIds) external callerIsController { for (uint256 i = 0; i < tokenIds.length; i++) { burn(tokenIds[i]); } } function setSoulbound( uint256 tokenId, bool value ) external callerIsController { soulbound[tokenId] = value; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function isTokenSoulbound(uint256 tokenId) external view returns (bool) { return soulbound[tokenId]; } function alphaWolvesTokensOfOwner( address account ) public view returns (uint256[] memory ownerTokens) { uint256 alphaSupply = alphaWolves.totalSupply(); uint256[] memory tmp = new uint256[](alphaSupply); uint256 index = 0; for (uint tokenId = 0; tokenId < alphaSupply; tokenId++) { if (alphaWolves.ownerOf(tokenId) == account) { tmp[index] = tokenId; index += 1; } } uint256[] memory tokens = new uint256[](index); for (uint i = 0; i < index; i++) { tokens[i] = tmp[i]; } return tokens; } function alphaWolvesTokensOfOwnerSoulbound( address account ) external view returns (uint256[] memory) { return soulboundByUser[account]; } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721) returns (bool) { return super.supportsInterface(interfaceId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual override { require(!locked || controllers[from], "Transfers are locked"); super._transfer(from, to, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { require(!locked || controllers[from], "Transfers are locked"); super.transferFrom(from, to, tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IAlphaWolves { // State Variables function ownerOf(uint256 tokenId) external view returns (address owner); function totalSupply() external view returns (uint256); function isPublicSaleActive() external view returns (bool); function isAllowListActive() external view returns (bool); function isFreeMintActive() external view returns (bool); function MAX_SUPPLY() external view returns (uint256); function MAX_PUBLIC_MINT() external view returns (uint256); function PRIVATE_PRICE_PER_TOKEN() external view returns (uint256); function FREE_TOKEN_PRICE() external view returns (uint256); function PUBLIC_PRICE_PER_TOKEN() external view returns (uint256); // Functions function transferFrom(address from, address to, uint256 tokenId) external; function activatePublicSale(bool newState) external; function activateAllowList(bool newState) external; function activateFreeMint(bool newState) external; function setAllowList( address[] calldata addresses, uint8 numAllowedToMint ) external; function setFreeList( address[] calldata addresses, uint8 numAllowedToMint ) external; function numAvailableToMintForFree( address addr ) external view returns (uint8); function numAvailableToMint(address addr) external view returns (uint8); function mintAllowList(uint8 numberOfTokens) external payable; function mintFreeList(uint8 numberOfTokens) external payable; function setBaseURI(string memory baseURI_) external; function setProvenance(string memory provenance) external; function reserve(uint256 n) external; function mint(uint numberOfTokens) external payable; function withdraw() external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.20; import {IERC721} from "./IERC721.sol"; import {IERC721Receiver} from "./IERC721Receiver.sol"; import {IERC721Metadata} from "./extensions/IERC721Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {Strings} from "../../utils/Strings.sol"; import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol"; import {IERC721Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @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}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors { using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint256 tokenId => address) private _owners; mapping(address owner => uint256) private _balances; mapping(uint256 tokenId => address) private _tokenApprovals; mapping(address owner => mapping(address operator => 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 returns (uint256) { if (owner == address(0)) { revert ERC721InvalidOwner(address(0)); } return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { return _requireOwned(tokenId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { _requireOwned(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string.concat(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 { _approve(to, tokenId, _msgSender()); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { _requireOwned(tokenId); return _getApproved(tokenId); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here. address previousOwner = _update(to, tokenId, _msgSender()); if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual { transferFrom(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist * * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`. */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted. */ function _getApproved(uint256 tokenId) internal view virtual returns (address) { return _tokenApprovals[tokenId]; } /** * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in * particular (ignoring whether it is owned by `owner`). * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) { return spender != address(0) && (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender); } /** * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner. * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets * the `spender` for the specific `tokenId`. * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual { if (!_isAuthorized(owner, spender, tokenId)) { if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } else { revert ERC721InsufficientApproval(spender, tokenId); } } } /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that * a uint256 would ever overflow from increments when these increments are bounded to uint128 values. * * WARNING: Increasing an account's balance using this function tends to be paired with an override of the * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership * remain consistent with one another. */ function _increaseBalance(address account, uint128 value) internal virtual { unchecked { _balances[account] += value; } } /** * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update. * * The `auth` argument is optional. If the value passed is non 0, then this function will check that * `auth` is either the owner of the token, or approved to operate on the token (by the owner). * * Emits a {Transfer} event. * * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}. */ function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) { address from = _ownerOf(tokenId); // Perform (optional) operator check if (auth != address(0)) { _checkAuthorized(from, auth, tokenId); } // Execute the update if (from != address(0)) { // Clear approval. No need to re-authorize or emit the Approval event _approve(address(0), tokenId, address(0), false); unchecked { _balances[from] -= 1; } } if (to != address(0)) { unchecked { _balances[to] += 1; } } _owners[tokenId] = to; emit Transfer(from, to, tokenId); return from; } /** * @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 { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner != address(0)) { revert ERC721InvalidSender(address(0)); } } /** * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance. * * 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 { _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); _checkOnERC721Received(address(0), to, tokenId, data); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal { address previousOwner = _update(address(0), tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(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{ if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } else if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients * are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `tokenId` token must exist and be owned by `from`. * - `to` cannot be the zero address. * - `from` cannot be the zero address. * - 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) internal { _safeTransfer(from, to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Approve `to` to operate on `tokenId` * * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is * either the owner of the token, or approved to operate on all tokens held by this owner. * * Emits an {Approval} event. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address to, uint256 tokenId, address auth) internal { _approve(to, tokenId, auth, true); } /** * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not * emitted in the context of transfers. */ function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual { // Avoid reading the owner unless necessary if (emitEvent || auth != address(0)) { address owner = _requireOwned(tokenId); // We do not use _isAuthorized because single-token approvals should not be able to call approve if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) { revert ERC721InvalidApprover(auth); } if (emitEvent) { emit Approval(owner, to, tokenId); } } _tokenApprovals[tokenId] = to; } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Requirements: * - operator can't be the address zero. * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC721InvalidOperator(operator); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned). * Returns the owner. * * Overrides to ownership logic should be done to {_ownerOf}. */ function _requireOwned(uint256 tokenId) internal view returns (address) { address owner = _ownerOf(tokenId); if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } return owner; } /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the * recipient doesn't accept the token transfer. 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 */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private { if (to.code.length > 0) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { if (retval != IERC721Receiver.onERC721Received.selector) { revert ERC721InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { revert ERC721InvalidReceiver(to); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; 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_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; import {IERC721} from "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 address zero. * * 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"NoContracts","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"alphaWolvesTokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"alphaWolvesTokensOfOwnerSoulbound","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"tokenIds","type":"uint256[]"}],"name":"claimSoulbound","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":"controllerTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"deleteSoulboundByUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"emergencyReclaimSoulboundFromAlphaWolves","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":"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":"uint256","name":"tokenId","type":"uint256"}],"name":"isTokenSoulbound","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locked","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reclaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reclaimYourAlphaWolves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"addr","type":"address"}],"name":"setAlphaWolves","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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"setSoulbound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setSoulbound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"soulbound","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"soulboundByUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReclaim","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060800160405280604381526020016200508e60439139600890816200002e919062000566565b5073dcd6d4a557ff208f01d4c2b5bf829078622c37c560095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f600960146101000a81548160ff0219169083151502179055506001600960156101000a81548160ff021916908315150217905550348015620000c4575f80fd5b50336040518060400160405280601881526020017f416c706861576f6c76657344414f20536f756c626f756e6400000000000000008152506040518060400160405280600781526020017f4157442053425400000000000000000000000000000000000000000000000000815250815f908162000142919062000566565b50806001908162000154919062000566565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001ca575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001c191906200068d565b60405180910390fd5b620001db816200023f60201b60201c565b5060016007819055506001600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550620006a8565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200037e57607f821691505b60208210810362000394576200039362000339565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620003f87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003bb565b620004048683620003bb565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200044e6200044862000442846200041c565b62000425565b6200041c565b9050919050565b5f819050919050565b62000469836200042e565b62000481620004788262000455565b848454620003c7565b825550505050565b5f90565b6200049762000489565b620004a48184846200045e565b505050565b5b81811015620004cb57620004bf5f826200048d565b600181019050620004aa565b5050565b601f8211156200051a57620004e4816200039a565b620004ef84620003ac565b81016020851015620004ff578190505b620005176200050e85620003ac565b830182620004a9565b50505b505050565b5f82821c905092915050565b5f6200053c5f19846008026200051f565b1980831691505092915050565b5f6200055683836200052b565b9150826002028217905092915050565b620005718262000302565b67ffffffffffffffff8111156200058d576200058c6200030c565b5b62000599825462000366565b620005a6828285620004cf565b5f60209050601f831160018114620005dc575f8415620005c7578287015190505b620005d3858262000549565b86555062000642565b601f198416620005ec866200039a565b5f5b828110156200061557848901518255600182019150602085019450602081019050620005ee565b8683101562000635578489015162000631601f8916826200052b565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000675826200064a565b9050919050565b620006878162000669565b82525050565b5f602082019050620006a25f8301846200067c565b92915050565b6149d880620006b65f395ff3fe608060405234801561000f575f80fd5b5060043610610250575f3560e01c80637a18159711610144578063cb5f00db116100c1578063da8c229e11610085578063da8c229e146106c4578063dc8e92ea146106f4578063e985e9c514610710578063ebe0f09b14610740578063f2fde38b1461074a578063f6a74ed71461076657610250565b8063cb5f00db1461060e578063ce7e8e351461063e578063cf3090121461065a578063d473e7fe14610678578063d73f3a9f1461069457610250565b80639b504387116101085780639b5043871461056e578063a22cb4651461058a578063a7fc7a07146105a6578063b88d4fde146105c2578063c87b56dd146105de57610250565b80637a181597146104c857806380e9071b146104f85780638da5cb5b1461051657806395d89b4114610534578063966d964b1461055257610250565b806342842e0e116101d257806355f804b31161019657806355f804b3146104265780636352211e1461044257806366d9367a1461047257806370a082311461048e578063715018a6146104be57610250565b806342842e0e1461037257806342966c681461038e5780634684d7e9146103aa57806348e97a4f146103c6578063550c0ee6146103f657610250565b8063095ea7b311610219578063095ea7b3146102f857806323b872dd1461031457806334adecc21461033057806337b7dbd21461033a57806340c10f191461035657610250565b80624b84821461025457806301b117921461027057806301ffc9a71461027a57806306fdde03146102aa578063081812fc146102c8575b5f80fd5b61026e600480360381019061026991906135ec565b610782565b005b6102786107d5565b005b610294600480360381019061028f919061366c565b6108c7565b6040516102a191906136b1565b60405180910390f35b6102b26108d8565b6040516102bf9190613754565b60405180910390f35b6102e260048036038101906102dd91906137a7565b610967565b6040516102ef91906137e1565b60405180910390f35b610312600480360381019061030d91906137fa565b610982565b005b61032e60048036038101906103299190613838565b610998565b005b610338610a49565b005b610354600480360381019061034f91906138e9565b610e7f565b005b610370600480360381019061036b91906137fa565b6111f9565b005b61038c60048036038101906103879190613838565b611287565b005b6103a860048036038101906103a391906137a7565b6112a6565b005b6103c460048036038101906103bf9190613a6c565b611332565b005b6103e060048036038101906103db91906137a7565b6113f3565b6040516103ed91906136b1565b60405180910390f35b610410600480360381019061040b91906137fa565b611419565b60405161041d9190613ad5565b60405180910390f35b610440600480360381019061043b9190613b43565b611444565b005b61045c600480360381019061045791906137a7565b611462565b60405161046991906137e1565b60405180910390f35b61048c600480360381019061048791906138e9565b611473565b005b6104a860048036038101906104a391906135ec565b611562565b6040516104b59190613ad5565b60405180910390f35b6104c6611618565b005b6104e260048036038101906104dd91906137a7565b61162b565b6040516104ef91906136b1565b60405180910390f35b610500611648565b60405161050d91906136b1565b60405180910390f35b61051e61165b565b60405161052b91906137e1565b60405180910390f35b61053c611683565b6040516105499190613754565b60405180910390f35b61056c60048036038101906105679190613bb8565b611713565b005b61058860048036038101906105839190613838565b6117bf565b005b6105a4600480360381019061059f9190613bf6565b61184f565b005b6105c060048036038101906105bb91906135ec565b611865565b005b6105dc60048036038101906105d79190613ce4565b6118c5565b005b6105f860048036038101906105f391906137a7565b6118e2565b6040516106059190613754565b60405180910390f35b610628600480360381019061062391906135ec565b611948565b6040516106359190613e1b565b60405180910390f35b610658600480360381019061065391906135ec565b6119db565b005b610662611a26565b60405161066f91906136b1565b60405180910390f35b610692600480360381019061068d91906138e9565b611a39565b005b6106ae60048036038101906106a991906135ec565b611c54565b6040516106bb9190613e1b565b60405180910390f35b6106de60048036038101906106d991906135ec565b611ef1565b6040516106eb91906136b1565b60405180910390f35b61070e60048036038101906107099190613e3b565b611f0e565b005b61072a60048036038101906107259190613e82565b611fcd565b60405161073791906136b1565b60405180910390f35b61074861205b565b005b610764600480360381019061075f91906135ec565b61208f565b005b610780600480360381019061077b91906135ec565b612113565b005b61078a612172565b600c5f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6107d29190613548565b50565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168061085c57503373ffffffffffffffffffffffffffffffffffffffff1661084461165b565b73ffffffffffffffffffffffffffffffffffffffff16145b61089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290613f30565b60405180910390fd5b600960159054906101000a900460ff1615600960156101000a81548160ff021916908315150217905550565b5f6108d1826121f9565b9050919050565b60605f80546108e690613f7b565b80601f016020809104026020016040519081016040528092919081815260200182805461091290613f7b565b801561095d5780601f106109345761010080835404028352916020019161095d565b820191905f5260205f20905b81548152906001019060200180831161094057829003601f168201915b5050505050905090565b5f610971826122da565b5061097b82612360565b9050919050565b610994828261098f612399565b6123a0565b5050565b600960159054906101000a900460ff1615806109fa5750600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b610a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3090613ff5565b60405180910390fd5b610a448383836123b2565b505050565b610a516124b1565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ab6576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600960149054906101000a900460ff16610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc9061405d565b60405180910390fd5b5f600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805480602002602001604051908101604052809291908181526020018280548015610b8b57602002820191905f5260205f20905b815481526020019060010190808311610b77575b505050505090505f815111610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcc906140eb565b60405180910390fd5b5f5b8151811015610e2b575f828281518110610bf457610bf3614109565b5b602002602001015190503073ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610c6f9190613ad5565b602060405180830381865afa158015610c8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cae919061414a565b73ffffffffffffffffffffffffffffffffffffffff1614610d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfb906141e5565b60405180910390fd5b600a5f8281526020019081526020015f205f9054906101000a900460ff16610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d589061424d565b60405180910390fd5b5f600a5f8381526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b8152600401610de79392919061426b565b5f604051808303815f87803b158015610dfe575f80fd5b505af1158015610e10573d5f803e3d5ffd5b50505050610e1d81612500565b508080600101915050610bd7565b50600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610e749190613548565b50610e7d612582565b565b610e876124b1565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8282905011610f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f28906142ea565b60405180910390fd5b5f5b828290508110156111ec575f838383818110610f5257610f51614109565b5b9050602002013590503373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610fcc9190613ad5565b602060405180830381865afa158015610fe7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100b919061414a565b73ffffffffffffffffffffffffffffffffffffffff1614611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105890614352565b60405180910390fd5b600a5f8281526020019081526020015f205f9054906101000a900460ff16156110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b6906143e0565b60405180910390fd5b6001600a5f8381526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016111469392919061426b565b5f604051808303815f87803b15801561115d575f80fd5b505af115801561116f573d5f803e3d5ffd5b50505050600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f90919091909150556111de338261258c565b508080600101915050610f33565b506111f5612582565b5050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611279576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611283828261267f565b5050565b6112a183838360405180602001604052805f8152506118c5565b505050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611326576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61132f81612500565b50565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166113b2576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b81518110156113ee576113e1838383815181106113d4576113d3614109565b5b60200260200101516111f9565b80806001019150506113b4565b505050565b5f600a5f8381526020019081526020015f205f9054906101000a900460ff169050919050565b600c602052815f5260405f208181548110611432575f80fd5b905f5260205f20015f91509150505481565b61144c612172565b81816008918261145d9291906145a5565b505050565b5f61146c826122da565b9050919050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f3906146bc565b60405180910390fd5b5f5b8282905081101561155d575f83838381811061151d5761151c614109565b5b9050602002013590506001600a5f8381526020019081526020015f205f6101000a81548160ff0219169083151502179055505080806001019150506114fe565b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d3575f6040517f89c62b640000000000000000000000000000000000000000000000000000000081526004016115ca91906137e1565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b611620612172565b6116295f61269c565b565b600a602052805f5260405f205f915054906101000a900460ff1681565b600960149054906101000a900460ff1681565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461169290613f7b565b80601f01602080910402602001604051908101604052809291908181526020018280546116be90613f7b565b80156117095780601f106116e057610100808354040283529160200191611709565b820191905f5260205f20905b8154815290600101906020018083116116ec57829003601f168201915b5050505050905090565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611793576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a5f8481526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1661183f576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61184a83838361275f565b505050565b61186161185a612399565b8383612810565b5050565b61186d612172565b6001600b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b6118d0848484610998565b6118dc84848484612979565b50505050565b60606118ed826122da565b505f6118f7612b2b565b90505f8151116119155760405180602001604052805f815250611940565b8061191f84612bbb565b604051602001611930929190614714565b6040516020818303038152906040525b915050919050565b6060600c5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208054806020026020016040519081016040528092919081815260200182805480156119cf57602002820191905f5260205f20905b8154815260200190600101908083116119bb575b50505050509050919050565b6119e3612172565b8060095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960159054906101000a900460ff1681565b611a41612172565b5f8282905011611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d906142ea565b60405180910390fd5b5f5b82829050811015611c4f575f838383818110611aa757611aa6614109565b5b9050602002013590503073ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611b219190613ad5565b602060405180830381865afa158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b60919061414a565b73ffffffffffffffffffffffffffffffffffffffff1614611bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bad906141e5565b60405180910390fd5b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b8152600401611c149392919061426b565b5f604051808303815f87803b158015611c2b575f80fd5b505af1158015611c3d573d5f803e3d5ffd5b50505050508080600101915050611a88565b505050565b60605f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce5919061474b565b90505f8167ffffffffffffffff811115611d0257611d01613934565b5b604051908082528060200260200182016040528015611d305781602001602082028036833780820191505090505b5090505f805b83811015611e46578573ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611daf9190613ad5565b602060405180830381865afa158015611dca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dee919061414a565b73ffffffffffffffffffffffffffffffffffffffff1603611e395780838381518110611e1d57611e1c614109565b5b602002602001018181525050600182611e3691906147a3565b91505b8080600101915050611d36565b505f8167ffffffffffffffff811115611e6257611e61613934565b5b604051908082528060200260200182016040528015611e905781602001602082028036833780820191505090505b5090505f5b82811015611ee457838181518110611eb057611eaf614109565b5b6020026020010151828281518110611ecb57611eca614109565b5b6020026020010181815250508080600101915050611e95565b5080945050505050919050565b600b602052805f5260405f205f915054906101000a900460ff1681565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611f8e576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8151811015611fc957611fbc828281518110611faf57611fae614109565b5b60200260200101516112a6565b8080600101915050611f90565b5050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b612063612172565b600960149054906101000a900460ff1615600960146101000a81548160ff021916908315150217905550565b612097612172565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612107575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016120fe91906137e1565b60405180910390fd5b6121108161269c565b50565b61211b612172565b5f600b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b61217a612399565b73ffffffffffffffffffffffffffffffffffffffff1661219861165b565b73ffffffffffffffffffffffffffffffffffffffff16146121f7576121bb612399565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016121ee91906137e1565b60405180910390fd5b565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122d357506122d282612c85565b5b9050919050565b5f806122e583612cee565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361235757826040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161234e9190613ad5565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6123ad8383836001612d27565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612422575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161241991906137e1565b60405180910390fd5b5f6124358383612430612399565b612ee6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146124ab578382826040517f64283d7b0000000000000000000000000000000000000000000000000000000081526004016124a2939291906147d6565b60405180910390fd5b50505050565b6002600754036124f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ed90614855565b60405180910390fd5b6002600781905550565b5f61250c5f835f612ee6565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361257e57816040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016125759190613ad5565b60405180910390fd5b5050565b6001600781905550565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125fc575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016125f391906137e1565b60405180910390fd5b5f61260883835f612ee6565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461267a575f6040517f73c6ac6e00000000000000000000000000000000000000000000000000000000815260040161267191906137e1565b60405180910390fd5b505050565b612698828260405180602001604052805f8152506130f1565b5050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600960159054906101000a900460ff1615806127c15750600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b612800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f790613ff5565b60405180910390fd5b61280b83838361310c565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361288057816040517f5b08ba1800000000000000000000000000000000000000000000000000000000815260040161287791906137e1565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161296c91906136b1565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115612b25578273ffffffffffffffffffffffffffffffffffffffff1663150b7a026129bc612399565b8685856040518563ffffffff1660e01b81526004016129de94939291906148c5565b6020604051808303815f875af1925050508015612a1957506040513d601f19601f82011682018060405250810190612a169190614923565b60015b612a9a573d805f8114612a47576040519150601f19603f3d011682016040523d82523d5f602084013e612a4c565b606091505b505f815103612a9257836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612a8991906137e1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b2357836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612b1a91906137e1565b60405180910390fd5b505b50505050565b606060088054612b3a90613f7b565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6690613f7b565b8015612bb15780601f10612b8857610100808354040283529160200191612bb1565b820191905f5260205f20905b815481529060010190602001808311612b9457829003601f168201915b5050505050905090565b60605f6001612bc984613274565b0190505f8167ffffffffffffffff811115612be757612be6613934565b5b6040519080825280601f01601f191660200182016040528015612c195781602001600182028036833780820191505090505b5090505f82602001820190505b600115612c7a578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612c6f57612c6e61494e565b5b0494505f8503612c26575b819350505050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8080612d5f57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612e91575f612d6e846122da565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612dd857508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b8015612deb5750612de98184611fcd565b155b15612e2d57826040517fa9fbf51f000000000000000000000000000000000000000000000000000000008152600401612e2491906137e1565b60405180910390fd5b8115612e8f57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f80612ef184612cee565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f3257612f318184866133c5565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612fbd57612f715f855f80612d27565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461303c57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b6130fb838361258c565b6131075f848484612979565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361317c575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161317391906137e1565b60405180910390fd5b5f61318883835f612ee6565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131fa57816040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016131f19190613ad5565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461326e578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401613265939291906147d6565b60405180910390fd5b50505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106132d0577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816132c6576132c561494e565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061330d576d04ee2d6d415b85acef810000000083816133035761330261494e565b5b0492506020810190505b662386f26fc10000831061333c57662386f26fc1000083816133325761333161494e565b5b0492506010810190505b6305f5e1008310613365576305f5e100838161335b5761335a61494e565b5b0492506008810190505b612710831061338a5761271083816133805761337f61494e565b5b0492506004810190505b606483106133ad57606483816133a3576133a261494e565b5b0492506002810190505b600a83106133bc576001810190505b80915050919050565b6133d0838383613488565b613483575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361344457806040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161343b9190613ad5565b60405180910390fd5b81816040517f177e802f00000000000000000000000000000000000000000000000000000000815260040161347a92919061497b565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561353f57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061350057506134ff8484611fcd565b5b8061353e57508273ffffffffffffffffffffffffffffffffffffffff1661352683612360565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5080545f8255905f5260205f20908101906135639190613566565b50565b5b8082111561357d575f815f905550600101613567565b5090565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6135bb82613592565b9050919050565b6135cb816135b1565b81146135d5575f80fd5b50565b5f813590506135e6816135c2565b92915050565b5f602082840312156136015761360061358a565b5b5f61360e848285016135d8565b91505092915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61364b81613617565b8114613655575f80fd5b50565b5f8135905061366681613642565b92915050565b5f602082840312156136815761368061358a565b5b5f61368e84828501613658565b91505092915050565b5f8115159050919050565b6136ab81613697565b82525050565b5f6020820190506136c45f8301846136a2565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156137015780820151818401526020810190506136e6565b5f8484015250505050565b5f601f19601f8301169050919050565b5f613726826136ca565b61373081856136d4565b93506137408185602086016136e4565b6137498161370c565b840191505092915050565b5f6020820190508181035f83015261376c818461371c565b905092915050565b5f819050919050565b61378681613774565b8114613790575f80fd5b50565b5f813590506137a18161377d565b92915050565b5f602082840312156137bc576137bb61358a565b5b5f6137c984828501613793565b91505092915050565b6137db816135b1565b82525050565b5f6020820190506137f45f8301846137d2565b92915050565b5f80604083850312156138105761380f61358a565b5b5f61381d858286016135d8565b925050602061382e85828601613793565b9150509250929050565b5f805f6060848603121561384f5761384e61358a565b5b5f61385c868287016135d8565b935050602061386d868287016135d8565b925050604061387e86828701613793565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126138a9576138a8613888565b5b8235905067ffffffffffffffff8111156138c6576138c561388c565b5b6020830191508360208202830111156138e2576138e1613890565b5b9250929050565b5f80602083850312156138ff576138fe61358a565b5b5f83013567ffffffffffffffff81111561391c5761391b61358e565b5b61392885828601613894565b92509250509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61396a8261370c565b810181811067ffffffffffffffff8211171561398957613988613934565b5b80604052505050565b5f61399b613581565b90506139a78282613961565b919050565b5f67ffffffffffffffff8211156139c6576139c5613934565b5b602082029050602081019050919050565b5f6139e96139e4846139ac565b613992565b90508083825260208201905060208402830185811115613a0c57613a0b613890565b5b835b81811015613a355780613a218882613793565b845260208401935050602081019050613a0e565b5050509392505050565b5f82601f830112613a5357613a52613888565b5b8135613a638482602086016139d7565b91505092915050565b5f8060408385031215613a8257613a8161358a565b5b5f613a8f858286016135d8565b925050602083013567ffffffffffffffff811115613ab057613aaf61358e565b5b613abc85828601613a3f565b9150509250929050565b613acf81613774565b82525050565b5f602082019050613ae85f830184613ac6565b92915050565b5f8083601f840112613b0357613b02613888565b5b8235905067ffffffffffffffff811115613b2057613b1f61388c565b5b602083019150836001820283011115613b3c57613b3b613890565b5b9250929050565b5f8060208385031215613b5957613b5861358a565b5b5f83013567ffffffffffffffff811115613b7657613b7561358e565b5b613b8285828601613aee565b92509250509250929050565b613b9781613697565b8114613ba1575f80fd5b50565b5f81359050613bb281613b8e565b92915050565b5f8060408385031215613bce57613bcd61358a565b5b5f613bdb85828601613793565b9250506020613bec85828601613ba4565b9150509250929050565b5f8060408385031215613c0c57613c0b61358a565b5b5f613c19858286016135d8565b9250506020613c2a85828601613ba4565b9150509250929050565b5f80fd5b5f67ffffffffffffffff821115613c5257613c51613934565b5b613c5b8261370c565b9050602081019050919050565b828183375f83830152505050565b5f613c88613c8384613c38565b613992565b905082815260208101848484011115613ca457613ca3613c34565b5b613caf848285613c68565b509392505050565b5f82601f830112613ccb57613cca613888565b5b8135613cdb848260208601613c76565b91505092915050565b5f805f8060808587031215613cfc57613cfb61358a565b5b5f613d09878288016135d8565b9450506020613d1a878288016135d8565b9350506040613d2b87828801613793565b925050606085013567ffffffffffffffff811115613d4c57613d4b61358e565b5b613d5887828801613cb7565b91505092959194509250565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613d9681613774565b82525050565b5f613da78383613d8d565b60208301905092915050565b5f602082019050919050565b5f613dc982613d64565b613dd38185613d6e565b9350613dde83613d7e565b805f5b83811015613e0e578151613df58882613d9c565b9750613e0083613db3565b925050600181019050613de1565b5085935050505092915050565b5f6020820190508181035f830152613e338184613dbf565b905092915050565b5f60208284031215613e5057613e4f61358a565b5b5f82013567ffffffffffffffff811115613e6d57613e6c61358e565b5b613e7984828501613a3f565b91505092915050565b5f8060408385031215613e9857613e9761358a565b5b5f613ea5858286016135d8565b9250506020613eb6858286016135d8565b9150509250929050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e20746f67676c65206c6f636b5f8201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b5f613f1a6022836136d4565b9150613f2582613ec0565b604082019050919050565b5f6020820190508181035f830152613f4781613f0e565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613f9257607f821691505b602082108103613fa557613fa4613f4e565b5b50919050565b7f5472616e736665727320617265206c6f636b65640000000000000000000000005f82015250565b5f613fdf6014836136d4565b9150613fea82613fab565b602082019050919050565b5f6020820190508181035f83015261400c81613fd3565b9050919050565b7f5265636c61696d206973206e6f7420656e61626c6564000000000000000000005f82015250565b5f6140476016836136d4565b915061405282614013565b602082019050919050565b5f6020820190508181035f8301526140748161403b565b9050919050565b7f596f7520646f206e6f74206861766520616e7920736f756c626f756e6420416c5f8201527f70686120576f6c76657300000000000000000000000000000000000000000000602082015250565b5f6140d5602a836136d4565b91506140e08261407b565b604082019050919050565b5f6020820190508181035f830152614102816140c9565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050614144816135c2565b92915050565b5f6020828403121561415f5761415e61358a565b5b5f61416c84828501614136565b91505092915050565b7f5468697320416c70686120576f6c66206973206e6f74206f776e6564206279205f8201527f74686520636f6e74726163740000000000000000000000000000000000000000602082015250565b5f6141cf602c836136d4565b91506141da82614175565b604082019050919050565b5f6020820190508181035f8301526141fc816141c3565b9050919050565b7f5468697320416c70686120576f6c66206973206e6f7420736f756c626f756e645f82015250565b5f6142376020836136d4565b915061424282614203565b602082019050919050565b5f6020820190508181035f8301526142648161422b565b9050919050565b5f60608201905061427e5f8301866137d2565b61428b60208301856137d2565b6142986040830184613ac6565b949350505050565b7f4d75737420636c61696d206174206c65617374206f6e650000000000000000005f82015250565b5f6142d46017836136d4565b91506142df826142a0565b602082019050919050565b5f6020820190508181035f830152614301816142c8565b9050919050565b7f596f7520646f206e6f74206f776e207468697320416c70686120576f6c6600005f82015250565b5f61433c601e836136d4565b915061434782614308565b602082019050919050565b5f6020820190508181035f83015261436981614330565b9050919050565b7f5468697320416c70686120576f6c6620697320616c726561647920736f756c625f8201527f6f756e6400000000000000000000000000000000000000000000000000000000602082015250565b5f6143ca6024836136d4565b91506143d582614370565b604082019050919050565b5f6020820190508181035f8301526143f7816143be565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026144647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614429565b61446e8683614429565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6144a96144a461449f84613774565b614486565b613774565b9050919050565b5f819050919050565b6144c28361448f565b6144d66144ce826144b0565b848454614435565b825550505050565b5f90565b6144ea6144de565b6144f58184846144b9565b505050565b5b818110156145185761450d5f826144e2565b6001810190506144fb565b5050565b601f82111561455d5761452e81614408565b6145378461441a565b81016020851015614546578190505b61455a6145528561441a565b8301826144fa565b50505b505050565b5f82821c905092915050565b5f61457d5f1984600802614562565b1980831691505092915050565b5f614595838361456e565b9150826002028217905092915050565b6145af83836143fe565b67ffffffffffffffff8111156145c8576145c7613934565b5b6145d28254613f7b565b6145dd82828561451c565b5f601f83116001811461460a575f84156145f8578287013590505b614602858261458a565b865550614669565b601f19841661461886614408565b5f5b8281101561463f5784890135825560018201915060208501945060208101905061461a565b8683101561465c5784890135614658601f89168261456e565b8355505b6001600288020188555050505b50505050505050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e74000000000000005f82015250565b5f6146a66019836136d4565b91506146b182614672565b602082019050919050565b5f6020820190508181035f8301526146d38161469a565b9050919050565b5f81905092915050565b5f6146ee826136ca565b6146f881856146da565b93506147088185602086016136e4565b80840191505092915050565b5f61471f82856146e4565b915061472b82846146e4565b91508190509392505050565b5f815190506147458161377d565b92915050565b5f602082840312156147605761475f61358a565b5b5f61476d84828501614737565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6147ad82613774565b91506147b883613774565b92508282019050808211156147d0576147cf614776565b5b92915050565b5f6060820190506147e95f8301866137d2565b6147f66020830185613ac6565b61480360408301846137d2565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f61483f601f836136d4565b915061484a8261480b565b602082019050919050565b5f6020820190508181035f83015261486c81614833565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61489782614873565b6148a1818561487d565b93506148b18185602086016136e4565b6148ba8161370c565b840191505092915050565b5f6080820190506148d85f8301876137d2565b6148e560208301866137d2565b6148f26040830185613ac6565b8181036060830152614904818461488d565b905095945050505050565b5f8151905061491d81613642565b92915050565b5f602082840312156149385761493761358a565b5b5f6149458482850161490f565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f60408201905061498e5f8301856137d2565b61499b6020830184613ac6565b939250505056fea26469706673582212207481a64272c90cafe450a0f6d0c9f3c898c55781394e37a92500a22344449a5564736f6c63430008160033697066733a2f2f62616679626569626171377375643268327475737a323768706e626f62726379616573646b76756e34717766686964717732676c646d78737a6c6d2f
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610250575f3560e01c80637a18159711610144578063cb5f00db116100c1578063da8c229e11610085578063da8c229e146106c4578063dc8e92ea146106f4578063e985e9c514610710578063ebe0f09b14610740578063f2fde38b1461074a578063f6a74ed71461076657610250565b8063cb5f00db1461060e578063ce7e8e351461063e578063cf3090121461065a578063d473e7fe14610678578063d73f3a9f1461069457610250565b80639b504387116101085780639b5043871461056e578063a22cb4651461058a578063a7fc7a07146105a6578063b88d4fde146105c2578063c87b56dd146105de57610250565b80637a181597146104c857806380e9071b146104f85780638da5cb5b1461051657806395d89b4114610534578063966d964b1461055257610250565b806342842e0e116101d257806355f804b31161019657806355f804b3146104265780636352211e1461044257806366d9367a1461047257806370a082311461048e578063715018a6146104be57610250565b806342842e0e1461037257806342966c681461038e5780634684d7e9146103aa57806348e97a4f146103c6578063550c0ee6146103f657610250565b8063095ea7b311610219578063095ea7b3146102f857806323b872dd1461031457806334adecc21461033057806337b7dbd21461033a57806340c10f191461035657610250565b80624b84821461025457806301b117921461027057806301ffc9a71461027a57806306fdde03146102aa578063081812fc146102c8575b5f80fd5b61026e600480360381019061026991906135ec565b610782565b005b6102786107d5565b005b610294600480360381019061028f919061366c565b6108c7565b6040516102a191906136b1565b60405180910390f35b6102b26108d8565b6040516102bf9190613754565b60405180910390f35b6102e260048036038101906102dd91906137a7565b610967565b6040516102ef91906137e1565b60405180910390f35b610312600480360381019061030d91906137fa565b610982565b005b61032e60048036038101906103299190613838565b610998565b005b610338610a49565b005b610354600480360381019061034f91906138e9565b610e7f565b005b610370600480360381019061036b91906137fa565b6111f9565b005b61038c60048036038101906103879190613838565b611287565b005b6103a860048036038101906103a391906137a7565b6112a6565b005b6103c460048036038101906103bf9190613a6c565b611332565b005b6103e060048036038101906103db91906137a7565b6113f3565b6040516103ed91906136b1565b60405180910390f35b610410600480360381019061040b91906137fa565b611419565b60405161041d9190613ad5565b60405180910390f35b610440600480360381019061043b9190613b43565b611444565b005b61045c600480360381019061045791906137a7565b611462565b60405161046991906137e1565b60405180910390f35b61048c600480360381019061048791906138e9565b611473565b005b6104a860048036038101906104a391906135ec565b611562565b6040516104b59190613ad5565b60405180910390f35b6104c6611618565b005b6104e260048036038101906104dd91906137a7565b61162b565b6040516104ef91906136b1565b60405180910390f35b610500611648565b60405161050d91906136b1565b60405180910390f35b61051e61165b565b60405161052b91906137e1565b60405180910390f35b61053c611683565b6040516105499190613754565b60405180910390f35b61056c60048036038101906105679190613bb8565b611713565b005b61058860048036038101906105839190613838565b6117bf565b005b6105a4600480360381019061059f9190613bf6565b61184f565b005b6105c060048036038101906105bb91906135ec565b611865565b005b6105dc60048036038101906105d79190613ce4565b6118c5565b005b6105f860048036038101906105f391906137a7565b6118e2565b6040516106059190613754565b60405180910390f35b610628600480360381019061062391906135ec565b611948565b6040516106359190613e1b565b60405180910390f35b610658600480360381019061065391906135ec565b6119db565b005b610662611a26565b60405161066f91906136b1565b60405180910390f35b610692600480360381019061068d91906138e9565b611a39565b005b6106ae60048036038101906106a991906135ec565b611c54565b6040516106bb9190613e1b565b60405180910390f35b6106de60048036038101906106d991906135ec565b611ef1565b6040516106eb91906136b1565b60405180910390f35b61070e60048036038101906107099190613e3b565b611f0e565b005b61072a60048036038101906107259190613e82565b611fcd565b60405161073791906136b1565b60405180910390f35b61074861205b565b005b610764600480360381019061075f91906135ec565b61208f565b005b610780600480360381019061077b91906135ec565b612113565b005b61078a612172565b600c5f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6107d29190613548565b50565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168061085c57503373ffffffffffffffffffffffffffffffffffffffff1661084461165b565b73ffffffffffffffffffffffffffffffffffffffff16145b61089b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089290613f30565b60405180910390fd5b600960159054906101000a900460ff1615600960156101000a81548160ff021916908315150217905550565b5f6108d1826121f9565b9050919050565b60605f80546108e690613f7b565b80601f016020809104026020016040519081016040528092919081815260200182805461091290613f7b565b801561095d5780601f106109345761010080835404028352916020019161095d565b820191905f5260205f20905b81548152906001019060200180831161094057829003601f168201915b5050505050905090565b5f610971826122da565b5061097b82612360565b9050919050565b610994828261098f612399565b6123a0565b5050565b600960159054906101000a900460ff1615806109fa5750600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b610a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3090613ff5565b60405180910390fd5b610a448383836123b2565b505050565b610a516124b1565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ab6576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600960149054906101000a900460ff16610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc9061405d565b60405180910390fd5b5f600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805480602002602001604051908101604052809291908181526020018280548015610b8b57602002820191905f5260205f20905b815481526020019060010190808311610b77575b505050505090505f815111610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcc906140eb565b60405180910390fd5b5f5b8151811015610e2b575f828281518110610bf457610bf3614109565b5b602002602001015190503073ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610c6f9190613ad5565b602060405180830381865afa158015610c8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cae919061414a565b73ffffffffffffffffffffffffffffffffffffffff1614610d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfb906141e5565b60405180910390fd5b600a5f8281526020019081526020015f205f9054906101000a900460ff16610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d589061424d565b60405180910390fd5b5f600a5f8381526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b8152600401610de79392919061426b565b5f604051808303815f87803b158015610dfe575f80fd5b505af1158015610e10573d5f803e3d5ffd5b50505050610e1d81612500565b508080600101915050610bd7565b50600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610e749190613548565b50610e7d612582565b565b610e876124b1565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f875fdad700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8282905011610f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f28906142ea565b60405180910390fd5b5f5b828290508110156111ec575f838383818110610f5257610f51614109565b5b9050602002013590503373ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610fcc9190613ad5565b602060405180830381865afa158015610fe7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100b919061414a565b73ffffffffffffffffffffffffffffffffffffffff1614611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105890614352565b60405180910390fd5b600a5f8281526020019081526020015f205f9054906101000a900460ff16156110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b6906143e0565b60405180910390fd5b6001600a5f8381526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016111469392919061426b565b5f604051808303815f87803b15801561115d575f80fd5b505af115801561116f573d5f803e3d5ffd5b50505050600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f90919091909150556111de338261258c565b508080600101915050610f33565b506111f5612582565b5050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611279576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611283828261267f565b5050565b6112a183838360405180602001604052805f8152506118c5565b505050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611326576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61132f81612500565b50565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166113b2576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b81518110156113ee576113e1838383815181106113d4576113d3614109565b5b60200260200101516111f9565b80806001019150506113b4565b505050565b5f600a5f8381526020019081526020015f205f9054906101000a900460ff169050919050565b600c602052815f5260405f208181548110611432575f80fd5b905f5260205f20015f91509150505481565b61144c612172565b81816008918261145d9291906145a5565b505050565b5f61146c826122da565b9050919050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f3906146bc565b60405180910390fd5b5f5b8282905081101561155d575f83838381811061151d5761151c614109565b5b9050602002013590506001600a5f8381526020019081526020015f205f6101000a81548160ff0219169083151502179055505080806001019150506114fe565b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d3575f6040517f89c62b640000000000000000000000000000000000000000000000000000000081526004016115ca91906137e1565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b611620612172565b6116295f61269c565b565b600a602052805f5260405f205f915054906101000a900460ff1681565b600960149054906101000a900460ff1681565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461169290613f7b565b80601f01602080910402602001604051908101604052809291908181526020018280546116be90613f7b565b80156117095780601f106116e057610100808354040283529160200191611709565b820191905f5260205f20905b8154815290600101906020018083116116ec57829003601f168201915b5050505050905090565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611793576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a5f8481526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1661183f576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61184a83838361275f565b505050565b61186161185a612399565b8383612810565b5050565b61186d612172565b6001600b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b6118d0848484610998565b6118dc84848484612979565b50505050565b60606118ed826122da565b505f6118f7612b2b565b90505f8151116119155760405180602001604052805f815250611940565b8061191f84612bbb565b604051602001611930929190614714565b6040516020818303038152906040525b915050919050565b6060600c5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208054806020026020016040519081016040528092919081815260200182805480156119cf57602002820191905f5260205f20905b8154815260200190600101908083116119bb575b50505050509050919050565b6119e3612172565b8060095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960159054906101000a900460ff1681565b611a41612172565b5f8282905011611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d906142ea565b60405180910390fd5b5f5b82829050811015611c4f575f838383818110611aa757611aa6614109565b5b9050602002013590503073ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611b219190613ad5565b602060405180830381865afa158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b60919061414a565b73ffffffffffffffffffffffffffffffffffffffff1614611bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bad906141e5565b60405180910390fd5b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b8152600401611c149392919061426b565b5f604051808303815f87803b158015611c2b575f80fd5b505af1158015611c3d573d5f803e3d5ffd5b50505050508080600101915050611a88565b505050565b60605f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce5919061474b565b90505f8167ffffffffffffffff811115611d0257611d01613934565b5b604051908082528060200260200182016040528015611d305781602001602082028036833780820191505090505b5090505f805b83811015611e46578573ffffffffffffffffffffffffffffffffffffffff1660095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611daf9190613ad5565b602060405180830381865afa158015611dca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dee919061414a565b73ffffffffffffffffffffffffffffffffffffffff1603611e395780838381518110611e1d57611e1c614109565b5b602002602001018181525050600182611e3691906147a3565b91505b8080600101915050611d36565b505f8167ffffffffffffffff811115611e6257611e61613934565b5b604051908082528060200260200182016040528015611e905781602001602082028036833780820191505090505b5090505f5b82811015611ee457838181518110611eb057611eaf614109565b5b6020026020010151828281518110611ecb57611eca614109565b5b6020026020010181815250508080600101915050611e95565b5080945050505050919050565b600b602052805f5260405f205f915054906101000a900460ff1681565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611f8e576040517fea8e4eb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b8151811015611fc957611fbc828281518110611faf57611fae614109565b5b60200260200101516112a6565b8080600101915050611f90565b5050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b612063612172565b600960149054906101000a900460ff1615600960146101000a81548160ff021916908315150217905550565b612097612172565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612107575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016120fe91906137e1565b60405180910390fd5b6121108161269c565b50565b61211b612172565b5f600b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b61217a612399565b73ffffffffffffffffffffffffffffffffffffffff1661219861165b565b73ffffffffffffffffffffffffffffffffffffffff16146121f7576121bb612399565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016121ee91906137e1565b60405180910390fd5b565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122d357506122d282612c85565b5b9050919050565b5f806122e583612cee565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361235757826040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161234e9190613ad5565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b6123ad8383836001612d27565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612422575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161241991906137e1565b60405180910390fd5b5f6124358383612430612399565b612ee6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146124ab578382826040517f64283d7b0000000000000000000000000000000000000000000000000000000081526004016124a2939291906147d6565b60405180910390fd5b50505050565b6002600754036124f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ed90614855565b60405180910390fd5b6002600781905550565b5f61250c5f835f612ee6565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361257e57816040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016125759190613ad5565b60405180910390fd5b5050565b6001600781905550565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125fc575f6040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016125f391906137e1565b60405180910390fd5b5f61260883835f612ee6565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461267a575f6040517f73c6ac6e00000000000000000000000000000000000000000000000000000000815260040161267191906137e1565b60405180910390fd5b505050565b612698828260405180602001604052805f8152506130f1565b5050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600960159054906101000a900460ff1615806127c15750600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b612800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f790613ff5565b60405180910390fd5b61280b83838361310c565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361288057816040517f5b08ba1800000000000000000000000000000000000000000000000000000000815260040161287791906137e1565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161296c91906136b1565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115612b25578273ffffffffffffffffffffffffffffffffffffffff1663150b7a026129bc612399565b8685856040518563ffffffff1660e01b81526004016129de94939291906148c5565b6020604051808303815f875af1925050508015612a1957506040513d601f19601f82011682018060405250810190612a169190614923565b60015b612a9a573d805f8114612a47576040519150601f19603f3d011682016040523d82523d5f602084013e612a4c565b606091505b505f815103612a9257836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612a8991906137e1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b2357836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612b1a91906137e1565b60405180910390fd5b505b50505050565b606060088054612b3a90613f7b565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6690613f7b565b8015612bb15780601f10612b8857610100808354040283529160200191612bb1565b820191905f5260205f20905b815481529060010190602001808311612b9457829003601f168201915b5050505050905090565b60605f6001612bc984613274565b0190505f8167ffffffffffffffff811115612be757612be6613934565b5b6040519080825280601f01601f191660200182016040528015612c195781602001600182028036833780820191505090505b5090505f82602001820190505b600115612c7a578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612c6f57612c6e61494e565b5b0494505f8503612c26575b819350505050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8080612d5f57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612e91575f612d6e846122da565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612dd857508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b8015612deb5750612de98184611fcd565b155b15612e2d57826040517fa9fbf51f000000000000000000000000000000000000000000000000000000008152600401612e2491906137e1565b60405180910390fd5b8115612e8f57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f80612ef184612cee565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f3257612f318184866133c5565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612fbd57612f715f855f80612d27565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461303c57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b6130fb838361258c565b6131075f848484612979565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361317c575f6040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161317391906137e1565b60405180910390fd5b5f61318883835f612ee6565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131fa57816040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016131f19190613ad5565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461326e578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401613265939291906147d6565b60405180910390fd5b50505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106132d0577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816132c6576132c561494e565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061330d576d04ee2d6d415b85acef810000000083816133035761330261494e565b5b0492506020810190505b662386f26fc10000831061333c57662386f26fc1000083816133325761333161494e565b5b0492506010810190505b6305f5e1008310613365576305f5e100838161335b5761335a61494e565b5b0492506008810190505b612710831061338a5761271083816133805761337f61494e565b5b0492506004810190505b606483106133ad57606483816133a3576133a261494e565b5b0492506002810190505b600a83106133bc576001810190505b80915050919050565b6133d0838383613488565b613483575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361344457806040517f7e27328900000000000000000000000000000000000000000000000000000000815260040161343b9190613ad5565b60405180910390fd5b81816040517f177e802f00000000000000000000000000000000000000000000000000000000815260040161347a92919061497b565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561353f57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061350057506134ff8484611fcd565b5b8061353e57508273ffffffffffffffffffffffffffffffffffffffff1661352683612360565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5080545f8255905f5260205f20908101906135639190613566565b50565b5b8082111561357d575f815f905550600101613567565b5090565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6135bb82613592565b9050919050565b6135cb816135b1565b81146135d5575f80fd5b50565b5f813590506135e6816135c2565b92915050565b5f602082840312156136015761360061358a565b5b5f61360e848285016135d8565b91505092915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61364b81613617565b8114613655575f80fd5b50565b5f8135905061366681613642565b92915050565b5f602082840312156136815761368061358a565b5b5f61368e84828501613658565b91505092915050565b5f8115159050919050565b6136ab81613697565b82525050565b5f6020820190506136c45f8301846136a2565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156137015780820151818401526020810190506136e6565b5f8484015250505050565b5f601f19601f8301169050919050565b5f613726826136ca565b61373081856136d4565b93506137408185602086016136e4565b6137498161370c565b840191505092915050565b5f6020820190508181035f83015261376c818461371c565b905092915050565b5f819050919050565b61378681613774565b8114613790575f80fd5b50565b5f813590506137a18161377d565b92915050565b5f602082840312156137bc576137bb61358a565b5b5f6137c984828501613793565b91505092915050565b6137db816135b1565b82525050565b5f6020820190506137f45f8301846137d2565b92915050565b5f80604083850312156138105761380f61358a565b5b5f61381d858286016135d8565b925050602061382e85828601613793565b9150509250929050565b5f805f6060848603121561384f5761384e61358a565b5b5f61385c868287016135d8565b935050602061386d868287016135d8565b925050604061387e86828701613793565b9150509250925092565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126138a9576138a8613888565b5b8235905067ffffffffffffffff8111156138c6576138c561388c565b5b6020830191508360208202830111156138e2576138e1613890565b5b9250929050565b5f80602083850312156138ff576138fe61358a565b5b5f83013567ffffffffffffffff81111561391c5761391b61358e565b5b61392885828601613894565b92509250509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61396a8261370c565b810181811067ffffffffffffffff8211171561398957613988613934565b5b80604052505050565b5f61399b613581565b90506139a78282613961565b919050565b5f67ffffffffffffffff8211156139c6576139c5613934565b5b602082029050602081019050919050565b5f6139e96139e4846139ac565b613992565b90508083825260208201905060208402830185811115613a0c57613a0b613890565b5b835b81811015613a355780613a218882613793565b845260208401935050602081019050613a0e565b5050509392505050565b5f82601f830112613a5357613a52613888565b5b8135613a638482602086016139d7565b91505092915050565b5f8060408385031215613a8257613a8161358a565b5b5f613a8f858286016135d8565b925050602083013567ffffffffffffffff811115613ab057613aaf61358e565b5b613abc85828601613a3f565b9150509250929050565b613acf81613774565b82525050565b5f602082019050613ae85f830184613ac6565b92915050565b5f8083601f840112613b0357613b02613888565b5b8235905067ffffffffffffffff811115613b2057613b1f61388c565b5b602083019150836001820283011115613b3c57613b3b613890565b5b9250929050565b5f8060208385031215613b5957613b5861358a565b5b5f83013567ffffffffffffffff811115613b7657613b7561358e565b5b613b8285828601613aee565b92509250509250929050565b613b9781613697565b8114613ba1575f80fd5b50565b5f81359050613bb281613b8e565b92915050565b5f8060408385031215613bce57613bcd61358a565b5b5f613bdb85828601613793565b9250506020613bec85828601613ba4565b9150509250929050565b5f8060408385031215613c0c57613c0b61358a565b5b5f613c19858286016135d8565b9250506020613c2a85828601613ba4565b9150509250929050565b5f80fd5b5f67ffffffffffffffff821115613c5257613c51613934565b5b613c5b8261370c565b9050602081019050919050565b828183375f83830152505050565b5f613c88613c8384613c38565b613992565b905082815260208101848484011115613ca457613ca3613c34565b5b613caf848285613c68565b509392505050565b5f82601f830112613ccb57613cca613888565b5b8135613cdb848260208601613c76565b91505092915050565b5f805f8060808587031215613cfc57613cfb61358a565b5b5f613d09878288016135d8565b9450506020613d1a878288016135d8565b9350506040613d2b87828801613793565b925050606085013567ffffffffffffffff811115613d4c57613d4b61358e565b5b613d5887828801613cb7565b91505092959194509250565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613d9681613774565b82525050565b5f613da78383613d8d565b60208301905092915050565b5f602082019050919050565b5f613dc982613d64565b613dd38185613d6e565b9350613dde83613d7e565b805f5b83811015613e0e578151613df58882613d9c565b9750613e0083613db3565b925050600181019050613de1565b5085935050505092915050565b5f6020820190508181035f830152613e338184613dbf565b905092915050565b5f60208284031215613e5057613e4f61358a565b5b5f82013567ffffffffffffffff811115613e6d57613e6c61358e565b5b613e7984828501613a3f565b91505092915050565b5f8060408385031215613e9857613e9761358a565b5b5f613ea5858286016135d8565b9250506020613eb6858286016135d8565b9150509250929050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e20746f67676c65206c6f636b5f8201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b5f613f1a6022836136d4565b9150613f2582613ec0565b604082019050919050565b5f6020820190508181035f830152613f4781613f0e565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613f9257607f821691505b602082108103613fa557613fa4613f4e565b5b50919050565b7f5472616e736665727320617265206c6f636b65640000000000000000000000005f82015250565b5f613fdf6014836136d4565b9150613fea82613fab565b602082019050919050565b5f6020820190508181035f83015261400c81613fd3565b9050919050565b7f5265636c61696d206973206e6f7420656e61626c6564000000000000000000005f82015250565b5f6140476016836136d4565b915061405282614013565b602082019050919050565b5f6020820190508181035f8301526140748161403b565b9050919050565b7f596f7520646f206e6f74206861766520616e7920736f756c626f756e6420416c5f8201527f70686120576f6c76657300000000000000000000000000000000000000000000602082015250565b5f6140d5602a836136d4565b91506140e08261407b565b604082019050919050565b5f6020820190508181035f830152614102816140c9565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050614144816135c2565b92915050565b5f6020828403121561415f5761415e61358a565b5b5f61416c84828501614136565b91505092915050565b7f5468697320416c70686120576f6c66206973206e6f74206f776e6564206279205f8201527f74686520636f6e74726163740000000000000000000000000000000000000000602082015250565b5f6141cf602c836136d4565b91506141da82614175565b604082019050919050565b5f6020820190508181035f8301526141fc816141c3565b9050919050565b7f5468697320416c70686120576f6c66206973206e6f7420736f756c626f756e645f82015250565b5f6142376020836136d4565b915061424282614203565b602082019050919050565b5f6020820190508181035f8301526142648161422b565b9050919050565b5f60608201905061427e5f8301866137d2565b61428b60208301856137d2565b6142986040830184613ac6565b949350505050565b7f4d75737420636c61696d206174206c65617374206f6e650000000000000000005f82015250565b5f6142d46017836136d4565b91506142df826142a0565b602082019050919050565b5f6020820190508181035f830152614301816142c8565b9050919050565b7f596f7520646f206e6f74206f776e207468697320416c70686120576f6c6600005f82015250565b5f61433c601e836136d4565b915061434782614308565b602082019050919050565b5f6020820190508181035f83015261436981614330565b9050919050565b7f5468697320416c70686120576f6c6620697320616c726561647920736f756c625f8201527f6f756e6400000000000000000000000000000000000000000000000000000000602082015250565b5f6143ca6024836136d4565b91506143d582614370565b604082019050919050565b5f6020820190508181035f8301526143f7816143be565b9050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026144647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614429565b61446e8683614429565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6144a96144a461449f84613774565b614486565b613774565b9050919050565b5f819050919050565b6144c28361448f565b6144d66144ce826144b0565b848454614435565b825550505050565b5f90565b6144ea6144de565b6144f58184846144b9565b505050565b5b818110156145185761450d5f826144e2565b6001810190506144fb565b5050565b601f82111561455d5761452e81614408565b6145378461441a565b81016020851015614546578190505b61455a6145528561441a565b8301826144fa565b50505b505050565b5f82821c905092915050565b5f61457d5f1984600802614562565b1980831691505092915050565b5f614595838361456e565b9150826002028217905092915050565b6145af83836143fe565b67ffffffffffffffff8111156145c8576145c7613934565b5b6145d28254613f7b565b6145dd82828561451c565b5f601f83116001811461460a575f84156145f8578287013590505b614602858261458a565b865550614669565b601f19841661461886614408565b5f5b8281101561463f5784890135825560018201915060208501945060208101905061461a565b8683101561465c5784890135614658601f89168261456e565b8355505b6001600288020188555050505b50505050505050565b7f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e74000000000000005f82015250565b5f6146a66019836136d4565b91506146b182614672565b602082019050919050565b5f6020820190508181035f8301526146d38161469a565b9050919050565b5f81905092915050565b5f6146ee826136ca565b6146f881856146da565b93506147088185602086016136e4565b80840191505092915050565b5f61471f82856146e4565b915061472b82846146e4565b91508190509392505050565b5f815190506147458161377d565b92915050565b5f602082840312156147605761475f61358a565b5b5f61476d84828501614737565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6147ad82613774565b91506147b883613774565b92508282019050808211156147d0576147cf614776565b5b92915050565b5f6060820190506147e95f8301866137d2565b6147f66020830185613ac6565b61480360408301846137d2565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f61483f601f836136d4565b915061484a8261480b565b602082019050919050565b5f6020820190508181035f83015261486c81614833565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f61489782614873565b6148a1818561487d565b93506148b18185602086016136e4565b6148ba8161370c565b840191505092915050565b5f6080820190506148d85f8301876137d2565b6148e560208301866137d2565b6148f26040830185613ac6565b8181036060830152614904818461488d565b905095945050505050565b5f8151905061491d81613642565b92915050565b5f602082840312156149385761493761358a565b5b5f6149458482850161490f565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f60408201905061498e5f8301856137d2565b61499b6020830184613ac6565b939250505056fea26469706673582212207481a64272c90cafe450a0f6d0c9f3c898c55781394e37a92500a22344449a5564736f6c63430008160033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.