Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 12453545 | 1285 days ago | IN | 0 ETH | 0.4942668 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SushiToken
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-17 */ // Sources flattened with hardhat v2.3.0 https://hardhat.org // File contracts/OpenZeppelin/utils/Context.sol pragma solidity 0.6.12; /* * @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. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File contracts/OpenZeppelin/GSN/Context.sol pragma solidity 0.6.12; // File contracts/OpenZeppelin/math/SafeMath.sol pragma solidity 0.6.12; /** * @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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { 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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File contracts/OpenZeppelin/utils/Address.sol pragma solidity 0.6.12; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File contracts/interfaces/IERC20.sol pragma solidity 0.6.12; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; } // File contracts/Tokens/ERC20.sol pragma solidity 0.6.12; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin 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 IERC20, Context { using SafeMath for uint256; using Address for address; bytes32 public DOMAIN_SEPARATOR; mapping (address => uint256) private _balances; mapping(address => uint256) public nonces; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; bool private _initialized; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ function _initERC20(string memory name_, string memory symbol_) internal { require(!_initialized, "ERC20: token has already been initialized!"); _name = name_; _symbol = symbol_; _decimals = 18; uint256 chainId; assembly { chainId := chainid() } DOMAIN_SEPARATOR = keccak256(abi.encode(keccak256("EIP712Domain(uint256 chainId,address verifyingContract)"), chainId, address(this))); _initialized = true; } /** * @dev Returns the name of the token. */ function name() public view override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * 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 override returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } // See https://eips.ethereum.org/EIPS/eip-191 string private constant EIP191_PREFIX_FOR_EIP712_STRUCTURED_DATA = "\x19\x01"; // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 private constant PERMIT_SIGNATURE_HASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; /// @notice Approves `value` from `owner_` to be spend by `spender`. /// @param owner_ Address of the owner. /// @param spender The address of the spender that gets approved to draw from `owner_`. /// @param value The maximum collective amount that `spender` can draw. /// @param deadline This permit must be redeemed before this deadline (UTC timestamp in seconds). function permit( address owner_, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external override { require(owner_ != address(0), "ERC20: Owner cannot be 0"); require(block.timestamp < deadline, "ERC20: Expired"); bytes32 digest = keccak256( abi.encodePacked( EIP191_PREFIX_FOR_EIP712_STRUCTURED_DATA, DOMAIN_SEPARATOR, keccak256(abi.encode(PERMIT_SIGNATURE_HASH, owner_, spender, value, nonces[owner_]++, deadline)) ) ); address recoveredAddress = ecrecover(digest, v, r, s); require(recoveredAddress == owner_, "ERC20: Invalid Signature"); _approve(_msgSender(), spender, value); } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual 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 virtual 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 virtual 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 virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _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 virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _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 virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _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 internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File contracts/interfaces/IMisoToken.sol pragma solidity 0.6.12; interface IMisoToken { function init(bytes calldata data) external payable; function initToken( bytes calldata data ) external; function tokenTemplate() external view returns (uint256); } // File contracts/OpenZeppelin/utils/EnumerableSet.sol pragma solidity 0.6.12; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File contracts/OpenZeppelin/access/AccessControl.sol pragma solidity 0.6.12; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } // File contracts/Tokens/SushiToken.sol pragma solidity 0.6.12; // --------------------------------------------------------------------- // // SushiToken with Governance. // // From the MISO Token Factory // Made for Sushi.com // // Enjoy. (c) Chef Gonpachi 2021 // <https://github.com/chefgonpachi/MISO/> // // --------------------------------------------------------------------- // SPDX-License-Identifier: GPL-3.0 // --------------------------------------------------------------------- contract SushiToken is IMisoToken, AccessControl, ERC20 { /// @notice Miso template id for the token factory. /// @dev For different token types, this must be incremented. uint256 public constant override tokenTemplate = 3; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); function initToken(string memory _name, string memory _symbol, address _owner, uint256 _initialSupply) public { _initERC20(_name, _symbol); _setupRole(DEFAULT_ADMIN_ROLE, _owner); _setupRole(MINTER_ROLE, _owner); _mint(msg.sender, _initialSupply); } function init(bytes calldata _data) external override payable {} function initToken( bytes calldata _data ) public override { (string memory _name, string memory _symbol, address _owner, uint256 _initialSupply) = abi.decode(_data, (string, string, address, uint256)); initToken(_name,_symbol,_owner,_initialSupply); } /** * @dev Generates init data for Token Factory * @param _name - Token name * @param _symbol - Token symbol * @param _owner - Contract owner * @param _initialSupply Amount of tokens minted on creation */ function getInitData( string calldata _name, string calldata _symbol, address _owner, uint256 _initialSupply ) external pure returns (bytes memory _data) { return abi.encode(_name, _symbol, _owner, _initialSupply); } /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef). function mint(address _to, uint256 _amount) public { require(hasRole(MINTER_ROLE, _msgSender()), "SushiToken: must have minter role to mint"); _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @notice A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public sigNonces; /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "SUSHI::delegateBySig: invalid signature"); require(nonce == sigNonces[signatory]++, "SUSHI::delegateBySig: invalid nonce"); require(now <= expiry, "SUSHI::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "SUSHI::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying SUSHIs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "SUSHI::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"name":"getInitData","outputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"init","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"name":"initToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sigNonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenTemplate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612bbe806100206000396000f3fe6080604052600436106102305760003560e01c8063782d6fe11161012e578063c3cda520116100ab578063dd62ed3e1161006f578063dd62ed3e14610aec578063e7a324dc14610b27578063f1127ed814610b3c578063f21f007c14610b9b578063f990ccd714610c7557610230565b8063c3cda520146109c2578063ca15c87314610a16578063d505accf14610a40578063d539139314610a9e578063d547741f14610ab357610230565b806395d89b41116100f257806395d89b41146108f3578063a217fddf14610908578063a457c2d71461091d578063a9059cbb14610956578063b4b5ea571461098f57610230565b8063782d6fe1146106da5780637ecebe00146107135780638dc7df72146107465780639010d07c1461088a57806391d14854146108ba57610230565b80633644e515116101bc578063587cde1e11610180578063587cde1e1461055e5780635c19a95c146105ad57806360b1cc80146105e05780636fcfff451461065b57806370a08231146106a757610230565b80633644e5151461043057806336568abe14610445578063395093511461047e57806340c10f19146104b75780634ddf47d4146104f057610230565b806320606b701161020357806320606b701461034857806323b872dd1461035d578063248a9ca3146103a05780632f2ff15d146103ca578063313ce5671461040557610230565b806306fdde03146102355780630814d3dd146102bf578063095ea7b3146102e657806318160ddd14610333575b600080fd5b34801561024157600080fd5b5061024a610ca8565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028457818101518382015260200161026c565b50505050905090810190601f1680156102b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102cb57600080fd5b506102d4610d3e565b60408051918252519081900360200190f35b3480156102f257600080fd5b5061031f6004803603604081101561030957600080fd5b506001600160a01b038135169060200135610d43565b604080519115158252519081900360200190f35b34801561033f57600080fd5b506102d4610d61565b34801561035457600080fd5b506102d4610d67565b34801561036957600080fd5b5061031f6004803603606081101561038057600080fd5b506001600160a01b03813581169160208101359091169060400135610d8b565b3480156103ac57600080fd5b506102d4600480360360208110156103c357600080fd5b5035610e12565b3480156103d657600080fd5b50610403600480360360408110156103ed57600080fd5b50803590602001356001600160a01b0316610e27565b005b34801561041157600080fd5b5061041a610e93565b6040805160ff9092168252519081900360200190f35b34801561043c57600080fd5b506102d4610e9c565b34801561045157600080fd5b506104036004803603604081101561046857600080fd5b50803590602001356001600160a01b0316610ea2565b34801561048a57600080fd5b5061031f600480360360408110156104a157600080fd5b506001600160a01b038135169060200135610f03565b3480156104c357600080fd5b50610403600480360360408110156104da57600080fd5b506001600160a01b038135169060200135610f51565b6104036004803603602081101561050657600080fd5b810190602081018135600160201b81111561052057600080fd5b82018360208201111561053257600080fd5b803590602001918460018302840111600160201b8311171561055357600080fd5b509092509050610e8f565b34801561056a57600080fd5b506105916004803603602081101561058157600080fd5b50356001600160a01b0316610fe7565b604080516001600160a01b039092168252519081900360200190f35b3480156105b957600080fd5b50610403600480360360208110156105d057600080fd5b50356001600160a01b0316611005565b3480156105ec57600080fd5b506104036004803603602081101561060357600080fd5b810190602081018135600160201b81111561061d57600080fd5b82018360208201111561062f57600080fd5b803590602001918460018302840111600160201b8311171561065057600080fd5b509092509050611012565b34801561066757600080fd5b5061068e6004803603602081101561067e57600080fd5b50356001600160a01b0316611162565b6040805163ffffffff9092168252519081900360200190f35b3480156106b357600080fd5b506102d4600480360360208110156106ca57600080fd5b50356001600160a01b031661117a565b3480156106e657600080fd5b506102d4600480360360408110156106fd57600080fd5b506001600160a01b038135169060200135611195565b34801561071f57600080fd5b506102d46004803603602081101561073657600080fd5b50356001600160a01b031661139d565b34801561075257600080fd5b506104036004803603608081101561076957600080fd5b810190602081018135600160201b81111561078357600080fd5b82018360208201111561079557600080fd5b803590602001918460018302840111600160201b831117156107b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561080857600080fd5b82018360208201111561081a57600080fd5b803590602001918460018302840111600160201b8311171561083b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160a01b0383351693505050602001356113af565b34801561089657600080fd5b50610591600480360360408110156108ad57600080fd5b50803590602001356113fe565b3480156108c657600080fd5b5061031f600480360360408110156108dd57600080fd5b50803590602001356001600160a01b031661141d565b3480156108ff57600080fd5b5061024a611435565b34801561091457600080fd5b506102d4611496565b34801561092957600080fd5b5061031f6004803603604081101561094057600080fd5b506001600160a01b03813516906020013561149b565b34801561096257600080fd5b5061031f6004803603604081101561097957600080fd5b506001600160a01b038135169060200135611503565b34801561099b57600080fd5b506102d4600480360360208110156109b257600080fd5b50356001600160a01b0316611517565b3480156109ce57600080fd5b50610403600480360360c08110156109e557600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561157a565b348015610a2257600080fd5b506102d460048036036020811015610a3957600080fd5b50356117ec565b348015610a4c57600080fd5b50610403600480360360e0811015610a6357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611803565b348015610aaa57600080fd5b506102d4611aa6565b348015610abf57600080fd5b5061040360048036036040811015610ad657600080fd5b50803590602001356001600160a01b0316611aca565b348015610af857600080fd5b506102d460048036036040811015610b0f57600080fd5b506001600160a01b0381358116916020013516611b23565b348015610b3357600080fd5b506102d4611b4e565b348015610b4857600080fd5b50610b7b60048036036040811015610b5f57600080fd5b5080356001600160a01b0316906020013563ffffffff16611b72565b6040805163ffffffff909316835260208301919091528051918290030190f35b348015610ba757600080fd5b5061024a60048036036080811015610bbe57600080fd5b810190602081018135600160201b811115610bd857600080fd5b820183602082011115610bea57600080fd5b803590602001918460018302840111600160201b83111715610c0b57600080fd5b919390929091602081019035600160201b811115610c2857600080fd5b820183602082011115610c3a57600080fd5b803590602001918460018302840111600160201b83111715610c5b57600080fd5b91935091506001600160a01b038135169060200135611b9f565b348015610c8157600080fd5b506102d460048036036020811015610c9857600080fd5b50356001600160a01b0316611c3c565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d345780601f10610d0957610100808354040283529160200191610d34565b820191906000526020600020905b815481529060010190602001808311610d1757829003601f168201915b5050505050905090565b600381565b6000610d57610d50611c4e565b8484611c52565b5060015b92915050565b60055490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610d98848484611d3e565b610e0884610da4611c4e565b610e0385604051806060016040528060288152602001612a7a602891396001600160a01b038a16600090815260046020526040812090610de2611c4e565b6001600160a01b031681526020810191909152604001600020549190611e9b565b611c52565b5060019392505050565b60009081526020819052604090206002015490565b600082815260208190526040902060020154610e4a90610e45611c4e565b61141d565b610e855760405162461bcd60e51b815260040180806020018281038252602f8152602001806128fc602f913960400191505060405180910390fd5b610e8f8282611f32565b5050565b60085460ff1690565b60015481565b610eaa611c4e565b6001600160a01b0316816001600160a01b031614610ef95760405162461bcd60e51b815260040180806020018281038252602f815260200180612b5a602f913960400191505060405180910390fd5b610e8f8282611f9b565b6000610d57610f10611c4e565b84610e038560046000610f21611c4e565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612004565b610f7d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e45611c4e565b610fb85760405162461bcd60e51b815260040180806020018281038252602981526020018061292b6029913960400191505060405180910390fd5b610fc2828261205e565b6001600160a01b03808316600090815260096020526040812054610e8f921683612150565b6001600160a01b039081166000908152600960205260409020541690565b61100f3382612292565b50565b6060806000808585608081101561102857600080fd5b810190602081018135600160201b81111561104257600080fd5b82018360208201111561105457600080fd5b803590602001918460018302840111600160201b8311171561107557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156110c757600080fd5b8201836020820111156110d957600080fd5b803590602001918460018302840111600160201b831117156110fa57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250969a50919850506001600160a01b0382351696505060200135935061115a925086915085905084846113af565b505050505050565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526002602052604090205490565b60004382106111d55760405162461bcd60e51b8152600401808060200182810382526028815260200180612a526028913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680611203576000915050610d5b565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310611272576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff16835292905220600101549050610d5b565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff168310156112ad576000915050610d5b565b600060001982015b8163ffffffff168163ffffffff16111561136657600282820363ffffffff160481036112df61280c565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561134157602001519450610d5b9350505050565b805163ffffffff168711156113585781935061135f565b6001820392505b50506112b5565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60036020526000908152604090205481565b6113b98484612321565b6113c4600083610e85565b6113ee7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683610e85565b6113f8338261205e565b50505050565b60008281526020819052604081206114169083612403565b9392505050565b6000828152602081905260408120611416908361240f565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d345780601f10610d0957610100808354040283529160200191610d34565b600081565b6000610d576114a8611c4e565b84610e0385604051806060016040528060258152602001612b3560259139600460006114d2611c4e565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e9b565b6000610d57611510611c4e565b8484611d3e565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680611542576000611416565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101549392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666115a5610ca8565b805190602001206115b4612424565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa1580156116e7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117395760405162461bcd60e51b8152600401808060200182810382526027815260200180612ac56027913960400191505060405180910390fd5b6001600160a01b0381166000908152600c6020526040902080546001810190915589146117975760405162461bcd60e51b8152600401808060200182810382526023815260200180612aa26023913960400191505060405180910390fd5b874211156117d65760405162461bcd60e51b81526004018080602001828103825260278152602001806129546027913960400191505060405180910390fd5b6117e0818b612292565b50505050505050505050565b6000818152602081905260408120610d5b90612428565b6001600160a01b03871661185e576040805162461bcd60e51b815260206004820152601860248201527f45524332303a204f776e65722063616e6e6f7420626520300000000000000000604482015290519081900360640190fd5b8342106118a3576040805162461bcd60e51b815260206004820152600e60248201526d115490cc8c0e88115e1c1a5c995960921b604482015290519081900360640190fd5b6040805180820182526002815261190160f01b6020808301918252600180546001600160a01b03808e166000818152600386528881208054958601905588517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981880152808a0192909252918e166060820152608081018d905260a081019390935260c08084018c90528751808503909101815260e084019097528651969093019590952084519295939092610100909201918291908083835b6020831061197c5780518252601f19909201916020918201910161195d565b51815160209384036101000a6000190180199092169116179052920194855250838101929092525060408051808403830181528184018083528151918401919091206000918290526060850180845281905260ff8a16608086015260a0850189905260c085018890529151919550935060019260e08082019392601f1981019281900390910190855afa158015611a17573d6000803e3d6000fd5b505050602060405103519050886001600160a01b0316816001600160a01b031614611a89576040805162461bcd60e51b815260206004820152601860248201527f45524332303a20496e76616c6964205369676e61747572650000000000000000604482015290519081900360640190fd5b611a9b611a94611c4e565b8989611c52565b505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b600082815260208190526040902060020154611ae890610e45611c4e565b610ef95760405162461bcd60e51b81526004018080602001828103825260308152602001806129ed6030913960400191505060405180910390fd5b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6060868686868686604051602001808060200180602001856001600160a01b031681526020018481526020018381038352898982818152602001925080828437600083820152601f01601f19169091018481038352878152602001905087878082843760008382015260408051601f909201601f199081169094018281039094018252929092525099505050505050505050509695505050505050565b600c6020526000908152604090205481565b3390565b6001600160a01b038316611c975760405162461bcd60e51b8152600401808060200182810382526024815260200180612b116024913960400191505060405180910390fd5b6001600160a01b038216611cdc5760405162461bcd60e51b815260040180806020018281038252602281526020018061297b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611d835760405162461bcd60e51b8152600401808060200182810382526025815260200180612aec6025913960400191505060405180910390fd5b6001600160a01b038216611dc85760405162461bcd60e51b81526004018080602001828103825260238152602001806128d96023913960400191505060405180910390fd5b611dd383838361228d565b611e108160405180606001604052806026815260200161299d602691396001600160a01b0386166000908152600260205260409020549190611e9b565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611e3f9082612004565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611f2a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611eef578181015183820152602001611ed7565b50505050905090810190601f168015611f1c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020611f4a9082612433565b15610e8f57611f57611c4e565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020611fb39082612448565b15610e8f57611fc0611c4e565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600082820183811015611416576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166120b9576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6120c56000838361228d565b6005546120d29082612004565b6005556001600160a01b0382166000908152600260205260409020546120f89082612004565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156121725750600081115b1561228d576001600160a01b03831615612204576001600160a01b0383166000908152600b602052604081205463ffffffff1690816121b25760006121e4565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006121f2828561245d565b9050612200868484846124ba565b5050505b6001600160a01b0382161561228d576001600160a01b0382166000908152600b602052604081205463ffffffff16908161223f576000612271565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061227f8285612004565b905061115a858484846124ba565b505050565b6001600160a01b03808316600090815260096020526040812054909116906122b98461117a565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46113f8828483612150565b600854610100900460ff16156123685760405162461bcd60e51b815260040180806020018281038252602a8152602001806129c3602a913960400191505060405180910390fd5b815161237b906006906020850190612823565b50805161238f906007906020840190612823565b505060088054604080517f47e79534a245952e8b16893a336b85a3d9ea9fa8c573f3d803afb92a79469218602080830191909152468284015230606080840191909152835180840390910181526080909201909252805191012060015561ff001960ff199091166012171661010017905550565b6000611416838361261f565b6000611416836001600160a01b038416612683565b4690565b6000610d5b8261269b565b6000611416836001600160a01b03841661269f565b6000611416836001600160a01b0384166126e9565b6000828211156124b4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60006124de43604051806060016040528060358152602001612a1d603591396127af565b905060008463ffffffff1611801561252757506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612564576001600160a01b0385166000908152600a6020908152604080832063ffffffff600019890116845290915290206001018290556125d5565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b815460009082106126615760405162461bcd60e51b81526004018080602001828103825260228152602001806128b76022913960400191505060405180910390fd5b82600001828154811061267057fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60006126ab8383612683565b6126e157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610d5b565b506000610d5b565b600081815260018301602052604081205480156127a5578354600019808301919081019060009087908390811061271c57fe5b906000526020600020015490508087600001848154811061273957fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061276957fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610d5b565b6000915050610d5b565b600081600160201b84106128045760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611eef578181015183820152602001611ed7565b509192915050565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061286457805160ff1916838001178555612891565b82800160010185558215612891579182015b82811115612891578251825591602001919060010190612876565b5061289d9291506128a1565b5090565b5b8082111561289d57600081556001016128a256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e745375736869546f6b656e3a206d7573742068617665206d696e74657220726f6c6520746f206d696e7453555348493a3a64656c656761746542795369673a207369676e6174757265206578706972656445524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a20746f6b656e2068617320616c7265616479206265656e20696e697469616c697a656421416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6553555348493a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747353555348493a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636553555348493a3a64656c656761746542795369673a20696e76616c6964206e6f6e636553555348493a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122066bd8c20a4651be806f081360c6aef00b87fb48e270d73c6ca1f8b6457686d8964736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106102305760003560e01c8063782d6fe11161012e578063c3cda520116100ab578063dd62ed3e1161006f578063dd62ed3e14610aec578063e7a324dc14610b27578063f1127ed814610b3c578063f21f007c14610b9b578063f990ccd714610c7557610230565b8063c3cda520146109c2578063ca15c87314610a16578063d505accf14610a40578063d539139314610a9e578063d547741f14610ab357610230565b806395d89b41116100f257806395d89b41146108f3578063a217fddf14610908578063a457c2d71461091d578063a9059cbb14610956578063b4b5ea571461098f57610230565b8063782d6fe1146106da5780637ecebe00146107135780638dc7df72146107465780639010d07c1461088a57806391d14854146108ba57610230565b80633644e515116101bc578063587cde1e11610180578063587cde1e1461055e5780635c19a95c146105ad57806360b1cc80146105e05780636fcfff451461065b57806370a08231146106a757610230565b80633644e5151461043057806336568abe14610445578063395093511461047e57806340c10f19146104b75780634ddf47d4146104f057610230565b806320606b701161020357806320606b701461034857806323b872dd1461035d578063248a9ca3146103a05780632f2ff15d146103ca578063313ce5671461040557610230565b806306fdde03146102355780630814d3dd146102bf578063095ea7b3146102e657806318160ddd14610333575b600080fd5b34801561024157600080fd5b5061024a610ca8565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028457818101518382015260200161026c565b50505050905090810190601f1680156102b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102cb57600080fd5b506102d4610d3e565b60408051918252519081900360200190f35b3480156102f257600080fd5b5061031f6004803603604081101561030957600080fd5b506001600160a01b038135169060200135610d43565b604080519115158252519081900360200190f35b34801561033f57600080fd5b506102d4610d61565b34801561035457600080fd5b506102d4610d67565b34801561036957600080fd5b5061031f6004803603606081101561038057600080fd5b506001600160a01b03813581169160208101359091169060400135610d8b565b3480156103ac57600080fd5b506102d4600480360360208110156103c357600080fd5b5035610e12565b3480156103d657600080fd5b50610403600480360360408110156103ed57600080fd5b50803590602001356001600160a01b0316610e27565b005b34801561041157600080fd5b5061041a610e93565b6040805160ff9092168252519081900360200190f35b34801561043c57600080fd5b506102d4610e9c565b34801561045157600080fd5b506104036004803603604081101561046857600080fd5b50803590602001356001600160a01b0316610ea2565b34801561048a57600080fd5b5061031f600480360360408110156104a157600080fd5b506001600160a01b038135169060200135610f03565b3480156104c357600080fd5b50610403600480360360408110156104da57600080fd5b506001600160a01b038135169060200135610f51565b6104036004803603602081101561050657600080fd5b810190602081018135600160201b81111561052057600080fd5b82018360208201111561053257600080fd5b803590602001918460018302840111600160201b8311171561055357600080fd5b509092509050610e8f565b34801561056a57600080fd5b506105916004803603602081101561058157600080fd5b50356001600160a01b0316610fe7565b604080516001600160a01b039092168252519081900360200190f35b3480156105b957600080fd5b50610403600480360360208110156105d057600080fd5b50356001600160a01b0316611005565b3480156105ec57600080fd5b506104036004803603602081101561060357600080fd5b810190602081018135600160201b81111561061d57600080fd5b82018360208201111561062f57600080fd5b803590602001918460018302840111600160201b8311171561065057600080fd5b509092509050611012565b34801561066757600080fd5b5061068e6004803603602081101561067e57600080fd5b50356001600160a01b0316611162565b6040805163ffffffff9092168252519081900360200190f35b3480156106b357600080fd5b506102d4600480360360208110156106ca57600080fd5b50356001600160a01b031661117a565b3480156106e657600080fd5b506102d4600480360360408110156106fd57600080fd5b506001600160a01b038135169060200135611195565b34801561071f57600080fd5b506102d46004803603602081101561073657600080fd5b50356001600160a01b031661139d565b34801561075257600080fd5b506104036004803603608081101561076957600080fd5b810190602081018135600160201b81111561078357600080fd5b82018360208201111561079557600080fd5b803590602001918460018302840111600160201b831117156107b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561080857600080fd5b82018360208201111561081a57600080fd5b803590602001918460018302840111600160201b8311171561083b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160a01b0383351693505050602001356113af565b34801561089657600080fd5b50610591600480360360408110156108ad57600080fd5b50803590602001356113fe565b3480156108c657600080fd5b5061031f600480360360408110156108dd57600080fd5b50803590602001356001600160a01b031661141d565b3480156108ff57600080fd5b5061024a611435565b34801561091457600080fd5b506102d4611496565b34801561092957600080fd5b5061031f6004803603604081101561094057600080fd5b506001600160a01b03813516906020013561149b565b34801561096257600080fd5b5061031f6004803603604081101561097957600080fd5b506001600160a01b038135169060200135611503565b34801561099b57600080fd5b506102d4600480360360208110156109b257600080fd5b50356001600160a01b0316611517565b3480156109ce57600080fd5b50610403600480360360c08110156109e557600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561157a565b348015610a2257600080fd5b506102d460048036036020811015610a3957600080fd5b50356117ec565b348015610a4c57600080fd5b50610403600480360360e0811015610a6357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611803565b348015610aaa57600080fd5b506102d4611aa6565b348015610abf57600080fd5b5061040360048036036040811015610ad657600080fd5b50803590602001356001600160a01b0316611aca565b348015610af857600080fd5b506102d460048036036040811015610b0f57600080fd5b506001600160a01b0381358116916020013516611b23565b348015610b3357600080fd5b506102d4611b4e565b348015610b4857600080fd5b50610b7b60048036036040811015610b5f57600080fd5b5080356001600160a01b0316906020013563ffffffff16611b72565b6040805163ffffffff909316835260208301919091528051918290030190f35b348015610ba757600080fd5b5061024a60048036036080811015610bbe57600080fd5b810190602081018135600160201b811115610bd857600080fd5b820183602082011115610bea57600080fd5b803590602001918460018302840111600160201b83111715610c0b57600080fd5b919390929091602081019035600160201b811115610c2857600080fd5b820183602082011115610c3a57600080fd5b803590602001918460018302840111600160201b83111715610c5b57600080fd5b91935091506001600160a01b038135169060200135611b9f565b348015610c8157600080fd5b506102d460048036036020811015610c9857600080fd5b50356001600160a01b0316611c3c565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d345780601f10610d0957610100808354040283529160200191610d34565b820191906000526020600020905b815481529060010190602001808311610d1757829003601f168201915b5050505050905090565b600381565b6000610d57610d50611c4e565b8484611c52565b5060015b92915050565b60055490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610d98848484611d3e565b610e0884610da4611c4e565b610e0385604051806060016040528060288152602001612a7a602891396001600160a01b038a16600090815260046020526040812090610de2611c4e565b6001600160a01b031681526020810191909152604001600020549190611e9b565b611c52565b5060019392505050565b60009081526020819052604090206002015490565b600082815260208190526040902060020154610e4a90610e45611c4e565b61141d565b610e855760405162461bcd60e51b815260040180806020018281038252602f8152602001806128fc602f913960400191505060405180910390fd5b610e8f8282611f32565b5050565b60085460ff1690565b60015481565b610eaa611c4e565b6001600160a01b0316816001600160a01b031614610ef95760405162461bcd60e51b815260040180806020018281038252602f815260200180612b5a602f913960400191505060405180910390fd5b610e8f8282611f9b565b6000610d57610f10611c4e565b84610e038560046000610f21611c4e565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612004565b610f7d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e45611c4e565b610fb85760405162461bcd60e51b815260040180806020018281038252602981526020018061292b6029913960400191505060405180910390fd5b610fc2828261205e565b6001600160a01b03808316600090815260096020526040812054610e8f921683612150565b6001600160a01b039081166000908152600960205260409020541690565b61100f3382612292565b50565b6060806000808585608081101561102857600080fd5b810190602081018135600160201b81111561104257600080fd5b82018360208201111561105457600080fd5b803590602001918460018302840111600160201b8311171561107557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156110c757600080fd5b8201836020820111156110d957600080fd5b803590602001918460018302840111600160201b831117156110fa57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250969a50919850506001600160a01b0382351696505060200135935061115a925086915085905084846113af565b505050505050565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526002602052604090205490565b60004382106111d55760405162461bcd60e51b8152600401808060200182810382526028815260200180612a526028913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680611203576000915050610d5b565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310611272576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff16835292905220600101549050610d5b565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff168310156112ad576000915050610d5b565b600060001982015b8163ffffffff168163ffffffff16111561136657600282820363ffffffff160481036112df61280c565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529087141561134157602001519450610d5b9350505050565b805163ffffffff168711156113585781935061135f565b6001820392505b50506112b5565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60036020526000908152604090205481565b6113b98484612321565b6113c4600083610e85565b6113ee7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683610e85565b6113f8338261205e565b50505050565b60008281526020819052604081206114169083612403565b9392505050565b6000828152602081905260408120611416908361240f565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d345780601f10610d0957610100808354040283529160200191610d34565b600081565b6000610d576114a8611c4e565b84610e0385604051806060016040528060258152602001612b3560259139600460006114d2611c4e565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e9b565b6000610d57611510611c4e565b8484611d3e565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680611542576000611416565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101549392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666115a5610ca8565b805190602001206115b4612424565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa1580156116e7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117395760405162461bcd60e51b8152600401808060200182810382526027815260200180612ac56027913960400191505060405180910390fd5b6001600160a01b0381166000908152600c6020526040902080546001810190915589146117975760405162461bcd60e51b8152600401808060200182810382526023815260200180612aa26023913960400191505060405180910390fd5b874211156117d65760405162461bcd60e51b81526004018080602001828103825260278152602001806129546027913960400191505060405180910390fd5b6117e0818b612292565b50505050505050505050565b6000818152602081905260408120610d5b90612428565b6001600160a01b03871661185e576040805162461bcd60e51b815260206004820152601860248201527f45524332303a204f776e65722063616e6e6f7420626520300000000000000000604482015290519081900360640190fd5b8342106118a3576040805162461bcd60e51b815260206004820152600e60248201526d115490cc8c0e88115e1c1a5c995960921b604482015290519081900360640190fd5b6040805180820182526002815261190160f01b6020808301918252600180546001600160a01b03808e166000818152600386528881208054958601905588517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981880152808a0192909252918e166060820152608081018d905260a081019390935260c08084018c90528751808503909101815260e084019097528651969093019590952084519295939092610100909201918291908083835b6020831061197c5780518252601f19909201916020918201910161195d565b51815160209384036101000a6000190180199092169116179052920194855250838101929092525060408051808403830181528184018083528151918401919091206000918290526060850180845281905260ff8a16608086015260a0850189905260c085018890529151919550935060019260e08082019392601f1981019281900390910190855afa158015611a17573d6000803e3d6000fd5b505050602060405103519050886001600160a01b0316816001600160a01b031614611a89576040805162461bcd60e51b815260206004820152601860248201527f45524332303a20496e76616c6964205369676e61747572650000000000000000604482015290519081900360640190fd5b611a9b611a94611c4e565b8989611c52565b505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b600082815260208190526040902060020154611ae890610e45611c4e565b610ef95760405162461bcd60e51b81526004018080602001828103825260308152602001806129ed6030913960400191505060405180910390fd5b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6060868686868686604051602001808060200180602001856001600160a01b031681526020018481526020018381038352898982818152602001925080828437600083820152601f01601f19169091018481038352878152602001905087878082843760008382015260408051601f909201601f199081169094018281039094018252929092525099505050505050505050509695505050505050565b600c6020526000908152604090205481565b3390565b6001600160a01b038316611c975760405162461bcd60e51b8152600401808060200182810382526024815260200180612b116024913960400191505060405180910390fd5b6001600160a01b038216611cdc5760405162461bcd60e51b815260040180806020018281038252602281526020018061297b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611d835760405162461bcd60e51b8152600401808060200182810382526025815260200180612aec6025913960400191505060405180910390fd5b6001600160a01b038216611dc85760405162461bcd60e51b81526004018080602001828103825260238152602001806128d96023913960400191505060405180910390fd5b611dd383838361228d565b611e108160405180606001604052806026815260200161299d602691396001600160a01b0386166000908152600260205260409020549190611e9b565b6001600160a01b038085166000908152600260205260408082209390935590841681522054611e3f9082612004565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611f2a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611eef578181015183820152602001611ed7565b50505050905090810190601f168015611f1c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020611f4a9082612433565b15610e8f57611f57611c4e565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020611fb39082612448565b15610e8f57611fc0611c4e565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600082820183811015611416576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166120b9576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6120c56000838361228d565b6005546120d29082612004565b6005556001600160a01b0382166000908152600260205260409020546120f89082612004565b6001600160a01b03831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b0316141580156121725750600081115b1561228d576001600160a01b03831615612204576001600160a01b0383166000908152600b602052604081205463ffffffff1690816121b25760006121e4565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006121f2828561245d565b9050612200868484846124ba565b5050505b6001600160a01b0382161561228d576001600160a01b0382166000908152600b602052604081205463ffffffff16908161223f576000612271565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061227f8285612004565b905061115a858484846124ba565b505050565b6001600160a01b03808316600090815260096020526040812054909116906122b98461117a565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46113f8828483612150565b600854610100900460ff16156123685760405162461bcd60e51b815260040180806020018281038252602a8152602001806129c3602a913960400191505060405180910390fd5b815161237b906006906020850190612823565b50805161238f906007906020840190612823565b505060088054604080517f47e79534a245952e8b16893a336b85a3d9ea9fa8c573f3d803afb92a79469218602080830191909152468284015230606080840191909152835180840390910181526080909201909252805191012060015561ff001960ff199091166012171661010017905550565b6000611416838361261f565b6000611416836001600160a01b038416612683565b4690565b6000610d5b8261269b565b6000611416836001600160a01b03841661269f565b6000611416836001600160a01b0384166126e9565b6000828211156124b4576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60006124de43604051806060016040528060358152602001612a1d603591396127af565b905060008463ffffffff1611801561252757506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612564576001600160a01b0385166000908152600a6020908152604080832063ffffffff600019890116845290915290206001018290556125d5565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b815460009082106126615760405162461bcd60e51b81526004018080602001828103825260228152602001806128b76022913960400191505060405180910390fd5b82600001828154811061267057fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b60006126ab8383612683565b6126e157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610d5b565b506000610d5b565b600081815260018301602052604081205480156127a5578354600019808301919081019060009087908390811061271c57fe5b906000526020600020015490508087600001848154811061273957fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061276957fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610d5b565b6000915050610d5b565b600081600160201b84106128045760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611eef578181015183820152602001611ed7565b509192915050565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061286457805160ff1916838001178555612891565b82800160010185558215612891579182015b82811115612891578251825591602001919060010190612876565b5061289d9291506128a1565b5090565b5b8082111561289d57600081556001016128a256fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e745375736869546f6b656e3a206d7573742068617665206d696e74657220726f6c6520746f206d696e7453555348493a3a64656c656761746542795369673a207369676e6174757265206578706972656445524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a20746f6b656e2068617320616c7265616479206265656e20696e697469616c697a656421416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6553555348493a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747353555348493a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636553555348493a3a64656c656761746542795369673a20696e76616c6964206e6f6e636553555348493a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122066bd8c20a4651be806f081360c6aef00b87fb48e270d73c6ca1f8b6457686d8964736f6c634300060c0033
Deployed Bytecode Sourcemap
48714:10531:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20181:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48903:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;22305:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22305:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;21283:100;;;;;;;;;;;;;:::i;51655:122::-;;;;;;;;;;;;;:::i;24580:312::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;24580:312:0;;;;;;;;;;;;;;;;;:::i;44946:114::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44946:114:0;;:::i;45322:227::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45322:227:0;;;;;;-1:-1:-1;;;;;45322:227:0;;:::i;:::-;;21126:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18902:31;;;;;;;;;;;;;:::i;46531:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46531:209:0;;;;;;-1:-1:-1;;;;;46531:209:0;;:::i;25301:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25301:218:0;;;;;;;;:::i;50385:252::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50385:252:0;;;;;;;;:::i;49333:64::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49333:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49333:64:0;;;;;;;;;;-1:-1:-1;49333:64:0;;-1:-1:-1;49333:64:0;-1:-1:-1;49333:64:0;:::i;52641:149::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52641:149:0;-1:-1:-1;;;;;52641:149:0;;:::i;:::-;;;;-1:-1:-1;;;;;52641:149:0;;;;;;;;;;;;;;52934:104;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52934:104:0;-1:-1:-1;;;;;52934:104:0;;:::i;49405:318::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49405:318:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49405:318:0;;;;;;;;;;-1:-1:-1;49405:318:0;;-1:-1:-1;49405:318:0;-1:-1:-1;49405:318:0;:::i;51533:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51533:49:0;-1:-1:-1;;;;;51533:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;21446:119;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21446:119:0;-1:-1:-1;;;;;21446:119:0;;:::i;55543:1254::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55543:1254:0;;;;;;;;:::i;18995:41::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18995:41:0;-1:-1:-1;;;;;18995:41:0;;:::i;49033:292::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49033:292:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49033:292:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49033:292:0;;;;;;;;-1:-1:-1;49033:292:0;;-1:-1:-1;;;;;49033:292:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49033:292:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49033:292:0;;-1:-1:-1;;;;;;;49033:292:0;;;;-1:-1:-1;;;49033:292:0;;;;:::i;44619:138::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44619:138:0;;;;;;;:::i;43580:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43580:139:0;;;;;;-1:-1:-1;;;;;43580:139:0;;:::i;20392:96::-;;;;;;;;;;;;;:::i;42325:49::-;;;;;;;;;;;;;:::i;26022:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26022:269:0;;;;;;;;:::i;21778:166::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21778:166:0;;;;;;;;:::i;54857:255::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54857:255:0;-1:-1:-1;;;;;54857:255:0;;:::i;53472:1184::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53472:1184:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;43893:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43893:127:0;;:::i;23236:870::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23236:870:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;48962:62::-;;;;;;;;;;;;;:::i;45794:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45794:230:0;;;;;;-1:-1:-1;;;;;45794:230:0;;:::i;22007:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22007:151:0;;;;;;;;;;:::i;51871:117::-;;;;;;;;;;;;;:::i;51394:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51394:70:0;;-1:-1:-1;;;;;51394:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;49974:303;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49974:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49974:303:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49974:303:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49974:303:0;;;;;;;;;;;;-1:-1:-1;49974:303:0;-1:-1:-1;;;;;;49974:303:0;;;;;;;;:::i;52069:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52069:42:0;-1:-1:-1;;;;;52069:42:0;;:::i;20181:92::-;20260:5;20253:12;;;;;;;;-1:-1:-1;;20253:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20227:13;;20253:12;;20260:5;;20253:12;;20260:5;20253:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20181:92;:::o;48903:50::-;48952:1;48903:50;:::o;22305:169::-;22388:4;22405:39;22414:12;:10;:12::i;:::-;22428:7;22437:6;22405:8;:39::i;:::-;-1:-1:-1;22462:4:0;22305:169;;;;;:::o;21283:100::-;21363:12;;21283:100;:::o;51655:122::-;51697:80;51655:122;:::o;24580:312::-;24677:4;24694:36;24704:6;24712:9;24723:6;24694:9;:36::i;:::-;24741:121;24750:6;24758:12;:10;:12::i;:::-;24772:89;24810:6;24772:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24772:19:0;;;;;;:11;:19;;;;;;24792:12;:10;:12::i;:::-;-1:-1:-1;;;;;24772:33:0;;;;;;;;;;;;-1:-1:-1;24772:33:0;;;:89;:37;:89::i;:::-;24741:8;:121::i;:::-;-1:-1:-1;24880:4:0;24580:312;;;;;:::o;44946:114::-;45003:7;45030:12;;;;;;;;;;:22;;;;44946:114::o;45322:227::-;45414:6;:12;;;;;;;;;;:22;;;45406:45;;45438:12;:10;:12::i;:::-;45406:7;:45::i;:::-;45398:105;;;;-1:-1:-1;;;45398:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45516:25;45527:4;45533:7;45516:10;:25::i;:::-;45322:227;;:::o;21126:92::-;21201:9;;;;21126:92;:::o;18902:31::-;;;;:::o;46531:209::-;46629:12;:10;:12::i;:::-;-1:-1:-1;;;;;46618:23:0;:7;-1:-1:-1;;;;;46618:23:0;;46610:83;;;;-1:-1:-1;;;46610:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46706:26;46718:4;46724:7;46706:11;:26::i;25301:218::-;25389:4;25406:83;25415:12;:10;:12::i;:::-;25429:7;25438:50;25477:10;25438:11;:25;25450:12;:10;:12::i;:::-;-1:-1:-1;;;;;25438:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;25438:25:0;;;:34;;;;;;;;;;;:38;:50::i;50385:252::-;50456:34;49000:24;50477:12;:10;:12::i;50456:34::-;50448:88;;;;-1:-1:-1;;;50448:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50547:19;50553:3;50558:7;50547:5;:19::i;:::-;-1:-1:-1;;;;;50604:15:0;;;50600:1;50604:15;;;:10;:15;;;;;;50577:52;;50604:15;50621:7;50577:14;:52::i;52641:149::-;-1:-1:-1;;;;;52761:21:0;;;52729:7;52761:21;;;:10;:21;;;;;;;;52641:149::o;52934:104::-;52998:32;53008:10;53020:9;52998;:32::i;:::-;52934:104;:::o;49405:318::-;49490:19;49520:21;49552:14;49577:22;49614:5;;49603:53;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49603:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49603:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49603:53:0;;;;;;;;-1:-1:-1;49603:53:0;;-1:-1:-1;;;;;49603:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49603:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49489:167:0;;-1:-1:-1;49603:53:0;;-1:-1:-1;;;;;;;49603:53:0;;;;-1:-1:-1;;49603:53:0;;;;-1:-1:-1;49669:46:0;;-1:-1:-1;49489:167:0;;-1:-1:-1;49603:53:0;;-1:-1:-1;49603:53:0;;49669:9;:46::i;:::-;49405:318;;;;;;:::o;51533:49::-;;;;;;;;;;;;;;;:::o;21446:119::-;-1:-1:-1;;;;;21539:18:0;21512:7;21539:18;;;:9;:18;;;;;;;21446:119::o;55543:1254::-;55651:7;55698:12;55684:11;:26;55676:79;;;;-1:-1:-1;;;55676:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55790:23:0;;55768:19;55790:23;;;:14;:23;;;;;;;;55828:17;55824:58;;55869:1;55862:8;;;;;55824:58;-1:-1:-1;;;;;55942:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;55963:16:0;;55942:38;;;;;;;;;:48;;:63;-1:-1:-1;55938:147:0;;-1:-1:-1;;;;;56029:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;56050:16:0;;;;56029:38;;;;;;;;56065:1;56029:44;;;-1:-1:-1;56022:51:0;;55938:147;-1:-1:-1;;;;;56146:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;56142:88:0;;;56217:1;56210:8;;;;;56142:88;56242:12;-1:-1:-1;;56284:16:0;;56311:428;56326:5;56318:13;;:5;:13;;;56311:428;;;56390:1;56373:13;;;56372:19;;;56364:27;;56433:20;;:::i;:::-;-1:-1:-1;;;;;;56456:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;56433:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56503:27;;56499:229;;;56558:8;;;;-1:-1:-1;56551:15:0;;-1:-1:-1;;;;56551:15:0;56499:229;56592:12;;:26;;;-1:-1:-1;56588:140:0;;;56647:6;56639:14;;56588:140;;;56711:1;56702:6;:10;56694:18;;56588:140;56311:428;;;;;-1:-1:-1;;;;;;56756:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;55543:1254:0;;;;:::o;18995:41::-;;;;;;;;;;;;;:::o;49033:292::-;49154:26;49165:5;49172:7;49154:10;:26::i;:::-;49191:38;42370:4;49222:6;49191:10;:38::i;:::-;49240:31;49000:24;49264:6;49240:10;:31::i;:::-;49282:33;49288:10;49300:14;49282:5;:33::i;:::-;49033:292;;;;:::o;44619:138::-;44692:7;44719:12;;;;;;;;;;:30;;44743:5;44719:23;:30::i;:::-;44712:37;44619:138;-1:-1:-1;;;44619:138:0:o;43580:139::-;43649:4;43673:12;;;;;;;;;;:38;;43703:7;43673:29;:38::i;20392:96::-;20473:7;20466:14;;;;;;;;-1:-1:-1;;20466:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20440:13;;20466:14;;20473:7;;20466:14;;20473:7;20466:14;;;;;;;;;;;;;;;;;;;;;;;;42325:49;42370:4;42325:49;:::o;26022:269::-;26115:4;26132:129;26141:12;:10;:12::i;:::-;26155:7;26164:96;26203:15;26164:96;;;;;;;;;;;;;;;;;:11;:25;26176:12;:10;:12::i;:::-;-1:-1:-1;;;;;26164:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;26164:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;21778:166::-;21855:4;21872:42;21882:12;:10;:12::i;:::-;21896:9;21907:6;21872:9;:42::i;54857:255::-;-1:-1:-1;;;;;54996:23:0;;54949:7;54996:23;;;:14;:23;;;;;;;;55037:16;:67;;55103:1;55037:67;;;-1:-1:-1;;;;;55056:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;55077:16:0;;55056:38;;;;;;;;55092:1;55056:44;;55030:74;54857:255;-1:-1:-1;;;54857:255:0:o;53472:1184::-;53665:23;51697:80;53794:6;:4;:6::i;:::-;53778:24;;;;;;53821:12;:10;:12::i;:::-;53715:165;;;;;;;;;;;;;;;;;;;;;;;;;53860:4;53715:165;;;;;;;;;;;;;;;;;;;;;;;53691:200;;;;;;51917:71;53949:140;;;;-1:-1:-1;;;;;53949:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53925:175;;;;;;-1:-1:-1;;;54154:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54130:158;;;;;;;;;-1:-1:-1;54321:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53691:200;;-1:-1:-1;53925:175:0;;54130:158;;-1:-1:-1;;54321:26:0;;;;;;;-1:-1:-1;;54321:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54321:26:0;;-1:-1:-1;;54321:26:0;;;-1:-1:-1;;;;;;;54366:23:0;;54358:75;;;;-1:-1:-1;;;54358:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54461:20:0;;;;;;:9;:20;;;;;:22;;;;;;;;54452:31;;54444:79;;;;-1:-1:-1;;;54444:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54549:6;54542:3;:13;;54534:65;;;;-1:-1:-1;;;54534:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54617:31;54627:9;54638;54617;:31::i;:::-;54610:38;;;;53472:1184;;;;;;:::o;43893:127::-;43956:7;43983:12;;;;;;;;;;:29;;:27;:29::i;23236:870::-;-1:-1:-1;;;;;23456:20:0;;23448:57;;;;;-1:-1:-1;;;23448:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23542:8;23524:15;:26;23516:53;;;;;-1:-1:-1;;;23516:53:0;;;;;;;;;;;;-1:-1:-1;;;23516:53:0;;;;;;;;;;;;;;;23677:40;;;;;;;;;;;-1:-1:-1;;;23677:40:0;;;;;;;23740:16;;;-1:-1:-1;;;;;23847:14:0;;;23580;23847;;;:6;:14;;;;;:16;;;;;;;23789:85;;22769:66;23789:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23779:96;;;;;;;;;;23638:256;;23580:14;;23740:16;23779:96;;23638:256;;;;;;;23677:40;23638:256;;23677:40;23638:256;;;;;;;;;;-1:-1:-1;;23638:256:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23638:256:0;;;;;;;;;;;;;;;;-1:-1:-1;23638:256:0;;;;;;;-1:-1:-1;23638:256:0;;;;;;;;;;;;;;;;23610:299;;;;;;;;;-1:-1:-1;23947:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23610:299;;-1:-1:-1;;;23638:256:0;;23947:26;;;;;23638:256;-1:-1:-1;;23947:26:0;;;;;;;;;;23638:256;23947:26;;;;;;;;;;;;;;;;;;;;;;;23920:53;;24012:6;-1:-1:-1;;;;;23992:26:0;:16;-1:-1:-1;;;;;23992:26:0;;23984:63;;;;;-1:-1:-1;;;23984:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24058:38;24067:12;:10;:12::i;:::-;24081:7;24090:5;24058:8;:38::i;:::-;23236:870;;;;;;;;;:::o;48962:62::-;49000:24;48962:62;:::o;45794:230::-;45887:6;:12;;;;;;;;;;:22;;;45879:45;;45911:12;:10;:12::i;45879:45::-;45871:106;;;;-1:-1:-1;;;45871:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22007:151;-1:-1:-1;;;;;22123:18:0;;;22096:7;22123:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;22007:151::o;51871:117::-;51917:71;51871:117;:::o;51394:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;49974:303::-;50176:18;50230:5;;50237:7;;50246:6;50254:14;50219:50;;;;;;;;;;;;-1:-1:-1;;;;;50219:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50219:50:0;;;;;;;;;;;;;;;-1:-1:-1;50219:50:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;50219:50:0;;;;;;;;;;;;;;;;;;-1:-1:-1;50219:50:0;-1:-1:-1;;;;;;;;;;49974:303:0;;;;;;;;:::o;52069:42::-;;;;;;;;;;;;;:::o;686:106::-;774:10;686:106;:::o;29167:346::-;-1:-1:-1;;;;;29269:19:0;;29261:68;;;;-1:-1:-1;;;29261:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29348:21:0;;29340:68;;;;-1:-1:-1;;;29340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29421:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;29473:32;;;;;;;;;;;;;;;;;29167:346;;;:::o;26781:539::-;-1:-1:-1;;;;;26887:20:0;;26879:70;;;;-1:-1:-1;;;26879:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26968:23:0;;26960:71;;;;-1:-1:-1;;;26960:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27044:47;27065:6;27073:9;27084:6;27044:20;:47::i;:::-;27124:71;27146:6;27124:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27124:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;27104:17:0;;;;;;;:9;:17;;;;;;:91;;;;27229:20;;;;;;;:32;;27254:6;27229:24;:32::i;:::-;-1:-1:-1;;;;;27206:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;27277:35;;;;;;;27206:20;;27277:35;;;;;;;;;;;;;26781:539;;;:::o;6731:166::-;6817:7;6853:12;6845:6;;;;6837:29;;;;-1:-1:-1;;;6837:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6884:5:0;;;6731:166::o;47774:188::-;47848:6;:12;;;;;;;;;;:33;;47873:7;47848:24;:33::i;:::-;47844:111;;;47930:12;:10;:12::i;:::-;-1:-1:-1;;;;;47903:40:0;47921:7;-1:-1:-1;;;;;47903:40:0;47915:4;47903:40;;;;;;;;;;47774:188;;:::o;47970:192::-;48045:6;:12;;;;;;;;;;:36;;48073:7;48045:27;:36::i;:::-;48041:114;;;48130:12;:10;:12::i;:::-;-1:-1:-1;;;;;48103:40:0;48121:7;-1:-1:-1;;;;;48103:40:0;48115:4;48103:40;;;;;;;;;;47970:192;;:::o;3904:179::-;3962:7;3994:5;;;4018:6;;;;4010:46;;;;;-1:-1:-1;;;4010:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;27601:378;-1:-1:-1;;;;;27685:21:0;;27677:65;;;;;-1:-1:-1;;;27677:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27755:49;27784:1;27788:7;27797:6;27755:20;:49::i;:::-;27832:12;;:24;;27849:6;27832:16;:24::i;:::-;27817:12;:39;-1:-1:-1;;;;;27888:18:0;;;;;;:9;:18;;;;;;:30;;27911:6;27888:22;:30::i;:::-;-1:-1:-1;;;;;27867:18:0;;;;;;:9;:18;;;;;;;;:51;;;;27934:37;;;;;;;27867:18;;;;27934:37;;;;;;;;;;27601:378;;:::o;57252:947::-;57358:6;-1:-1:-1;;;;;57348:16:0;:6;-1:-1:-1;;;;;57348:16:0;;;:30;;;;;57377:1;57368:6;:10;57348:30;57344:848;;;-1:-1:-1;;;;;57399:20:0;;;57395:385;;-1:-1:-1;;;;;57507:22:0;;57488:16;57507:22;;;:14;:22;;;;;;;;;57568:13;:60;;57627:1;57568:60;;;-1:-1:-1;;;;;57584:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;57604:13:0;;57584:34;;;;;;;;57616:1;57584:40;;57568:60;57548:80;-1:-1:-1;57647:17:0;57667:21;57548:80;57681:6;57667:13;:21::i;:::-;57647:41;;57707:57;57724:6;57732:9;57743;57754;57707:16;:57::i;:::-;57395:385;;;;-1:-1:-1;;;;;57800:20:0;;;57796:385;;-1:-1:-1;;;;;57908:22:0;;57889:16;57908:22;;;:14;:22;;;;;;;;;57969:13;:60;;58028:1;57969:60;;;-1:-1:-1;;;;;57985:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;58005:13:0;;57985:34;;;;;;;;58017:1;57985:40;;57969:60;57949:80;-1:-1:-1;58048:17:0;58068:21;57949:80;58082:6;58068:13;:21::i;:::-;58048:41;;58108:57;58125:6;58133:9;58144;58155;58108:16;:57::i;57796:385::-;57252:947;;;:::o;56805:439::-;-1:-1:-1;;;;;56922:21:0;;;56896:23;56922:21;;;:10;:21;;;;;;;;;;56981:20;56933:9;56981;:20::i;:::-;-1:-1:-1;;;;;57058:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;57058:33:0;;;;;;;;;;57109:54;;56954:47;;-1:-1:-1;57058:33:0;57109:54;;;;;;57058:21;57109:54;57176:60;57191:15;57208:9;57219:16;57176:14;:60::i;19605:506::-;19698:12;;;;;;;19697:13;19689:68;;;;-1:-1:-1;;;19689:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19768:13;;;;:5;;:13;;;;;:::i;:::-;-1:-1:-1;19792:17:0;;;;:7;;:17;;;;;:::i;:::-;-1:-1:-1;;19820:9:0;:14;;19965:104;;;19976:68;19965:104;;;;;;;;19906:9;19965:104;;;;20063:4;19965:104;;;;;;;;;;;;;;;;;;;;;;;;;19955:115;;;;;19820:14;19936:134;-1:-1:-1;;;;19820:14:0;;;19832:2;19820:14;20084:19;19820:14;20084:19;;;-1:-1:-1;19605:506:0:o;38854:158::-;38928:7;38979:22;38983:3;38995:5;38979:3;:22::i;38140:167::-;38220:4;38244:55;38254:3;-1:-1:-1;;;;;38274:23:0;;38244:9;:55::i;59089:153::-;59199:9;59089:153;:::o;38393:117::-;38456:7;38483:19;38491:3;38483:7;:19::i;37568:152::-;37638:4;37662:50;37667:3;-1:-1:-1;;;;;37687:23:0;;37662:4;:50::i;37896:158::-;37969:4;37993:53;38001:3;-1:-1:-1;;;;;38021:23:0;;37993:7;:53::i;4366:158::-;4424:7;4457:1;4452;:6;;4444:49;;;;;-1:-1:-1;;;4444:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4511:5:0;;;4366:158::o;58207:705::-;58386:18;58407:77;58414:12;58407:77;;;;;;;;;;;;;;;;;:6;:77::i;:::-;58386:98;;58516:1;58501:12;:16;;;:85;;;;-1:-1:-1;;;;;;58521:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;58544:16:0;;58521:40;;;;;;;;;:50;:65;;;:50;;:65;58501:85;58497:339;;;-1:-1:-1;;;;;58603:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;58626:16:0;;58603:40;;;;;;;;58641:1;58603:46;:57;;;58497:339;;;58732:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58693:22:0;;-1:-1:-1;58693:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;58693:72:0;;;;;;;;;;;;;58780:25;;;:14;:25;;;;;;:44;;58808:16;;;58780:44;;;;;;;;;;58497:339;58853:51;;;;;;;;;;;;;;-1:-1:-1;;;;;58853:51:0;;;;;;;;;;;58207:705;;;;;:::o;35520:204::-;35615:18;;35587:7;;35615:26;-1:-1:-1;35607:73:0;;;;-1:-1:-1;;;35607:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35698:3;:11;;35710:5;35698:18;;;;;;;;;;;;;;;;35691:25;;35520:204;;;;:::o;34852:129::-;34925:4;34949:19;;;:12;;;;;:19;;;;;;:24;;;34852:129::o;35067:109::-;35150:18;;35067:109::o;32632:414::-;32695:4;32717:21;32727:3;32732:5;32717:9;:21::i;:::-;32712:327;;-1:-1:-1;32755:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;32938:18;;32916:19;;;:12;;;:19;;;;;;:40;;;;32971:11;;32712:327;-1:-1:-1;33022:5:0;33015:12;;33222:1544;33288:4;33427:19;;;:12;;;:19;;;;;;33463:15;;33459:1300;;33898:18;;-1:-1:-1;;33849:14:0;;;;33898:22;;;;33825:21;;33898:3;;:22;;34185;;;;;;;;;;;;;;34165:42;;34331:9;34302:3;:11;;34314:13;34302:26;;;;;;;;;;;;;;;;;;;:38;;;;34408:23;;;34450:1;34408:12;;;:23;;;;;;34434:17;;;34408:43;;34560:17;;34408:3;;34560:17;;;;;;;;;;;;;;;;;;;;;;34655:3;:12;;:19;34668:5;34655:19;;;;;;;;;;;34648:26;;;34698:4;34691:11;;;;;;;;33459:1300;34742:5;34735:12;;;;;58920:161;58995:6;59033:12;-1:-1:-1;;;59022:9:0;;59014:32;;;;-1:-1:-1;;;59014:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59071:1:0;;58920:161;-1:-1:-1;;58920:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://66bd8c20a4651be806f081360c6aef00b87fb48e270d73c6ca1f8b6457686d89
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.