ERC-20
Overview
Max Total Supply
9,000,058,652 BRAINZ
Holders
125
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Brainz
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-21 */ // File: contracts/Rng.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title A pseudo random number generator * * @dev This is not a true random number generator because smart contracts must be deterministic (every node a transaction goes to must produce the same result). * True randomness requires an oracle which is both expensive in terms of gas and would take a critical part of the project off the chain. */ struct Rng { bytes32 state; } /** * @title A library for working with the Rng struct. * * @dev Rng cannot be a contract because then anyone could manipulate it by generating random numbers. */ library RngLibrary { /** * Creates a new Rng. */ function newRng() internal view returns (Rng memory) { return Rng(getEntropy()); } /** * Creates a pseudo-random value from the current block miner's address and sender. */ function getEntropy() internal view returns (bytes32) { return keccak256(abi.encodePacked(block.coinbase, msg.sender)); } /** * Generates a random uint256. */ function generate(Rng memory self) internal view returns (uint256) { self.state = keccak256(abi.encodePacked(getEntropy(), self.state)); return uint256(self.state); } /** * Generates a random uint256 from min to max inclusive. * * @dev This function is not subject to modulo bias. * The chance that this function has to reroll is astronomically unlikely, but it can theoretically reroll forever. */ function generate(Rng memory self, uint min, uint max) internal view returns (uint256) { require(min <= max, "min > max"); uint delta = max - min; if (delta == 0) { return min; } return generate(self) % (delta + 1) + min; } } // File: contracts/Enums.sol pragma solidity ^0.8.0; enum RerollTrait { BgColor, Outfit, HandAccessory, Mouth, Eyes, HeadAccessory } enum Special { NONE, DEVIL, GHOST, HIPPIE, JOKER, PRISONER, SQUID_GAME, WHERES_WALDO, HAZMAT, ASTRONAUT } enum Dominant { SKELETON, VAMPIRE, MUMMY, GHOST, WITCH, FRANKENSTEIN, WEREWOLF, PUMPKINHEAD } enum Recessive { SKELETON, VAMPIRE, MUMMY, GHOST, DEVIL, KONG } enum BgColor { DARK_BLUE, GRAY, LIGHT_BLUE, ORANGE, PINK, PURPLE, RED, TAN, TEAL, GREEN, RAINBOW } enum Outfit { WHITE_SHORTS, PINK_SHORTS, GRAY_PANTS, WHITE_AND_BLUE, PURPLE_SHORTS, PINK_AND_PURPLE, BROWN_AND_WHITE, BROWN_AND_BLUE, BLUE_SHORTS, BLUE_AND_WHITE, UNDERGARMENTS, LOUNGEWEAR, HOBO, SPORTS_JERSEY, GOLD_CHAIN, PAJAMAS, OVERALLS, SPEEDO, NINJA_SUIT, KARATE_UNIFORM, NONE, LUMBERJACK, PRIEST, TUX, SKELETON, CAMO, ARMOR } enum HandAccessory { NONE, BLOODY_KNIFE, BOW_AND_ARROW, SWORD, PITCHFORK, WAND, SPIKED_BASEBALL_BAT, ENERGY_DRINK, NINJA_STARS, NUNCHUCKS, POOP, FLAMETHROWER, HOOKS, WEIGHTS, SKULL, BRAIN } enum Mouth { NONE, HAPPY, MAD, SMILE, FANGS, HAPPY_FANGS, MAD_FANGS, SMILE_FANGS, SINGLE_TOOTH, DIRTY_TEETH, SMILE_DIRTY_TEETH, MAD_DIRTY_TEETH, BLOODY_FANGS, BLACK_MASK, HAPPY_BUCK_TEETH, HAPPY_SINGLE_TOOTH, MAD_SINGLE_TOOTH, SMILE_SINGLE_TOOTH, BREATHING_FIRE, GOLD_GRILLS, KISS, SMOKING_JOINT } enum Eyes { NONE, BLACK_EYE, BLACKOUT, BLEEDING, BLOODSHOT, WATERY, WHITE, BIGGER_BLACK_EYES, BIGGER_BLEEDING, BIGGER_WATERY, SMALLER_BLACK_EYES, SMALLER_BLEEDING, SMALLER_BLOODSHOT, SMALLER_WATERY, SMALLER, SUNGLASSES, EYE_PATCH, VR_HEADSET, DEAD, _3D_GLASSES, HEART_EYES, LASER_GLASSES, NINJA_MASK, LASER_EYES } enum HeadAccessory { NONE, BUCKET_HAT, FLOWER, SPORTS_HEADBAND, CHEF_HAT, BLUE_DURAG, RED_DURAG, SPIKY_HAIR, BONES, RICE_HAT, BEANIE_CAP, SANTA_HAT, HEAD_WOUND, HEADPHONES, GOLD_STUDS, WIZARD_HAT, LONG_HAIR, AIR_PODS, WHITE_PARTY_HAT, BLUE_PARTY_HAT, RED_PARTY_HAT, GREEN_PARTY_HAT, YELLOW_PARTY_HAT, PURPLE_PARTY_HAT, PIRATE_HAT, KING_CROWN, JOKER_HAT, DEVIL_HORNS, BRAINS } library Enums { function toString(Special v) external pure returns (string memory) { if (v == Special.NONE) { return ""; } if (v == Special.DEVIL) { return "Devil"; } if (v == Special.GHOST) { return "Ghost"; } if (v == Special.HIPPIE) { return "Hippie"; } if (v == Special.JOKER) { return "Society"; } if (v == Special.PRISONER) { return "Prisoner"; } if (v == Special.SQUID_GAME) { return "Squid Girl"; } if (v == Special.WHERES_WALDO) { return "Where's Waldo?"; } if (v == Special.HAZMAT) { return "Hazmat"; } if (v == Special.ASTRONAUT) { return "Astronaut"; } revert("invalid special"); } function toString(Dominant v) external pure returns (string memory) { if (v == Dominant.SKELETON) { return "Skeleton"; } if (v == Dominant.VAMPIRE) { return "Vampire"; } if (v == Dominant.MUMMY) { return "Mummy"; } if (v == Dominant.GHOST) { return "Ghost"; } if (v == Dominant.WITCH) { return "Witch"; } if (v == Dominant.FRANKENSTEIN) { return "Frankenstein"; } if (v == Dominant.WEREWOLF) { return "Werewolf"; } if (v == Dominant.PUMPKINHEAD) { return "Pumpkinhead"; } revert("invalid dominant"); } function toString(Recessive v) external pure returns (string memory) { if (v == Recessive.SKELETON) { return "Skeleton"; } if (v == Recessive.VAMPIRE) { return "Vampire"; } if (v == Recessive.MUMMY) { return "Mummy"; } if (v == Recessive.GHOST) { return "Ghost"; } if (v == Recessive.DEVIL) { return "Devil"; } if (v == Recessive.KONG) { return "Kong"; } revert("invalid recessive"); } function toString(BgColor v) external pure returns (string memory) { if (v == BgColor.DARK_BLUE) { return "Dark Blue"; } if (v == BgColor.GRAY) { return "Gray"; } if (v == BgColor.LIGHT_BLUE) { return "Light Blue"; } if (v == BgColor.ORANGE) { return "Orange"; } if (v == BgColor.PINK) { return "Pink"; } if (v == BgColor.PURPLE) { return "Purple"; } if (v == BgColor.RED) { return "Red"; } if (v == BgColor.TAN) { return "Tan"; } if (v == BgColor.TEAL) { return "Teal"; } if (v == BgColor.GREEN) { return "Green"; } if (v == BgColor.RAINBOW) { return "Rainbow"; } revert("invalid bgcolor"); } function toString(Outfit v) external pure returns (string memory) { if (v == Outfit.WHITE_SHORTS) { return "White Shorts"; } if (v == Outfit.PINK_SHORTS) { return "Pink Shorts"; } if (v == Outfit.GRAY_PANTS) { return "Gray Pants"; } if (v == Outfit.WHITE_AND_BLUE) { return "White and Blue"; } if (v == Outfit.PURPLE_SHORTS) { return "Purple Shorts"; } if (v == Outfit.PINK_AND_PURPLE) { return "Pink and Purple"; } if (v == Outfit.BROWN_AND_WHITE) { return "Brown and White"; } if (v == Outfit.BROWN_AND_BLUE) { return "Brown and Blue"; } if (v == Outfit.BLUE_SHORTS) { return "Blue Shorts"; } if (v == Outfit.BLUE_AND_WHITE) { return "Blue and White"; } if (v == Outfit.UNDERGARMENTS) { return "Undergarments"; } if (v == Outfit.LOUNGEWEAR) { return "Loungewear"; } if (v == Outfit.HOBO) { return "Hobo"; } if (v == Outfit.SPORTS_JERSEY) { return "Sports Jersey"; } if (v == Outfit.GOLD_CHAIN) { return "Gold Chain"; } if (v == Outfit.PAJAMAS) { return "Pajamas"; } if (v == Outfit.OVERALLS) { return "Overalls"; } if (v == Outfit.SPEEDO) { return "Speedo"; } if (v == Outfit.NINJA_SUIT) { return "Ninja Suit"; } if (v == Outfit.KARATE_UNIFORM) { return "Karate Uniform"; } if (v == Outfit.NONE) { return ""; } if (v == Outfit.LUMBERJACK) { return "Lumberjack"; } if (v == Outfit.PRIEST) { return "Priest"; } if (v == Outfit.TUX) { return "Tux"; } if (v == Outfit.SKELETON) { return "Skeleton"; } if (v == Outfit.CAMO) { return "Camo"; } if (v == Outfit.ARMOR) { return "Armor"; } revert("invalid outfit"); } function toString(HandAccessory v) external pure returns (string memory) { if (v == HandAccessory.NONE) { return ""; } if (v == HandAccessory.BLOODY_KNIFE) { return "Bloody Knife"; } if (v == HandAccessory.BOW_AND_ARROW) { return "Bow and Arrow"; } if (v == HandAccessory.SWORD) { return "Sword"; } if (v == HandAccessory.PITCHFORK) { return "Pitchfork"; } if (v == HandAccessory.WAND) { return "Wand"; } if (v == HandAccessory.SPIKED_BASEBALL_BAT) { return "Spiked Baseball Bat"; } if (v == HandAccessory.ENERGY_DRINK) { return "Energy Drink"; } if (v == HandAccessory.NINJA_STARS) { return "Ninja Stars"; } if (v == HandAccessory.NUNCHUCKS) { return "Nunchucks"; } if (v == HandAccessory.POOP) { return "Poop"; } if (v == HandAccessory.FLAMETHROWER) { return "Flamethrower"; } if (v == HandAccessory.HOOKS) { return "Hooks"; } if (v == HandAccessory.WEIGHTS) { return "Weights"; } if (v == HandAccessory.SKULL) { return "Skull"; } if (v == HandAccessory.BRAIN) { return "Brain"; } revert("invalid handaccessory"); } function toString(Mouth v) external pure returns (string memory) { if (v == Mouth.NONE) { return ""; } if (v == Mouth.HAPPY) { return "Happy"; } if (v == Mouth.MAD) { return "Mad"; } if (v == Mouth.SMILE) { return "Smile"; } if (v == Mouth.FANGS) { return "Fangs"; } if (v == Mouth.HAPPY_FANGS) { return "Happy Fangs"; } if (v == Mouth.MAD_FANGS) { return "Mad Fangs"; } if (v == Mouth.SMILE_FANGS) { return "Smile Fangs"; } if (v == Mouth.SINGLE_TOOTH) { return "Single Tooth"; } if (v == Mouth.DIRTY_TEETH) { return "Dirty Teeth"; } if (v == Mouth.SMILE_DIRTY_TEETH) { return "Smile Dirty Teeth"; } if (v == Mouth.MAD_DIRTY_TEETH) { return "Mad Dirty Teeth"; } if (v == Mouth.BLOODY_FANGS) { return "Bloody Fangs"; } if (v == Mouth.BLACK_MASK) { return "Black Mask"; } if (v == Mouth.HAPPY_BUCK_TEETH) { return "Happy Buck Teeth"; } if (v == Mouth.HAPPY_SINGLE_TOOTH) { return "Happy Single Tooth"; } if (v == Mouth.MAD_SINGLE_TOOTH) { return "Mad Single Tooth"; } if (v == Mouth.SMILE_SINGLE_TOOTH) { return "Smile Single Tooth"; } if (v == Mouth.BREATHING_FIRE) { return "Breathing Fire"; } if (v == Mouth.GOLD_GRILLS) { return "Gold Grills"; } if (v == Mouth.KISS) { return "Kiss"; } if (v == Mouth.SMOKING_JOINT) { return "Smoking Joint"; } revert("invalid mouth"); } function toString(Eyes v) external pure returns (string memory) { if (v == Eyes.NONE) { return ""; } if (v == Eyes.BLACK_EYE) { return "Black Eye"; } if (v == Eyes.BLACKOUT) { return "Blackout"; } if (v == Eyes.BLEEDING) { return "Bleeding"; } if (v == Eyes.BLOODSHOT) { return "Bloodshot"; } if (v == Eyes.WATERY) { return "Watery"; } if (v == Eyes.WHITE) { return "White"; } if (v == Eyes.BIGGER_BLACK_EYES) { return "Bigger Black Eyes"; } if (v == Eyes.BIGGER_BLEEDING) { return "Bigger Bleeding"; } if (v == Eyes.BIGGER_WATERY) { return "Bigger Watery"; } if (v == Eyes.SMALLER_BLACK_EYES) { return "Smaller Black Eyes"; } if (v == Eyes.SMALLER_BLEEDING) { return "Smaller Bleeding"; } if (v == Eyes.SMALLER_BLOODSHOT) { return "Smaller Bloodshot"; } if (v == Eyes.SMALLER_WATERY) { return "Smaller Watery"; } if (v == Eyes.SMALLER) { return "Smaller"; } if (v == Eyes.SUNGLASSES) { return "Sunglasses"; } if (v == Eyes.EYE_PATCH) { return "Eye Patch"; } if (v == Eyes.VR_HEADSET) { return "VR Headset"; } if (v == Eyes.DEAD) { return "Dead"; } if (v == Eyes._3D_GLASSES) { return "3D Glasses"; } if (v == Eyes.HEART_EYES) { return "Heart Eyes"; } if (v == Eyes.LASER_GLASSES) { return "Laser Glasses"; } if (v == Eyes.NINJA_MASK) { return "Ninja Mask"; } if (v == Eyes.LASER_EYES) { return "Laser Eyes"; } revert("invalid eyes"); } function toString(HeadAccessory v) external pure returns (string memory) { if (v == HeadAccessory.NONE) { return ""; } if (v == HeadAccessory.BUCKET_HAT) { return "Bucket Hat"; } if (v == HeadAccessory.FLOWER) { return "Flower"; } if (v == HeadAccessory.SPORTS_HEADBAND) { return "Sports Headband"; } if (v == HeadAccessory.CHEF_HAT) { return "Chef Hat"; } if (v == HeadAccessory.BLUE_DURAG) { return "Blue Durag"; } if (v == HeadAccessory.RED_DURAG) { return "Red Durag"; } if (v == HeadAccessory.SPIKY_HAIR) { return "Spiky Hair"; } if (v == HeadAccessory.BONES) { return "Bones"; } if (v == HeadAccessory.RICE_HAT) { return "Rice Hat"; } if (v == HeadAccessory.BEANIE_CAP) { return "Beanie Cap"; } if (v == HeadAccessory.SANTA_HAT) { return "Santa Hat"; } if (v == HeadAccessory.HEAD_WOUND) { return "Head Wound"; } if (v == HeadAccessory.HEADPHONES) { return "Headphones"; } if (v == HeadAccessory.GOLD_STUDS) { return "Gold Studs"; } if (v == HeadAccessory.WIZARD_HAT) { return "Wizard Hat"; } if (v == HeadAccessory.LONG_HAIR) { return "Long Hair"; } if (v == HeadAccessory.AIR_PODS) { return "Air Pods"; } if (v == HeadAccessory.WHITE_PARTY_HAT) { return "White Party Hat"; } if (v == HeadAccessory.BLUE_PARTY_HAT) { return "Blue Party Hat"; } if (v == HeadAccessory.RED_PARTY_HAT) { return "Red Party Hat"; } if (v == HeadAccessory.GREEN_PARTY_HAT) { return "Green Party Hat"; } if (v == HeadAccessory.YELLOW_PARTY_HAT) { return "Yellow Party Hat"; } if (v == HeadAccessory.PURPLE_PARTY_HAT) { return "Purple Party Hat"; } if (v == HeadAccessory.PIRATE_HAT) { return "Pirate Hat"; } if (v == HeadAccessory.KING_CROWN) { return "King Crown"; } if (v == HeadAccessory.JOKER_HAT) { return "Joker Hat"; } if (v == HeadAccessory.DEVIL_HORNS) { return "Devil Horns"; } if (v == HeadAccessory.BRAINS) { return "Brains"; } revert("invalid headaccessory"); } } // File: contracts/BitMonster.sol pragma solidity ^0.8.0; struct BitMonster { bool genesis; bool superYield; Special special; Dominant dominant; Recessive recessive; BgColor bgColor; Outfit outfit; HandAccessory handAccessory; Mouth mouth; Eyes eyes; HeadAccessory headAccessory; } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @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); } // File: contracts/IBitMonsters.sol pragma solidity ^0.8.0; interface IBitMonsters is IERC721Enumerable { function getBitMonster(uint256 tokenId) external view returns (BitMonster memory); function setBitMonster(uint256 tokenId, BitMonster memory bm) external; function createBitMonster(BitMonster memory bm, address owner) external; function isAdmin(address addr) external view returns (bool); } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @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); } } // File: contracts/BitMonstersAddon.sol pragma solidity ^0.8.0; /** * @title A contract should inherit this if it provides functionality for the Bit Monsters contract. */ abstract contract BitMonstersAddon is Ownable { IBitMonsters internal bitMonsters; modifier onlyAdmin() { require(bitMonsters.isAdmin(msg.sender), "admins only"); _; } modifier ownsToken(uint tokenId) { require(bitMonsters.ownerOf(tokenId) == msg.sender, "you don't own this shit"); _; } /** * @notice This must be called before the Brainz contract can be used. * * @dev Within the BitMonsters contract, call initializeBrainz(). */ function setBitMonstersContract(IBitMonsters _contract) external onlyOwner { bitMonsters = _contract; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.8.0; /** * @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 {} } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol pragma solidity ^0.8.0; /** * @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); } } // File: contracts/Brainz.sol pragma solidity ^0.8.0; // shamelessly "inspired by" the anonymice cheeth contract /** * @title The contract for the Brainz token and staking. At the moment, these can only be obtained by staking Bit Monsters. */ contract Brainz is ERC20Burnable, BitMonstersAddon { using RngLibrary for Rng; mapping (uint => uint) public tokenIdToTimestamp; Rng private rng = RngLibrary.newRng(); constructor() ERC20("Brainz", "BRAINZ") { } function adminMint(address addr, uint256 count) external onlyAdmin { _mint(addr, count * 1 ether); } function adminBurn(address addr, uint256 count) external onlyAdmin { _burn(addr, count * 1 ether); } /** * Claims all Brainz from all staked Bit Monsters the caller owns. */ function claimBrainz() external { uint count = bitMonsters.balanceOf(msg.sender); uint total = 0; for (uint i = 0; i < count; ++i) { uint tokenId = bitMonsters.tokenOfOwnerByIndex(msg.sender, i); uint rewards = calculateRewards(tokenId); if (rewards > 0) { tokenIdToTimestamp[tokenId] = block.timestamp - ((block.timestamp - tokenIdToTimestamp[tokenId]) % 86400); } total += rewards; } _mint(msg.sender, total); } function rewardRate(BitMonster memory m) public pure returns (uint) { return ((m.genesis ? 2 : 1) * (m.special != Special.NONE ? 2 : 1) + (m.superYield ? 1 : 0)) * 1 ether; } /** * Returns the amount of pending Brainz the caller can currently claim. */ function calculateRewards(uint tokenId) public view returns (uint) { BitMonster memory m = bitMonsters.getBitMonster(tokenId); uint nDays = (block.timestamp - tokenIdToTimestamp[tokenId]) / 86400; return rewardRate(m) * nDays; } /** * Tracks the Bit Monster with the given tokenId for reward calculation. */ function register(uint tokenId) external onlyAdmin { require(tokenIdToTimestamp[tokenId] == 0, "already staked"); tokenIdToTimestamp[tokenId] = block.timestamp; } /** * Stake your Brainz a-la OSRS Duel Arena. * * 50% chance of multiplying your Brainz by 1.9x rounded up. * 50% chance of losing everything you stake. */ function stake(uint count) external returns (bool won) { require(count > 0, "Must stake at least one BRAINZ"); require(balanceOf(msg.sender) >= count, "You don't have that many tokens"); Rng memory rn = rng; if (rn.generate(0, 1) == 0) { _mint(msg.sender, (count - count / 10) * 1 ether); won = true; } else { _burn(msg.sender, count * 1 ether); won = false; } rng = rn; } }
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":"addr","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"adminBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"adminMint","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":"uint256","name":"tokenId","type":"uint256"}],"name":"calculateRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimBrainz","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":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"register","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bool","name":"genesis","type":"bool"},{"internalType":"bool","name":"superYield","type":"bool"},{"internalType":"enum Special","name":"special","type":"uint8"},{"internalType":"enum Dominant","name":"dominant","type":"uint8"},{"internalType":"enum Recessive","name":"recessive","type":"uint8"},{"internalType":"enum BgColor","name":"bgColor","type":"uint8"},{"internalType":"enum Outfit","name":"outfit","type":"uint8"},{"internalType":"enum HandAccessory","name":"handAccessory","type":"uint8"},{"internalType":"enum Mouth","name":"mouth","type":"uint8"},{"internalType":"enum Eyes","name":"eyes","type":"uint8"},{"internalType":"enum HeadAccessory","name":"headAccessory","type":"uint8"}],"internalType":"struct BitMonster","name":"m","type":"tuple"}],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"contract IBitMonsters","name":"_contract","type":"address"}],"name":"setBitMonstersContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"stake","outputs":[{"internalType":"bool","name":"won","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]
Contract Creation Code
608060405262000019620000ba60201b62000dfe1760201c565b516008553480156200002a57600080fd5b5060405180604001604052806006815260200165213930b4b73d60d11b81525060405180604001604052806006815260200165212920a4a72d60d11b81525081600390805190602001906200008192919062000184565b5080516200009790600490602084019062000184565b505050620000b4620000ae620000eb60201b60201c565b620000ef565b62000267565b6040805160208101909152600081526040518060200160405280620000e46200014160201b60201c565b9052919050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160601b031941606090811b8216602084015233901b16603482015260009060480160405160208183030381529060405280519060200120905090565b82805462000192906200022a565b90600052602060002090601f016020900481019282620001b6576000855562000201565b82601f10620001d157805160ff191683800117855562000201565b8280016001018555821562000201579182015b8281111562000201578251825591602001919060010190620001e4565b506200020f92915062000213565b5090565b5b808211156200020f576000815560010162000214565b600181811c908216806200023f57607f821691505b602082108114156200026157634e487b7160e01b600052602260045260246000fd5b50919050565b611b8880620002776000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063715018a6116100de578063a9059cbb11610097578063e58306f911610071578063e58306f91461035a578063ea6430b61461036d578063f207564e14610375578063f2fde38b1461038857600080fd5b8063a9059cbb146102fb578063d3ea43501461030e578063dd62ed3e1461032157600080fd5b8063715018a61461029757806379cc67901461029f5780638da5cb5b146102b257806395d89b41146102cd578063a457c2d7146102d5578063a694fc3a146102e857600080fd5b8063313ce56711610130578063313ce56714610206578063395093511461021557806342966c68146102285780634b73c85b1461023b5780634fdf71511461025b57806370a082311461026e57600080fd5b806306dd04191461017857806306fdde031461018d578063095ea7b3146101ab578063151d35f9146101ce57806318160ddd146101e157806323b872dd146101f3575b600080fd5b61018b610186366004611623565b61039b565b005b61019561045a565b6040516101a29190611847565b60405180910390f35b6101be6101b9366004611623565b6104ec565b60405190151581526020016101a2565b61018b6101dc36600461158c565b610502565b6002545b6040519081526020016101a2565b6101be6102013660046115e2565b61054e565b604051601281526020016101a2565b6101be610223366004611623565b6105fa565b61018b610236366004611815565b610636565b6101e5610249366004611815565b60076020526000908152604090205481565b6101e561026936600461166c565b610643565b6101e561027c36600461158c565b6001600160a01b031660009081526020819052604090205490565b61018b6106c9565b61018b6102ad366004611623565b6106ff565b6005546040516001600160a01b0390911681526020016101a2565b610195610785565b6101be6102e3366004611623565b610794565b6101be6102f6366004611815565b61082d565b6101be610309366004611623565b61095b565b6101e561031c366004611815565b610968565b6101e561032f3660046115a9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61018b610368366004611623565b610a34565b61018b610ae1565b61018b610383366004611815565b610c6f565b61018b61039636600461158c565b610d66565b600654604051630935e01b60e21b81523360048201526001600160a01b03909116906324d7806c9060240160206040518083038186803b1580156103de57600080fd5b505afa1580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610416919061164f565b61043b5760405162461bcd60e51b81526004016104329061189c565b60405180910390fd5b6104568261045183670de0b6b3a764000061197f565b610e27565b5050565b60606003805461046990611a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461049590611a0e565b80156104e25780601f106104b7576101008083540402835291602001916104e2565b820191906000526020600020905b8154815290600101906020018083116104c557829003601f168201915b5050505050905090565b60006104f9338484610f75565b50600192915050565b6005546001600160a01b0316331461052c5760405162461bcd60e51b8152600401610432906118c1565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600061055b848484611099565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105e05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610432565b6105ed8533858403610f75565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104f991859061063190869061192e565b610f75565b6106403382610e27565b50565b60008160200151610655576000610658565b60015b60008360400151600981111561067057610670611aa4565b141561067d576001610680565b60025b835161068d576001610690565b60025b61069a91906119ce565b6106a49190611946565b6106b99060ff16670de0b6b3a764000061199e565b67ffffffffffffffff1692915050565b6005546001600160a01b031633146106f35760405162461bcd60e51b8152600401610432906118c1565b6106fd6000611268565b565b600061070b833361032f565b9050818110156107695760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610432565b6107768333848403610f75565b6107808383610e27565b505050565b60606004805461046990611a0e565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108165760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610432565b6108233385858403610f75565b5060019392505050565b600080821161087e5760405162461bcd60e51b815260206004820152601e60248201527f4d757374207374616b65206174206c65617374206f6e6520425241494e5a00006044820152606401610432565b336000908152602081905260409020548211156108dd5760405162461bcd60e51b815260206004820152601f60248201527f596f7520646f6e277420686176652074686174206d616e7920746f6b656e73006044820152606401610432565b604080516020810190915260085481526108fa81600060016112ba565b6109375761092e3361090d600a8661196b565b61091790866119f7565b61092990670de0b6b3a764000061197f565b611346565b60019150610952565b61094d3361045185670de0b6b3a764000061197f565b600091505b51600855919050565b60006104f9338484611099565b6006546040516303b309f360e11b81526004810183905260009182916001600160a01b039091169063076613e6906024016101606040518083038186803b1580156109b257600080fd5b505afa1580156109c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ea9190611746565b600084815260076020526040812054919250906201518090610a0c90426119f7565b610a16919061196b565b905080610a2283610643565b610a2c919061197f565b949350505050565b600654604051630935e01b60e21b81523360048201526001600160a01b03909116906324d7806c9060240160206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf919061164f565b610acb5760405162461bcd60e51b81526004016104329061189c565b6104568261092983670de0b6b3a764000061197f565b6006546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610b2557600080fd5b505afa158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d919061182e565b90506000805b82811015610c6457600654604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b158015610bb657600080fd5b505afa158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee919061182e565b90506000610bfb82610968565b90508015610c45576000828152600760205260409020546201518090610c2190426119f7565b610c2b9190611a64565b610c3590426119f7565b6000838152600760205260409020555b610c4f818561192e565b9350505080610c5d90611a49565b9050610b63565b506104563382611346565b600654604051630935e01b60e21b81523360048201526001600160a01b03909116906324d7806c9060240160206040518083038186803b158015610cb257600080fd5b505afa158015610cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cea919061164f565b610d065760405162461bcd60e51b81526004016104329061189c565b60008181526007602052604090205415610d535760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481cdd185ad95960921b6044820152606401610432565b6000908152600760205260409020429055565b6005546001600160a01b03163314610d905760405162461bcd60e51b8152600401610432906118c1565b6001600160a01b038116610df55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610432565b61064081611268565b6040805160208101909152600081526040518060200160405280610e20611425565b9052919050565b6001600160a01b038216610e875760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610432565b6001600160a01b03821660009081526020819052604090205481811015610efb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610432565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610f2a9084906119f7565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316610fd75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610432565b6001600160a01b0382166110385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610432565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610432565b6001600160a01b03821661115f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610432565b6001600160a01b038316600090815260208190526040902054818110156111d75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610432565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061120e90849061192e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161125a91815260200190565b60405180910390a350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000818311156112f85760405162461bcd60e51b81526020600482015260096024820152680dad2dc407c40dac2f60bb1b6044820152606401610432565b600061130484846119f7565b90508061131457839150506105f3565b8361132082600161192e565b6113298761146d565b6113339190611a64565b61133d919061192e565b95945050505050565b6001600160a01b03821661139c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610432565b80600260008282546113ae919061192e565b90915550506001600160a01b038216600090815260208190526040812080548392906113db90849061192e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6040516bffffffffffffffffffffffff1941606090811b8216602084015233901b16603482015260009060480160405160208183030381529060405280519060200120905090565b6000611477611425565b825160408051602081019390935282015260600160408051601f198184030181529190528051602090910120918290525090565b80356114b681611acf565b919050565b80516114b681611acf565b80356114b681611add565b80516114b681611add565b80356114b681611aea565b80516114b681611aea565b80356114b681611af7565b80516114b681611af7565b80356114b681611b04565b80516114b681611b04565b80356114b681611b11565b80516114b681611b11565b80356114b681611b1e565b80516114b681611b1e565b80356114b681611b2b565b80516114b681611b2b565b80356114b681611b38565b80516114b681611b38565b80356114b681611b45565b80516114b681611b45565b60006020828403121561159e57600080fd5b81356105f381611aba565b600080604083850312156115bc57600080fd5b82356115c781611aba565b915060208301356115d781611aba565b809150509250929050565b6000806000606084860312156115f757600080fd5b833561160281611aba565b9250602084013561161281611aba565b929592945050506040919091013590565b6000806040838503121561163657600080fd5b823561164181611aba565b946020939093013593505050565b60006020828403121561166157600080fd5b81516105f381611acf565b6000610160828403121561167f57600080fd5b6116876118f6565b611690836114ab565b815261169e602084016114ab565b60208201526116af60408401611576565b60408201526116c0606084016114dc565b60608201526116d160808401611560565b60808201526116e260a084016114c6565b60a08201526116f360c0840161154a565b60c082015261170460e08401611508565b60e0820152610100611717818501611534565b908201526101206117298482016114f2565b9082015261014061173b84820161151e565b908201529392505050565b6000610160828403121561175957600080fd5b6117616118f6565b61176a836114bb565b8152611778602084016114bb565b602082015261178960408401611581565b604082015261179a606084016114e7565b60608201526117ab6080840161156b565b60808201526117bc60a084016114d1565b60a08201526117cd60c08401611555565b60c08201526117de60e08401611513565b60e08201526101006117f181850161153f565b908201526101206118038482016114fd565b9082015261014061173b848201611529565b60006020828403121561182757600080fd5b5035919050565b60006020828403121561184057600080fd5b5051919050565b600060208083528351808285015260005b8181101561187457858101830151858201604001528201611858565b81811115611886576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252600b908201526a61646d696e73206f6e6c7960a81b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051610160810167ffffffffffffffff8111828210171561192857634e487b7160e01b600052604160045260246000fd5b60405290565b6000821982111561194157611941611a78565b500190565b600060ff821660ff84168060ff0382111561196357611963611a78565b019392505050565b60008261197a5761197a611a8e565b500490565b600081600019048311821515161561199957611999611a78565b500290565b600067ffffffffffffffff808316818516818304811182151516156119c5576119c5611a78565b02949350505050565b600060ff821660ff84168160ff04811182151516156119ef576119ef611a78565b029392505050565b600082821015611a0957611a09611a78565b500390565b600181811c90821680611a2257607f821691505b60208210811415611a4357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a5d57611a5d611a78565b5060010190565b600082611a7357611a73611a8e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038116811461064057600080fd5b801515811461064057600080fd5b600b811061064057600080fd5b6008811061064057600080fd5b6018811061064057600080fd5b6010811061064057600080fd5b601d811061064057600080fd5b6016811061064057600080fd5b601b811061064057600080fd5b6006811061064057600080fd5b600a811061064057600080fdfea2646970667358221220b0e38487aa9eb6c24f5a7fcfa19c20d2bd494f19dd6ca16c868cbdc56774b00264736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063715018a6116100de578063a9059cbb11610097578063e58306f911610071578063e58306f91461035a578063ea6430b61461036d578063f207564e14610375578063f2fde38b1461038857600080fd5b8063a9059cbb146102fb578063d3ea43501461030e578063dd62ed3e1461032157600080fd5b8063715018a61461029757806379cc67901461029f5780638da5cb5b146102b257806395d89b41146102cd578063a457c2d7146102d5578063a694fc3a146102e857600080fd5b8063313ce56711610130578063313ce56714610206578063395093511461021557806342966c68146102285780634b73c85b1461023b5780634fdf71511461025b57806370a082311461026e57600080fd5b806306dd04191461017857806306fdde031461018d578063095ea7b3146101ab578063151d35f9146101ce57806318160ddd146101e157806323b872dd146101f3575b600080fd5b61018b610186366004611623565b61039b565b005b61019561045a565b6040516101a29190611847565b60405180910390f35b6101be6101b9366004611623565b6104ec565b60405190151581526020016101a2565b61018b6101dc36600461158c565b610502565b6002545b6040519081526020016101a2565b6101be6102013660046115e2565b61054e565b604051601281526020016101a2565b6101be610223366004611623565b6105fa565b61018b610236366004611815565b610636565b6101e5610249366004611815565b60076020526000908152604090205481565b6101e561026936600461166c565b610643565b6101e561027c36600461158c565b6001600160a01b031660009081526020819052604090205490565b61018b6106c9565b61018b6102ad366004611623565b6106ff565b6005546040516001600160a01b0390911681526020016101a2565b610195610785565b6101be6102e3366004611623565b610794565b6101be6102f6366004611815565b61082d565b6101be610309366004611623565b61095b565b6101e561031c366004611815565b610968565b6101e561032f3660046115a9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61018b610368366004611623565b610a34565b61018b610ae1565b61018b610383366004611815565b610c6f565b61018b61039636600461158c565b610d66565b600654604051630935e01b60e21b81523360048201526001600160a01b03909116906324d7806c9060240160206040518083038186803b1580156103de57600080fd5b505afa1580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610416919061164f565b61043b5760405162461bcd60e51b81526004016104329061189c565b60405180910390fd5b6104568261045183670de0b6b3a764000061197f565b610e27565b5050565b60606003805461046990611a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461049590611a0e565b80156104e25780601f106104b7576101008083540402835291602001916104e2565b820191906000526020600020905b8154815290600101906020018083116104c557829003601f168201915b5050505050905090565b60006104f9338484610f75565b50600192915050565b6005546001600160a01b0316331461052c5760405162461bcd60e51b8152600401610432906118c1565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600061055b848484611099565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105e05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610432565b6105ed8533858403610f75565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104f991859061063190869061192e565b610f75565b6106403382610e27565b50565b60008160200151610655576000610658565b60015b60008360400151600981111561067057610670611aa4565b141561067d576001610680565b60025b835161068d576001610690565b60025b61069a91906119ce565b6106a49190611946565b6106b99060ff16670de0b6b3a764000061199e565b67ffffffffffffffff1692915050565b6005546001600160a01b031633146106f35760405162461bcd60e51b8152600401610432906118c1565b6106fd6000611268565b565b600061070b833361032f565b9050818110156107695760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610432565b6107768333848403610f75565b6107808383610e27565b505050565b60606004805461046990611a0e565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108165760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610432565b6108233385858403610f75565b5060019392505050565b600080821161087e5760405162461bcd60e51b815260206004820152601e60248201527f4d757374207374616b65206174206c65617374206f6e6520425241494e5a00006044820152606401610432565b336000908152602081905260409020548211156108dd5760405162461bcd60e51b815260206004820152601f60248201527f596f7520646f6e277420686176652074686174206d616e7920746f6b656e73006044820152606401610432565b604080516020810190915260085481526108fa81600060016112ba565b6109375761092e3361090d600a8661196b565b61091790866119f7565b61092990670de0b6b3a764000061197f565b611346565b60019150610952565b61094d3361045185670de0b6b3a764000061197f565b600091505b51600855919050565b60006104f9338484611099565b6006546040516303b309f360e11b81526004810183905260009182916001600160a01b039091169063076613e6906024016101606040518083038186803b1580156109b257600080fd5b505afa1580156109c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ea9190611746565b600084815260076020526040812054919250906201518090610a0c90426119f7565b610a16919061196b565b905080610a2283610643565b610a2c919061197f565b949350505050565b600654604051630935e01b60e21b81523360048201526001600160a01b03909116906324d7806c9060240160206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf919061164f565b610acb5760405162461bcd60e51b81526004016104329061189c565b6104568261092983670de0b6b3a764000061197f565b6006546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610b2557600080fd5b505afa158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d919061182e565b90506000805b82811015610c6457600654604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b158015610bb657600080fd5b505afa158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee919061182e565b90506000610bfb82610968565b90508015610c45576000828152600760205260409020546201518090610c2190426119f7565b610c2b9190611a64565b610c3590426119f7565b6000838152600760205260409020555b610c4f818561192e565b9350505080610c5d90611a49565b9050610b63565b506104563382611346565b600654604051630935e01b60e21b81523360048201526001600160a01b03909116906324d7806c9060240160206040518083038186803b158015610cb257600080fd5b505afa158015610cc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cea919061164f565b610d065760405162461bcd60e51b81526004016104329061189c565b60008181526007602052604090205415610d535760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481cdd185ad95960921b6044820152606401610432565b6000908152600760205260409020429055565b6005546001600160a01b03163314610d905760405162461bcd60e51b8152600401610432906118c1565b6001600160a01b038116610df55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610432565b61064081611268565b6040805160208101909152600081526040518060200160405280610e20611425565b9052919050565b6001600160a01b038216610e875760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610432565b6001600160a01b03821660009081526020819052604090205481811015610efb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610432565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610f2a9084906119f7565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b038316610fd75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610432565b6001600160a01b0382166110385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610432565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610432565b6001600160a01b03821661115f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610432565b6001600160a01b038316600090815260208190526040902054818110156111d75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610432565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061120e90849061192e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161125a91815260200190565b60405180910390a350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000818311156112f85760405162461bcd60e51b81526020600482015260096024820152680dad2dc407c40dac2f60bb1b6044820152606401610432565b600061130484846119f7565b90508061131457839150506105f3565b8361132082600161192e565b6113298761146d565b6113339190611a64565b61133d919061192e565b95945050505050565b6001600160a01b03821661139c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610432565b80600260008282546113ae919061192e565b90915550506001600160a01b038216600090815260208190526040812080548392906113db90849061192e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6040516bffffffffffffffffffffffff1941606090811b8216602084015233901b16603482015260009060480160405160208183030381529060405280519060200120905090565b6000611477611425565b825160408051602081019390935282015260600160408051601f198184030181529190528051602090910120918290525090565b80356114b681611acf565b919050565b80516114b681611acf565b80356114b681611add565b80516114b681611add565b80356114b681611aea565b80516114b681611aea565b80356114b681611af7565b80516114b681611af7565b80356114b681611b04565b80516114b681611b04565b80356114b681611b11565b80516114b681611b11565b80356114b681611b1e565b80516114b681611b1e565b80356114b681611b2b565b80516114b681611b2b565b80356114b681611b38565b80516114b681611b38565b80356114b681611b45565b80516114b681611b45565b60006020828403121561159e57600080fd5b81356105f381611aba565b600080604083850312156115bc57600080fd5b82356115c781611aba565b915060208301356115d781611aba565b809150509250929050565b6000806000606084860312156115f757600080fd5b833561160281611aba565b9250602084013561161281611aba565b929592945050506040919091013590565b6000806040838503121561163657600080fd5b823561164181611aba565b946020939093013593505050565b60006020828403121561166157600080fd5b81516105f381611acf565b6000610160828403121561167f57600080fd5b6116876118f6565b611690836114ab565b815261169e602084016114ab565b60208201526116af60408401611576565b60408201526116c0606084016114dc565b60608201526116d160808401611560565b60808201526116e260a084016114c6565b60a08201526116f360c0840161154a565b60c082015261170460e08401611508565b60e0820152610100611717818501611534565b908201526101206117298482016114f2565b9082015261014061173b84820161151e565b908201529392505050565b6000610160828403121561175957600080fd5b6117616118f6565b61176a836114bb565b8152611778602084016114bb565b602082015261178960408401611581565b604082015261179a606084016114e7565b60608201526117ab6080840161156b565b60808201526117bc60a084016114d1565b60a08201526117cd60c08401611555565b60c08201526117de60e08401611513565b60e08201526101006117f181850161153f565b908201526101206118038482016114fd565b9082015261014061173b848201611529565b60006020828403121561182757600080fd5b5035919050565b60006020828403121561184057600080fd5b5051919050565b600060208083528351808285015260005b8181101561187457858101830151858201604001528201611858565b81811115611886576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252600b908201526a61646d696e73206f6e6c7960a81b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051610160810167ffffffffffffffff8111828210171561192857634e487b7160e01b600052604160045260246000fd5b60405290565b6000821982111561194157611941611a78565b500190565b600060ff821660ff84168060ff0382111561196357611963611a78565b019392505050565b60008261197a5761197a611a8e565b500490565b600081600019048311821515161561199957611999611a78565b500290565b600067ffffffffffffffff808316818516818304811182151516156119c5576119c5611a78565b02949350505050565b600060ff821660ff84168160ff04811182151516156119ef576119ef611a78565b029392505050565b600082821015611a0957611a09611a78565b500390565b600181811c90821680611a2257607f821691505b60208210811415611a4357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611a5d57611a5d611a78565b5060010190565b600082611a7357611a73611a8e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038116811461064057600080fd5b801515811461064057600080fd5b600b811061064057600080fd5b6008811061064057600080fd5b6018811061064057600080fd5b6010811061064057600080fd5b601d811061064057600080fd5b6016811061064057600080fd5b601b811061064057600080fd5b6006811061064057600080fd5b600a811061064057600080fdfea2646970667358221220b0e38487aa9eb6c24f5a7fcfa19c20d2bd494f19dd6ca16c868cbdc56774b00264736f6c63430008070033
Deployed Bytecode Sourcemap
48133:2690:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48503:114;;;;;;:::i;:::-;;:::i;:::-;;36621:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38788:169;;;;;;:::i;:::-;;:::i;:::-;;;8991:14:1;;8984:22;8966:41;;8954:2;8939:18;38788:169:0;8826:187:1;30930:117:0;;;;;;:::i;:::-;;:::i;37741:108::-;37829:12;;37741:108;;;16683:25:1;;;16671:2;16656:18;37741:108:0;16537:177:1;39439:492:0;;;;;;:::i;:::-;;:::i;37583:93::-;;;37666:2;16861:36:1;;16849:2;16834:18;37583:93:0;16719:184:1;40340:215:0;;;;;;:::i;:::-;;:::i;47073:91::-;;;;;;:::i;:::-;;:::i;48224:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;49272:188;;;;;;:::i;:::-;;:::i;37912:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;38013:18:0;37986:7;38013:18;;;;;;;;;;;;37912:127;29580:94;;;:::i;47483:368::-;;;;;;:::i;:::-;;:::i;28929:87::-;29002:6;;28929:87;;-1:-1:-1;;;;;29002:6:0;;;8485:51:1;;8473:2;8458:18;28929:87:0;8339:203:1;36840:104:0;;;:::i;41058:413::-;;;;;;:::i;:::-;;:::i;50313:507::-;;;;;;:::i;:::-;;:::i;38252:175::-;;;;;;:::i;:::-;;:::i;49563:262::-;;;;;;:::i;:::-;;:::i;38490:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;38606:18:0;;;38579:7;38606:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;38490:151;48381:114;;;;;;:::i;:::-;;:::i;48715:549::-;;;:::i;49929:185::-;;;;;;:::i;:::-;;:::i;29829:192::-;;;;;;:::i;:::-;;:::i;48503:114::-;30532:11;;:31;;-1:-1:-1;;;30532:31:0;;30552:10;30532:31;;;8485:51:1;-1:-1:-1;;;;;30532:11:0;;;;:19;;8458:18:1;;30532:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30524:55;;;;-1:-1:-1;;;30524:55:0;;;;;;;:::i;:::-;;;;;;;;;48581:28:::1;48587:4:::0;48593:15:::1;:5:::0;48601:7:::1;48593:15;:::i;:::-;48581:5;:28::i;:::-;48503:114:::0;;:::o;36621:100::-;36675:13;36708:5;36701:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36621:100;:::o;38788:169::-;38871:4;38888:39;27797:10;38911:7;38920:6;38888:8;:39::i;:::-;-1:-1:-1;38945:4:0;38788:169;;;;:::o;30930:117::-;29002:6;;-1:-1:-1;;;;;29002:6:0;27797:10;29149:23;29141:68;;;;-1:-1:-1;;;29141:68:0;;;;;;;:::i;:::-;31016:11:::1;:23:::0;;-1:-1:-1;;;;;;31016:23:0::1;-1:-1:-1::0;;;;;31016:23:0;;;::::1;::::0;;;::::1;::::0;;30930:117::o;39439:492::-;39579:4;39596:36;39606:6;39614:9;39625:6;39596:9;:36::i;:::-;-1:-1:-1;;;;;39672:19:0;;39645:24;39672:19;;;:11;:19;;;;;;;;27797:10;39672:33;;;;;;;;39724:26;;;;39716:79;;;;-1:-1:-1;;;39716:79:0;;12523:2:1;39716:79:0;;;12505:21:1;12562:2;12542:18;;;12535:30;12601:34;12581:18;;;12574:62;-1:-1:-1;;;12652:18:1;;;12645:38;12700:19;;39716:79:0;12321:404:1;39716:79:0;39831:57;39840:6;27797:10;39881:6;39862:16;:25;39831:8;:57::i;:::-;39919:4;39912:11;;;39439:492;;;;;;:::o;40340:215::-;27797:10;40428:4;40477:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;40477:34:0;;;;;;;;;;40428:4;;40445:80;;40468:7;;40477:47;;40514:10;;40477:47;:::i;:::-;40445:8;:80::i;47073:91::-;47129:27;27797:10;47149:6;47129:5;:27::i;:::-;47073:91;:::o;49272:188::-;49334:4;49420:1;:12;;;:20;;49439:1;49420:20;;;49435:1;49420:20;49395:12;49382:1;:9;;;:25;;;;;;;;:::i;:::-;;;:33;;49414:1;49382:33;;;49410:1;49382:33;49360:9;;:17;;49376:1;49360:17;;;49372:1;49360:17;49359:57;;;;:::i;:::-;:82;;;;:::i;:::-;49358:94;;;;49445:7;49358:94;:::i;:::-;49351:101;;;49272:188;-1:-1:-1;;49272:188:0:o;29580:94::-;29002:6;;-1:-1:-1;;;;;29002:6:0;27797:10;29149:23;29141:68;;;;-1:-1:-1;;;29141:68:0;;;;;;;:::i;:::-;29645:21:::1;29663:1;29645:9;:21::i;:::-;29580:94::o:0;47483:368::-;47560:24;47587:32;47597:7;27797:10;38490:151;:::i;47587:32::-;47560:59;;47658:6;47638:16;:26;;47630:75;;;;-1:-1:-1;;;47630:75:0;;13653:2:1;47630:75:0;;;13635:21:1;13692:2;13672:18;;;13665:30;13731:34;13711:18;;;13704:62;-1:-1:-1;;;13782:18:1;;;13775:34;13826:19;;47630:75:0;13451:400:1;47630:75:0;47741:58;47750:7;27797:10;47792:6;47773:16;:25;47741:8;:58::i;:::-;47821:22;47827:7;47836:6;47821:5;:22::i;:::-;47549:302;47483:368;;:::o;36840:104::-;36896:13;36929:7;36922:14;;;;;:::i;41058:413::-;27797:10;41151:4;41195:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;41195:34:0;;;;;;;;;;41248:35;;;;41240:85;;;;-1:-1:-1;;;41240:85:0;;15973:2:1;41240:85:0;;;15955:21:1;16012:2;15992:18;;;15985:30;16051:34;16031:18;;;16024:62;-1:-1:-1;;;16102:18:1;;;16095:35;16147:19;;41240:85:0;15771:401:1;41240:85:0;41361:67;27797:10;41384:7;41412:15;41393:16;:34;41361:8;:67::i;:::-;-1:-1:-1;41459:4:0;;41058:413;-1:-1:-1;;;41058:413:0:o;50313:507::-;50358:8;50395:1;50387:5;:9;50379:52;;;;-1:-1:-1;;;50379:52:0;;14058:2:1;50379:52:0;;;14040:21:1;14097:2;14077:18;;;14070:30;14136:32;14116:18;;;14109:60;14186:18;;50379:52:0;13856:354:1;50379:52:0;50460:10;37986:7;38013:18;;;;;;;;;;;50475:5;-1:-1:-1;50450:30:0;50442:74;;;;-1:-1:-1;;;50442:74:0;;12932:2:1;50442:74:0;;;12914:21:1;12971:2;12951:18;;;12944:30;13010:33;12990:18;;;12983:61;13061:18;;50442:74:0;12730:355:1;50442:74:0;50529:19;;;;;;;;;50545:3;50529:19;;;50565:17;50529:19;:13;50580:1;50565:11;:17::i;:::-;50561:231;;50604:49;50610:10;50631;50639:2;50631:5;:10;:::i;:::-;50623:18;;:5;:18;:::i;:::-;50622:30;;50645:7;50622:30;:::i;:::-;50604:5;:49::i;:::-;50674:4;50668:10;;50561:231;;;50720:34;50726:10;50738:15;:5;50746:7;50738:15;:::i;50720:34::-;50775:5;50769:11;;50561:231;50804:8;:3;:8;50313:507;;-1:-1:-1;50313:507:0:o;38252:175::-;38338:4;38355:42;27797:10;38379:9;38390:6;38355:9;:42::i;49563:262::-;49663:11;;:34;;-1:-1:-1;;;49663:34:0;;;;;16683:25:1;;;49624:4:0;;;;-1:-1:-1;;;;;49663:11:0;;;;:25;;16656:18:1;;49663:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49708:10;49740:27;;;:18;:27;;;;;;49641:56;;-1:-1:-1;49708:10:0;49771:5;;49722:45;;:15;:45;:::i;:::-;49721:55;;;;:::i;:::-;49708:68;;49812:5;49796:13;49807:1;49796:10;:13::i;:::-;:21;;;;:::i;:::-;49789:28;49563:262;-1:-1:-1;;;;49563:262:0:o;48381:114::-;30532:11;;:31;;-1:-1:-1;;;30532:31:0;;30552:10;30532:31;;;8485:51:1;-1:-1:-1;;;;;30532:11:0;;;;:19;;8458:18:1;;30532:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30524:55;;;;-1:-1:-1;;;30524:55:0;;;;;;;:::i;:::-;48459:28:::1;48465:4:::0;48471:15:::1;:5:::0;48479:7:::1;48471:15;:::i;48715:549::-:0;48771:11;;:33;;-1:-1:-1;;;48771:33:0;;48793:10;48771:33;;;8485:51:1;48758:10:0;;-1:-1:-1;;;;;48771:11:0;;:21;;8458:18:1;;48771:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48758:46;;48815:10;48847:6;48842:378;48863:5;48859:1;:9;48842:378;;;48905:11;;:46;;-1:-1:-1;;;48905:46:0;;48937:10;48905:46;;;8721:51:1;8788:18;;;8781:34;;;48890:12:0;;-1:-1:-1;;;;;48905:11:0;;:31;;8694:18:1;;48905:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48890:61;;48966:12;48981:25;48998:7;48981:16;:25::i;:::-;48966:40;-1:-1:-1;49025:11:0;;49021:157;;49125:27;;;;:18;:27;;;;;;49156:5;;49107:45;;:15;:45;:::i;:::-;49106:55;;;;:::i;:::-;49087:75;;:15;:75;:::i;:::-;49057:27;;;;:18;:27;;;;;:105;49021:157;49192:16;49201:7;49192:16;;:::i;:::-;;;48875:345;;48870:3;;;;:::i;:::-;;;48842:378;;;;49232:24;49238:10;49250:5;49232;:24::i;49929:185::-;30532:11;;:31;;-1:-1:-1;;;30532:31:0;;30552:10;30532:31;;;8485:51:1;-1:-1:-1;;;;;30532:11:0;;;;:19;;8458:18:1;;30532:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30524:55;;;;-1:-1:-1;;;30524:55:0;;;;;;;:::i;:::-;49999:27:::1;::::0;;;:18:::1;:27;::::0;;;;;:32;49991:59:::1;;;::::0;-1:-1:-1;;;49991:59:0;;15630:2:1;49991:59:0::1;::::0;::::1;15612:21:1::0;15669:2;15649:18;;;15642:30;-1:-1:-1;;;15688:18:1;;;15681:44;15742:18;;49991:59:0::1;15428:338:1::0;49991:59:0::1;50061:27;::::0;;;:18:::1;:27;::::0;;;;50091:15:::1;50061:45:::0;;49929:185::o;29829:192::-;29002:6;;-1:-1:-1;;;;;29002:6:0;27797:10;29149:23;29141:68;;;;-1:-1:-1;;;29141:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29918:22:0;::::1;29910:73;;;::::0;-1:-1:-1;;;29910:73:0;;10629:2:1;29910:73:0::1;::::0;::::1;10611:21:1::0;10668:2;10648:18;;;10641:30;10707:34;10687:18;;;10680:62;-1:-1:-1;;;10758:18:1;;;10751:36;10804:19;;29910:73:0::1;10427:402:1::0;29910:73:0::1;29994:19;30004:8;29994:9;:19::i;737:96::-:0;-1:-1:-1;;;;;;;;;;;;808:17:0;;;;;;;;812:12;:10;:12::i;:::-;808:17;;801:24;737:96;-1:-1:-1;737:96:0:o;43713:591::-;-1:-1:-1;;;;;43797:21:0;;43789:67;;;;-1:-1:-1;;;43789:67:0;;14417:2:1;43789:67:0;;;14399:21:1;14456:2;14436:18;;;14429:30;14495:34;14475:18;;;14468:62;-1:-1:-1;;;14546:18:1;;;14539:31;14587:19;;43789:67:0;14215:397:1;43789:67:0;-1:-1:-1;;;;;43956:18:0;;43931:22;43956:18;;;;;;;;;;;43993:24;;;;43985:71;;;;-1:-1:-1;;;43985:71:0;;10226:2:1;43985:71:0;;;10208:21:1;10265:2;10245:18;;;10238:30;10304:34;10284:18;;;10277:62;-1:-1:-1;;;10355:18:1;;;10348:32;10397:19;;43985:71:0;10024:398:1;43985:71:0;-1:-1:-1;;;;;44092:18:0;;:9;:18;;;;;;;;;;44113:23;;;44092:44;;44158:12;:22;;44130:6;;44092:9;44158:22;;44130:6;;44158:22;:::i;:::-;;;;-1:-1:-1;;44198:37:0;;16683:25:1;;;44224:1:0;;-1:-1:-1;;;;;44198:37:0;;;;;16671:2:1;16656:18;44198:37:0;;;;;;;47549:302;47483:368;;:::o;44742:380::-;-1:-1:-1;;;;;44878:19:0;;44870:68;;;;-1:-1:-1;;;44870:68:0;;15225:2:1;44870:68:0;;;15207:21:1;15264:2;15244:18;;;15237:30;15303:34;15283:18;;;15276:62;-1:-1:-1;;;15354:18:1;;;15347:34;15398:19;;44870:68:0;15023:400:1;44870:68:0;-1:-1:-1;;;;;44957:21:0;;44949:68;;;;-1:-1:-1;;;44949:68:0;;11036:2:1;44949:68:0;;;11018:21:1;11075:2;11055:18;;;11048:30;11114:34;11094:18;;;11087:62;-1:-1:-1;;;11165:18:1;;;11158:32;11207:19;;44949:68:0;10834:398:1;44949:68:0;-1:-1:-1;;;;;45030:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;45082:32;;16683:25:1;;;45082:32:0;;16656:18:1;45082:32:0;;;;;;;44742:380;;;:::o;41961:733::-;-1:-1:-1;;;;;42101:20:0;;42093:70;;;;-1:-1:-1;;;42093:70:0;;14819:2:1;42093:70:0;;;14801:21:1;14858:2;14838:18;;;14831:30;14897:34;14877:18;;;14870:62;-1:-1:-1;;;14948:18:1;;;14941:35;14993:19;;42093:70:0;14617:401:1;42093:70:0;-1:-1:-1;;;;;42182:23:0;;42174:71;;;;-1:-1:-1;;;42174:71:0;;9822:2:1;42174:71:0;;;9804:21:1;9861:2;9841:18;;;9834:30;9900:34;9880:18;;;9873:62;-1:-1:-1;;;9951:18:1;;;9944:33;9994:19;;42174:71:0;9620:399:1;42174:71:0;-1:-1:-1;;;;;42342:17:0;;42318:21;42342:17;;;;;;;;;;;42378:23;;;;42370:74;;;;-1:-1:-1;;;42370:74:0;;11439:2:1;42370:74:0;;;11421:21:1;11478:2;11458:18;;;11451:30;11517:34;11497:18;;;11490:62;-1:-1:-1;;;11568:18:1;;;11561:36;11614:19;;42370:74:0;11237:402:1;42370:74:0;-1:-1:-1;;;;;42480:17:0;;;:9;:17;;;;;;;;;;;42500:22;;;42480:42;;42544:20;;;;;;;;:30;;42516:6;;42480:9;42544:30;;42516:6;;42544:30;:::i;:::-;;;;;;;;42609:9;-1:-1:-1;;;;;42592:35:0;42601:6;-1:-1:-1;;;;;42592:35:0;;42620:6;42592:35;;;;16683:25:1;;16671:2;16656:18;;16537:177;42592:35:0;;;;;;;;42082:612;41961:733;;;:::o;30029:173::-;30104:6;;;-1:-1:-1;;;;;30121:17:0;;;-1:-1:-1;;;;;;30121:17:0;;;;;;;30154:40;;30104:6;;;30121:17;30104:6;;30154:40;;30085:16;;30154:40;30074:128;30029:173;:::o;1614:292::-;1692:7;1727:3;1720;:10;;1712:32;;;;-1:-1:-1;;;1712:32:0;;12186:2:1;1712:32:0;;;12168:21:1;12225:1;12205:18;;;12198:29;-1:-1:-1;;;12243:18:1;;;12236:39;12292:18;;1712:32:0;11984:332:1;1712:32:0;1757:10;1770:9;1776:3;1770;:9;:::i;:::-;1757:22;-1:-1:-1;1796:10:0;1792:53;;1830:3;1823:10;;;;;1792:53;1895:3;1882:9;:5;1890:1;1882:9;:::i;:::-;1864:14;1873:4;1864:8;:14::i;:::-;:28;;;;:::i;:::-;:34;;;;:::i;:::-;1857:41;1614:292;-1:-1:-1;;;;;1614:292:0:o;42981:399::-;-1:-1:-1;;;;;43065:21:0;;43057:65;;;;-1:-1:-1;;;43057:65:0;;16379:2:1;43057:65:0;;;16361:21:1;16418:2;16398:18;;;16391:30;16457:33;16437:18;;;16430:61;16508:18;;43057:65:0;16177:355:1;43057:65:0;43213:6;43197:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;43230:18:0;;:9;:18;;;;;;;;;;:28;;43252:6;;43230:9;:28;;43252:6;;43230:28;:::i;:::-;;;;-1:-1:-1;;43274:37:0;;16683:25:1;;;-1:-1:-1;;;;;43274:37:0;;;43291:1;;43274:37;;16671:2:1;16656:18;43274:37:0;;;;;;;48503:114;;:::o;948:135::-;1030:44;;-1:-1:-1;;1047:14:0;7976:2:1;7972:15;;;7968:24;;1030:44:0;;;7956:37:1;1063:10:0;8027:15:1;;8023:24;8009:12;;;8002:46;993:7:0;;8064:12:1;;1030:44:0;;;;;;;;;;;;1020:55;;;;;;1013:62;;948:135;:::o;1145:189::-;1203:7;1263:12;:10;:12::i;:::-;1277:10;;1246:42;;;;;;8244:19:1;;;;8279:12;;8272:28;8316:12;;1246:42:0;;;-1:-1:-1;;1246:42:0;;;;;;;;;1236:53;;1246:42;1236:53;;;;1223:66;;;;-1:-1:-1;1236:53:0;1145:189::o;14:128:1:-;79:20;;108:28;79:20;108:28;:::i;:::-;14:128;;;:::o;147:132::-;223:13;;245:28;223:13;245:28;:::i;284:144::-;357:20;;386:36;357:20;386:36;:::i;433:148::-;517:13;;539:36;517:13;539:36;:::i;586:146::-;660:20;;689:37;660:20;689:37;:::i;737:150::-;822:13;;844:37;822:13;844:37;:::i;892:138::-;962:20;;991:33;962:20;991:33;:::i;1035:142::-;1116:13;;1138:33;1116:13;1138:33;:::i;1182:156::-;1261:20;;1290:42;1261:20;1290:42;:::i;1343:160::-;1433:13;;1455:42;1433:13;1455:42;:::i;1508:156::-;1587:20;;1616:42;1587:20;1616:42;:::i;1669:160::-;1759:13;;1781:42;1759:13;1781:42;:::i;1834:140::-;1905:20;;1934:34;1905:20;1934:34;:::i;1979:144::-;2061:13;;2083:34;2061:13;2083:34;:::i;2128:142::-;2200:20;;2229:35;2200:20;2229:35;:::i;2275:146::-;2358:13;;2380:35;2358:13;2380:35;:::i;2426:148::-;2501:20;;2530:38;2501:20;2530:38;:::i;2579:152::-;2665:13;;2687:38;2665:13;2687:38;:::i;2736:144::-;2809:20;;2838:36;2809:20;2838:36;:::i;2885:148::-;2969:13;;2991:36;2969:13;2991:36;:::i;3038:247::-;3097:6;3150:2;3138:9;3129:7;3125:23;3121:32;3118:52;;;3166:1;3163;3156:12;3118:52;3205:9;3192:23;3224:31;3249:5;3224:31;:::i;3290:388::-;3358:6;3366;3419:2;3407:9;3398:7;3394:23;3390:32;3387:52;;;3435:1;3432;3425:12;3387:52;3474:9;3461:23;3493:31;3518:5;3493:31;:::i;:::-;3543:5;-1:-1:-1;3600:2:1;3585:18;;3572:32;3613:33;3572:32;3613:33;:::i;:::-;3665:7;3655:17;;;3290:388;;;;;:::o;3683:456::-;3760:6;3768;3776;3829:2;3817:9;3808:7;3804:23;3800:32;3797:52;;;3845:1;3842;3835:12;3797:52;3884:9;3871:23;3903:31;3928:5;3903:31;:::i;:::-;3953:5;-1:-1:-1;4010:2:1;3995:18;;3982:32;4023:33;3982:32;4023:33;:::i;:::-;3683:456;;4075:7;;-1:-1:-1;;;4129:2:1;4114:18;;;;4101:32;;3683:456::o;4144:315::-;4212:6;4220;4273:2;4261:9;4252:7;4248:23;4244:32;4241:52;;;4289:1;4286;4279:12;4241:52;4328:9;4315:23;4347:31;4372:5;4347:31;:::i;:::-;4397:5;4449:2;4434:18;;;;4421:32;;-1:-1:-1;;;4144:315:1:o;4464:245::-;4531:6;4584:2;4572:9;4563:7;4559:23;4555:32;4552:52;;;4600:1;4597;4590:12;4552:52;4632:9;4626:16;4651:28;4673:5;4651:28;:::i;4987:1115::-;5074:6;5127:3;5115:9;5106:7;5102:23;5098:33;5095:53;;;5144:1;5141;5134:12;5095:53;5170:17;;:::i;:::-;5210:26;5226:9;5210:26;:::i;:::-;5203:5;5196:41;5269:35;5300:2;5289:9;5285:18;5269:35;:::i;:::-;5264:2;5257:5;5253:14;5246:59;5337:43;5376:2;5365:9;5361:18;5337:43;:::i;:::-;5332:2;5325:5;5321:14;5314:67;5413:44;5453:2;5442:9;5438:18;5413:44;:::i;:::-;5408:2;5401:5;5397:14;5390:68;5491:46;5532:3;5521:9;5517:19;5491:46;:::i;:::-;5485:3;5478:5;5474:15;5467:71;5571:44;5610:3;5599:9;5595:19;5571:44;:::i;:::-;5565:3;5558:5;5554:15;5547:69;5649:43;5687:3;5676:9;5672:19;5649:43;:::i;:::-;5643:3;5636:5;5632:15;5625:68;5726:50;5771:3;5760:9;5756:19;5726:50;:::i;:::-;5720:3;5713:5;5709:15;5702:75;5796:3;5831:41;5868:2;5857:9;5853:18;5831:41;:::i;:::-;5815:14;;;5808:65;5892:3;5927:40;5948:18;;;5927:40;:::i;:::-;5911:14;;;5904:64;5987:3;6022:49;6052:18;;;6022:49;:::i;:::-;6006:14;;;5999:73;6010:5;4987:1115;-1:-1:-1;;;4987:1115:1:o;6107:1247::-;6205:6;6258:3;6246:9;6237:7;6233:23;6229:33;6226:53;;;6275:1;6272;6265:12;6226:53;6301:17;;:::i;:::-;6341:37;6368:9;6341:37;:::i;:::-;6334:5;6327:52;6411:46;6453:2;6442:9;6438:18;6411:46;:::i;:::-;6406:2;6399:5;6395:14;6388:70;6490:54;6540:2;6529:9;6525:18;6490:54;:::i;:::-;6485:2;6478:5;6474:14;6467:78;6577:55;6628:2;6617:9;6613:18;6577:55;:::i;:::-;6572:2;6565:5;6561:14;6554:79;6666:57;6718:3;6707:9;6703:19;6666:57;:::i;:::-;6660:3;6653:5;6649:15;6642:82;6757:55;6807:3;6796:9;6792:19;6757:55;:::i;:::-;6751:3;6744:5;6740:15;6733:80;6846:54;6895:3;6884:9;6880:19;6846:54;:::i;:::-;6840:3;6833:5;6829:15;6822:79;6934:61;6990:3;6979:9;6975:19;6934:61;:::i;:::-;6928:3;6921:5;6917:15;6910:86;7015:3;7050:52;7098:2;7087:9;7083:18;7050:52;:::i;:::-;7034:14;;;7027:76;7122:3;7157:51;7189:18;;;7157:51;:::i;:::-;7141:14;;;7134:75;7228:3;7263:60;7304:18;;;7263:60;:::i;7359:180::-;7418:6;7471:2;7459:9;7450:7;7446:23;7442:32;7439:52;;;7487:1;7484;7477:12;7439:52;-1:-1:-1;7510:23:1;;7359:180;-1:-1:-1;7359:180:1:o;7544:184::-;7614:6;7667:2;7655:9;7646:7;7642:23;7638:32;7635:52;;;7683:1;7680;7673:12;7635:52;-1:-1:-1;7706:16:1;;7544:184;-1:-1:-1;7544:184:1:o;9018:597::-;9130:4;9159:2;9188;9177:9;9170:21;9220:6;9214:13;9263:6;9258:2;9247:9;9243:18;9236:34;9288:1;9298:140;9312:6;9309:1;9306:13;9298:140;;;9407:14;;;9403:23;;9397:30;9373:17;;;9392:2;9369:26;9362:66;9327:10;;9298:140;;;9456:6;9453:1;9450:13;9447:91;;;9526:1;9521:2;9512:6;9501:9;9497:22;9493:31;9486:42;9447:91;-1:-1:-1;9599:2:1;9578:15;-1:-1:-1;;9574:29:1;9559:45;;;;9606:2;9555:54;;9018:597;-1:-1:-1;;;9018:597:1:o;11644:335::-;11846:2;11828:21;;;11885:2;11865:18;;;11858:30;-1:-1:-1;;;11919:2:1;11904:18;;11897:41;11970:2;11955:18;;11644:335::o;13090:356::-;13292:2;13274:21;;;13311:18;;;13304:30;13370:34;13365:2;13350:18;;13343:62;13437:2;13422:18;;13090:356::o;16908:344::-;16975:2;16969:9;17017:3;17005:16;;17051:18;17036:34;;17072:22;;;17033:62;17030:185;;;17137:10;17132:3;17128:20;17125:1;17118:31;17172:4;17169:1;17162:15;17200:4;17197:1;17190:15;17030:185;17231:2;17224:22;16908:344;:::o;17257:128::-;17297:3;17328:1;17324:6;17321:1;17318:13;17315:39;;;17334:18;;:::i;:::-;-1:-1:-1;17370:9:1;;17257:128::o;17390:204::-;17428:3;17464:4;17461:1;17457:12;17496:4;17493:1;17489:12;17531:3;17525:4;17521:14;17516:3;17513:23;17510:49;;;17539:18;;:::i;:::-;17575:13;;17390:204;-1:-1:-1;;;17390:204:1:o;17599:120::-;17639:1;17665;17655:35;;17670:18;;:::i;:::-;-1:-1:-1;17704:9:1;;17599:120::o;17724:168::-;17764:7;17830:1;17826;17822:6;17818:14;17815:1;17812:21;17807:1;17800:9;17793:17;17789:45;17786:71;;;17837:18;;:::i;:::-;-1:-1:-1;17877:9:1;;17724:168::o;17897:270::-;17936:7;17968:18;18013:2;18010:1;18006:10;18043:2;18040:1;18036:10;18099:3;18095:2;18091:12;18086:3;18083:21;18076:3;18069:11;18062:19;18058:47;18055:73;;;18108:18;;:::i;:::-;18148:13;;17897:270;-1:-1:-1;;;;17897:270:1:o;18172:238::-;18210:7;18250:4;18247:1;18243:12;18282:4;18279:1;18275:12;18342:3;18336:4;18332:14;18327:3;18324:23;18317:3;18310:11;18303:19;18299:49;18296:75;;;18351:18;;:::i;:::-;18391:13;;18172:238;-1:-1:-1;;;18172:238:1:o;18415:125::-;18455:4;18483:1;18480;18477:8;18474:34;;;18488:18;;:::i;:::-;-1:-1:-1;18525:9:1;;18415:125::o;18545:380::-;18624:1;18620:12;;;;18667;;;18688:61;;18742:4;18734:6;18730:17;18720:27;;18688:61;18795:2;18787:6;18784:14;18764:18;18761:38;18758:161;;;18841:10;18836:3;18832:20;18829:1;18822:31;18876:4;18873:1;18866:15;18904:4;18901:1;18894:15;18758:161;;18545:380;;;:::o;18930:135::-;18969:3;-1:-1:-1;;18990:17:1;;18987:43;;;19010:18;;:::i;:::-;-1:-1:-1;19057:1:1;19046:13;;18930:135::o;19070:112::-;19102:1;19128;19118:35;;19133:18;;:::i;:::-;-1:-1:-1;19167:9:1;;19070:112::o;19187:127::-;19248:10;19243:3;19239:20;19236:1;19229:31;19279:4;19276:1;19269:15;19303:4;19300:1;19293:15;19319:127;19380:10;19375:3;19371:20;19368:1;19361:31;19411:4;19408:1;19401:15;19435:4;19432:1;19425:15;19451:127;19512:10;19507:3;19503:20;19500:1;19493:31;19543:4;19540:1;19533:15;19567:4;19564:1;19557:15;19583:131;-1:-1:-1;;;;;19658:31:1;;19648:42;;19638:70;;19704:1;19701;19694:12;19719:118;19805:5;19798:13;19791:21;19784:5;19781:32;19771:60;;19827:1;19824;19817:12;19842:107;19922:2;19915:5;19912:13;19902:41;;19939:1;19936;19929:12;19954:107;20035:1;20028:5;20025:12;20015:40;;20051:1;20048;20041:12;20066:104;20143:2;20136:5;20133:13;20123:41;;20160:1;20157;20150:12;20175:113;20261:2;20254:5;20251:13;20241:41;;20278:1;20275;20268:12;20293:113;20379:2;20372:5;20369:13;20359:41;;20396:1;20393;20386:12;20411:105;20489:2;20482:5;20479:13;20469:41;;20506:1;20503;20496:12;20521:106;20600:2;20593:5;20590:13;20580:41;;20617:1;20614;20607:12;20632:108;20714:1;20707:5;20704:12;20694:40;;20730:1;20727;20720:12;20745:107;20825:2;20818:5;20815:13;20805:41;;20842:1;20839;20832:12
Swarm Source
ipfs://b0e38487aa9eb6c24f5a7fcfa19c20d2bd494f19dd6ca16c868cbdc56774b002
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.