ERC-20
Overview
Max Total Supply
83,403.837 CANDY
Holders
87
Market
Price
$0.93 @ 0.000240 ETH
Onchain Market Cap
$77,532.27
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.049785331949732923 CANDYValue
$0.05 ( ~1.2913863207472E-05 Eth) [0.0001%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x3142daD3...095eb6b37 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ShardRegistry
Compiler Version
v0.5.15+commit.6a57276f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-01-11 */ /* solhint-disable no-mix-tabs-and-spaces */ /* solhint-disable indent */ pragma solidity 0.5.15; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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. * * 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 returns (uint8) { return _decimals; } } /* * @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 GSN 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. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @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 {ERC20Mintable}. * * 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 guidelines: functions revert instead * of 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 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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 returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public 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 returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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 returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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 returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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 { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(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 * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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 { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 { 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 Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } } /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } contract MinterRole is Context { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(_msgSender()); } modifier onlyMinter() { require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role"); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(_msgSender()); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } /** * @dev Extension of {ERC20} that adds a set of accounts with the {MinterRole}, * which have permission to mint (create) new tokens as they see fit. * * At construction, the deployer of the contract is the only minter. */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev See {ERC20-_mint}. * * Requirements: * * - the caller must have the {MinterRole}. */ function mint(address account, uint256 amount) public onlyMinter returns (bool) { _mint(account, amount); return true; } } /** * @dev Extension of {ERC20Mintable} that adds a cap to the supply of tokens. */ contract ERC20Capped is ERC20Mintable { uint256 private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor (uint256 cap) public { require(cap > 0, "ERC20Capped: cap is 0"); _cap = cap; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view returns (uint256) { return _cap; } /** * @dev See {ERC20Mintable-mint}. * * Requirements: * * - `value` must not cause the total supply to go over the cap. */ function _mint(address account, uint256 value) internal { require(totalSupply().add(value) <= _cap, "ERC20Capped: cap exceeded"); super._mint(account, value); } } /** * @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). */ contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public { _burn(_msgSender(), amount); } /** * @dev See {ERC20-_burnFrom}. */ function burnFrom(address account, uint256 amount) public { _burnFrom(account, amount); } } contract PauserRole is Context { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(_msgSender()); } modifier onlyPauser() { require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role"); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(_msgSender()); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } } /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context, PauserRole { /** * @dev Emitted when the pause is triggered by a pauser (`account`). */ event Paused(address account); /** * @dev Emitted when the pause is lifted by a pauser (`account`). */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. Assigns the Pauser role * to the deployer. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Called by a pauser to pause, triggers stopped state. */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Called by a pauser to unpause, returns to normal state. */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(_msgSender()); } } /** * @title Pausable token * @dev ERC20 with pausable transfers and allowances. * * Useful if you want to stop trades until the end of a crowdsale, or have * an emergency switch for freezing all token transfers in the event of a large * bug. */ contract ERC20Pausable is ERC20, Pausable { function transfer(address to, uint256 value) public whenNotPaused returns (bool) { return super.transfer(to, value); } function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) { return super.transferFrom(from, to, value); } function approve(address spender, uint256 value) public whenNotPaused returns (bool) { return super.approve(spender, value); } function increaseAllowance(address spender, uint256 addedValue) public whenNotPaused returns (bool) { return super.increaseAllowance(spender, addedValue); } function decreaseAllowance(address spender, uint256 subtractedValue) public whenNotPaused returns (bool) { return super.decreaseAllowance(spender, subtractedValue); } } /* solhint-disable no-mix-tabs-and-spaces */ /* solhint-disable indent */ /** * @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); } /** * @dev Required interface of an ERC721 compliant contract. */ contract IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of NFTs in `owner`'s account. */ function balanceOf(address owner) public view returns (uint256 balance); /** * @dev Returns the owner of the NFT specified by `tokenId`. */ function ownerOf(uint256 tokenId) public view returns (address owner); /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * * * Requirements: * - `from`, `to` cannot be zero. * - `tokenId` must be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this * NFT by either {approve} or {setApprovalForAll}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public; /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * Requirements: * - If the caller is not `from`, it must be approved to move this NFT by * either {approve} or {setApprovalForAll}. */ function transferFrom(address from, address to, uint256 tokenId) public; function approve(address to, uint256 tokenId) public; function getApproved(uint256 tokenId) public view returns (address operator); function setApprovalForAll(address operator, bool _approved) public; function isApprovedForAll(address owner, address operator) public view returns (bool); function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public; } /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ contract IERC721Receiver { /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a {IERC721-safeTransferFrom}. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onERC721Received.selector`. This * function MAY throw to revert and reject the transfer. * Note: the ERC721 contract address is always the message sender. * @param operator The address which called `safeTransferFrom` function * @param from The address which previously owned the token * @param tokenId The NFT identifier which is being transferred * @param data Additional data with no specified format * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public returns (bytes4); } /* solhint-disable no-mix-tabs-and-spaces */ /* solhint-disable indent */ /** * @title Contract managing Shard Offering lifecycle, similar to a crowdsale. * @author Joel Hubert (Metalith.io) * @dev OpenZeppelin contracts are not ready for 0.6.0 yet, using 0.5.16. * @dev Acts as a wallet containing subscriber Ether. */ contract ShardOffering { using SafeMath for uint256; ShardGovernor private _shardGovernor; uint private _offeringDeadline; uint private _pricePerShardInWei; uint private _contributionTargetInWei; uint private _liqProviderCutInShards; uint private _artistCutInShards; uint private _offererShardAmount; address[] private _contributors; mapping(address => uint) private _contributionsinWei; mapping(address => uint) private _contributionsInShards; mapping(address => bool) private _hasClaimedShards; uint private _totalWeiContributed; uint private _totalShardsClaimed; bool private _offeringCompleted; event Contribution(address indexed contributor, uint indexed weiAmount); event OfferingWrappedUp(); constructor( uint pricePerShardInWei, uint shardAmountOffered, uint liqProviderCutInShards, uint artistCutInShards, uint offeringDeadline, uint cap ) public { _pricePerShardInWei = pricePerShardInWei; _liqProviderCutInShards = liqProviderCutInShards; _artistCutInShards = artistCutInShards; _offeringDeadline = offeringDeadline; _shardGovernor = ShardGovernor(msg.sender); _contributionTargetInWei = (pricePerShardInWei.mul(shardAmountOffered)).div(10**18); _offererShardAmount = cap.sub(shardAmountOffered).sub(liqProviderCutInShards).sub(artistCutInShards); } /** * @notice Contribute Ether to offering. * @dev Blocks Offerer from contributing. May be exaggerated. * @dev if target Ether amount is raised, automatically transfers Ether to Offerer. */ function contribute() external payable { require( !_offeringCompleted, "[contribute] Offering is complete" ); require( msg.value > 0, "[contribute] Contribution requires ether" ); require( msg.value <= _contributionTargetInWei - _totalWeiContributed, "[contribute] Ether value exceeds remaining quota" ); require( msg.sender != _shardGovernor.offererAddress(), "[contribute] Offerer cannot contribute" ); require( now < _offeringDeadline, "[contribute] Deadline for offering expired" ); require( _shardGovernor.checkLock(), "[contribute] NFT not locked yet" ); if (_contributionsinWei[msg.sender] == 0) { _contributors.push(msg.sender); } _contributionsinWei[msg.sender] = _contributionsinWei[msg.sender].add(msg.value); uint shardAmount = (msg.value.mul(10**18)).div(_pricePerShardInWei); _contributionsInShards[msg.sender] = _contributionsInShards[msg.sender].add(shardAmount); _totalWeiContributed = _totalWeiContributed.add(msg.value); _totalShardsClaimed = _totalShardsClaimed.add(shardAmount); if (_totalWeiContributed == _contributionTargetInWei) { _offeringCompleted = true; (bool success, ) = _shardGovernor.offererAddress().call.value(address(this).balance)(""); require(success, "[contribute] Transfer failed."); } emit Contribution(msg.sender, msg.value); } /** * @notice Prematurely end Offering. * @dev Called by Governor contract when Offering deadline expires and has not * raised the target amount of Ether. * @dev reentrancy is guarded in _shardGovernor.checkOfferingAndIssue() by `hasClaimedShards`. */ function wrapUpOffering() external { require( msg.sender == address(_shardGovernor), "[wrapUpOffering] Unauthorized caller" ); _offeringCompleted = true; (bool success, ) = _shardGovernor.offererAddress().call.value(address(this).balance)(""); require(success, "[wrapUpOffering] Transfer failed."); emit OfferingWrappedUp(); } /** * @notice Records Shard claim for subcriber. * @dev Can only be called by Governor contract on Offering close. * @param claimant wallet address of the person claiming the Shards they subscribed to. */ function claimShards(address claimant) external { require( msg.sender == address(_shardGovernor), "[claimShards] Unauthorized caller" ); _hasClaimedShards[claimant] = true; } function offeringDeadline() external view returns (uint) { return _offeringDeadline; } function getSubEther(address sub) external view returns (uint) { return _contributionsinWei[sub]; } function getSubShards(address sub) external view returns (uint) { return _contributionsInShards[sub]; } function hasClaimedShards(address claimant) external view returns (bool) { return _hasClaimedShards[claimant]; } function pricePerShardInWei() external view returns (uint) { return _pricePerShardInWei; } function offererShardAmount() external view returns (uint) { return _offererShardAmount; } function liqProviderCutInShards() external view returns (uint) { return _liqProviderCutInShards; } function artistCutInShards() external view returns (uint) { return _artistCutInShards; } function offeringCompleted() external view returns (bool) { return _offeringCompleted; } function totalShardsClaimed() external view returns (uint) { return _totalShardsClaimed; } function totalWeiContributed() external view returns (uint) { return _totalWeiContributed; } function contributionTargetInWei() external view returns (uint) { return _contributionTargetInWei; } function getContractBalance() external view returns (uint) { return address(this).balance; } function contributors() external view returns (address[] memory) { return _contributors; } } /* solhint-disable no-mix-tabs-and-spaces */ /* solhint-disable indent */ /** * @title Contract managing Shotgun Clause lifecycle * @author Joel Hubert (Metalith.io) * @dev OpenZeppelin contracts are not ready for 0.6.0 yet, using 0.5.16. * @dev This contract is deployed once a Shotgun is initiated by calling the Registry. */ contract ShotgunClause { using SafeMath for uint256; ShardGovernor private _shardGovernor; ShardRegistry private _shardRegistry; enum ClaimWinner { None, Claimant, Counterclaimant } ClaimWinner private _claimWinner = ClaimWinner.None; uint private _deadlineTimestamp; uint private _initialOfferInWei; uint private _pricePerShardInWei; address payable private _initialClaimantAddress; uint private _initialClaimantBalance; bool private _shotgunEnacted = false; uint private _counterWeiContributed; address[] private _counterclaimants; mapping(address => uint) private _counterclaimContribs; event Countercommit(address indexed committer, uint indexed weiAmount); event EtherCollected(address indexed collector, uint indexed weiAmount); constructor( address payable initialClaimantAddress, uint initialClaimantBalance, address shardRegistryAddress ) public payable { _shardGovernor = ShardGovernor(msg.sender); _shardRegistry = ShardRegistry(shardRegistryAddress); _deadlineTimestamp = now.add(1 * 14 days); _initialClaimantAddress = initialClaimantAddress; _initialClaimantBalance = initialClaimantBalance; _initialOfferInWei = msg.value; _pricePerShardInWei = (_initialOfferInWei.mul(10**18)).div(_shardRegistry.cap().sub(_initialClaimantBalance)); _claimWinner = ClaimWinner.Claimant; } /** * @notice Contribute Ether to the counterclaim for this Shotgun. * @dev Automatically enacts Shotgun once enough Ether is raised and returns initial claimant's Ether offer. */ function counterCommitEther() external payable { require( _shardRegistry.balanceOf(msg.sender) > 0, "[counterCommitEther] Account does not own Shards" ); require( msg.value > 0, "[counterCommitEther] Ether is required" ); require( _initialClaimantAddress != address(0), "[counterCommitEther] Initial claimant does not exist" ); require( msg.sender != _initialClaimantAddress, "[counterCommitEther] Initial claimant cannot countercommit" ); require( !_shotgunEnacted, "[counterCommitEther] Shotgun already enacted" ); require( now < _deadlineTimestamp, "[counterCommitEther] Deadline has expired" ); require( msg.value + _counterWeiContributed <= getRequiredWeiForCounterclaim(), "[counterCommitEther] Ether exceeds goal" ); if (_counterclaimContribs[msg.sender] == 0) { _counterclaimants.push(msg.sender); } _counterclaimContribs[msg.sender] = _counterclaimContribs[msg.sender].add(msg.value); _counterWeiContributed = _counterWeiContributed.add(msg.value); emit Countercommit(msg.sender, msg.value); if (_counterWeiContributed == getRequiredWeiForCounterclaim()) { _claimWinner = ClaimWinner.Counterclaimant; enactShotgun(); } } /** * @notice Collect ether from completed Shotgun. * @dev Called by Shard Registry after burning caller's Shards. * @dev For counterclaimants, returns both the proportional worth of their Shards in Ether AND any counterclaim contributions they have made. * @dev alternative: OpenZeppelin PaymentSplitter */ function collectEtherProceeds(uint balance, address payable caller) external { require( msg.sender == address(_shardRegistry), "[collectEtherProceeds] Caller not authorized" ); if (_claimWinner == ClaimWinner.Claimant && caller != _initialClaimantAddress) { uint weiProceeds = (_pricePerShardInWei.mul(balance)).div(10**18); weiProceeds = weiProceeds.add(_counterclaimContribs[caller]); _counterclaimContribs[caller] = 0; (bool success, ) = address(caller).call.value(weiProceeds)(""); require(success, "[collectEtherProceeds] Transfer failed."); emit EtherCollected(caller, weiProceeds); } else if (_claimWinner == ClaimWinner.Counterclaimant && caller == _initialClaimantAddress) { uint amount = (_pricePerShardInWei.mul(_initialClaimantBalance)).div(10**18); amount = amount.add(_initialOfferInWei); _initialClaimantBalance = 0; (bool success, ) = address(caller).call.value(amount)(""); require(success, "[collectEtherProceeds] Transfer failed."); emit EtherCollected(caller, amount); } } /** * @notice Use by successful counterclaimants to collect Shards from initial claimant. */ function collectShardProceeds() external { require( _shotgunEnacted && _claimWinner == ClaimWinner.Counterclaimant, "[collectShardProceeds] Shotgun has not been enacted or invalid winner" ); require( _counterclaimContribs[msg.sender] != 0, "[collectShardProceeds] Account has not participated in counterclaim" ); uint proportionContributed = (_counterclaimContribs[msg.sender].mul(10**18)).div(_counterWeiContributed); _counterclaimContribs[msg.sender] = 0; uint shardsToReceive = (proportionContributed.mul(_initialClaimantBalance)).div(10**18); _shardGovernor.transferShards(msg.sender, shardsToReceive); } function deadlineTimestamp() external view returns (uint256) { return _deadlineTimestamp; } function shotgunEnacted() external view returns (bool) { return _shotgunEnacted; } function initialClaimantAddress() external view returns (address) { return _initialClaimantAddress; } function initialClaimantBalance() external view returns (uint) { return _initialClaimantBalance; } function initialOfferInWei() external view returns (uint256) { return _initialOfferInWei; } function pricePerShardInWei() external view returns (uint256) { return _pricePerShardInWei; } function claimWinner() external view returns (ClaimWinner) { return _claimWinner; } function counterclaimants() external view returns (address[] memory) { return _counterclaimants; } function getCounterclaimantContribution(address counterclaimant) external view returns (uint) { return _counterclaimContribs[counterclaimant]; } function counterWeiContributed() external view returns (uint) { return _counterWeiContributed; } function getContractBalance() external view returns (uint) { return address(this).balance; } function shardGovernor() external view returns (address) { return address(_shardGovernor); } function getRequiredWeiForCounterclaim() public view returns (uint) { return (_pricePerShardInWei.mul(_initialClaimantBalance)).div(10**18); } /** * @notice Initiate Shotgun enactment. * @dev Automatically called if enough Ether is raised by counterclaimants, or manually called if deadline expires without successful counterclaim. */ function enactShotgun() public { require( !_shotgunEnacted, "[enactShotgun] Shotgun already enacted" ); require( _claimWinner == ClaimWinner.Counterclaimant || (_claimWinner == ClaimWinner.Claimant && now > _deadlineTimestamp), "[enactShotgun] Conditions not met to enact Shotgun Clause" ); _shotgunEnacted = true; _shardGovernor.enactShotgun(); } } /* solhint-disable no-mix-tabs-and-spaces */ /* solhint-disable indent */ interface IUniswapExchange { function removeLiquidity( uint256 uniTokenAmount, uint256 minEth, uint256 minTokens, uint256 deadline ) external returns( uint256, uint256 ); function transferFrom( address from, address to, uint256 value ) external returns (bool); } /** * @title Contract managing Shard lifecycle (NFT custody + Shard issuance and redemption) * @author Joel Hubert (Metalith.io) * @dev OpenZeppelin contracts are not ready for 0.6.0 yet, using 0.5.15. * @dev This contract owns the Registry, Offering and any Shotgun contracts, * making it the gateway for core state changes. */ contract ShardGovernor is IERC721Receiver { using SafeMath for uint256; // Equals `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; ShardRegistry private _shardRegistry; ShardOffering private _shardOffering; ShotgunClause private _currentShotgunClause; address payable private _offererAddress; address private _nftRegistryAddress; address payable private _niftexWalletAddress; address payable private _artistWalletAddress; uint256 private _tokenId; enum ClaimWinner { None, Claimant, Counterclaimant } address[] private _shotgunAddressArray; mapping(address => uint) private _shotgunMapping; uint private _shotgunCounter; event NewShotgun(address indexed shotgun); event ShardsClaimed(address indexed claimant, uint indexed shardAmount); event NftRedeemed(address indexed redeemer); event ShotgunEnacted(address indexed enactor); event ShardsCollected(address indexed collector, uint indexed shardAmount, address indexed shotgun); /** * @dev Checks whether offerer indeed owns the relevant NFT. * @dev Offering deadline starts ticking on deployment, but offerer needs to transfer * NFT to this contract before anyone can contribute. */ constructor( address nftRegistryAddress, address payable offererAddress, uint256 tokenId, address payable niftexWalletAddress, address payable artistWalletAddress, uint liqProviderCutInShards, uint artistCutInShards, uint pricePerShardInWei, uint shardAmountOffered, uint offeringDeadline, uint256 cap, string memory name, string memory symbol ) public { require( IERC721(nftRegistryAddress).ownerOf(tokenId) == offererAddress, "Offerer is not owner of tokenId" ); _nftRegistryAddress = nftRegistryAddress; _niftexWalletAddress = niftexWalletAddress; _artistWalletAddress = artistWalletAddress; _tokenId = tokenId; _offererAddress = offererAddress; _shardRegistry = new ShardRegistry(cap, name, symbol); _shardOffering = new ShardOffering( pricePerShardInWei, shardAmountOffered, liqProviderCutInShards, artistCutInShards, offeringDeadline, cap ); } /** * @dev Used to receive ether from the pullLiquidity function. */ function() external payable { } /** * @notice Issues Shards upon completion of Offering. * @dev Cap should equal totalSupply when all Shards have been claimed. * @dev The Offerer may close an undersubscribed Offering once the deadline has * passed and claim the remaining Shards. */ function checkOfferingAndIssue() external { require( _shardRegistry.totalSupply() != _shardRegistry.cap(), "[checkOfferingAndIssue] Shards have already been issued" ); require( !_shardOffering.hasClaimedShards(msg.sender), "[checkOfferingAndIssue] You have already claimed your Shards" ); require( _shardOffering.offeringCompleted() || (now > _shardOffering.offeringDeadline() && !_shardOffering.offeringCompleted()), "Offering not completed or deadline not expired" ); if (_shardOffering.offeringCompleted()) { if (_shardOffering.getSubEther(msg.sender) != 0) { _shardOffering.claimShards(msg.sender); uint subShards = _shardOffering.getSubShards(msg.sender); bool success = _shardRegistry.mint(msg.sender, subShards); require(success, "[checkOfferingAndIssue] Mint failed"); emit ShardsClaimed(msg.sender, subShards); } else if (msg.sender == _offererAddress) { _shardOffering.claimShards(msg.sender); uint offShards = _shardOffering.offererShardAmount(); bool success = _shardRegistry.mint(msg.sender, offShards); require(success, "[checkOfferingAndIssue] Mint failed"); emit ShardsClaimed(msg.sender, offShards); } } else { _shardOffering.wrapUpOffering(); uint remainingShards = _shardRegistry.cap().sub(_shardOffering.totalShardsClaimed()); remainingShards = remainingShards .sub(_shardOffering.liqProviderCutInShards()) .sub(_shardOffering.artistCutInShards()); bool success = _shardRegistry.mint(_offererAddress, remainingShards); require(success, "[checkOfferingAndIssue] Mint failed"); emit ShardsClaimed(msg.sender, remainingShards); } } /** * @notice Used by NIFTEX to claim predetermined amount of shards in offering in order * to bootstrap liquidity on Uniswap-type exchange. */ /* function claimLiqProviderShards() external { require( msg.sender == _niftexWalletAddress, "[claimLiqProviderShards] Unauthorized caller" ); require( !_shardOffering.hasClaimedShards(msg.sender), "[claimLiqProviderShards] You have already claimed your Shards" ); require( _shardOffering.offeringCompleted(), "[claimLiqProviderShards] Offering not completed" ); _shardOffering.claimShards(_niftexWalletAddress); uint cut = _shardOffering.liqProviderCutInShards(); bool success = _shardRegistry.mint(_niftexWalletAddress, cut); require(success, "[claimLiqProviderShards] Mint failed"); emit ShardsClaimed(msg.sender, cut); } */ function mintReservedShards(address _beneficiary) external { bool niftex; if (_beneficiary == _niftexWalletAddress) niftex = true; require( niftex || _beneficiary == _artistWalletAddress, "[mintReservedShards] Unauthorized beneficiary" ); require( !_shardOffering.hasClaimedShards(_beneficiary), "[mintReservedShards] Shards already claimed" ); _shardOffering.claimShards(_beneficiary); uint cut; if (niftex) { cut = _shardOffering.liqProviderCutInShards(); } else { cut = _shardOffering.artistCutInShards(); } bool success = _shardRegistry.mint(_beneficiary, cut); require(success, "[mintReservedShards] Mint failed"); emit ShardsClaimed(_beneficiary, cut); } /** * @notice In the unlikely case that one account accumulates all Shards, * they can be redeemed directly for the underlying NFT. */ function redeem() external { require( _shardRegistry.balanceOf(msg.sender) == _shardRegistry.cap(), "[redeem] Account does not own total amount of Shards outstanding" ); IERC721(_nftRegistryAddress).safeTransferFrom(address(this), msg.sender, _tokenId); emit NftRedeemed(msg.sender); } /** * @notice Creates a new Shotgun claim. * @dev This Function is called from the Shard Registry because the claimant's * Shards must be frozen until the Shotgun is resolved: if they lose the claim, * their Shards are automatically distributed to the counterclaimants. * @dev The Registry is paused while an active Shotgun claim exists to * let the process work in an orderly manner. * @param initialClaimantAddress wallet address of the person who initiated Shotgun. * @param initialClaimantBalance Shard balance of the person who initiated Shotgun. */ function claimInitialShotgun( address payable initialClaimantAddress, uint initialClaimantBalance ) external payable returns (bool) { require( msg.sender == address(_shardRegistry), "[claimInitialShotgun] Caller not authorized" ); _currentShotgunClause = (new ShotgunClause).value(msg.value)( initialClaimantAddress, initialClaimantBalance, address(_shardRegistry) ); emit NewShotgun(address(_currentShotgunClause)); _shardRegistry.pause(); _shotgunAddressArray.push(address(_currentShotgunClause)); _shotgunCounter++; _shotgunMapping[address(_currentShotgunClause)] = _shotgunCounter; return true; } /** * @notice Effects the results of a (un)successful Shotgun claim. * @dev This Function can only be called by a Shotgun contract in two scenarios: * - Counterclaimants raise enough ether to buy claimant out * - Shotgun deadline passes without successful counter-raise, claimant wins */ function enactShotgun() external { require( _shotgunMapping[msg.sender] != 0, "[enactShotgun] Invalid Shotgun Clause" ); ShotgunClause _shotgunClause = ShotgunClause(msg.sender); address initialClaimantAddress = _shotgunClause.initialClaimantAddress(); if (uint(_shotgunClause.claimWinner()) == uint(ClaimWinner.Claimant)) { _shardRegistry.burn(_shardRegistry.balanceOf(initialClaimantAddress)); IERC721(_nftRegistryAddress).safeTransferFrom(address(this), initialClaimantAddress, _tokenId); _shardRegistry.unpause(); emit ShotgunEnacted(address(_shotgunClause)); } else if (uint(_shotgunClause.claimWinner()) == uint(ClaimWinner.Counterclaimant)) { _shardRegistry.unpause(); emit ShotgunEnacted(address(_shotgunClause)); } } /** * @notice Transfer Shards to counterclaimants after unsuccessful Shotgun claim. * @dev This contract custodies the claimant's Shards when they claim Shotgun - * if they lose the claim these Shards must be transferred to counterclaimants. * This process is initiated by the relevant Shotgun contract. * @param recipient wallet address of the person receiving the Shards. * @param amount the amount of Shards to receive. */ function transferShards(address recipient, uint amount) external { require( _shotgunMapping[msg.sender] != 0, "[transferShards] Unauthorized caller" ); bool success = _shardRegistry.transfer(recipient, amount); require(success, "[transferShards] Transfer failed"); emit ShardsCollected(recipient, amount, msg.sender); } /** * @notice Allows liquidity providers to pull funds during shotgun. * @dev Requires Unitokens to be sent to the contract so the contract can * remove liquidity. * @param exchangeAddress address of the Uniswap pool. * @param liqProvAddress address of the liquidity provider. * @param uniTokenAmount liquidity tokens to redeem. * @param minEth minimum ether to withdraw. * @param minTokens minimum tokens to withdraw. * @param deadline deadline for the withdrawal. */ function pullLiquidity( address exchangeAddress, address liqProvAddress, uint256 uniTokenAmount, uint256 minEth, uint256 minTokens, uint256 deadline ) public { require(msg.sender == _niftexWalletAddress, "[pullLiquidity] Unauthorized call"); IUniswapExchange uniExchange = IUniswapExchange(exchangeAddress); uniExchange.transferFrom(liqProvAddress, address(this), uniTokenAmount); _shardRegistry.unpause(); (uint ethAmount, uint tokenAmount) = uniExchange.removeLiquidity(uniTokenAmount, minEth, minTokens, deadline); (bool ethSuccess, ) = liqProvAddress.call.value(ethAmount)(""); require(ethSuccess, "[pullLiquidity] ETH transfer failed."); bool tokenSuccess = _shardRegistry.transfer(liqProvAddress, tokenAmount); require(tokenSuccess, "[pullLiquidity] Token transfer failed"); _shardRegistry.pause(); } /** * @dev Utility function to check if a Shotgun is in progress. */ function checkShotgunState() external view returns (bool) { if (_shotgunCounter == 0) { return true; } else { ShotgunClause _shotgunClause = ShotgunClause(_shotgunAddressArray[_shotgunCounter - 1]); if (_shotgunClause.shotgunEnacted()) { return true; } else { return false; } } } function currentShotgunClause() external view returns (address) { return address(_currentShotgunClause); } function shardRegistryAddress() external view returns (address) { return address(_shardRegistry); } function shardOfferingAddress() external view returns (address) { return address(_shardOffering); } function getContractBalance() external view returns (uint) { return address(this).balance; } function offererAddress() external view returns (address payable) { return _offererAddress; } function shotgunCounter() external view returns (uint) { return _shotgunCounter; } function shotgunAddressArray() external view returns (address[] memory) { return _shotgunAddressArray; } /** * @dev Utility function to check whether this contract owns the Sharded NFT. */ function checkLock() external view returns (bool) { address owner = IERC721(_nftRegistryAddress).ownerOf(_tokenId); return owner == address(this); } /** * @notice Handle the receipt of an NFT. * @dev The ERC721 smart contract calls this function on the recipient * after a `safetransfer`. This function MAY throw to revert and reject the * transfer. Return of other than the magic value MUST result in the * transaction being reverted. * Note: the contract address is always the message sender. * @return `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address, address, uint256, bytes memory) public returns(bytes4) { return _ERC721_RECEIVED; } } /** * @title ERC20 base for Shards with additional methods related to governance * @author Joel Hubert (Metalith.io) * @dev OpenZeppelin contracts are not ready for 0.6.0 yet, using 0.5.16. */ contract ShardRegistry is ERC20Detailed, ERC20Capped, ERC20Burnable, ERC20Pausable { ShardGovernor private _shardGovernor; enum ClaimWinner { None, Claimant, Counterclaimant } constructor ( uint256 cap, string memory name, string memory symbol ) ERC20Detailed(name, symbol, 18) ERC20Capped(cap) public { _shardGovernor = ShardGovernor(msg.sender); } /** * @notice Called to initiate Shotgun claim. Requires Ether. * @dev Transfers claimant's Shards into Governor contract's custody until claim is resolved. * @dev Forwards Ether to Shotgun contract through Governor contract. */ function lockShardsAndClaim() external payable { require( _shardGovernor.checkLock(), "[lockShardsAndClaim] NFT not locked, Shotgun cannot be triggered" ); require( _shardGovernor.checkShotgunState(), "[lockShardsAndClaim] Shotgun already in progress" ); require( msg.value > 0, "[lockShardsAndClaim] Transaction must send ether to activate Shotgun Clause" ); uint initialClaimantBalance = balanceOf(msg.sender); require( initialClaimantBalance > 0, "[lockShardsAndClaim] Account does not own Shards" ); require( initialClaimantBalance < cap(), "[lockShardsAndClaim] Account owns all Shards" ); transfer(address(_shardGovernor), balanceOf(msg.sender)); (bool success) = _shardGovernor.claimInitialShotgun.value(msg.value)( msg.sender, initialClaimantBalance ); require( success, "[lockShards] Ether forwarding unsuccessful" ); } /** * @notice Called to collect Ether from Shotgun proceeds. Burns Shard holdings. * @dev can be called in both Shotgun outcome scenarios by: - Initial claimant, if they lose the claim to counterclaimants and their Shards are bought out - Counterclaimants, bought out if initial claimant is successful. * @dev initial claimant does not own Shards at this point because they have been custodied in Governor contract at start of Shotgun. * @param shotgunClause address of the relevant Shotgun contract. */ function burnAndCollectEther(address shotgunClause) external { ShotgunClause _shotgunClause = ShotgunClause(shotgunClause); bool enacted = _shotgunClause.shotgunEnacted(); if (!enacted) { _shotgunClause.enactShotgun(); } require( enacted || _shotgunClause.shotgunEnacted(), "[burnAndCollectEther] Shotgun Clause not enacted" ); uint balance = balanceOf(msg.sender); require( balance > 0 || msg.sender == _shotgunClause.initialClaimantAddress(), "[burnAndCollectEther] Account does not own Shards" ); require( uint(_shotgunClause.claimWinner()) == uint(ClaimWinner.Claimant) && msg.sender != _shotgunClause.initialClaimantAddress() || uint(_shotgunClause.claimWinner()) == uint(ClaimWinner.Counterclaimant) && msg.sender == _shotgunClause.initialClaimantAddress(), "[burnAndCollectEther] Account does not have right to collect ether" ); burn(balance); _shotgunClause.collectEtherProceeds(balance, msg.sender); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"payable":false,"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":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"shotgunClause","type":"address"}],"name":"burnAndCollectEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"lockShardsAndClaim","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620027ca380380620027ca833981810160405260608110156200003757600080fd5b8151602083018051604051929492938301929190846401000000008211156200005f57600080fd5b9083019060208201858111156200007557600080fd5b82516401000000008111828201881017156200009057600080fd5b82525081516020918201929091019080838360005b83811015620000bf578181015183820152602001620000a5565b50505050905090810190601f168015620000ed5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011157600080fd5b9083019060208201858111156200012757600080fd5b82516401000000008111828201881017156200014257600080fd5b82525081516020918201929091019080838360005b838110156200017157818101518382015260200162000157565b50505050905090810190601f1680156200019f5780820380516001836020036101000a031916815260200191505b5060405250505082828260128260009080519060200190620001c39291906200044b565b508151620001d99060019060208501906200044b565b506002805460ff191660ff92909216919091179055506200020e9050620001ff620002ac565b6001600160e01b03620002b116565b6000811162000264576040805162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015290519081900360640190fd5b6007556200028d6200027e6001600160e01b03620002ac16565b6001600160e01b036200030316565b5050600980546001600160a81b031916610100330217905550620004ed565b335b90565b620002cc8160066200035560201b62001e061790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6200031e8160086200035560201b62001e061790919060201c565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6200036a82826001600160e01b03620003e216565b15620003bd576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b0382166200042b5760405162461bcd60e51b8152600401808060200182810382526022815260200180620027a86022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200048e57805160ff1916838001178555620004be565b82800160010185558215620004be579182015b82811115620004be578251825591602001919060010190620004a1565b50620004cc929150620004d0565b5090565b620002ae91905b80821115620004cc5760008155600101620004d7565b6122ab80620004fd6000396000f3fe6080604052600436106101815760003560e01c806370a08231116100d1578063986502751161008a578063aa271e1a11610064578063aa271e1a1461059a578063d54f9d09146105cd578063dd62ed3e146105d5578063e6b9e8971461061057610181565b80639865027514610513578063a457c2d714610528578063a9059cbb1461056157610181565b806370a082311461041757806379cc67901461044a57806382dc1ec4146104835780638456cb59146104b657806395d89b41146104cb578063983b2d56146104e057610181565b8063395093511161013e57806342966c681161011857806342966c681461039057806346fbf68e146103ba5780635c975abb146103ed5780636ef8d66d1461040257610181565b806339509351146103075780633f4ba83a1461034057806340c10f191461035757610181565b806306fdde0314610186578063095ea7b31461021057806318160ddd1461025d57806323b872dd14610284578063313ce567146102c7578063355274ea146102f2575b600080fd5b34801561019257600080fd5b5061019b610643565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d55781810151838201526020016101bd565b50505050905090810190601f1680156102025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561021c57600080fd5b506102496004803603604081101561023357600080fd5b506001600160a01b0381351690602001356106d9565b604080519115158252519081900360200190f35b34801561026957600080fd5b50610272610738565b60408051918252519081900360200190f35b34801561029057600080fd5b50610249600480360360608110156102a757600080fd5b506001600160a01b0381358116916020810135909116906040013561073e565b3480156102d357600080fd5b506102dc61079f565b6040805160ff9092168252519081900360200190f35b3480156102fe57600080fd5b506102726107a8565b34801561031357600080fd5b506102496004803603604081101561032a57600080fd5b506001600160a01b0381351690602001356107ae565b34801561034c57600080fd5b50610355610806565b005b34801561036357600080fd5b506102496004803603604081101561037a57600080fd5b506001600160a01b0381351690602001356108ef565b34801561039c57600080fd5b50610355600480360360208110156103b357600080fd5b503561094f565b3480156103c657600080fd5b50610249600480360360208110156103dd57600080fd5b50356001600160a01b0316610963565b3480156103f957600080fd5b5061024961097c565b34801561040e57600080fd5b50610355610985565b34801561042357600080fd5b506102726004803603602081101561043a57600080fd5b50356001600160a01b0316610997565b34801561045657600080fd5b506103556004803603604081101561046d57600080fd5b506001600160a01b0381351690602001356109b2565b34801561048f57600080fd5b50610355600480360360208110156104a657600080fd5b50356001600160a01b03166109c0565b3480156104c257600080fd5b50610355610a0f565b3480156104d757600080fd5b5061019b610ad6565b3480156104ec57600080fd5b506103556004803603602081101561050357600080fd5b50356001600160a01b0316610b36565b34801561051f57600080fd5b50610355610b85565b34801561053457600080fd5b506102496004803603604081101561054b57600080fd5b506001600160a01b038135169060200135610b95565b34801561056d57600080fd5b506102496004803603604081101561058457600080fd5b506001600160a01b038135169060200135610bed565b3480156105a657600080fd5b50610249600480360360208110156105bd57600080fd5b50356001600160a01b0316610c45565b610355610c58565b3480156105e157600080fd5b50610272600480360360408110156105f857600080fd5b506001600160a01b0381358116916020013516610f7c565b34801561061c57600080fd5b506103556004803603602081101561063357600080fd5b50356001600160a01b0316610fa7565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b5050505050905090565b60095460009060ff1615610727576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107318383611466565b9392505050565b60055490565b60095460009060ff161561078c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61079784848461147a565b949350505050565b60025460ff1690565b60075490565b60095460009060ff16156107fc576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107318383611507565b61081661081161155b565b610963565b6108515760405162461bcd60e51b8152600401808060200182810382526030815260200180611f3f6030913960400191505060405180910390fd5b60095460ff1661089f576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6009805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6108d261155b565b604080516001600160a01b039092168252519081900360200190a1565b60006109016108fc61155b565b610c45565b61093c5760405162461bcd60e51b81526004018080602001828103825260308152602001806120486030913960400191505060405180910390fd5b610946838361155f565b50600192915050565b61096061095a61155b565b826115d7565b50565b600061097660088363ffffffff6116d316565b92915050565b60095460ff1690565b61099561099061155b565b61173a565b565b6001600160a01b031660009081526003602052604090205490565b6109bc8282611782565b5050565b6109cb61081161155b565b610a065760405162461bcd60e51b8152600401808060200182810382526030815260200180611f3f6030913960400191505060405180910390fd5b610960816117d6565b610a1a61081161155b565b610a555760405162461bcd60e51b8152600401808060200182810382526030815260200180611f3f6030913960400191505060405180910390fd5b60095460ff1615610aa0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6009805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586108d261155b565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b610b416108fc61155b565b610b7c5760405162461bcd60e51b81526004018080602001828103825260308152602001806120486030913960400191505060405180910390fd5b6109608161181e565b610995610b9061155b565b611866565b60095460009060ff1615610be3576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61073183836118ae565b60095460009060ff1615610c3b576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610731838361191c565b600061097660068363ffffffff6116d316565b600960019054906101000a90046001600160a01b03166001600160a01b031663d7a97c7f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ca657600080fd5b505afa158015610cba573d6000803e3d6000fd5b505050506040513d6020811015610cd057600080fd5b5051610d0d5760405162461bcd60e51b81526004018080602001828103825260408152602001806120996040913960400191505060405180910390fd5b600960019054906101000a90046001600160a01b03166001600160a01b031663b871a57e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d5b57600080fd5b505afa158015610d6f573d6000803e3d6000fd5b505050506040513d6020811015610d8557600080fd5b5051610dc25760405162461bcd60e51b81526004018080602001828103825260308152602001806120186030913960400191505060405180910390fd5b60003411610e015760405162461bcd60e51b815260040180806020018281038252604b8152602001806121db604b913960600191505060405180910390fd5b6000610e0c33610997565b905060008111610e4d5760405162461bcd60e51b8152600401808060200182810382526030815260200180611eed6030913960400191505060405180910390fd5b610e556107a8565b8110610e925760405162461bcd60e51b815260040180806020018281038252602c815260200180612226602c913960400191505060405180910390fd5b600954610eb59061010090046001600160a01b0316610eb033610997565b610bed565b5060095460408051631cdc340160e01b815233600482015260248101849052905160009261010090046001600160a01b031691631cdc340191349160448082019260209290919082900301818588803b158015610f1157600080fd5b505af1158015610f25573d6000803e3d6000fd5b50505050506040513d6020811015610f3c57600080fd5b50519050806109bc5760405162461bcd60e51b815260040180806020018281038252602a815260200180612168602a913960400191505060405180910390fd5b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60008190506000816001600160a01b0316634faf28386040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe757600080fd5b505afa158015610ffb573d6000803e3d6000fd5b505050506040513d602081101561101157600080fd5b505190508061106e57816001600160a01b031663767c56a26040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561105557600080fd5b505af1158015611069573d6000803e3d6000fd5b505050505b80806110db5750816001600160a01b0316634faf28386040518163ffffffff1660e01b815260040160206040518083038186803b1580156110ae57600080fd5b505afa1580156110c2573d6000803e3d6000fd5b505050506040513d60208110156110d857600080fd5b50515b6111165760405162461bcd60e51b8152600401808060200182810382526030815260200180611fe86030913960400191505060405180910390fd5b600061112133610997565b9050600081118061119e5750826001600160a01b0316636dce6c5e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561116657600080fd5b505afa15801561117a573d6000803e3d6000fd5b505050506040513d602081101561119057600080fd5b50516001600160a01b031633145b6111d95760405162461bcd60e51b8152600401808060200182810382526031815260200180611f916031913960400191505060405180910390fd5b6001836001600160a01b031663237297a46040518163ffffffff1660e01b815260040160206040518083038186803b15801561121457600080fd5b505afa158015611228573d6000803e3d6000fd5b505050506040513d602081101561123e57600080fd5b5051600281111561124b57fe5b1480156112c55750826001600160a01b0316636dce6c5e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128c57600080fd5b505afa1580156112a0573d6000803e3d6000fd5b505050506040513d60208110156112b657600080fd5b50516001600160a01b03163314155b806113b657506002836001600160a01b031663237297a46040518163ffffffff1660e01b815260040160206040518083038186803b15801561130657600080fd5b505afa15801561131a573d6000803e3d6000fd5b505050506040513d602081101561133057600080fd5b5051600281111561133d57fe5b1480156113b65750826001600160a01b0316636dce6c5e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561137e57600080fd5b505afa158015611392573d6000803e3d6000fd5b505050506040513d60208110156113a857600080fd5b50516001600160a01b031633145b6113f15760405162461bcd60e51b8152600401808060200182810382526042815260200180611e886042913960600191505060405180910390fd5b6113fa8161094f565b6040805163100928bb60e11b81526004810183905233602482015290516001600160a01b03851691632012517691604480830192600092919082900301818387803b15801561144857600080fd5b505af115801561145c573d6000803e3d6000fd5b5050505050505050565b600061094661147361155b565b8484611930565b6000611487848484611a1c565b6114fd8461149361155b565b6114f8856040518060600160405280602881526020016120d9602891396001600160a01b038a166000908152600460205260408120906114d161155b565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611b7a16565b611930565b5060019392505050565b600061094661151461155b565b846114f8856004600061152561155b565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611c1116565b3390565b60075461157a8261156e610738565b9063ffffffff611c1116565b11156115cd576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b6109bc8282611c6b565b6001600160a01b03821661161c5760405162461bcd60e51b81526004018080602001828103825260218152602001806121476021913960400191505060405180910390fd5b61165f81604051806060016040528060228152602001611f1d602291396001600160a01b038516600090815260036020526040902054919063ffffffff611b7a16565b6001600160a01b03831660009081526003602052604090205560055461168b908263ffffffff611d5d16565b6005556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b03821661171a5760405162461bcd60e51b81526004018080602001828103825260228152602001806121016022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61174b60088263ffffffff611d9f16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61178c82826115d7565b6109bc8261179861155b565b6114f884604051806060016040528060248152602001612123602491396001600160a01b0388166000908152600460205260408120906114d161155b565b6117e760088263ffffffff611e0616565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b61182f60068263ffffffff611e0616565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61187760068263ffffffff611d9f16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006109466118bb61155b565b846114f88560405180606001604052806025815260200161225260259139600460006118e561155b565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611b7a16565b600061094661192961155b565b8484611a1c565b6001600160a01b0383166119755760405162461bcd60e51b81526004018080602001828103825260248152602001806121b76024913960400191505060405180910390fd5b6001600160a01b0382166119ba5760405162461bcd60e51b8152600401808060200182810382526022815260200180611f6f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611a615760405162461bcd60e51b81526004018080602001828103825260258152602001806121926025913960400191505060405180910390fd5b6001600160a01b038216611aa65760405162461bcd60e51b8152600401808060200182810382526023815260200180611eca6023913960400191505060405180910390fd5b611ae981604051806060016040528060268152602001611fc2602691396001600160a01b038616600090815260036020526040902054919063ffffffff611b7a16565b6001600160a01b038085166000908152600360205260408082209390935590841681522054611b1e908263ffffffff611c1116565b6001600160a01b0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611c095760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bce578181015183820152602001611bb6565b50505050905090810190601f168015611bfb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610731576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611cc6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600554611cd9908263ffffffff611c1116565b6005556001600160a01b038216600090815260036020526040902054611d05908263ffffffff611c1116565b6001600160a01b03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061073183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b7a565b611da982826116d3565b611de45760405162461bcd60e51b81526004018080602001828103825260218152602001806120786021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b611e1082826116d3565b15611e62576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff1916600117905556fe5b6275726e416e64436f6c6c65637445746865725d204163636f756e7420646f6573206e6f74206861766520726967687420746f20636f6c6c65637420657468657245524332303a207472616e7366657220746f20746865207a65726f20616464726573735b6c6f636b536861726473416e64436c61696d5d204163636f756e7420646f6573206e6f74206f776e2053686172647345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f20616464726573735b6275726e416e64436f6c6c65637445746865725d204163636f756e7420646f6573206e6f74206f776e2053686172647345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655b6275726e416e64436f6c6c65637445746865725d2053686f7467756e20436c61757365206e6f7420656e61637465645b6c6f636b536861726473416e64436c61696d5d2053686f7467756e20616c726561647920696e2070726f67726573734d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c655b6c6f636b536861726473416e64436c61696d5d204e4654206e6f74206c6f636b65642c2053686f7467756e2063616e6e6f742062652074726967676572656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573735b6c6f636b5368617264735d20457468657220666f7277617264696e6720756e7375636365737366756c45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735b6c6f636b536861726473416e64436c61696d5d205472616e73616374696f6e206d7573742073656e6420657468657220746f2061637469766174652053686f7467756e20436c617573655b6c6f636b536861726473416e64436c61696d5d204163636f756e74206f776e7320616c6c2053686172647345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820abbb925dde8b62e4f9d8bcc161e2c7601f687939d36f4d93e542d04981be9ebf64736f6c634300050f0032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373000000000000000000000000000000000000000000000a968163f0a57b400000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000a4861757465636c6572650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044841555400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101815760003560e01c806370a08231116100d1578063986502751161008a578063aa271e1a11610064578063aa271e1a1461059a578063d54f9d09146105cd578063dd62ed3e146105d5578063e6b9e8971461061057610181565b80639865027514610513578063a457c2d714610528578063a9059cbb1461056157610181565b806370a082311461041757806379cc67901461044a57806382dc1ec4146104835780638456cb59146104b657806395d89b41146104cb578063983b2d56146104e057610181565b8063395093511161013e57806342966c681161011857806342966c681461039057806346fbf68e146103ba5780635c975abb146103ed5780636ef8d66d1461040257610181565b806339509351146103075780633f4ba83a1461034057806340c10f191461035757610181565b806306fdde0314610186578063095ea7b31461021057806318160ddd1461025d57806323b872dd14610284578063313ce567146102c7578063355274ea146102f2575b600080fd5b34801561019257600080fd5b5061019b610643565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d55781810151838201526020016101bd565b50505050905090810190601f1680156102025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561021c57600080fd5b506102496004803603604081101561023357600080fd5b506001600160a01b0381351690602001356106d9565b604080519115158252519081900360200190f35b34801561026957600080fd5b50610272610738565b60408051918252519081900360200190f35b34801561029057600080fd5b50610249600480360360608110156102a757600080fd5b506001600160a01b0381358116916020810135909116906040013561073e565b3480156102d357600080fd5b506102dc61079f565b6040805160ff9092168252519081900360200190f35b3480156102fe57600080fd5b506102726107a8565b34801561031357600080fd5b506102496004803603604081101561032a57600080fd5b506001600160a01b0381351690602001356107ae565b34801561034c57600080fd5b50610355610806565b005b34801561036357600080fd5b506102496004803603604081101561037a57600080fd5b506001600160a01b0381351690602001356108ef565b34801561039c57600080fd5b50610355600480360360208110156103b357600080fd5b503561094f565b3480156103c657600080fd5b50610249600480360360208110156103dd57600080fd5b50356001600160a01b0316610963565b3480156103f957600080fd5b5061024961097c565b34801561040e57600080fd5b50610355610985565b34801561042357600080fd5b506102726004803603602081101561043a57600080fd5b50356001600160a01b0316610997565b34801561045657600080fd5b506103556004803603604081101561046d57600080fd5b506001600160a01b0381351690602001356109b2565b34801561048f57600080fd5b50610355600480360360208110156104a657600080fd5b50356001600160a01b03166109c0565b3480156104c257600080fd5b50610355610a0f565b3480156104d757600080fd5b5061019b610ad6565b3480156104ec57600080fd5b506103556004803603602081101561050357600080fd5b50356001600160a01b0316610b36565b34801561051f57600080fd5b50610355610b85565b34801561053457600080fd5b506102496004803603604081101561054b57600080fd5b506001600160a01b038135169060200135610b95565b34801561056d57600080fd5b506102496004803603604081101561058457600080fd5b506001600160a01b038135169060200135610bed565b3480156105a657600080fd5b50610249600480360360208110156105bd57600080fd5b50356001600160a01b0316610c45565b610355610c58565b3480156105e157600080fd5b50610272600480360360408110156105f857600080fd5b506001600160a01b0381358116916020013516610f7c565b34801561061c57600080fd5b506103556004803603602081101561063357600080fd5b50356001600160a01b0316610fa7565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b820191906000526020600020905b8154815290600101906020018083116106b257829003601f168201915b5050505050905090565b60095460009060ff1615610727576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107318383611466565b9392505050565b60055490565b60095460009060ff161561078c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61079784848461147a565b949350505050565b60025460ff1690565b60075490565b60095460009060ff16156107fc576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107318383611507565b61081661081161155b565b610963565b6108515760405162461bcd60e51b8152600401808060200182810382526030815260200180611f3f6030913960400191505060405180910390fd5b60095460ff1661089f576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6009805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6108d261155b565b604080516001600160a01b039092168252519081900360200190a1565b60006109016108fc61155b565b610c45565b61093c5760405162461bcd60e51b81526004018080602001828103825260308152602001806120486030913960400191505060405180910390fd5b610946838361155f565b50600192915050565b61096061095a61155b565b826115d7565b50565b600061097660088363ffffffff6116d316565b92915050565b60095460ff1690565b61099561099061155b565b61173a565b565b6001600160a01b031660009081526003602052604090205490565b6109bc8282611782565b5050565b6109cb61081161155b565b610a065760405162461bcd60e51b8152600401808060200182810382526030815260200180611f3f6030913960400191505060405180910390fd5b610960816117d6565b610a1a61081161155b565b610a555760405162461bcd60e51b8152600401808060200182810382526030815260200180611f3f6030913960400191505060405180910390fd5b60095460ff1615610aa0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6009805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586108d261155b565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106cf5780601f106106a4576101008083540402835291602001916106cf565b610b416108fc61155b565b610b7c5760405162461bcd60e51b81526004018080602001828103825260308152602001806120486030913960400191505060405180910390fd5b6109608161181e565b610995610b9061155b565b611866565b60095460009060ff1615610be3576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61073183836118ae565b60095460009060ff1615610c3b576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610731838361191c565b600061097660068363ffffffff6116d316565b600960019054906101000a90046001600160a01b03166001600160a01b031663d7a97c7f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ca657600080fd5b505afa158015610cba573d6000803e3d6000fd5b505050506040513d6020811015610cd057600080fd5b5051610d0d5760405162461bcd60e51b81526004018080602001828103825260408152602001806120996040913960400191505060405180910390fd5b600960019054906101000a90046001600160a01b03166001600160a01b031663b871a57e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d5b57600080fd5b505afa158015610d6f573d6000803e3d6000fd5b505050506040513d6020811015610d8557600080fd5b5051610dc25760405162461bcd60e51b81526004018080602001828103825260308152602001806120186030913960400191505060405180910390fd5b60003411610e015760405162461bcd60e51b815260040180806020018281038252604b8152602001806121db604b913960600191505060405180910390fd5b6000610e0c33610997565b905060008111610e4d5760405162461bcd60e51b8152600401808060200182810382526030815260200180611eed6030913960400191505060405180910390fd5b610e556107a8565b8110610e925760405162461bcd60e51b815260040180806020018281038252602c815260200180612226602c913960400191505060405180910390fd5b600954610eb59061010090046001600160a01b0316610eb033610997565b610bed565b5060095460408051631cdc340160e01b815233600482015260248101849052905160009261010090046001600160a01b031691631cdc340191349160448082019260209290919082900301818588803b158015610f1157600080fd5b505af1158015610f25573d6000803e3d6000fd5b50505050506040513d6020811015610f3c57600080fd5b50519050806109bc5760405162461bcd60e51b815260040180806020018281038252602a815260200180612168602a913960400191505060405180910390fd5b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60008190506000816001600160a01b0316634faf28386040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe757600080fd5b505afa158015610ffb573d6000803e3d6000fd5b505050506040513d602081101561101157600080fd5b505190508061106e57816001600160a01b031663767c56a26040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561105557600080fd5b505af1158015611069573d6000803e3d6000fd5b505050505b80806110db5750816001600160a01b0316634faf28386040518163ffffffff1660e01b815260040160206040518083038186803b1580156110ae57600080fd5b505afa1580156110c2573d6000803e3d6000fd5b505050506040513d60208110156110d857600080fd5b50515b6111165760405162461bcd60e51b8152600401808060200182810382526030815260200180611fe86030913960400191505060405180910390fd5b600061112133610997565b9050600081118061119e5750826001600160a01b0316636dce6c5e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561116657600080fd5b505afa15801561117a573d6000803e3d6000fd5b505050506040513d602081101561119057600080fd5b50516001600160a01b031633145b6111d95760405162461bcd60e51b8152600401808060200182810382526031815260200180611f916031913960400191505060405180910390fd5b6001836001600160a01b031663237297a46040518163ffffffff1660e01b815260040160206040518083038186803b15801561121457600080fd5b505afa158015611228573d6000803e3d6000fd5b505050506040513d602081101561123e57600080fd5b5051600281111561124b57fe5b1480156112c55750826001600160a01b0316636dce6c5e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128c57600080fd5b505afa1580156112a0573d6000803e3d6000fd5b505050506040513d60208110156112b657600080fd5b50516001600160a01b03163314155b806113b657506002836001600160a01b031663237297a46040518163ffffffff1660e01b815260040160206040518083038186803b15801561130657600080fd5b505afa15801561131a573d6000803e3d6000fd5b505050506040513d602081101561133057600080fd5b5051600281111561133d57fe5b1480156113b65750826001600160a01b0316636dce6c5e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561137e57600080fd5b505afa158015611392573d6000803e3d6000fd5b505050506040513d60208110156113a857600080fd5b50516001600160a01b031633145b6113f15760405162461bcd60e51b8152600401808060200182810382526042815260200180611e886042913960600191505060405180910390fd5b6113fa8161094f565b6040805163100928bb60e11b81526004810183905233602482015290516001600160a01b03851691632012517691604480830192600092919082900301818387803b15801561144857600080fd5b505af115801561145c573d6000803e3d6000fd5b5050505050505050565b600061094661147361155b565b8484611930565b6000611487848484611a1c565b6114fd8461149361155b565b6114f8856040518060600160405280602881526020016120d9602891396001600160a01b038a166000908152600460205260408120906114d161155b565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611b7a16565b611930565b5060019392505050565b600061094661151461155b565b846114f8856004600061152561155b565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611c1116565b3390565b60075461157a8261156e610738565b9063ffffffff611c1116565b11156115cd576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b6109bc8282611c6b565b6001600160a01b03821661161c5760405162461bcd60e51b81526004018080602001828103825260218152602001806121476021913960400191505060405180910390fd5b61165f81604051806060016040528060228152602001611f1d602291396001600160a01b038516600090815260036020526040902054919063ffffffff611b7a16565b6001600160a01b03831660009081526003602052604090205560055461168b908263ffffffff611d5d16565b6005556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b03821661171a5760405162461bcd60e51b81526004018080602001828103825260228152602001806121016022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61174b60088263ffffffff611d9f16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61178c82826115d7565b6109bc8261179861155b565b6114f884604051806060016040528060248152602001612123602491396001600160a01b0388166000908152600460205260408120906114d161155b565b6117e760088263ffffffff611e0616565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b61182f60068263ffffffff611e0616565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61187760068263ffffffff611d9f16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006109466118bb61155b565b846114f88560405180606001604052806025815260200161225260259139600460006118e561155b565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611b7a16565b600061094661192961155b565b8484611a1c565b6001600160a01b0383166119755760405162461bcd60e51b81526004018080602001828103825260248152602001806121b76024913960400191505060405180910390fd5b6001600160a01b0382166119ba5760405162461bcd60e51b8152600401808060200182810382526022815260200180611f6f6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611a615760405162461bcd60e51b81526004018080602001828103825260258152602001806121926025913960400191505060405180910390fd5b6001600160a01b038216611aa65760405162461bcd60e51b8152600401808060200182810382526023815260200180611eca6023913960400191505060405180910390fd5b611ae981604051806060016040528060268152602001611fc2602691396001600160a01b038616600090815260036020526040902054919063ffffffff611b7a16565b6001600160a01b038085166000908152600360205260408082209390935590841681522054611b1e908263ffffffff611c1116565b6001600160a01b0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611c095760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bce578181015183820152602001611bb6565b50505050905090810190601f168015611bfb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610731576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611cc6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600554611cd9908263ffffffff611c1116565b6005556001600160a01b038216600090815260036020526040902054611d05908263ffffffff611c1116565b6001600160a01b03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061073183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b7a565b611da982826116d3565b611de45760405162461bcd60e51b81526004018080602001828103825260218152602001806120786021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b611e1082826116d3565b15611e62576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff1916600117905556fe5b6275726e416e64436f6c6c65637445746865725d204163636f756e7420646f6573206e6f74206861766520726967687420746f20636f6c6c65637420657468657245524332303a207472616e7366657220746f20746865207a65726f20616464726573735b6c6f636b536861726473416e64436c61696d5d204163636f756e7420646f6573206e6f74206f776e2053686172647345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f20616464726573735b6275726e416e64436f6c6c65637445746865725d204163636f756e7420646f6573206e6f74206f776e2053686172647345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655b6275726e416e64436f6c6c65637445746865725d2053686f7467756e20436c61757365206e6f7420656e61637465645b6c6f636b536861726473416e64436c61696d5d2053686f7467756e20616c726561647920696e2070726f67726573734d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c655b6c6f636b536861726473416e64436c61696d5d204e4654206e6f74206c6f636b65642c2053686f7467756e2063616e6e6f742062652074726967676572656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573735b6c6f636b5368617264735d20457468657220666f7277617264696e6720756e7375636365737366756c45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735b6c6f636b536861726473416e64436c61696d5d205472616e73616374696f6e206d7573742073656e6420657468657220746f2061637469766174652053686f7467756e20436c617573655b6c6f636b536861726473416e64436c61696d5d204163636f756e74206f776e7320616c6c2053686172647345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820abbb925dde8b62e4f9d8bcc161e2c7601f687939d36f4d93e542d04981be9ebf64736f6c634300050f0032
Deployed Bytecode Sourcemap
58430:3088:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3520:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3520:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3520:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26963:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26963:140:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26963:140:0;;-1:-1:-1;;;;;26963:140:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;12494:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12494:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;26795:160;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26795:160:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26795:160:0;;;;;;;;;;;;;;;;;:::i;4372:83::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4372:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22286:75;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22286:75:0;;;:::i;27111:170::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27111:170:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27111:170:0;;-1:-1:-1;;;;;27111:170:0;;;;;;:::i;26218:120::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26218:120:0;;;:::i;:::-;;21637:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21637:143:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21637:143:0;;-1:-1:-1;;;;;21637:143:0;;;;;;:::i;23096:83::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23096:83:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23096:83:0;;:::i;23787:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23787:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23787:109:0;-1:-1:-1;;;;;23787:109:0;;:::i;25425:78::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25425:78:0;;;:::i;24004:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24004:79:0;;;:::i;12648:110::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12648:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12648:110:0;-1:-1:-1;;;;;12648:110:0;;:::i;23241:103::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23241:103:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23241:103:0;;-1:-1:-1;;;;;23241:103:0;;;;;;:::i;23904:92::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23904:92:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23904:92:0;-1:-1:-1;;;;;23904:92:0;;:::i;26005:118::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26005:118:0;;;:::i;3722:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3722:87:0;;;:::i;20759:92::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20759:92:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20759:92:0;-1:-1:-1;;;;;20759:92:0;;:::i;20859:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20859:79:0;;;:::i;27289:180::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27289:180:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27289:180:0;;-1:-1:-1;;;;;27289:180:0;;;;;;:::i;26655:132::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26655:132:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26655:132:0;;-1:-1:-1;;;;;26655:132:0;;;;;;:::i;20642:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20642:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20642:109:0;-1:-1:-1;;;;;20642:109:0;;:::i;59056:930::-;;;:::i;13192:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13192:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13192:134:0;;;;;;;;;;:::i;60524:991::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;60524:991:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60524:991:0;-1:-1:-1;;;;;60524:991:0;;:::i;3520:83::-;3590:5;3583:12;;;;;;;;;;;;;-1:-1:-1;;3583:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;3557:13;;3583:12;;3590:5;;3583:12;;;3590:5;3583:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3520:83;:::o;26963:140::-;25662:7;;27042:4;;25662:7;;25661:8;25653:37;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;;;;27066:29;27080:7;27089:5;27066:13;:29::i;:::-;27059:36;26963:140;-1:-1:-1;;;26963:140:0:o;12494:91::-;12565:12;;12494:91;:::o;26795:160::-;25662:7;;26888:4;;25662:7;;25661:8;25653:37;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;;;;26912:35;26931:4;26937:2;26941:5;26912:18;:35::i;:::-;26905:42;26795:160;-1:-1:-1;;;;26795:160:0:o;4372:83::-;4438:9;;;;4372:83;:::o;22286:75::-;22349:4;;22286:75;:::o;27111:170::-;25662:7;;27205:4;;25662:7;;25661:8;25653:37;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;;;;27229:44;27253:7;27262:10;27229:23;:44::i;26218:120::-;23684:22;23693:12;:10;:12::i;:::-;23684:8;:22::i;:::-;23676:83;;;;-1:-1:-1;;;23676:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25861:7;;;;25853:40;;;;;-1:-1:-1;;;25853:40:0;;;;;;;;;;;;-1:-1:-1;;;25853:40:0;;;;;;;;;;;;;;;26277:7;:15;;-1:-1:-1;;26277:15:0;;;26308:22;26317:12;:10;:12::i;:::-;26308:22;;;-1:-1:-1;;;;;26308:22:0;;;;;;;;;;;;;;26218:120::o;21637:143::-;21711:4;20539:22;20548:12;:10;:12::i;:::-;20539:8;:22::i;:::-;20531:83;;;;-1:-1:-1;;;20531:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21728:22;21734:7;21743:6;21728:5;:22::i;:::-;-1:-1:-1;21768:4:0;21637:143;;;;:::o;23096:83::-;23144:27;23150:12;:10;:12::i;:::-;23164:6;23144:5;:27::i;:::-;23096:83;:::o;23787:109::-;23843:4;23867:21;:8;23880:7;23867:21;:12;:21;:::i;:::-;23860:28;23787:109;-1:-1:-1;;23787:109:0:o;25425:78::-;25488:7;;;;25425:78;:::o;24004:79::-;24048:27;24062:12;:10;:12::i;:::-;24048:13;:27::i;:::-;24004:79::o;12648:110::-;-1:-1:-1;;;;;12732:18:0;12705:7;12732:18;;;:9;:18;;;;;;;12648:110::o;23241:103::-;23310:26;23320:7;23329:6;23310:9;:26::i;:::-;23241:103;;:::o;23904:92::-;23684:22;23693:12;:10;:12::i;23684:22::-;23676:83;;;;-1:-1:-1;;;23676:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23969:19;23980:7;23969:10;:19::i;26005:118::-;23684:22;23693:12;:10;:12::i;23684:22::-;23676:83;;;;-1:-1:-1;;;23676:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25662:7;;;;25661:8;25653:37;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;;;;26065:7;:14;;-1:-1:-1;;26065:14:0;26075:4;26065:14;;;26095:20;26102:12;:10;:12::i;3722:87::-;3794:7;3787:14;;;;;;;;;;;;;-1:-1:-1;;3787:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;3761:13;;3787:14;;3794:7;;3787:14;;;3794:7;3787:14;;;;;;;;;;;;;;;;;;;;;;;;20759:92;20539:22;20548:12;:10;:12::i;20539:22::-;20531:83;;;;-1:-1:-1;;;20531:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20824:19;20835:7;20824:10;:19::i;20859:79::-;20903:27;20917:12;:10;:12::i;:::-;20903:13;:27::i;27289:180::-;25662:7;;27388:4;;25662:7;;25661:8;25653:37;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;;;;27412:49;27436:7;27445:15;27412:23;:49::i;26655:132::-;25662:7;;26730:4;;25662:7;;25661:8;25653:37;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;-1:-1:-1;;;25653:37:0;;;;;;;;;;;;;;;26754:25;26769:2;26773:5;26754:14;:25::i;20642:109::-;20698:4;20722:21;:8;20735:7;20722:21;:12;:21;:::i;59056:930::-;59121:14;;:26;;;-1:-1:-1;;;59121:26:0;;;;:14;;;;-1:-1:-1;;;;;59121:14:0;;:24;;:26;;;;;;;;;;;;;;;:14;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;59121:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59121:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59121:26:0;59108:116;;;;-1:-1:-1;;;59108:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59242:14;;:34;;;-1:-1:-1;;;59242:34:0;;;;:14;;;;-1:-1:-1;;;;;59242:14:0;;:32;;:34;;;;;;;;;;;;;;;:14;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;59242:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59242:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59242:34:0;59229:108;;;;-1:-1:-1;;;59229:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59367:1;59355:9;:13;59342:114;;;;-1:-1:-1;;;59342:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59461:27;59491:21;59501:10;59491:9;:21::i;:::-;59461:51;;59555:1;59530:22;:26;59517:100;;;;-1:-1:-1;;;59517:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59660:5;:3;:5::i;:::-;59635:22;:30;59622:100;;;;-1:-1:-1;;;59622:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59744:14;;59727:56;;59744:14;;;-1:-1:-1;;;;;59744:14:0;59761:21;59771:10;59761:9;:21::i;:::-;59727:8;:56::i;:::-;-1:-1:-1;59805:14:0;;:96;;;-1:-1:-1;;;59805:96:0;;59862:10;59805:96;;;;;;;;;;;;-1:-1:-1;;59805:14:0;;;-1:-1:-1;;;;;59805:14:0;;-1:-1:-1;;59846:9:0;;59805:96;;;;;;;;;;;;;;;59846:9;59805:14;:96;;;5:2:-1;;;;30:1;27;20:12;5:2;59805:96:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59805:96:0;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59805:96:0;;-1:-1:-1;59805:96:0;59906:75;;;;-1:-1:-1;;;59906:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13192:134;-1:-1:-1;;;;;13291:18:0;;;13264:7;13291:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13192:134::o;60524:991::-;60590:28;60635:13;60590:59;;60654:12;60669:14;-1:-1:-1;;;;;60669:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;60669:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60669:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60669:31:0;;-1:-1:-1;60669:31:0;60705:55;;60725:14;-1:-1:-1;;;;;60725:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;60725:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60725:29:0;;;;60705:55;60777:7;:42;;;;60788:14;-1:-1:-1;;;;;60788:29:0;;:31;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;60788:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60788:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60788:31:0;60777:42;60764:116;;;;-1:-1:-1;;;60764:116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60885:12;60900:21;60910:10;60900:9;:21::i;:::-;60885:36;;60949:1;60939:7;:11;:68;;;;60968:14;-1:-1:-1;;;;;60968:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;60968:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60968:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60968:39:0;-1:-1:-1;;;;;60954:53:0;:10;:53;60939:68;60926:143;;;;-1:-1:-1;;;60926:143:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61130:20;61092:14;-1:-1:-1;;;;;61092:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;61092:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61092:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61092:28:0;61087:34;;;;;;;;:64;:125;;;;;61173:14;-1:-1:-1;;;;;61173:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;61173:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61173:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61173:39:0;-1:-1:-1;;;;;61159:53:0;:10;:53;;61087:125;:265;;;-1:-1:-1;61263:27:0;61225:14;-1:-1:-1;;;;;61225:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;61225:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61225:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61225:28:0;61220:34;;;;;;;;:71;:132;;;;;61313:14;-1:-1:-1;;;;;61313:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;61313:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61313:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61313:39:0;-1:-1:-1;;;;;61299:53:0;:10;:53;61220:132;61074:357;;;;-1:-1:-1;;;61074:357:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61436:13;61441:7;61436:4;:13::i;:::-;61454:56;;;-1:-1:-1;;;61454:56:0;;;;;;;;61499:10;61454:56;;;;;;-1:-1:-1;;;;;61454:35:0;;;;;:56;;;;;-1:-1:-1;;61454:56:0;;;;;;;-1:-1:-1;61454:35:0;:56;;;5:2:-1;;;;30:1;27;20:12;5:2;61454:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61454:56:0;;;;60524:991;;;;:::o;13473:152::-;13539:4;13556:39;13565:12;:10;:12::i;:::-;13579:7;13588:6;13556:8;:39::i;14097:304::-;14186:4;14203:36;14213:6;14221:9;14232:6;14203:9;:36::i;:::-;14250:121;14259:6;14267:12;:10;:12::i;:::-;14281:89;14319:6;14281:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14281:19:0;;;;;;:11;:19;;;;;;14301:12;:10;:12::i;:::-;-1:-1:-1;;;;;14281:33:0;;;;;;;;;;;;-1:-1:-1;14281:33:0;;;;:37;:89::i;:::-;14250:8;:121::i;:::-;-1:-1:-1;14389:4:0;14097:304;;;;;:::o;14810:210::-;14890:4;14907:83;14916:12;:10;:12::i;:::-;14930:7;14939:50;14978:10;14939:11;:25;14951:12;:10;:12::i;:::-;-1:-1:-1;;;;;14939:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14939:25:0;;;:34;;;;;;;;;;;:38;:50::i;5247:98::-;5327:10;5247:98;:::o;22534:183::-;22637:4;;22609:24;22627:5;22609:13;:11;:13::i;:::-;:17;:24;:17;:24;:::i;:::-;:32;;22601:70;;;;;-1:-1:-1;;;22601:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22682:27;22694:7;22703:5;22682:11;:27::i;17666:348::-;-1:-1:-1;;;;;17742:21:0;;17734:67;;;;-1:-1:-1;;;17734:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17835:68;17858:6;17835:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17835:18:0;;;;;;:9;:18;;;;;;;;:22;:68::i;:::-;-1:-1:-1;;;;;17814:18:0;;;;;;:9;:18;;;;;:89;17929:12;;:24;;17946:6;17929:16;:24::i;:::-;17914:12;:39;17969:37;;;;;;;;17995:1;;-1:-1:-1;;;;;17969:37:0;;;;;;;;;;;;17666:348;;:::o;20002:203::-;20074:4;-1:-1:-1;;;;;20099:21:0;;20091:68;;;;-1:-1:-1;;;20091:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20177:20:0;:11;:20;;;;;;;;;;;;;;;20002:203::o;24221:130::-;24281:24;:8;24297:7;24281:24;:15;:24;:::i;:::-;24321:22;;-1:-1:-1;;;;;24321:22:0;;;;;;;;24221:130;:::o;18978:232::-;19050:22;19056:7;19065:6;19050:5;:22::i;:::-;19083:119;19092:7;19101:12;:10;:12::i;:::-;19115:86;19154:6;19115:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19115:20:0;;;;;;:11;:20;;;;;;19136:12;:10;:12::i;24091:122::-;24148:21;:8;24161:7;24148:21;:12;:21;:::i;:::-;24185:20;;-1:-1:-1;;;;;24185:20:0;;;;;;;;24091:122;:::o;20946:::-;21003:21;:8;21016:7;21003:21;:12;:21;:::i;:::-;21040:20;;-1:-1:-1;;;;;21040:20:0;;;;;;;;20946:122;:::o;21076:130::-;21136:24;:8;21152:7;21136:24;:15;:24;:::i;:::-;21176:22;;-1:-1:-1;;;;;21176:22:0;;;;;;;;21076:130;:::o;15523:261::-;15608:4;15625:129;15634:12;:10;:12::i;:::-;15648:7;15657:96;15696:15;15657:96;;;;;;;;;;;;;;;;;:11;:25;15669:12;:10;:12::i;:::-;-1:-1:-1;;;;;15657:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15657:25:0;;;:34;;;;;;;;;;;;:38;:96::i;12971:158::-;13040:4;13057:42;13067:12;:10;:12::i;:::-;13081:9;13092:6;13057:9;:42::i;18454:338::-;-1:-1:-1;;;;;18548:19:0;;18540:68;;;;-1:-1:-1;;;18540:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18627:21:0;;18619:68;;;;-1:-1:-1;;;18619:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18700:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18752:32;;;;;;;;;;;;;;;;;18454:338;;;:::o;16274:471::-;-1:-1:-1;;;;;16372:20:0;;16364:70;;;;-1:-1:-1;;;16364:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16453:23:0;;16445:71;;;;-1:-1:-1;;;16445:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16549;16571:6;16549:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16549:17:0;;;;;;:9;:17;;;;;;;;:21;:71::i;:::-;-1:-1:-1;;;;;16529:17:0;;;;;;;:9;:17;;;;;;:91;;;;16654:20;;;;;;;:32;;16679:6;16654:24;:32::i;:::-;-1:-1:-1;;;;;16631:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;16702:35;;;;;;;16631:20;;16702:35;;;;;;;;;;;;;16274:471;;;:::o;7346:192::-;7432:7;7468:12;7460:6;;;;7452:29;;;;-1:-1:-1;;;7452:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7452:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7504:5:0;;;7346:192::o;6417:181::-;6475:7;6507:5;;;6531:6;;;;6523:46;;;;;-1:-1:-1;;;6523:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17026:308;-1:-1:-1;;;;;17102:21:0;;17094:65;;;;;-1:-1:-1;;;17094:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17187:12;;:24;;17204:6;17187:24;:16;:24;:::i;:::-;17172:12;:39;-1:-1:-1;;;;;17243:18:0;;;;;;:9;:18;;;;;;:30;;17266:6;17243:22;:30::i;:::-;-1:-1:-1;;;;;17222:18:0;;;;;;:9;:18;;;;;;;;:51;;;;17289:37;;;;;;;17222:18;;;;17289:37;;;;;;;;;;17026:308;;:::o;6873:136::-;6931:7;6958:43;6962:1;6965;6958:43;;;;;;;;;;;;;;;;;:3;:43::i;19724:183::-;19804:18;19808:4;19814:7;19804:3;:18::i;:::-;19796:64;;;;-1:-1:-1;;;19796:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19871:20:0;19894:5;19871:20;;;;;;;;;;;:28;;-1:-1:-1;;19871:28:0;;;19724:183::o;19466:178::-;19544:18;19548:4;19554:7;19544:3;:18::i;:::-;19543:19;19535:63;;;;;-1:-1:-1;;;19535:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19609:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;19609:27:0;-1:-1:-1;19609:27:0;;;19466:178::o
Swarm Source
bzzr://abbb925dde8b62e4f9d8bcc161e2c7601f687939d36f4d93e542d04981be9ebf
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.