ERC-20
Overview
Max Total Supply
66,433.71360310379 SEEDS
Holders
476
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3.3781227549 SEEDSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Seeds
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/Seed.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "./FruitsLibrary.sol"; contract Seeds is ERC20Burnable, Ownable { using SafeMath for uint256; /** MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMWKkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkKWMMMMMMMMMMMM MMMMMMMMWKOkdc'..................................'cdkOKWMMMMMMMM MMMMMMWKx:...',;,'''''''''''''''''''''''''''''',;,'...:xKWMMMMMM MMMMWKx:......',;;,,'''''''''''''''''''''''',,;;,'......:xKWMMMM MMWKx:..........',;;,,,,,,,,,,,,,,,,,,,,,,,,;;,'..........:xKWMM WKx:..............',;:;;;;;;;;;;;;;;;;;;;;:;,'..............:xKW No............................................................oN Xl. ..........''''''''''''''''''''''''''''''''''''.......... .lX Xl. ........,oO0000000000000000000000000000000000Oo,........ .lX Xl. ......,oOKKXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXKKOo,...... .lX Xl. ... .:kKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. ... .:OXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXO:. ... .lX Xl. ... .:OXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXO:. ... .lX Xl. ... .:OXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXO:. ... .lX Xl. ... .:OXXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXXO:. ... .lX Xl. .....,oOKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKOo,..... .lX Xl. ..... .c0XXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXX0c. ..... .lX Xl. .......,oOKXKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKXKOo,....... .lX Xl. .........,oOKXXKKKKKKKKKKKKKKKKKKKKKKKKKKXXKOo,......... .lX Xl. ...........,oOKXKKKKKKKKKKKKKKKKKKKKKKKKXKOo,........... .lX Xl. .............,oOKXXXXXXXXXXXXXXXXXXXXXXKOo,............. .lX Nk:................,looooooooooooooooooooool,................:kN MWKc. .................................................... .cKWM MMNk:..............,;;;;;;;;;;;;;;;;;;;;;;;;,..............:kNMM MMMWXx;.............','''''''''''''''''''','.............;xXWMMM MMMMMWXx:...........''''''''''''''''''''''''...........:xXWMMMMM MMMMMMMWXx:;,......................................,;:xXWMMMMMMM MMMMMMMMMWNX0c. .c0XNWMMMMMMMMM :cheese::astronaut::cheese: RIP 7767 :cheese::astronaut::cheese: **/ // uint256 public MAX_WALLET_STAKED = 24; // uint256 public EMISSIONS_RATE = 11574070000000; // uint256 public CLAIM_END_TIME = 1641013200; address nullAddress = 0x0000000000000000000000000000000000000000; address[] public fruitAddresses; //Mapping of contract to max wallet staked mapping(address => uint256) internal maxWalletStaked; //Mapping of contract to emissions rate mapping(address => uint256) internal emissionsRate; //Mapping of contract to claim end time mapping(address => uint256) internal claimEndTime; //Mapping of contract to fruit to timestamp mapping(address => mapping(uint256 => uint256)) internal tokenIdToTimeStamp; //Mapping of contract to fruit to staker mapping(address => mapping(uint256 => address)) internal tokenIdToStaker; //Mapping of contract to staker to fruits mapping(address => mapping(address => uint256[])) internal stakerToTokenIds; constructor() ERC20("Seeds", "SEEDS") {} function addFruitAddress(address _fruitAddress, uint256 _maxWalletStaked, uint256 _emissionsRate, uint256 _claimEndTime) public onlyOwner { require(!isFruitAddress(_fruitAddress),"Phew... That would've been a #7767 moment! :pepega:"); fruitAddresses.push(_fruitAddress); maxWalletStaked[_fruitAddress] = _maxWalletStaked; emissionsRate[_fruitAddress] = _emissionsRate; claimEndTime[_fruitAddress] = _claimEndTime; return; } function isFruitAddress(address _fruitAddress) public view returns (bool){ return getFruitIndex(_fruitAddress) != 999; } function getFruitIndex(address _fruitAddress) public view returns (uint256){ for(uint256 i = 0; i < fruitAddresses.length; i++){ if(fruitAddresses[i] == _fruitAddress){ return i; } } return 999; } function getFruitClaimEndTime(address _fruitAddress) public view returns(uint256) { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); return claimEndTime[_fruitAddress]; } function getFruitEmissionsRate(address _fruitAddress) public view returns(uint256) { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); return emissionsRate[_fruitAddress]; } function getFruitMaxWalletStaked(address _fruitAddress) public view returns(uint256) { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); return maxWalletStaked[_fruitAddress]; } function getTokensStaked(address _fruitAddress, address staker) public view returns (uint256[] memory) { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); return stakerToTokenIds[_fruitAddress][staker]; } function remove(address _fruitAddress, address staker, uint256 index) internal { if (index >= stakerToTokenIds[_fruitAddress][staker].length) return; for (uint256 i = index; i < stakerToTokenIds[_fruitAddress][staker].length - 1; i++) { stakerToTokenIds[_fruitAddress][staker][i] = stakerToTokenIds[_fruitAddress][staker][i + 1]; } stakerToTokenIds[_fruitAddress][staker].pop(); } function removeTokenIdFromStaker(address _fruitAddress, address staker, uint256 tokenId) internal { for (uint256 i = 0; i < stakerToTokenIds[_fruitAddress][staker].length; i++) { if (stakerToTokenIds[_fruitAddress][staker][i] == tokenId) { //This is the tokenId to remove; remove(_fruitAddress, staker, i); } } } function stakeByIds(address _fruitAddress, uint256[] memory tokenIds) public { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); require( stakerToTokenIds[_fruitAddress][msg.sender].length + tokenIds.length <= maxWalletStaked[_fruitAddress], string(abi.encodePacked("Must have less than ",FruitsLibrary.toString(maxWalletStaked[_fruitAddress])," fruits staked!")) ); for (uint256 i = 0; i < tokenIds.length; i++) { require( IERC721(_fruitAddress).ownerOf(tokenIds[i]) == msg.sender && tokenIdToStaker[_fruitAddress][tokenIds[i]] == nullAddress, "Token must be stakable by you!" ); IERC721(_fruitAddress).transferFrom( msg.sender, address(this), tokenIds[i] ); stakerToTokenIds[_fruitAddress][msg.sender].push(tokenIds[i]); tokenIdToTimeStamp[_fruitAddress][tokenIds[i]] = block.timestamp; tokenIdToStaker[_fruitAddress][tokenIds[i]] = msg.sender; } } function unstakeAll(address _fruitAddress) public { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); require( stakerToTokenIds[_fruitAddress][msg.sender].length > 0, "Must have at least one token staked!" ); uint256 totalRewards = 0; for (uint256 i = stakerToTokenIds[_fruitAddress][msg.sender].length; i > 0; i--) { uint256 tokenId = stakerToTokenIds[_fruitAddress][msg.sender][i - 1]; IERC721(_fruitAddress).transferFrom( address(this), msg.sender, tokenId ); totalRewards = totalRewards + ((block.timestamp - tokenIdToTimeStamp[_fruitAddress][tokenId]) * emissionsRate[_fruitAddress]); removeTokenIdFromStaker(_fruitAddress, msg.sender, tokenId); tokenIdToStaker[_fruitAddress][tokenId] = nullAddress; } _mint(msg.sender, totalRewards); } function unstakeByIds(address _fruitAddress, uint256[] memory tokenIds) public { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { require( tokenIdToStaker[_fruitAddress][tokenIds[i]] == msg.sender, "Message Sender was not original staker!" ); IERC721(_fruitAddress).transferFrom( address(this), msg.sender, tokenIds[i] ); totalRewards = totalRewards + ((block.timestamp - tokenIdToTimeStamp[_fruitAddress][tokenIds[i]]) * emissionsRate[_fruitAddress]); removeTokenIdFromStaker(_fruitAddress, msg.sender, tokenIds[i]); tokenIdToStaker[_fruitAddress][tokenIds[i]] = nullAddress; } _mint(msg.sender, totalRewards); } function claimByTokenId(address _fruitAddress, uint256 tokenId) public { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); require( tokenIdToStaker[_fruitAddress][tokenId] == msg.sender, "Token is not claimable by you!" ); require(block.timestamp < claimEndTime[_fruitAddress], "Claim period is over!"); _mint( msg.sender, ((block.timestamp - tokenIdToTimeStamp[_fruitAddress][tokenId]) * emissionsRate[_fruitAddress]) ); tokenIdToTimeStamp[_fruitAddress][tokenId] = block.timestamp; } function claimAll(address _fruitAddress) public { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); require(block.timestamp < claimEndTime[_fruitAddress], "Claim period is over!"); uint256[] memory tokenIds = stakerToTokenIds[_fruitAddress][msg.sender]; uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { require( tokenIdToStaker[_fruitAddress][tokenIds[i]] == msg.sender, "Token is not claimable by you!" ); totalRewards = totalRewards + ((block.timestamp - tokenIdToTimeStamp[_fruitAddress][tokenIds[i]]) * emissionsRate[_fruitAddress]); tokenIdToTimeStamp[_fruitAddress][tokenIds[i]] = block.timestamp; } _mint(msg.sender, totalRewards); } function getAllRewards(address _fruitAddress, address staker) public view returns (uint256) { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); uint256[] memory tokenIds = stakerToTokenIds[_fruitAddress][staker]; uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { totalRewards = totalRewards + ((block.timestamp - tokenIdToTimeStamp[_fruitAddress][tokenIds[i]]) * emissionsRate[_fruitAddress]); } return totalRewards; } function getRewardsByTokenId(address _fruitAddress, uint256 tokenId) public view returns (uint256) { require(isFruitAddress(_fruitAddress),"Fruit contract address must be valid!"); require( tokenIdToStaker[_fruitAddress][tokenId] != nullAddress, "Token is not staked!" ); uint256 secondsStaked = block.timestamp - tokenIdToTimeStamp[_fruitAddress][tokenId]; return secondsStaked * emissionsRate[_fruitAddress]; } function getStaker(address _fruitAddress, uint256 tokenId) public view returns (address) { return tokenIdToStaker[_fruitAddress][tokenId]; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ 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 substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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 addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; library FruitsLibrary { string internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ""; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for { } lt(dataPtr, endPtr) { } { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(6, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(input, 0x3F)))) ) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } function parseInt(string memory _a) internal pure returns (uint8 _parsedInt) { bytes memory bresult = bytes(_a); uint8 mint = 0; for (uint8 i = 0; i < bresult.length; i++) { if ( (uint8(uint8(bresult[i])) >= 48) && (uint8(uint8(bresult[i])) <= 57) ) { mint *= 10; mint += uint8(bresult[i]) - 48; } } return mint; } function subbyte( bytes memory strBytes, uint256 startIndex, uint256 endIndex ) internal pure returns (string memory) { bytes memory result = new bytes(endIndex - startIndex); for (uint256 i = startIndex; i < endIndex; i++) { result[i - startIndex] = strBytes[i]; } return string(result); } function substring( string memory str, uint256 startIndex, uint256 endIndex ) internal pure returns (string memory) { bytes memory strBytes = bytes(str); bytes memory result = new bytes(endIndex - startIndex); for (uint256 i = startIndex; i < endIndex; i++) { result[i - startIndex] = strBytes[i]; } return string(result); } function slice( string memory str, uint startIndex ) internal pure returns (string memory) { bytes memory strBytes = bytes(str); return substring(str,strBytes.length-startIndex,strBytes.length); } function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"uint256","name":"_maxWalletStaked","type":"uint256"},{"internalType":"uint256","name":"_emissionsRate","type":"uint256"},{"internalType":"uint256","name":"_claimEndTime","type":"uint256"}],"name":"addFruitAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"}],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimByTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fruitAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"address","name":"staker","type":"address"}],"name":"getAllRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"}],"name":"getFruitClaimEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"}],"name":"getFruitEmissionsRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"}],"name":"getFruitIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"}],"name":"getFruitMaxWalletStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRewardsByTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStaker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"address","name":"staker","type":"address"}],"name":"getTokensStaked","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"}],"name":"isFruitAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"}],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fruitAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeByIds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200005357600080fd5b506040518060400160405280600581526020017f53656564730000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f53454544530000000000000000000000000000000000000000000000000000008152508160039080519060200190620000d8929190620001e8565b508060049080519060200190620000f1929190620001e8565b50505062000114620001086200011a60201b60201c565b6200012260201b60201c565b620002fd565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f690620002c7565b90600052602060002090601f0160209004810192826200021a576000855562000266565b82601f106200023557805160ff191683800117855562000266565b8280016001018555821562000266579182015b828111156200026557825182559160200191906001019062000248565b5b50905062000275919062000279565b5090565b5b80821115620002945760008160009055506001016200027a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002e057607f821691505b60208210811415620002f757620002f662000298565b5b50919050565b615102806200030d6000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80635f8634551161010f578063a0d6ff9a116100a2578063bd53595d11610071578063bd53595d14610615578063dd62ed3e14610645578063ee39740b14610675578063f2fde38b146106a5576101f0565b8063a0d6ff9a14610569578063a457c2d714610585578063a9059cbb146105b5578063bbf76f69146105e5576101f0565b806377329f35116100de57806377329f35146104f557806379cc6790146105115780638da5cb5b1461052d57806395d89b411461054b576101f0565b80635f8634551461045b578063664cf6b21461048b57806370a08231146104bb578063715018a6146104eb576101f0565b8063338258171161018757806342966c681161015657806342966c68146103c35780634c4a27cf146103df57806354f3596b1461040f5780635b0169a01461042b576101f0565b8063338258171461031757806339509351146103335780633f2fbcb714610363578063402d623214610393576101f0565b806318160ddd116101c357806318160ddd1461027b578063185daa061461029957806323b872dd146102c9578063313ce567146102f9576101f0565b806302a37b8a146101f557806306fdde0314610211578063095ea7b31461022f5780631268b5241461025f575b600080fd5b61020f600480360381019061020a9190613bd2565b6106c1565b005b6102196108bb565b6040516102269190613cd2565b60405180910390f35b61024960048036038101906102449190613cf4565b61094d565b6040516102569190613d4f565b60405180910390f35b61027960048036038101906102749190613eb2565b61096b565b005b610283610d21565b6040516102909190613f1d565b60405180910390f35b6102b360048036038101906102ae9190613f38565b610d2b565b6040516102c09190613f1d565b60405180910390f35b6102e360048036038101906102de9190613f65565b610dbc565b6040516102f09190613d4f565b60405180910390f35b610301610eb4565b60405161030e9190613fd4565b60405180910390f35b610331600480360381019061032c9190613cf4565b610ebd565b005b61034d60048036038101906103489190613cf4565b61116c565b60405161035a9190613d4f565b60405180910390f35b61037d60048036038101906103789190613cf4565b611218565b60405161038a9190613ffe565b60405180910390f35b6103ad60048036038101906103a89190613f38565b611293565b6040516103ba9190613f1d565b60405180910390f35b6103dd60048036038101906103d89190614019565b611324565b005b6103f960048036038101906103f49190613cf4565b611338565b6040516104069190613f1d565b60405180910390f35b61042960048036038101906104249190613eb2565b611537565b005b61044560048036038101906104409190614046565b611b6b565b6040516104529190614144565b60405180910390f35b61047560048036038101906104709190613f38565b611c88565b6040516104829190613f1d565b60405180910390f35b6104a560048036038101906104a09190613f38565b611d37565b6040516104b29190613d4f565b60405180910390f35b6104d560048036038101906104d09190613f38565b611d4e565b6040516104e29190613f1d565b60405180910390f35b6104f3611d96565b005b61050f600480360381019061050a9190613f38565b611e1e565b005b61052b60048036038101906105269190613cf4565b61221a565b005b610535612295565b6040516105429190613ffe565b60405180910390f35b6105536122bf565b6040516105609190613cd2565b60405180910390f35b610583600480360381019061057e9190613f38565b612351565b005b61059f600480360381019061059a9190613cf4565b612794565b6040516105ac9190613d4f565b60405180910390f35b6105cf60048036038101906105ca9190613cf4565b61287f565b6040516105dc9190613d4f565b60405180910390f35b6105ff60048036038101906105fa9190614046565b61289d565b60405161060c9190613f1d565b60405180910390f35b61062f600480360381019061062a9190614019565b612aaf565b60405161063c9190613ffe565b60405180910390f35b61065f600480360381019061065a9190614046565b612aee565b60405161066c9190613f1d565b60405180910390f35b61068f600480360381019061068a9190613f38565b612b75565b60405161069c9190613f1d565b60405180910390f35b6106bf60048036038101906106ba9190613f38565b612c06565b005b6106c9612cfe565b73ffffffffffffffffffffffffffffffffffffffff166106e7612295565b73ffffffffffffffffffffffffffffffffffffffff161461073d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610734906141b2565b60405180910390fd5b61074684611d37565b15610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90614244565b60405180910390fd5b6007849080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6060600380546108ca90614293565b80601f01602080910402602001604051908101604052809291908181526020018280546108f690614293565b80156109435780601f1061091857610100808354040283529160200191610943565b820191906000526020600020905b81548152906001019060200180831161092657829003601f168201915b5050505050905090565b600061096161095a612cfe565b8484612d06565b6001905092915050565b61097482611d37565b6109b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109aa90614337565b60405180910390fd5b6000805b8251811015610d11573373ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110610a2b57610a2a614357565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaf906143f8565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd3033868581518110610ae957610ae8614357565b5b60200260200101516040518463ffffffff1660e01b8152600401610b0f93929190614418565b600060405180830381600087803b158015610b2957600080fd5b505af1158015610b3d573d6000803e3d6000fd5b50505050600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110610bd557610bd4614357565b5b602002602001015181526020019081526020016000205442610bf7919061447e565b610c0191906144b2565b82610c0c919061450c565b9150610c338433858481518110610c2657610c25614357565b5b6020026020010151612ed1565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110610caa57610ca9614357565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610d0990614562565b9150506109b7565b50610d1c3382613020565b505050565b6000600254905090565b6000610d3682611d37565b610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90614337565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610dc9848484613180565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610e14612cfe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8b9061461d565b60405180910390fd5b610ea885610ea0612cfe565b858403612d06565b60019150509392505050565b60006012905090565b610ec682611d37565b610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc90614337565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90614689565b60405180910390fd5b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544210611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105b906146f5565b60405180910390fd5b61111333600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205442611104919061447e565b61110e91906144b2565b613020565b42600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020819055505050565b600061120e611179612cfe565b848460016000611187612cfe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611209919061450c565b612d06565b6001905092915050565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b600061129e82611d37565b6112dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d490614337565b60405180910390fd5b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61133561132f612cfe565b82613401565b50565b600061134383611d37565b611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990614337565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614761565b60405180910390fd5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054426114e1919061447e565b9050600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548161152e91906144b2565b91505092915050565b61154082611d37565b61157f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157690614337565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548151600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061164b919061450c565b1115611695600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135d8565b6040516020016116a59190614855565b604051602081830303815290604052906116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec9190613cd2565b60405180910390fd5b5060005b8151811015611b66573373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e84848151811061174857611747614357565b5b60200260200101516040518263ffffffff1660e01b815260040161176c9190613f1d565b60206040518083038186803b15801561178457600080fd5b505afa158015611798573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bc9190614897565b73ffffffffffffffffffffffffffffffffffffffff161480156118b65750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084848151811061186757611866614357565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90614910565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd333085858151811061192657611925614357565b5b60200260200101516040518463ffffffff1660e01b815260040161194c93929190614418565b600060405180830381600087803b15801561196657600080fd5b505af115801561197a573d6000803e3d6000fd5b50505050600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828281518110611a0d57611a0c614357565b5b6020026020010151908060018154018082558091505060019003906000526020600020016000909190919091505542600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848481518110611a9057611a8f614357565b5b602002602001015181526020019081526020016000208190555033600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848481518110611aff57611afe614357565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611b5e90614562565b9150506116f9565b505050565b6060611b7683611d37565b611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90614337565b60405180910390fd5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611c7b57602002820191906000526020600020905b815481526020019060010190808311611c67575b5050505050905092915050565b600080600090505b600780549050811015611d2b578273ffffffffffffffffffffffffffffffffffffffff1660078281548110611cc857611cc7614357565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d185780915050611d32565b8080611d2390614562565b915050611c90565b506103e790505b919050565b60006103e7611d4583611c88565b14159050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d9e612cfe565b73ffffffffffffffffffffffffffffffffffffffff16611dbc612295565b73ffffffffffffffffffffffffffffffffffffffff1614611e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e09906141b2565b60405180910390fd5b611e1c6000613739565b565b611e2781611d37565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614337565b60405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544210611ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ede906146f5565b60405180910390fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611faf57602002820191906000526020600020905b815481526020019060010190808311611f9b575b505050505090506000805b825181101561220a573373ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085848151811061202e5761202d614357565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b290614689565b60405180910390fd5b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085848151811061214f5761214e614357565b5b602002602001015181526020019081526020016000205442612171919061447e565b61217b91906144b2565b82612186919061450c565b915042600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008584815181106121dd576121dc614357565b5b6020026020010151815260200190815260200160002081905550808061220290614562565b915050611fba565b506122153382613020565b505050565b600061222d83612228612cfe565b612aee565b905081811015612272576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612269906149a2565b60405180910390fd5b6122868361227e612cfe565b848403612d06565b6122908383613401565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546122ce90614293565b80601f01602080910402602001604051908101604052809291908181526020018280546122fa90614293565b80156123475780601f1061231c57610100808354040283529160200191612347565b820191906000526020600020905b81548152906001019060200180831161232a57829003601f168201915b5050505050905090565b61235a81611d37565b612399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239090614337565b60405180910390fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501161245b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245290614a34565b60405180910390fd5b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905090505b6000811115612785576000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600183612575919061447e565b8154811061258657612585614357565b5b906000526020600020015490508373ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b81526004016125d093929190614418565b600060405180830381600087803b1580156125ea57600080fd5b505af11580156125fe573d6000803e3d6000fd5b50505050600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020544261269e919061447e565b6126a891906144b2565b836126b3919061450c565b92506126c0843383612ed1565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050808061277d90614a54565b9150506124e1565b506127903382613020565b5050565b600080600160006127a3612cfe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614af0565b60405180910390fd5b61287461286b612cfe565b85858403612d06565b600191505092915050565b600061289361288c612cfe565b8484613180565b6001905092915050565b60006128a883611d37565b6128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de90614337565b60405180910390fd5b6000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156129af57602002820191906000526020600020905b81548152602001906001019080831161299b575b505050505090506000805b8251811015612aa357600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110612a5757612a56614357565b5b602002602001015181526020019081526020016000205442612a79919061447e565b612a8391906144b2565b82612a8e919061450c565b91508080612a9b90614562565b9150506129ba565b50809250505092915050565b60078181548110612abf57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000612b8082611d37565b612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb690614337565b60405180910390fd5b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612c0e612cfe565b73ffffffffffffffffffffffffffffffffffffffff16612c2c612295565b73ffffffffffffffffffffffffffffffffffffffff1614612c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c79906141b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce990614b82565b60405180910390fd5b612cfb81613739565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6d90614c14565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddd90614ca6565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612ec49190613f1d565b60405180910390a3505050565b60005b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905081101561301a5781600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612fea57612fe9614357565b5b90600052602060002001541415613007576130068484836137ff565b5b808061301290614562565b915050612ed4565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308790614d12565b60405180910390fd5b61309c60008383613b20565b80600260008282546130ae919061450c565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613103919061450c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516131689190613f1d565b60405180910390a361317c60008383613b25565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e790614da4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325790614e36565b60405180910390fd5b61326b838383613b20565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156132f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e890614ec8565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613384919061450c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516133e89190613f1d565b60405180910390a36133fb848484613b25565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346890614f5a565b60405180910390fd5b61347d82600083613b20565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fa90614fec565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461355a919061447e565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516135bf9190613f1d565b60405180910390a36135d383600084613b25565b505050565b60606000821415613620576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613734565b600082905060005b6000821461365257808061363b90614562565b915050600a8261364b919061503b565b9150613628565b60008167ffffffffffffffff81111561366e5761366d613d6f565b5b6040519080825280601f01601f1916602001820160405280156136a05781602001600182028036833780820191505090505b5090505b6000851461372d576001826136b9919061447e565b9150600a856136c8919061506c565b60306136d4919061450c565b60f81b8183815181106136ea576136e9614357565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613726919061503b565b94506136a4565b8093505050505b919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811061388a57613b1b565b60008190505b6001600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061391c919061447e565b811015613a7757600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001826139ac919061450c565b815481106139bd576139bc614357565b5b9060005260206000200154600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110613a5657613a55614357565b5b90600052602060002001819055508080613a6f90614562565b915050613890565b50600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480613b0457613b0361509d565b5b600190038181906000526020600020016000905590555b505050565b505050565b505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b6982613b3e565b9050919050565b613b7981613b5e565b8114613b8457600080fd5b50565b600081359050613b9681613b70565b92915050565b6000819050919050565b613baf81613b9c565b8114613bba57600080fd5b50565b600081359050613bcc81613ba6565b92915050565b60008060008060808587031215613bec57613beb613b34565b5b6000613bfa87828801613b87565b9450506020613c0b87828801613bbd565b9350506040613c1c87828801613bbd565b9250506060613c2d87828801613bbd565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c73578082015181840152602081019050613c58565b83811115613c82576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ca482613c39565b613cae8185613c44565b9350613cbe818560208601613c55565b613cc781613c88565b840191505092915050565b60006020820190508181036000830152613cec8184613c99565b905092915050565b60008060408385031215613d0b57613d0a613b34565b5b6000613d1985828601613b87565b9250506020613d2a85828601613bbd565b9150509250929050565b60008115159050919050565b613d4981613d34565b82525050565b6000602082019050613d646000830184613d40565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613da782613c88565b810181811067ffffffffffffffff82111715613dc657613dc5613d6f565b5b80604052505050565b6000613dd9613b2a565b9050613de58282613d9e565b919050565b600067ffffffffffffffff821115613e0557613e04613d6f565b5b602082029050602081019050919050565b600080fd5b6000613e2e613e2984613dea565b613dcf565b90508083825260208201905060208402830185811115613e5157613e50613e16565b5b835b81811015613e7a5780613e668882613bbd565b845260208401935050602081019050613e53565b5050509392505050565b600082601f830112613e9957613e98613d6a565b5b8135613ea9848260208601613e1b565b91505092915050565b60008060408385031215613ec957613ec8613b34565b5b6000613ed785828601613b87565b925050602083013567ffffffffffffffff811115613ef857613ef7613b39565b5b613f0485828601613e84565b9150509250929050565b613f1781613b9c565b82525050565b6000602082019050613f326000830184613f0e565b92915050565b600060208284031215613f4e57613f4d613b34565b5b6000613f5c84828501613b87565b91505092915050565b600080600060608486031215613f7e57613f7d613b34565b5b6000613f8c86828701613b87565b9350506020613f9d86828701613b87565b9250506040613fae86828701613bbd565b9150509250925092565b600060ff82169050919050565b613fce81613fb8565b82525050565b6000602082019050613fe96000830184613fc5565b92915050565b613ff881613b5e565b82525050565b60006020820190506140136000830184613fef565b92915050565b60006020828403121561402f5761402e613b34565b5b600061403d84828501613bbd565b91505092915050565b6000806040838503121561405d5761405c613b34565b5b600061406b85828601613b87565b925050602061407c85828601613b87565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140bb81613b9c565b82525050565b60006140cd83836140b2565b60208301905092915050565b6000602082019050919050565b60006140f182614086565b6140fb8185614091565b9350614106836140a2565b8060005b8381101561413757815161411e88826140c1565b9750614129836140d9565b92505060018101905061410a565b5085935050505092915050565b6000602082019050818103600083015261415e81846140e6565b905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061419c602083613c44565b91506141a782614166565b602082019050919050565b600060208201905081810360008301526141cb8161418f565b9050919050565b7f506865772e2e2e205468617420776f756c64277665206265656e20612023373760008201527f3637206d6f6d656e7421203a7065706567613a00000000000000000000000000602082015250565b600061422e603383613c44565b9150614239826141d2565b604082019050919050565b6000602082019050818103600083015261425d81614221565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142ab57607f821691505b602082108114156142bf576142be614264565b5b50919050565b7f467275697420636f6e74726163742061646472657373206d757374206265207660008201527f616c696421000000000000000000000000000000000000000000000000000000602082015250565b6000614321602583613c44565b915061432c826142c5565b604082019050919050565b6000602082019050818103600083015261435081614314565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d6573736167652053656e64657220776173206e6f74206f726967696e616c2060008201527f7374616b65722100000000000000000000000000000000000000000000000000602082015250565b60006143e2602783613c44565b91506143ed82614386565b604082019050919050565b60006020820190508181036000830152614411816143d5565b9050919050565b600060608201905061442d6000830186613fef565b61443a6020830185613fef565b6144476040830184613f0e565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061448982613b9c565b915061449483613b9c565b9250828210156144a7576144a661444f565b5b828203905092915050565b60006144bd82613b9c565b91506144c883613b9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145015761450061444f565b5b828202905092915050565b600061451782613b9c565b915061452283613b9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145575761455661444f565b5b828201905092915050565b600061456d82613b9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145a05761459f61444f565b5b600182019050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000614607602883613c44565b9150614612826145ab565b604082019050919050565b60006020820190508181036000830152614636816145fa565b9050919050565b7f546f6b656e206973206e6f7420636c61696d61626c6520627920796f75210000600082015250565b6000614673601e83613c44565b915061467e8261463d565b602082019050919050565b600060208201905081810360008301526146a281614666565b9050919050565b7f436c61696d20706572696f64206973206f766572210000000000000000000000600082015250565b60006146df601583613c44565b91506146ea826146a9565b602082019050919050565b6000602082019050818103600083015261470e816146d2565b9050919050565b7f546f6b656e206973206e6f74207374616b656421000000000000000000000000600082015250565b600061474b601483613c44565b915061475682614715565b602082019050919050565b6000602082019050818103600083015261477a8161473e565b9050919050565b600081905092915050565b7f4d7573742068617665206c657373207468616e20000000000000000000000000600082015250565b60006147c2601483614781565b91506147cd8261478c565b601482019050919050565b60006147e382613c39565b6147ed8185614781565b93506147fd818560208601613c55565b80840191505092915050565b7f20667275697473207374616b6564210000000000000000000000000000000000600082015250565b600061483f600f83614781565b915061484a82614809565b600f82019050919050565b6000614860826147b5565b915061486c82846147d8565b915061487782614832565b915081905092915050565b60008151905061489181613b70565b92915050565b6000602082840312156148ad576148ac613b34565b5b60006148bb84828501614882565b91505092915050565b7f546f6b656e206d757374206265207374616b61626c6520627920796f75210000600082015250565b60006148fa601e83613c44565b9150614905826148c4565b602082019050919050565b60006020820190508181036000830152614929816148ed565b9050919050565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061498c602483613c44565b915061499782614930565b604082019050919050565b600060208201905081810360008301526149bb8161497f565b9050919050565b7f4d7573742068617665206174206c65617374206f6e6520746f6b656e2073746160008201527f6b65642100000000000000000000000000000000000000000000000000000000602082015250565b6000614a1e602483613c44565b9150614a29826149c2565b604082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b6000614a5f82613b9c565b91506000821415614a7357614a7261444f565b5b600182039050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614ada602583613c44565b9150614ae582614a7e565b604082019050919050565b60006020820190508181036000830152614b0981614acd565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b6c602683613c44565b9150614b7782614b10565b604082019050919050565b60006020820190508181036000830152614b9b81614b5f565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614bfe602483613c44565b9150614c0982614ba2565b604082019050919050565b60006020820190508181036000830152614c2d81614bf1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c90602283613c44565b9150614c9b82614c34565b604082019050919050565b60006020820190508181036000830152614cbf81614c83565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614cfc601f83613c44565b9150614d0782614cc6565b602082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614d8e602583613c44565b9150614d9982614d32565b604082019050919050565b60006020820190508181036000830152614dbd81614d81565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614e20602383613c44565b9150614e2b82614dc4565b604082019050919050565b60006020820190508181036000830152614e4f81614e13565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614eb2602683613c44565b9150614ebd82614e56565b604082019050919050565b60006020820190508181036000830152614ee181614ea5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f44602183613c44565b9150614f4f82614ee8565b604082019050919050565b60006020820190508181036000830152614f7381614f37565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000614fd6602283613c44565b9150614fe182614f7a565b604082019050919050565b6000602082019050818103600083015261500581614fc9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504682613b9c565b915061505183613b9c565b9250826150615761506061500c565b5b828204905092915050565b600061507782613b9c565b915061508283613b9c565b9250826150925761509161500c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220abb5f99dd40ff24205b7098c72aca4e438f7b350a6a5ebeee86b414eb5814ff464736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80635f8634551161010f578063a0d6ff9a116100a2578063bd53595d11610071578063bd53595d14610615578063dd62ed3e14610645578063ee39740b14610675578063f2fde38b146106a5576101f0565b8063a0d6ff9a14610569578063a457c2d714610585578063a9059cbb146105b5578063bbf76f69146105e5576101f0565b806377329f35116100de57806377329f35146104f557806379cc6790146105115780638da5cb5b1461052d57806395d89b411461054b576101f0565b80635f8634551461045b578063664cf6b21461048b57806370a08231146104bb578063715018a6146104eb576101f0565b8063338258171161018757806342966c681161015657806342966c68146103c35780634c4a27cf146103df57806354f3596b1461040f5780635b0169a01461042b576101f0565b8063338258171461031757806339509351146103335780633f2fbcb714610363578063402d623214610393576101f0565b806318160ddd116101c357806318160ddd1461027b578063185daa061461029957806323b872dd146102c9578063313ce567146102f9576101f0565b806302a37b8a146101f557806306fdde0314610211578063095ea7b31461022f5780631268b5241461025f575b600080fd5b61020f600480360381019061020a9190613bd2565b6106c1565b005b6102196108bb565b6040516102269190613cd2565b60405180910390f35b61024960048036038101906102449190613cf4565b61094d565b6040516102569190613d4f565b60405180910390f35b61027960048036038101906102749190613eb2565b61096b565b005b610283610d21565b6040516102909190613f1d565b60405180910390f35b6102b360048036038101906102ae9190613f38565b610d2b565b6040516102c09190613f1d565b60405180910390f35b6102e360048036038101906102de9190613f65565b610dbc565b6040516102f09190613d4f565b60405180910390f35b610301610eb4565b60405161030e9190613fd4565b60405180910390f35b610331600480360381019061032c9190613cf4565b610ebd565b005b61034d60048036038101906103489190613cf4565b61116c565b60405161035a9190613d4f565b60405180910390f35b61037d60048036038101906103789190613cf4565b611218565b60405161038a9190613ffe565b60405180910390f35b6103ad60048036038101906103a89190613f38565b611293565b6040516103ba9190613f1d565b60405180910390f35b6103dd60048036038101906103d89190614019565b611324565b005b6103f960048036038101906103f49190613cf4565b611338565b6040516104069190613f1d565b60405180910390f35b61042960048036038101906104249190613eb2565b611537565b005b61044560048036038101906104409190614046565b611b6b565b6040516104529190614144565b60405180910390f35b61047560048036038101906104709190613f38565b611c88565b6040516104829190613f1d565b60405180910390f35b6104a560048036038101906104a09190613f38565b611d37565b6040516104b29190613d4f565b60405180910390f35b6104d560048036038101906104d09190613f38565b611d4e565b6040516104e29190613f1d565b60405180910390f35b6104f3611d96565b005b61050f600480360381019061050a9190613f38565b611e1e565b005b61052b60048036038101906105269190613cf4565b61221a565b005b610535612295565b6040516105429190613ffe565b60405180910390f35b6105536122bf565b6040516105609190613cd2565b60405180910390f35b610583600480360381019061057e9190613f38565b612351565b005b61059f600480360381019061059a9190613cf4565b612794565b6040516105ac9190613d4f565b60405180910390f35b6105cf60048036038101906105ca9190613cf4565b61287f565b6040516105dc9190613d4f565b60405180910390f35b6105ff60048036038101906105fa9190614046565b61289d565b60405161060c9190613f1d565b60405180910390f35b61062f600480360381019061062a9190614019565b612aaf565b60405161063c9190613ffe565b60405180910390f35b61065f600480360381019061065a9190614046565b612aee565b60405161066c9190613f1d565b60405180910390f35b61068f600480360381019061068a9190613f38565b612b75565b60405161069c9190613f1d565b60405180910390f35b6106bf60048036038101906106ba9190613f38565b612c06565b005b6106c9612cfe565b73ffffffffffffffffffffffffffffffffffffffff166106e7612295565b73ffffffffffffffffffffffffffffffffffffffff161461073d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610734906141b2565b60405180910390fd5b61074684611d37565b15610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90614244565b60405180910390fd5b6007849080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6060600380546108ca90614293565b80601f01602080910402602001604051908101604052809291908181526020018280546108f690614293565b80156109435780601f1061091857610100808354040283529160200191610943565b820191906000526020600020905b81548152906001019060200180831161092657829003601f168201915b5050505050905090565b600061096161095a612cfe565b8484612d06565b6001905092915050565b61097482611d37565b6109b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109aa90614337565b60405180910390fd5b6000805b8251811015610d11573373ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110610a2b57610a2a614357565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaf906143f8565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd3033868581518110610ae957610ae8614357565b5b60200260200101516040518463ffffffff1660e01b8152600401610b0f93929190614418565b600060405180830381600087803b158015610b2957600080fd5b505af1158015610b3d573d6000803e3d6000fd5b50505050600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110610bd557610bd4614357565b5b602002602001015181526020019081526020016000205442610bf7919061447e565b610c0191906144b2565b82610c0c919061450c565b9150610c338433858481518110610c2657610c25614357565b5b6020026020010151612ed1565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110610caa57610ca9614357565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610d0990614562565b9150506109b7565b50610d1c3382613020565b505050565b6000600254905090565b6000610d3682611d37565b610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90614337565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610dc9848484613180565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610e14612cfe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8b9061461d565b60405180910390fd5b610ea885610ea0612cfe565b858403612d06565b60019150509392505050565b60006012905090565b610ec682611d37565b610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc90614337565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fda90614689565b60405180910390fd5b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544210611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105b906146f5565b60405180910390fd5b61111333600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000205442611104919061447e565b61110e91906144b2565b613020565b42600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020819055505050565b600061120e611179612cfe565b848460016000611187612cfe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611209919061450c565b612d06565b6001905092915050565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905092915050565b600061129e82611d37565b6112dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d490614337565b60405180910390fd5b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61133561132f612cfe565b82613401565b50565b600061134383611d37565b611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990614337565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614761565b60405180910390fd5b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054426114e1919061447e565b9050600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548161152e91906144b2565b91505092915050565b61154082611d37565b61157f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157690614337565b60405180910390fd5b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548151600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061164b919061450c565b1115611695600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135d8565b6040516020016116a59190614855565b604051602081830303815290604052906116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec9190613cd2565b60405180910390fd5b5060005b8151811015611b66573373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e84848151811061174857611747614357565b5b60200260200101516040518263ffffffff1660e01b815260040161176c9190613f1d565b60206040518083038186803b15801561178457600080fd5b505afa158015611798573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bc9190614897565b73ffffffffffffffffffffffffffffffffffffffff161480156118b65750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084848151811061186757611866614357565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90614910565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd333085858151811061192657611925614357565b5b60200260200101516040518463ffffffff1660e01b815260040161194c93929190614418565b600060405180830381600087803b15801561196657600080fd5b505af115801561197a573d6000803e3d6000fd5b50505050600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828281518110611a0d57611a0c614357565b5b6020026020010151908060018154018082558091505060019003906000526020600020016000909190919091505542600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848481518110611a9057611a8f614357565b5b602002602001015181526020019081526020016000208190555033600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848481518110611aff57611afe614357565b5b6020026020010151815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611b5e90614562565b9150506116f9565b505050565b6060611b7683611d37565b611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90614337565b60405180910390fd5b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611c7b57602002820191906000526020600020905b815481526020019060010190808311611c67575b5050505050905092915050565b600080600090505b600780549050811015611d2b578273ffffffffffffffffffffffffffffffffffffffff1660078281548110611cc857611cc7614357565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d185780915050611d32565b8080611d2390614562565b915050611c90565b506103e790505b919050565b60006103e7611d4583611c88565b14159050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d9e612cfe565b73ffffffffffffffffffffffffffffffffffffffff16611dbc612295565b73ffffffffffffffffffffffffffffffffffffffff1614611e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e09906141b2565b60405180910390fd5b611e1c6000613739565b565b611e2781611d37565b611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614337565b60405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544210611ee7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ede906146f5565b60405180910390fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611faf57602002820191906000526020600020905b815481526020019060010190808311611f9b575b505050505090506000805b825181101561220a573373ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085848151811061202e5761202d614357565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b290614689565b60405180910390fd5b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085848151811061214f5761214e614357565b5b602002602001015181526020019081526020016000205442612171919061447e565b61217b91906144b2565b82612186919061450c565b915042600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008584815181106121dd576121dc614357565b5b6020026020010151815260200190815260200160002081905550808061220290614562565b915050611fba565b506122153382613020565b505050565b600061222d83612228612cfe565b612aee565b905081811015612272576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612269906149a2565b60405180910390fd5b6122868361227e612cfe565b848403612d06565b6122908383613401565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546122ce90614293565b80601f01602080910402602001604051908101604052809291908181526020018280546122fa90614293565b80156123475780601f1061231c57610100808354040283529160200191612347565b820191906000526020600020905b81548152906001019060200180831161232a57829003601f168201915b5050505050905090565b61235a81611d37565b612399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239090614337565b60405180910390fd5b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501161245b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245290614a34565b60405180910390fd5b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905090505b6000811115612785576000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600183612575919061447e565b8154811061258657612585614357565b5b906000526020600020015490508373ffffffffffffffffffffffffffffffffffffffff166323b872dd3033846040518463ffffffff1660e01b81526004016125d093929190614418565b600060405180830381600087803b1580156125ea57600080fd5b505af11580156125fe573d6000803e3d6000fd5b50505050600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020544261269e919061447e565b6126a891906144b2565b836126b3919061450c565b92506126c0843383612ed1565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050808061277d90614a54565b9150506124e1565b506127903382613020565b5050565b600080600160006127a3612cfe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285790614af0565b60405180910390fd5b61287461286b612cfe565b85858403612d06565b600191505092915050565b600061289361288c612cfe565b8484613180565b6001905092915050565b60006128a883611d37565b6128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de90614337565b60405180910390fd5b6000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156129af57602002820191906000526020600020905b81548152602001906001019080831161299b575b505050505090506000805b8251811015612aa357600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110612a5757612a56614357565b5b602002602001015181526020019081526020016000205442612a79919061447e565b612a8391906144b2565b82612a8e919061450c565b91508080612a9b90614562565b9150506129ba565b50809250505092915050565b60078181548110612abf57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000612b8082611d37565b612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb690614337565b60405180910390fd5b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612c0e612cfe565b73ffffffffffffffffffffffffffffffffffffffff16612c2c612295565b73ffffffffffffffffffffffffffffffffffffffff1614612c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c79906141b2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce990614b82565b60405180910390fd5b612cfb81613739565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6d90614c14565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ddd90614ca6565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612ec49190613f1d565b60405180910390a3505050565b60005b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905081101561301a5781600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110612fea57612fe9614357565b5b90600052602060002001541415613007576130068484836137ff565b5b808061301290614562565b915050612ed4565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308790614d12565b60405180910390fd5b61309c60008383613b20565b80600260008282546130ae919061450c565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613103919061450c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516131689190613f1d565b60405180910390a361317c60008383613b25565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e790614da4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325790614e36565b60405180910390fd5b61326b838383613b20565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156132f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e890614ec8565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613384919061450c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516133e89190613f1d565b60405180910390a36133fb848484613b25565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346890614f5a565b60405180910390fd5b61347d82600083613b20565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fa90614fec565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461355a919061447e565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516135bf9190613f1d565b60405180910390a36135d383600084613b25565b505050565b60606000821415613620576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613734565b600082905060005b6000821461365257808061363b90614562565b915050600a8261364b919061503b565b9150613628565b60008167ffffffffffffffff81111561366e5761366d613d6f565b5b6040519080825280601f01601f1916602001820160405280156136a05781602001600182028036833780820191505090505b5090505b6000851461372d576001826136b9919061447e565b9150600a856136c8919061506c565b60306136d4919061450c565b60f81b8183815181106136ea576136e9614357565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613726919061503b565b94506136a4565b8093505050505b919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811061388a57613b1b565b60008190505b6001600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061391c919061447e565b811015613a7757600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001826139ac919061450c565b815481106139bd576139bc614357565b5b9060005260206000200154600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110613a5657613a55614357565b5b90600052602060002001819055508080613a6f90614562565b915050613890565b50600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480613b0457613b0361509d565b5b600190038181906000526020600020016000905590555b505050565b505050565b505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b6982613b3e565b9050919050565b613b7981613b5e565b8114613b8457600080fd5b50565b600081359050613b9681613b70565b92915050565b6000819050919050565b613baf81613b9c565b8114613bba57600080fd5b50565b600081359050613bcc81613ba6565b92915050565b60008060008060808587031215613bec57613beb613b34565b5b6000613bfa87828801613b87565b9450506020613c0b87828801613bbd565b9350506040613c1c87828801613bbd565b9250506060613c2d87828801613bbd565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c73578082015181840152602081019050613c58565b83811115613c82576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ca482613c39565b613cae8185613c44565b9350613cbe818560208601613c55565b613cc781613c88565b840191505092915050565b60006020820190508181036000830152613cec8184613c99565b905092915050565b60008060408385031215613d0b57613d0a613b34565b5b6000613d1985828601613b87565b9250506020613d2a85828601613bbd565b9150509250929050565b60008115159050919050565b613d4981613d34565b82525050565b6000602082019050613d646000830184613d40565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613da782613c88565b810181811067ffffffffffffffff82111715613dc657613dc5613d6f565b5b80604052505050565b6000613dd9613b2a565b9050613de58282613d9e565b919050565b600067ffffffffffffffff821115613e0557613e04613d6f565b5b602082029050602081019050919050565b600080fd5b6000613e2e613e2984613dea565b613dcf565b90508083825260208201905060208402830185811115613e5157613e50613e16565b5b835b81811015613e7a5780613e668882613bbd565b845260208401935050602081019050613e53565b5050509392505050565b600082601f830112613e9957613e98613d6a565b5b8135613ea9848260208601613e1b565b91505092915050565b60008060408385031215613ec957613ec8613b34565b5b6000613ed785828601613b87565b925050602083013567ffffffffffffffff811115613ef857613ef7613b39565b5b613f0485828601613e84565b9150509250929050565b613f1781613b9c565b82525050565b6000602082019050613f326000830184613f0e565b92915050565b600060208284031215613f4e57613f4d613b34565b5b6000613f5c84828501613b87565b91505092915050565b600080600060608486031215613f7e57613f7d613b34565b5b6000613f8c86828701613b87565b9350506020613f9d86828701613b87565b9250506040613fae86828701613bbd565b9150509250925092565b600060ff82169050919050565b613fce81613fb8565b82525050565b6000602082019050613fe96000830184613fc5565b92915050565b613ff881613b5e565b82525050565b60006020820190506140136000830184613fef565b92915050565b60006020828403121561402f5761402e613b34565b5b600061403d84828501613bbd565b91505092915050565b6000806040838503121561405d5761405c613b34565b5b600061406b85828601613b87565b925050602061407c85828601613b87565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140bb81613b9c565b82525050565b60006140cd83836140b2565b60208301905092915050565b6000602082019050919050565b60006140f182614086565b6140fb8185614091565b9350614106836140a2565b8060005b8381101561413757815161411e88826140c1565b9750614129836140d9565b92505060018101905061410a565b5085935050505092915050565b6000602082019050818103600083015261415e81846140e6565b905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061419c602083613c44565b91506141a782614166565b602082019050919050565b600060208201905081810360008301526141cb8161418f565b9050919050565b7f506865772e2e2e205468617420776f756c64277665206265656e20612023373760008201527f3637206d6f6d656e7421203a7065706567613a00000000000000000000000000602082015250565b600061422e603383613c44565b9150614239826141d2565b604082019050919050565b6000602082019050818103600083015261425d81614221565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142ab57607f821691505b602082108114156142bf576142be614264565b5b50919050565b7f467275697420636f6e74726163742061646472657373206d757374206265207660008201527f616c696421000000000000000000000000000000000000000000000000000000602082015250565b6000614321602583613c44565b915061432c826142c5565b604082019050919050565b6000602082019050818103600083015261435081614314565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d6573736167652053656e64657220776173206e6f74206f726967696e616c2060008201527f7374616b65722100000000000000000000000000000000000000000000000000602082015250565b60006143e2602783613c44565b91506143ed82614386565b604082019050919050565b60006020820190508181036000830152614411816143d5565b9050919050565b600060608201905061442d6000830186613fef565b61443a6020830185613fef565b6144476040830184613f0e565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061448982613b9c565b915061449483613b9c565b9250828210156144a7576144a661444f565b5b828203905092915050565b60006144bd82613b9c565b91506144c883613b9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145015761450061444f565b5b828202905092915050565b600061451782613b9c565b915061452283613b9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145575761455661444f565b5b828201905092915050565b600061456d82613b9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145a05761459f61444f565b5b600182019050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000614607602883613c44565b9150614612826145ab565b604082019050919050565b60006020820190508181036000830152614636816145fa565b9050919050565b7f546f6b656e206973206e6f7420636c61696d61626c6520627920796f75210000600082015250565b6000614673601e83613c44565b915061467e8261463d565b602082019050919050565b600060208201905081810360008301526146a281614666565b9050919050565b7f436c61696d20706572696f64206973206f766572210000000000000000000000600082015250565b60006146df601583613c44565b91506146ea826146a9565b602082019050919050565b6000602082019050818103600083015261470e816146d2565b9050919050565b7f546f6b656e206973206e6f74207374616b656421000000000000000000000000600082015250565b600061474b601483613c44565b915061475682614715565b602082019050919050565b6000602082019050818103600083015261477a8161473e565b9050919050565b600081905092915050565b7f4d7573742068617665206c657373207468616e20000000000000000000000000600082015250565b60006147c2601483614781565b91506147cd8261478c565b601482019050919050565b60006147e382613c39565b6147ed8185614781565b93506147fd818560208601613c55565b80840191505092915050565b7f20667275697473207374616b6564210000000000000000000000000000000000600082015250565b600061483f600f83614781565b915061484a82614809565b600f82019050919050565b6000614860826147b5565b915061486c82846147d8565b915061487782614832565b915081905092915050565b60008151905061489181613b70565b92915050565b6000602082840312156148ad576148ac613b34565b5b60006148bb84828501614882565b91505092915050565b7f546f6b656e206d757374206265207374616b61626c6520627920796f75210000600082015250565b60006148fa601e83613c44565b9150614905826148c4565b602082019050919050565b60006020820190508181036000830152614929816148ed565b9050919050565b7f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b600061498c602483613c44565b915061499782614930565b604082019050919050565b600060208201905081810360008301526149bb8161497f565b9050919050565b7f4d7573742068617665206174206c65617374206f6e6520746f6b656e2073746160008201527f6b65642100000000000000000000000000000000000000000000000000000000602082015250565b6000614a1e602483613c44565b9150614a29826149c2565b604082019050919050565b60006020820190508181036000830152614a4d81614a11565b9050919050565b6000614a5f82613b9c565b91506000821415614a7357614a7261444f565b5b600182039050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614ada602583613c44565b9150614ae582614a7e565b604082019050919050565b60006020820190508181036000830152614b0981614acd565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b6c602683613c44565b9150614b7782614b10565b604082019050919050565b60006020820190508181036000830152614b9b81614b5f565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614bfe602483613c44565b9150614c0982614ba2565b604082019050919050565b60006020820190508181036000830152614c2d81614bf1565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c90602283613c44565b9150614c9b82614c34565b604082019050919050565b60006020820190508181036000830152614cbf81614c83565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000614cfc601f83613c44565b9150614d0782614cc6565b602082019050919050565b60006020820190508181036000830152614d2b81614cef565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614d8e602583613c44565b9150614d9982614d32565b604082019050919050565b60006020820190508181036000830152614dbd81614d81565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614e20602383613c44565b9150614e2b82614dc4565b604082019050919050565b60006020820190508181036000830152614e4f81614e13565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614eb2602683613c44565b9150614ebd82614e56565b604082019050919050565b60006020820190508181036000830152614ee181614ea5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f44602183613c44565b9150614f4f82614ee8565b604082019050919050565b60006020820190508181036000830152614f7381614f37565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000614fd6602283613c44565b9150614fe182614f7a565b604082019050919050565b6000602082019050818103600083015261500581614fc9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504682613b9c565b915061505183613b9c565b9250826150615761506061500c565b5b828204905092915050565b600061507782613b9c565b915061508283613b9c565b9250826150925761509161500c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220abb5f99dd40ff24205b7098c72aca4e438f7b350a6a5ebeee86b414eb5814ff464736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.