Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
63,000,000 COLOUR
Holders
18
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,035.715891487565961137 COLOURValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Colour
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-22 */ pragma solidity ^0.6.0; /** * @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.0.0, only sets of type `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]; } // 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(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(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(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(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: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); 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: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @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. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. 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 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 override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _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 is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal 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: @openzeppelin/contracts/token/ERC20/ERC20Burnable.sol pragma solidity ^0.6.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } } // File: contracts/governance.sol pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; abstract contract DeligateERC20 is ERC20Burnable { /// @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 nonces; // support delegates mint function _mint(address account, uint256 amount) internal override virtual { super._mint(account, amount); // add delegates to the minter _moveDelegates(address(0), _delegates[account], amount); } function _transfer(address sender, address recipient, uint256 amount) internal override virtual { super._transfer(sender, recipient, amount); _moveDelegates(_delegates[sender], _delegates[recipient], amount); } // support delegates burn function burn(uint256 amount) public override virtual { super.burn(amount); // del delegates to backhole _moveDelegates(_delegates[_msgSender()], address(0), amount); } function burnFrom(address account, uint256 amount) public override virtual { super.burnFrom(account, amount); // del delegates to the backhole _moveDelegates(_delegates[account], address(0), amount); } /** * @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), "Governance::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "Governance::delegateBySig: invalid nonce"); require(now <= expiry, "Governance::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, "Governance::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 balances (not scaled); _delegates[delegator] = delegatee; _moveDelegates(currentDelegate, delegatee, delegatorBalance); emit DelegateChanged(delegator, currentDelegate, delegatee); } 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, "Governance::_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; } /// @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); } pragma solidity ^0.6.0; contract Colour is DeligateERC20, Ownable { uint256 private constant preMineSupply = 63_000_000e18; // 30% of the totalSupply ; uint256 private constant maxSupply = 210_000_000e18; // the totalSupply; using EnumerableSet for EnumerableSet.AddressSet; EnumerableSet.AddressSet private _minters; constructor() public ERC20("Colour.finance", "COLOUR") { _mint(0xb546Cc189eA13cb80E8b0FcE8Ea6091eA266F3f2, preMineSupply); } function mint(address _to, uint256 _amount) public onlyMinter returns (bool) { if(_amount.add(totalSupply()) > maxSupply) { return false; } _mint(_to, _amount); return true; } function addMinter(address _addMinter) public onlyOwner returns (bool) { require(_addMinter != address(0), "Colour:: cannot be the zero address"); return EnumerableSet.add(_minters, _addMinter); } function delMinter(address _delMinter) public onlyOwner returns (bool) { require(_delMinter != address(0), "Colour:: cannot be the zero address"); return EnumerableSet.remove(_minters, _delMinter); } function getMinterLength() public view returns (uint256) { return EnumerableSet.length(_minters); } function isMinter(address account) public view returns (bool) { return EnumerableSet.contains(_minters, account); } function transferAnyERC20Token(address token, uint amount) public onlyOwner { IERC20(token).transfer(msg.sender, amount); } modifier onlyMinter() { require(isMinter(msg.sender), "Colour:: is not the minter"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","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":[{"internalType":"address","name":"_addMinter","type":"address"}],"name":"addMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"_delMinter","type":"address"}],"name":"delMinter","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":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinterLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600e81526d436f6c6f75722e66696e616e636560901b60208083019182528351808501909452600684526521a7a627aaa960d11b908401528151919291620000669160039162000603565b5080516200007c90600490602084019062000603565b50506005805460ff191660121790555060006200009862000117565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200011173b546cc189ea13cb80e8b0fce8ea6091ea266f3f26a341cc4d7e46e7a9f0000006200011b565b6200077a565b3390565b6200013282826200015d60201b62000f8a1760201c565b6001600160a01b038083166000908152600660205260408120546200015992168362000249565b5050565b6001600160a01b0382166200018f5760405162461bcd60e51b815260040162000186906200072c565b60405180910390fd5b6200019d60008383620003b6565b620001b981600254620003bb60201b6200104a1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001ec9183906200104a620003bb821b17901c565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200023d90859062000763565b60405180910390a35050565b816001600160a01b0316836001600160a01b0316141580156200026c5750600081115b15620003b6576001600160a01b0383161562000314576001600160a01b03831660009081526008602052604081205463ffffffff169081620002b0576000620002e2565b6001600160a01b038516600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b90506000620003008483620003ea60201b6200106f1790919060201c565b9050620003108684848462000434565b5050505b6001600160a01b03821615620003b6576001600160a01b03821660009081526008602052604081205463ffffffff1690816200035257600062000384565b6001600160a01b038416600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b90506000620003a28483620003bb60201b6200104a1790919060201c565b9050620003b28584848462000434565b5050505b505050565b600082820183811015620003e35760405162461bcd60e51b81526004016200018690620006f5565b9392505050565b6000620003e383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250620005a160201b60201c565b60006200045b436040518060600160405280603a815260200162002907603a9139620005d0565b905060008463ffffffff16118015620004a557506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b15620004e4576001600160a01b038516600090815260076020908152604080832063ffffffff6000198901168452909152902060010182905562000555565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600784528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260089092529390208054928801909116919092161790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051620005929291906200076c565b60405180910390a25050505050565b60008184841115620005c85760405162461bcd60e51b81526004016200018691906200069f565b505050900390565b6000816401000000008410620005fb5760405162461bcd60e51b81526004016200018691906200069f565b509192915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200064657805160ff191683800117855562000676565b8280016001018555821562000676579182015b828111156200067657825182559160200191906001019062000659565b506200068492915062000688565b5090565b5b8082111562000684576000815560010162000689565b6000602080835283518082850152825b81811015620006cd57858101830151858201604001528201620006af565b81811115620006df5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b918252602082015260400190565b61217d806200078a6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063782d6fe11161010f578063aa271e1a116100a2578063dd62ed3e11610071578063dd62ed3e146103ec578063e7a324dc146103ff578063f1127ed814610407578063f2fde38b14610428576101e5565b8063aa271e1a146103a0578063b4b5ea57146103b3578063c3cda520146103c6578063dc39d06d146103d9576101e5565b806395d89b41116100de57806395d89b411461035f578063983b2d5614610367578063a457c2d71461037a578063a9059cbb1461038d576101e5565b8063782d6fe11461031157806379cc6790146103245780637ecebe00146103375780638da5cb5b1461034a576101e5565b8063313ce567116101875780635c19a95c116101565780635c19a95c146102c35780636fcfff45146102d657806370a08231146102f6578063715018a614610309576101e5565b8063313ce56714610273578063395093511461028857806340c10f191461029b57806342966c68146102ae576101e5565b806318160ddd116101c357806318160ddd1461023d57806320606b701461024557806323338b881461024d57806323b872dd14610260576101e5565b80630323aac7146101ea57806306fdde0314610208578063095ea7b31461021d575b600080fd5b6101f261043b565b6040516101ff9190611b5b565b60405180910390f35b61021061044c565b6040516101ff9190611bca565b61023061022b366004611a08565b6104e2565b6040516101ff9190611b50565b6101f2610500565b6101f2610506565b61023061025b366004611979565b61052a565b61023061026e3660046119c8565b61059b565b61027b610622565b6040516101ff9190612031565b610230610296366004611a08565b61062b565b6102306102a9366004611a08565b610679565b6102c16102bc366004611af0565b6106d6565b005b6102c16102d1366004611979565b610719565b6102e96102e4366004611979565b610723565b6040516101ff919061200a565b6101f2610304366004611979565b61073b565b6102c1610756565b6101f261031f366004611a08565b6107d5565b6102c1610332366004611a08565b6109be565b6101f2610345366004611979565b6109f2565b610352610a04565b6040516101ff9190611b23565b610210610a13565b610230610375366004611979565b610a74565b610230610388366004611a08565b610adc565b61023061039b366004611a08565b610b44565b6102306103ae366004611979565b610b58565b6101f26103c1366004611979565b610b65565b6102c16103d4366004611a32565b610bc9565b6102c16103e7366004611a08565b610d9d565b6101f26103fa366004611994565b610e57565b6101f2610e82565b61041a610415366004611a91565b610ea6565b6040516101ff92919061201b565b6102c1610436366004611979565b610ed3565b6000610447600b6110b1565b905090565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d85780601f106104ad576101008083540402835291602001916104d8565b820191906000526020600020905b8154815290600101906020018083116104bb57829003601f168201915b5050505050905090565b60006104f66104ef6110bc565b84846110c0565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b60006105346110bc565b600a546001600160a01b0390811691161461056a5760405162461bcd60e51b815260040161056190611de6565b60405180910390fd5b6001600160a01b0382166105905760405162461bcd60e51b815260040161056190611da3565b6104fa600b83611174565b60006105a8848484611189565b610618846105b46110bc565b610613856040518060600160405280602881526020016120d7602891396001600160a01b038a166000908152600160205260408120906105f26110bc565b6001600160a01b0316815260208101919091526040016000205491906111c6565b6110c0565b5060019392505050565b60055460ff1690565b60006104f66106386110bc565b8461061385600160006106496110bc565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061104a565b600061068433610b58565b6106a05760405162461bcd60e51b815260040161056190611cad565b6aadb53acfa41aee120000006106be6106b7610500565b849061104a565b11156106cc575060006104fa565b6104f683836111f2565b6106df81611221565b610716600660006106ee6110bc565b6001600160a01b03908116825260208201929092526040016000908120549091169083611232565b50565b610716338261136f565b60086020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b61075e6110bc565b600a546001600160a01b0390811691161461078b5760405162461bcd60e51b815260040161056190611de6565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60004382106107f65760405162461bcd60e51b815260040161056190611c1d565b6001600160a01b03831660009081526008602052604090205463ffffffff16806108245760009150506104fa565b6001600160a01b038416600090815260076020908152604080832063ffffffff600019860181168552925290912054168310610893576001600160a01b03841660009081526007602090815260408083206000199490940163ffffffff168352929052206001015490506104fa565b6001600160a01b038416600090815260076020908152604080832083805290915290205463ffffffff168310156108ce5760009150506104fa565b600060001982015b8163ffffffff168163ffffffff16111561098757600282820363ffffffff1604810361090061194b565b506001600160a01b038716600090815260076020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610962576020015194506104fa9350505050565b805163ffffffff1687111561097957819350610980565b6001820392505b50506108d6565b506001600160a01b038516600090815260076020908152604080832063ffffffff9094168352929052206001015491505092915050565b6109c88282611421565b6001600160a01b038083166000908152600660205260408120546109ee92169083611232565b5050565b60096020526000908152604090205481565b600a546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d85780601f106104ad576101008083540402835291602001916104d8565b6000610a7e6110bc565b600a546001600160a01b03908116911614610aab5760405162461bcd60e51b815260040161056190611de6565b6001600160a01b038216610ad15760405162461bcd60e51b815260040161056190611da3565b6104fa600b83611471565b60006104f6610ae96110bc565b84610613856040518060600160405280602581526020016121236025913960016000610b136110bc565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906111c6565b60006104f6610b516110bc565b8484611189565b60006104fa600b83611486565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610b90576000610bc2565b6001600160a01b038316600090815260076020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610bf461044c565b80519060200120610c0361149b565b30604051602001610c179493929190611b88565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610c689493929190611b64565b60405160208183030381529060405280519060200120905060008282604051602001610c95929190611b08565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610cd29493929190611bac565b6020604051602081039080840390855afa158015610cf4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d275760405162461bcd60e51b815260040161056190611ee5565b6001600160a01b03811660009081526009602052604090208054600181019091558914610d665760405162461bcd60e51b815260040161056190611f31565b87421115610d865760405162461bcd60e51b815260040161056190611fb0565b610d90818b61136f565b505050505b505050505050565b610da56110bc565b600a546001600160a01b03908116911614610dd25760405162461bcd60e51b815260040161056190611de6565b60405163a9059cbb60e01b81526001600160a01b0383169063a9059cbb90610e009033908590600401611b37565b602060405180830381600087803b158015610e1a57600080fd5b505af1158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e529190611ad0565b505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60076020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b610edb6110bc565b600a546001600160a01b03908116911614610f085760405162461bcd60e51b815260040161056190611de6565b6001600160a01b038116610f2e5760405162461bcd60e51b815260040161056190611ce4565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610fb05760405162461bcd60e51b815260040161056190611f79565b610fbc60008383610e52565b600254610fc9908261104a565b6002556001600160a01b038216600090815260208190526040902054610fef908261104a565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061103e908590611b5b565b60405180910390a35050565b600082820183811015610bc25760405162461bcd60e51b815260040161056190611d6c565b6000610bc283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111c6565b60006104fa8261149f565b3390565b6001600160a01b0383166110e65760405162461bcd60e51b815260040161056190611ea1565b6001600160a01b03821661110c5760405162461bcd60e51b815260040161056190611d2a565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611167908590611b5b565b60405180910390a3505050565b6000610bc2836001600160a01b0384166114a3565b611194838383611569565b6001600160a01b03808416600090815260066020526040808220548584168352912054610e5292918216911683611232565b600081848411156111ea5760405162461bcd60e51b81526004016105619190611bca565b505050900390565b6111fc8282610f8a565b6001600160a01b038083166000908152600660205260408120546109ee921683611232565b61071661122c6110bc565b8261167e565b816001600160a01b0316836001600160a01b0316141580156112545750600081115b15610e52576001600160a01b038316156112e6576001600160a01b03831660009081526008602052604081205463ffffffff1690816112945760006112c6565b6001600160a01b038516600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b905060006112d4828561106f565b90506112e286848484611754565b5050505b6001600160a01b03821615610e52576001600160a01b03821660009081526008602052604081205463ffffffff169081611321576000611353565b6001600160a01b038416600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b90506000611361828561104a565b9050610d9585848484611754565b6001600160a01b03808316600090815260066020526040812054909116906113968461073b565b6001600160a01b03858116600090815260066020526040902080546001600160a01b03191691861691909117905590506113d1828483611232565b826001600160a01b0316826001600160a01b0316856001600160a01b03167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a450505050565b6000611453826040518060600160405280602481526020016120ff6024913961144c866103fa6110bc565b91906111c6565b9050611467836114616110bc565b836110c0565b610e52838361167e565b6000610bc2836001600160a01b0384166118b9565b6000610bc2836001600160a01b038416611903565b4690565b5490565b6000818152600183016020526040812054801561155f57835460001980830191908101906000908790839081106114d657fe5b90600052602060002001549050808760000184815481106114f357fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061152357fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506104fa565b60009150506104fa565b6001600160a01b03831661158f5760405162461bcd60e51b815260040161056190611e5c565b6001600160a01b0382166115b55760405162461bcd60e51b815260040161056190611c6a565b6115c0838383610e52565b6115fd81604051806060016040528060268152602001612077602691396001600160a01b03861660009081526020819052604090205491906111c6565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461162c908261104a565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611167908590611b5b565b6001600160a01b0382166116a45760405162461bcd60e51b815260040161056190611e1b565b6116b082600083610e52565b6116ed81604051806060016040528060228152602001612055602291396001600160a01b03851660009081526020819052604090205491906111c6565b6001600160a01b038316600090815260208190526040902055600254611713908261106f565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061103e908590611b5b565b6000611778436040518060600160405280603a815260200161209d603a913961191b565b905060008463ffffffff161180156117c157506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b156117fe576001600160a01b038516600090815260076020908152604080832063ffffffff6000198901168452909152902060010182905561186f565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600784528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260089092529390208054928801909116919092161790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516118aa929190611ffc565b60405180910390a25050505050565b60006118c58383611903565b6118fb575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104fa565b5060006104fa565b60009081526001919091016020526040902054151590565b60008164010000000084106119435760405162461bcd60e51b81526004016105619190611bca565b509192915050565b604080518082019091526000808252602082015290565b80356001600160a01b03811681146104fa57600080fd5b60006020828403121561198a578081fd5b610bc28383611962565b600080604083850312156119a6578081fd5b6119b08484611962565b91506119bf8460208501611962565b90509250929050565b6000806000606084860312156119dc578081fd5b83356119e78161203f565b925060208401356119f78161203f565b929592945050506040919091013590565b60008060408385031215611a1a578182fd5b611a248484611962565b946020939093013593505050565b60008060008060008060c08789031215611a4a578182fd5b611a548888611962565b95506020870135945060408701359350606087013560ff81168114611a77578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611aa3578182fd5b611aad8484611962565b9150602083013563ffffffff81168114611ac5578182fd5b809150509250929050565b600060208284031215611ae1578081fd5b81518015158114610bc2578182fd5b600060208284031215611b01578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611bf657858101830151858201604001528201611bda565b81811115611c075783604083870101525b50601f01601f1916929092016040019392505050565b6020808252602d908201527f476f7665726e616e63653a3a6765745072696f72566f7465733a206e6f74207960408201526c195d0819195d195c9b5a5b9959609a1b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601a908201527f436f6c6f75723a3a206973206e6f7420746865206d696e746572000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526023908201527f436f6c6f75723a3a2063616e6e6f7420626520746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602c908201527f476f7665726e616e63653a3a64656c656761746542795369673a20696e76616c60408201526b6964207369676e617475726560a01b606082015260800190565b60208082526028908201527f476f7665726e616e63653a3a64656c656761746542795369673a20696e76616c6040820152676964206e6f6e636560c01b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252602c908201527f476f7665726e616e63653a3a64656c656761746542795369673a207369676e6160408201526b1d1d5c9948195e1c1a5c995960a21b606082015260800190565b918252602082015260400190565b63ffffffff91909116815260200190565b63ffffffff929092168252602082015260400190565b60ff91909116815260200190565b6001600160a01b038116811461071657600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365476f7665726e616e63653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f4965cb84033866828dc7e872a9c0c654d37de808b8441573ca6a6ef0c4a2bcf64736f6c634300060c0033476f7665726e616e63653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063782d6fe11161010f578063aa271e1a116100a2578063dd62ed3e11610071578063dd62ed3e146103ec578063e7a324dc146103ff578063f1127ed814610407578063f2fde38b14610428576101e5565b8063aa271e1a146103a0578063b4b5ea57146103b3578063c3cda520146103c6578063dc39d06d146103d9576101e5565b806395d89b41116100de57806395d89b411461035f578063983b2d5614610367578063a457c2d71461037a578063a9059cbb1461038d576101e5565b8063782d6fe11461031157806379cc6790146103245780637ecebe00146103375780638da5cb5b1461034a576101e5565b8063313ce567116101875780635c19a95c116101565780635c19a95c146102c35780636fcfff45146102d657806370a08231146102f6578063715018a614610309576101e5565b8063313ce56714610273578063395093511461028857806340c10f191461029b57806342966c68146102ae576101e5565b806318160ddd116101c357806318160ddd1461023d57806320606b701461024557806323338b881461024d57806323b872dd14610260576101e5565b80630323aac7146101ea57806306fdde0314610208578063095ea7b31461021d575b600080fd5b6101f261043b565b6040516101ff9190611b5b565b60405180910390f35b61021061044c565b6040516101ff9190611bca565b61023061022b366004611a08565b6104e2565b6040516101ff9190611b50565b6101f2610500565b6101f2610506565b61023061025b366004611979565b61052a565b61023061026e3660046119c8565b61059b565b61027b610622565b6040516101ff9190612031565b610230610296366004611a08565b61062b565b6102306102a9366004611a08565b610679565b6102c16102bc366004611af0565b6106d6565b005b6102c16102d1366004611979565b610719565b6102e96102e4366004611979565b610723565b6040516101ff919061200a565b6101f2610304366004611979565b61073b565b6102c1610756565b6101f261031f366004611a08565b6107d5565b6102c1610332366004611a08565b6109be565b6101f2610345366004611979565b6109f2565b610352610a04565b6040516101ff9190611b23565b610210610a13565b610230610375366004611979565b610a74565b610230610388366004611a08565b610adc565b61023061039b366004611a08565b610b44565b6102306103ae366004611979565b610b58565b6101f26103c1366004611979565b610b65565b6102c16103d4366004611a32565b610bc9565b6102c16103e7366004611a08565b610d9d565b6101f26103fa366004611994565b610e57565b6101f2610e82565b61041a610415366004611a91565b610ea6565b6040516101ff92919061201b565b6102c1610436366004611979565b610ed3565b6000610447600b6110b1565b905090565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d85780601f106104ad576101008083540402835291602001916104d8565b820191906000526020600020905b8154815290600101906020018083116104bb57829003601f168201915b5050505050905090565b60006104f66104ef6110bc565b84846110c0565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b60006105346110bc565b600a546001600160a01b0390811691161461056a5760405162461bcd60e51b815260040161056190611de6565b60405180910390fd5b6001600160a01b0382166105905760405162461bcd60e51b815260040161056190611da3565b6104fa600b83611174565b60006105a8848484611189565b610618846105b46110bc565b610613856040518060600160405280602881526020016120d7602891396001600160a01b038a166000908152600160205260408120906105f26110bc565b6001600160a01b0316815260208101919091526040016000205491906111c6565b6110c0565b5060019392505050565b60055460ff1690565b60006104f66106386110bc565b8461061385600160006106496110bc565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061104a565b600061068433610b58565b6106a05760405162461bcd60e51b815260040161056190611cad565b6aadb53acfa41aee120000006106be6106b7610500565b849061104a565b11156106cc575060006104fa565b6104f683836111f2565b6106df81611221565b610716600660006106ee6110bc565b6001600160a01b03908116825260208201929092526040016000908120549091169083611232565b50565b610716338261136f565b60086020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b61075e6110bc565b600a546001600160a01b0390811691161461078b5760405162461bcd60e51b815260040161056190611de6565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60004382106107f65760405162461bcd60e51b815260040161056190611c1d565b6001600160a01b03831660009081526008602052604090205463ffffffff16806108245760009150506104fa565b6001600160a01b038416600090815260076020908152604080832063ffffffff600019860181168552925290912054168310610893576001600160a01b03841660009081526007602090815260408083206000199490940163ffffffff168352929052206001015490506104fa565b6001600160a01b038416600090815260076020908152604080832083805290915290205463ffffffff168310156108ce5760009150506104fa565b600060001982015b8163ffffffff168163ffffffff16111561098757600282820363ffffffff1604810361090061194b565b506001600160a01b038716600090815260076020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610962576020015194506104fa9350505050565b805163ffffffff1687111561097957819350610980565b6001820392505b50506108d6565b506001600160a01b038516600090815260076020908152604080832063ffffffff9094168352929052206001015491505092915050565b6109c88282611421565b6001600160a01b038083166000908152600660205260408120546109ee92169083611232565b5050565b60096020526000908152604090205481565b600a546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104d85780601f106104ad576101008083540402835291602001916104d8565b6000610a7e6110bc565b600a546001600160a01b03908116911614610aab5760405162461bcd60e51b815260040161056190611de6565b6001600160a01b038216610ad15760405162461bcd60e51b815260040161056190611da3565b6104fa600b83611471565b60006104f6610ae96110bc565b84610613856040518060600160405280602581526020016121236025913960016000610b136110bc565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906111c6565b60006104f6610b516110bc565b8484611189565b60006104fa600b83611486565b6001600160a01b03811660009081526008602052604081205463ffffffff1680610b90576000610bc2565b6001600160a01b038316600090815260076020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610bf461044c565b80519060200120610c0361149b565b30604051602001610c179493929190611b88565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001610c689493929190611b64565b60405160208183030381529060405280519060200120905060008282604051602001610c95929190611b08565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051610cd29493929190611bac565b6020604051602081039080840390855afa158015610cf4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d275760405162461bcd60e51b815260040161056190611ee5565b6001600160a01b03811660009081526009602052604090208054600181019091558914610d665760405162461bcd60e51b815260040161056190611f31565b87421115610d865760405162461bcd60e51b815260040161056190611fb0565b610d90818b61136f565b505050505b505050505050565b610da56110bc565b600a546001600160a01b03908116911614610dd25760405162461bcd60e51b815260040161056190611de6565b60405163a9059cbb60e01b81526001600160a01b0383169063a9059cbb90610e009033908590600401611b37565b602060405180830381600087803b158015610e1a57600080fd5b505af1158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e529190611ad0565b505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60076020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b610edb6110bc565b600a546001600160a01b03908116911614610f085760405162461bcd60e51b815260040161056190611de6565b6001600160a01b038116610f2e5760405162461bcd60e51b815260040161056190611ce4565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216610fb05760405162461bcd60e51b815260040161056190611f79565b610fbc60008383610e52565b600254610fc9908261104a565b6002556001600160a01b038216600090815260208190526040902054610fef908261104a565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061103e908590611b5b565b60405180910390a35050565b600082820183811015610bc25760405162461bcd60e51b815260040161056190611d6c565b6000610bc283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111c6565b60006104fa8261149f565b3390565b6001600160a01b0383166110e65760405162461bcd60e51b815260040161056190611ea1565b6001600160a01b03821661110c5760405162461bcd60e51b815260040161056190611d2a565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611167908590611b5b565b60405180910390a3505050565b6000610bc2836001600160a01b0384166114a3565b611194838383611569565b6001600160a01b03808416600090815260066020526040808220548584168352912054610e5292918216911683611232565b600081848411156111ea5760405162461bcd60e51b81526004016105619190611bca565b505050900390565b6111fc8282610f8a565b6001600160a01b038083166000908152600660205260408120546109ee921683611232565b61071661122c6110bc565b8261167e565b816001600160a01b0316836001600160a01b0316141580156112545750600081115b15610e52576001600160a01b038316156112e6576001600160a01b03831660009081526008602052604081205463ffffffff1690816112945760006112c6565b6001600160a01b038516600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b905060006112d4828561106f565b90506112e286848484611754565b5050505b6001600160a01b03821615610e52576001600160a01b03821660009081526008602052604081205463ffffffff169081611321576000611353565b6001600160a01b038416600090815260076020908152604080832063ffffffff60001987011684529091529020600101545b90506000611361828561104a565b9050610d9585848484611754565b6001600160a01b03808316600090815260066020526040812054909116906113968461073b565b6001600160a01b03858116600090815260066020526040902080546001600160a01b03191691861691909117905590506113d1828483611232565b826001600160a01b0316826001600160a01b0316856001600160a01b03167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a450505050565b6000611453826040518060600160405280602481526020016120ff6024913961144c866103fa6110bc565b91906111c6565b9050611467836114616110bc565b836110c0565b610e52838361167e565b6000610bc2836001600160a01b0384166118b9565b6000610bc2836001600160a01b038416611903565b4690565b5490565b6000818152600183016020526040812054801561155f57835460001980830191908101906000908790839081106114d657fe5b90600052602060002001549050808760000184815481106114f357fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061152357fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506104fa565b60009150506104fa565b6001600160a01b03831661158f5760405162461bcd60e51b815260040161056190611e5c565b6001600160a01b0382166115b55760405162461bcd60e51b815260040161056190611c6a565b6115c0838383610e52565b6115fd81604051806060016040528060268152602001612077602691396001600160a01b03861660009081526020819052604090205491906111c6565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461162c908261104a565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611167908590611b5b565b6001600160a01b0382166116a45760405162461bcd60e51b815260040161056190611e1b565b6116b082600083610e52565b6116ed81604051806060016040528060228152602001612055602291396001600160a01b03851660009081526020819052604090205491906111c6565b6001600160a01b038316600090815260208190526040902055600254611713908261106f565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061103e908590611b5b565b6000611778436040518060600160405280603a815260200161209d603a913961191b565b905060008463ffffffff161180156117c157506001600160a01b038516600090815260076020908152604080832063ffffffff6000198901811685529252909120548282169116145b156117fe576001600160a01b038516600090815260076020908152604080832063ffffffff6000198901168452909152902060010182905561186f565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600784528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260089092529390208054928801909116919092161790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516118aa929190611ffc565b60405180910390a25050505050565b60006118c58383611903565b6118fb575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104fa565b5060006104fa565b60009081526001919091016020526040902054151590565b60008164010000000084106119435760405162461bcd60e51b81526004016105619190611bca565b509192915050565b604080518082019091526000808252602082015290565b80356001600160a01b03811681146104fa57600080fd5b60006020828403121561198a578081fd5b610bc28383611962565b600080604083850312156119a6578081fd5b6119b08484611962565b91506119bf8460208501611962565b90509250929050565b6000806000606084860312156119dc578081fd5b83356119e78161203f565b925060208401356119f78161203f565b929592945050506040919091013590565b60008060408385031215611a1a578182fd5b611a248484611962565b946020939093013593505050565b60008060008060008060c08789031215611a4a578182fd5b611a548888611962565b95506020870135945060408701359350606087013560ff81168114611a77578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611aa3578182fd5b611aad8484611962565b9150602083013563ffffffff81168114611ac5578182fd5b809150509250929050565b600060208284031215611ae1578081fd5b81518015158114610bc2578182fd5b600060208284031215611b01578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611bf657858101830151858201604001528201611bda565b81811115611c075783604083870101525b50601f01601f1916929092016040019392505050565b6020808252602d908201527f476f7665726e616e63653a3a6765745072696f72566f7465733a206e6f74207960408201526c195d0819195d195c9b5a5b9959609a1b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601a908201527f436f6c6f75723a3a206973206e6f7420746865206d696e746572000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526023908201527f436f6c6f75723a3a2063616e6e6f7420626520746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602c908201527f476f7665726e616e63653a3a64656c656761746542795369673a20696e76616c60408201526b6964207369676e617475726560a01b606082015260800190565b60208082526028908201527f476f7665726e616e63653a3a64656c656761746542795369673a20696e76616c6040820152676964206e6f6e636560c01b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252602c908201527f476f7665726e616e63653a3a64656c656761746542795369673a207369676e6160408201526b1d1d5c9948195e1c1a5c995960a21b606082015260800190565b918252602082015260400190565b63ffffffff91909116815260200190565b63ffffffff929092168252602082015260400190565b60ff91909116815260200190565b6001600160a01b038116811461071657600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365476f7665726e616e63653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f4965cb84033866828dc7e872a9c0c654d37de808b8441573ca6a6ef0c4a2bcf64736f6c634300060c0033
Deployed Bytecode Sourcemap
47026:1729:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48236:113;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27889:83;;;:::i;:::-;;;;;;;:::i;29995:169::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;28964:100::-;;;:::i;38663:122::-;;;:::i;47996:232::-;;;;;;:::i;:::-;;:::i;30638:321::-;;;;;;:::i;:::-;;:::i;28816:83::-;;;:::i;:::-;;;;;;;:::i;31368:218::-;;;;;;:::i;:::-;;:::i;47518:231::-;;;;;;:::i;:::-;;:::i;39675:202::-;;;;;;:::i;:::-;;:::i;:::-;;40269:104;;;;;;:::i;:::-;;:::i;38541:49::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;29127:119::-;;;;;;:::i;:::-;;:::i;10713:148::-;;;:::i;42890:1259::-;;;;;;:::i;:::-;;:::i;39885:235::-;;;;;;:::i;:::-;;:::i;39077:39::-;;;;;;:::i;:::-;;:::i;10071:79::-;;;:::i;:::-;;;;;;;:::i;28091:87::-;;;:::i;47759:229::-;;;;;;:::i;:::-;;:::i;32089:269::-;;;;;;:::i;:::-;;:::i;29459:175::-;;;;;;:::i;:::-;;:::i;48357:129::-;;;;;;:::i;:::-;;:::i;42204:255::-;;;;;;:::i;:::-;;:::i;40807:1196::-;;;;;;:::i;:::-;;:::i;48494:138::-;;;;;;:::i;:::-;;:::i;29697:151::-;;;;;;:::i;:::-;;:::i;38879:117::-;;;:::i;38402:70::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;11016:244::-;;;;;;:::i;:::-;;:::i;48236:113::-;48284:7;48311:30;48332:8;48311:20;:30::i;:::-;48304:37;;48236:113;:::o;27889:83::-;27959:5;27952:12;;;;;;;;-1:-1:-1;;27952:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27926:13;;27952:12;;27959:5;;27952:12;;27959:5;27952:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27889:83;:::o;29995:169::-;30078:4;30095:39;30104:12;:10;:12::i;:::-;30118:7;30127:6;30095:8;:39::i;:::-;-1:-1:-1;30152:4:0;29995:169;;;;;:::o;28964:100::-;29044:12;;28964:100;:::o;38663:122::-;38705:80;38663:122;:::o;47996:232::-;48061:4;10293:12;:10;:12::i;:::-;10283:6;;-1:-1:-1;;;;;10283:6:0;;;:22;;;10275:67;;;;-1:-1:-1;;;10275:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;48086:24:0;::::1;48078:72;;;;-1:-1:-1::0;;;48078:72:0::1;;;;;;;:::i;:::-;48178:42;48199:8;48209:10;48178:20;:42::i;30638:321::-:0;30744:4;30761:36;30771:6;30779:9;30790:6;30761:9;:36::i;:::-;30808:121;30817:6;30825:12;:10;:12::i;:::-;30839:89;30877:6;30839:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30839:19:0;;;;;;:11;:19;;;;;;30859:12;:10;:12::i;:::-;-1:-1:-1;;;;;30839:33:0;;;;;;;;;;;;-1:-1:-1;30839:33:0;;;:89;:37;:89::i;:::-;30808:8;:121::i;:::-;-1:-1:-1;30947:4:0;30638:321;;;;;:::o;28816:83::-;28882:9;;;;28816:83;:::o;31368:218::-;31456:4;31473:83;31482:12;:10;:12::i;:::-;31496:7;31505:50;31544:10;31505:11;:25;31517:12;:10;:12::i;:::-;-1:-1:-1;;;;;31505:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;31505:25:0;;;:34;;;;;;;;;;;:38;:50::i;47518:231::-;47589:4;48681:20;48690:10;48681:8;:20::i;:::-;48673:59;;;;-1:-1:-1;;;48673:59:0;;;;;;;:::i;:::-;47218:14:::1;47609:26;47621:13;:11;:13::i;:::-;47609:7:::0;;:11:::1;:26::i;:::-;:38;47606:82;;;-1:-1:-1::0;47671:5:0::1;47664:12;;47606:82;47700:19;47706:3;47711:7;47700:5;:19::i;39675:202::-:0;39740:18;39751:6;39740:10;:18::i;:::-;39809:60;39824:10;:24;39835:12;:10;:12::i;:::-;-1:-1:-1;;;;;39824:24:0;;;;;;;;;;;;;;-1:-1:-1;39824:24:0;;;;;;;;39862:6;39809:14;:60::i;:::-;39675:202;:::o;40269:104::-;40333:32;40343:10;40355:9;40333;:32::i;38541:49::-;;;;;;;;;;;;;;;:::o;29127:119::-;-1:-1:-1;;;;;29220:18:0;29193:7;29220:18;;;;;;;;;;;;29127:119::o;10713:148::-;10293:12;:10;:12::i;:::-;10283:6;;-1:-1:-1;;;;;10283:6:0;;;:22;;;10275:67;;;;-1:-1:-1;;;10275:67:0;;;;;;;:::i;:::-;10804:6:::1;::::0;10783:40:::1;::::0;10820:1:::1;::::0;-1:-1:-1;;;;;10804:6:0::1;::::0;10783:40:::1;::::0;10820:1;;10783:40:::1;10834:6;:19:::0;;-1:-1:-1;;;;;;10834:19:0::1;::::0;;10713:148::o;42890:1259::-;42998:7;43045:12;43031:11;:26;43023:84;;;;-1:-1:-1;;;43023:84:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43142:23:0;;43120:19;43142:23;;;:14;:23;;;;;;;;43180:17;43176:58;;43221:1;43214:8;;;;;43176:58;-1:-1:-1;;;;;43294:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;43315:16:0;;43294:38;;;;;;;;;:48;;:63;-1:-1:-1;43290:147:0;;-1:-1:-1;;;;;43381:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;43402:16:0;;;;43381:38;;;;;;;;43417:1;43381:44;;;-1:-1:-1;43374:51:0;;43290:147;-1:-1:-1;;;;;43498:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;43494:88:0;;;43569:1;43562:8;;;;;43494:88;43594:12;-1:-1:-1;;43636:16:0;;43663:428;43678:5;43670:13;;:5;:13;;;43663:428;;;43742:1;43725:13;;;43724:19;;;43716:27;;43785:20;;:::i;:::-;-1:-1:-1;;;;;;43808:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;43785:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43855:27;;43851:229;;;43910:8;;;;-1:-1:-1;43903:15:0;;-1:-1:-1;;;;43903:15:0;43851:229;43944:12;;:26;;;-1:-1:-1;43940:140:0;;;43999:6;43991:14;;43940:140;;;44063:1;44054:6;:10;44046:18;;43940:140;43663:428;;;;;-1:-1:-1;;;;;;44108:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;42890:1259:0;;;;:::o;39885:235::-;39971:31;39986:7;39995:6;39971:14;:31::i;:::-;-1:-1:-1;;;;;40072:19:0;;;;;;;:10;:19;;;;;;40057:55;;40072:19;;40105:6;40057:14;:55::i;:::-;39885:235;;:::o;39077:39::-;;;;;;;;;;;;;:::o;10071:79::-;10136:6;;-1:-1:-1;;;;;10136:6:0;10071:79;:::o;28091:87::-;28163:7;28156:14;;;;;;;;-1:-1:-1;;28156:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28130:13;;28156:14;;28163:7;;28156:14;;28163:7;28156:14;;;;;;;;;;;;;;;;;;;;;;;;47759:229;47824:4;10293:12;:10;:12::i;:::-;10283:6;;-1:-1:-1;;;;;10283:6:0;;;:22;;;10275:67;;;;-1:-1:-1;;;10275:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47849:24:0;::::1;47841:72;;;;-1:-1:-1::0;;;47841:72:0::1;;;;;;;:::i;:::-;47941:39;47959:8;47969:10;47941:17;:39::i;32089:269::-:0;32182:4;32199:129;32208:12;:10;:12::i;:::-;32222:7;32231:96;32270:15;32231:96;;;;;;;;;;;;;;;;;:11;:25;32243:12;:10;:12::i;:::-;-1:-1:-1;;;;;32231:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32231:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;29459:175::-;29545:4;29562:42;29572:12;:10;:12::i;:::-;29586:9;29597:6;29562:9;:42::i;48357:129::-;48413:4;48437:41;48460:8;48470:7;48437:22;:41::i;42204:255::-;-1:-1:-1;;;;;42343:23:0;;42296:7;42343:23;;;:14;:23;;;;;;;;42384:16;:67;;42450:1;42384:67;;;-1:-1:-1;;;;;42403:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;42424:16:0;;42403:38;;;;;;;;42439:1;42403:44;;42384:67;42377:74;42204:255;-1:-1:-1;;;42204:255:0:o;40807:1196::-;41000:23;38705:80;41129:6;:4;:6::i;:::-;41113:24;;;;;;41156:12;:10;:12::i;:::-;41195:4;41050:165;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41026:200;;;;;;41000:226;;41239:18;38925:71;41351:9;41379:5;41403:6;41284:140;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41260:175;;;;;;41239:196;;41448:14;41553:15;41587:10;41489:123;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41465:158;;;;;;41448:175;;41636:17;41656:26;41666:6;41674:1;41677;41680;41656:26;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41656:26:0;;-1:-1:-1;;41656:26:0;;;-1:-1:-1;;;;;;;41701:23:0;;41693:80;;;;-1:-1:-1;;;41693:80:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41801:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;41792:28;;41784:81;;;;-1:-1:-1;;;41784:81:0;;;;;;;:::i;:::-;41891:6;41884:3;:13;;41876:70;;;;-1:-1:-1;;;41876:70:0;;;;;;;:::i;:::-;41964:31;41974:9;41985;41964;:31::i;:::-;41957:38;;;;40807:1196;;;;;;;:::o;48494:138::-;10293:12;:10;:12::i;:::-;10283:6;;-1:-1:-1;;;;;10283:6:0;;;:22;;;10275:67;;;;-1:-1:-1;;;10275:67:0;;;;;;;:::i;:::-;48582:42:::1;::::0;-1:-1:-1;;;48582:42:0;;-1:-1:-1;;;;;48582:22:0;::::1;::::0;::::1;::::0;:42:::1;::::0;48605:10:::1;::::0;48617:6;;48582:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48494:138:::0;;:::o;29697:151::-;-1:-1:-1;;;;;29813:18:0;;;29786:7;29813:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;29697:151::o;38879:117::-;38925:71;38879:117;:::o;38402:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;11016:244::-;10293:12;:10;:12::i;:::-;10283:6;;-1:-1:-1;;;;;10283:6:0;;;:22;;;10275:67;;;;-1:-1:-1;;;10275:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11105:22:0;::::1;11097:73;;;;-1:-1:-1::0;;;11097:73:0::1;;;;;;;:::i;:::-;11207:6;::::0;11186:38:::1;::::0;-1:-1:-1;;;;;11186:38:0;;::::1;::::0;11207:6:::1;::::0;11186:38:::1;::::0;11207:6:::1;::::0;11186:38:::1;11235:6;:17:::0;;-1:-1:-1;;;;;;11235:17:0::1;-1:-1:-1::0;;;;;11235:17:0;;;::::1;::::0;;;::::1;::::0;;11016:244::o;33668:378::-;-1:-1:-1;;;;;33752:21:0;;33744:65;;;;-1:-1:-1;;;33744:65:0;;;;;;;:::i;:::-;33822:49;33851:1;33855:7;33864:6;33822:20;:49::i;:::-;33899:12;;:24;;33916:6;33899:16;:24::i;:::-;33884:12;:39;-1:-1:-1;;;;;33955:18:0;;:9;:18;;;;;;;;;;;:30;;33978:6;33955:22;:30::i;:::-;-1:-1:-1;;;;;33934:18:0;;:9;:18;;;;;;;;;;;:51;;;;34001:37;;33934:18;;:9;34001:37;;;;34031:6;;34001:37;:::i;:::-;;;;;;;;33668:378;;:::o;14995:181::-;15053:7;15085:5;;;15109:6;;;;15101:46;;;;-1:-1:-1;;;15101:46:0;;;;;;;:::i;15459:136::-;15517:7;15544:43;15548:1;15551;15544:43;;;;;;;;;;;;;;;;;:3;:43::i;5773:117::-;5836:7;5863:19;5871:3;5863:7;:19::i;8623:106::-;8711:10;8623:106;:::o;35236:346::-;-1:-1:-1;;;;;35338:19:0;;35330:68;;;;-1:-1:-1;;;35330:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35417:21:0;;35409:68;;;;-1:-1:-1;;;35409:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35490:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;35542:32;;;;;35520:6;;35542:32;:::i;:::-;;;;;;;;35236:346;;;:::o;5294:149::-;5367:4;5391:44;5399:3;-1:-1:-1;;;;;5419:14:0;;5391:7;:44::i;39397:233::-;39504:42;39520:6;39528:9;39539:6;39504:15;:42::i;:::-;-1:-1:-1;;;;;39572:18:0;;;;;;;:10;:18;;;;;;;39592:21;;;;;;;;39557:65;;39572:18;;;;39592:21;39615:6;39557:14;:65::i;15898:192::-;15984:7;16020:12;16012:6;;;;16004:29;;;;-1:-1:-1;;;16004:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;16056:5:0;;;15898:192::o;39158:229::-;39243:28;39255:7;39264:6;39243:11;:28::i;:::-;-1:-1:-1;;;;;39351:19:0;;;39347:1;39351:19;;;:10;:19;;;;;;39324:55;;39351:19;39372:6;39324:14;:55::i;37186:91::-;37242:27;37248:12;:10;:12::i;:::-;37262:6;37242:5;:27::i;44606:947::-;44712:6;-1:-1:-1;;;;;44702:16:0;:6;-1:-1:-1;;;;;44702:16:0;;;:30;;;;;44731:1;44722:6;:10;44702:30;44698:848;;;-1:-1:-1;;;;;44753:20:0;;;44749:385;;-1:-1:-1;;;;;44861:22:0;;44842:16;44861:22;;;:14;:22;;;;;;;;;44922:13;:60;;44981:1;44922:60;;;-1:-1:-1;;;;;44938:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;44958:13:0;;44938:34;;;;;;;;44970:1;44938:40;;44922:60;44902:80;-1:-1:-1;45001:17:0;45021:21;44902:80;45035:6;45021:13;:21::i;:::-;45001:41;;45061:57;45078:6;45086:9;45097;45108;45061:16;:57::i;:::-;44749:385;;;;-1:-1:-1;;;;;45154:20:0;;;45150:385;;-1:-1:-1;;;;;45262:22:0;;45243:16;45262:22;;;:14;:22;;;;;;;;;45323:13;:60;;45382:1;45323:60;;;-1:-1:-1;;;;;45339:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;45359:13:0;;45339:34;;;;;;;;45371:1;45339:40;;45323:60;45303:80;-1:-1:-1;45402:17:0;45422:21;45303:80;45436:6;45422:13;:21::i;:::-;45402:41;;45462:57;45479:6;45487:9;45498;45509;45462:16;:57::i;44157:441::-;-1:-1:-1;;;;;44274:21:0;;;44248:23;44274:21;;;:10;:21;;;;;;;;;;44333:20;44285:9;44333;:20::i;:::-;-1:-1:-1;;;;;44412:21:0;;;;;;;:10;:21;;;;;:33;;-1:-1:-1;;;;;;44412:33:0;;;;;;;;;;44306:47;-1:-1:-1;44458:60:0;44473:15;44412:33;44306:47;44458:14;:60::i;:::-;44580:9;-1:-1:-1;;;;;44536:54:0;44563:15;-1:-1:-1;;;;;44536:54:0;44552:9;-1:-1:-1;;;;;44536:54:0;;;;;;;;;;;44157:441;;;;:::o;37596:295::-;37673:26;37702:84;37739:6;37702:84;;;;;;;;;;;;;;;;;:32;37712:7;37721:12;:10;:12::i;37702:32::-;:36;:84;:36;:84::i;:::-;37673:113;;37799:51;37808:7;37817:12;:10;:12::i;:::-;37831:18;37799:8;:51::i;:::-;37861:22;37867:7;37876:6;37861:5;:22::i;4975:143::-;5045:4;5069:41;5074:3;-1:-1:-1;;;;;5094:14:0;;5069:4;:41::i;5529:158::-;5609:4;5633:46;5643:3;-1:-1:-1;;;;;5663:14:0;;5633:9;:46::i;46448:155::-;46558:9;46448:155;:::o;4064:109::-;4147:18;;4064:109::o;2219:1544::-;2285:4;2424:19;;;:12;;;:19;;;;;;2460:15;;2456:1300;;2895:18;;-1:-1:-1;;2846:14:0;;;;2895:22;;;;2822:21;;2895:3;;:22;;3182;;;;;;;;;;;;;;3162:42;;3328:9;3299:3;:11;;3311:13;3299:26;;;;;;;;;;;;;;;;;;;:38;;;;3405:23;;;3447:1;3405:12;;;:23;;;;;;3431:17;;;3405:43;;3557:17;;3405:3;;3557:17;;;;;;;;;;;;;;;;;;;;;;3652:3;:12;;:19;3665:5;3652:19;;;;;;;;;;;3645:26;;;3695:4;3688:11;;;;;;;;2456:1300;3739:5;3732:12;;;;;32848:539;-1:-1:-1;;;;;32954:20:0;;32946:70;;;;-1:-1:-1;;;32946:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;33035:23:0;;33027:71;;;;-1:-1:-1;;;33027:71:0;;;;;;;:::i;:::-;33111:47;33132:6;33140:9;33151:6;33111:20;:47::i;:::-;33191:71;33213:6;33191:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33191:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;33171:17:0;;;:9;:17;;;;;;;;;;;:91;;;;33296:20;;;;;;;:32;;33321:6;33296:24;:32::i;:::-;-1:-1:-1;;;;;33273:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;33344:35;;;;;;;;;;33372:6;;33344:35;:::i;34378:418::-;-1:-1:-1;;;;;34462:21:0;;34454:67;;;;-1:-1:-1;;;34454:67:0;;;;;;;:::i;:::-;34534:49;34555:7;34572:1;34576:6;34534:20;:49::i;:::-;34617:68;34640:6;34617:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34617:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;34596:18:0;;:9;:18;;;;;;;;;;:89;34711:12;;:24;;34728:6;34711:16;:24::i;:::-;34696:12;:39;34751:37;;34777:1;;-1:-1:-1;;;;;34751:37:0;;;;;;;34781:6;;34751:37;:::i;45561:710::-;45740:18;45761:82;45768:12;45761:82;;;;;;;;;;;;;;;;;:6;:82::i;:::-;45740:103;;45875:1;45860:12;:16;;;:85;;;;-1:-1:-1;;;;;;45880:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;45903:16:0;;45880:40;;;;;;;;;:50;:65;;;:50;;:65;45860:85;45856:339;;;-1:-1:-1;;;;;45962:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;45985:16:0;;45962:40;;;;;;;;46000:1;45962:46;:57;;;45856:339;;;46091:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46052:22:0;;-1:-1:-1;46052:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;46052:72:0;;;;;;;;;;;;;46139:25;;;:14;:25;;;;;;:44;;46167:16;;;46139:44;;;;;;;;;;45856:339;46233:9;-1:-1:-1;;;;;46212:51:0;;46244:8;46254;46212:51;;;;;;;:::i;:::-;;;;;;;;45561:710;;;;;:::o;1629:414::-;1692:4;1714:21;1724:3;1729:5;1714:9;:21::i;:::-;1709:327;;-1:-1:-1;1752:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;1935:18;;1913:19;;;:12;;;:19;;;;;;:40;;;;1968:11;;1709:327;-1:-1:-1;2019:5:0;2012:12;;3849:129;3922:4;3946:19;;;:12;;;;;:19;;;;;;:24;;;3849:129::o;46279:161::-;46354:6;46392:12;46385:5;46381:9;;46373:32;;;;-1:-1:-1;;;46373:32:0;;;;;;;;:::i;:::-;-1:-1:-1;46430:1:0;;46279:161;-1:-1:-1;;46279:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;5:130::-;72:20;;-1:-1;;;;;23593:54;;24822:35;;24812:2;;24871:1;;24861:12;819:241;;923:2;911:9;902:7;898:23;894:32;891:2;;;-1:-1;;929:12;891:2;991:53;1036:7;1012:22;991:53;:::i;1067:366::-;;;1188:2;1176:9;1167:7;1163:23;1159:32;1156:2;;;-1:-1;;1194:12;1156:2;1256:53;1301:7;1277:22;1256:53;:::i;:::-;1246:63;;1364:53;1409:7;1346:2;1389:9;1385:22;1364:53;:::i;:::-;1354:63;;1150:283;;;;;:::o;1440:491::-;;;;1578:2;1566:9;1557:7;1553:23;1549:32;1546:2;;;-1:-1;;1584:12;1546:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1636:63;-1:-1;1736:2;1775:22;;72:20;97:33;72:20;97:33;:::i;:::-;1540:391;;1744:63;;-1:-1;;;1844:2;1883:22;;;;481:20;;1540:391::o;1938:366::-;;;2059:2;2047:9;2038:7;2034:23;2030:32;2027:2;;;-1:-1;;2065:12;2027:2;2127:53;2172:7;2148:22;2127:53;:::i;:::-;2117:63;2217:2;2256:22;;;;481:20;;-1:-1;;;2021:283::o;2311:865::-;;;;;;;2498:3;2486:9;2477:7;2473:23;2469:33;2466:2;;;-1:-1;;2505:12;2466:2;2567:53;2612:7;2588:22;2567:53;:::i;:::-;2557:63;;2657:2;2700:9;2696:22;481:20;2665:63;;2765:2;2808:9;2804:22;481:20;2773:63;;2873:2;2914:9;2910:22;751:20;23904:4;25458:5;23893:16;25435:5;25432:33;25422:2;;-1:-1;;25469:12;25422:2;2460:716;;;;-1:-1;2460:716;;2979:3;3019:22;;344:20;;3088:3;3128:22;;;344:20;;-1:-1;2460:716;-1:-1;;2460:716::o;3183:364::-;;;3303:2;3291:9;3282:7;3278:23;3274:32;3271:2;;;-1:-1;;3309:12;3271:2;3371:53;3416:7;3392:22;3371:53;:::i;:::-;3361:63;;3461:2;3503:9;3499:22;617:20;23810:10;25338:5;23799:22;25314:5;25311:34;25301:2;;-1:-1;;25349:12;25301:2;3469:62;;;;3265:282;;;;;:::o;3554:257::-;;3666:2;3654:9;3645:7;3641:23;3637:32;3634:2;;;-1:-1;;3672:12;3634:2;223:6;217:13;24968:5;23426:13;23419:21;24946:5;24943:32;24933:2;;-1:-1;;24979:12;3818:241;;3922:2;3910:9;3901:7;3897:23;3893:32;3890:2;;;-1:-1;;3928:12;3890:2;-1:-1;481:20;;3884:175;-1:-1;3884:175::o;11416:659::-;-1:-1;;;7226:87;;7211:1;7332:11;;4517:37;;;;11927:12;;;4517:37;12038:12;;;11661:414::o;12082:222::-;-1:-1;;;;;23593:54;;;;4286:37;;12209:2;12194:18;;12180:124::o;12311:349::-;-1:-1;;;;;23593:54;;;;4145:58;;12646:2;12631:18;;4517:37;12474:2;12459:18;;12445:215::o;12667:210::-;23426:13;;23419:21;4400:34;;12788:2;12773:18;;12759:118::o;12884:222::-;4517:37;;;13011:2;12996:18;;12982:124::o;13113:556::-;4517:37;;;-1:-1;;;;;23593:54;;;;13489:2;13474:18;;4286:37;13572:2;13557:18;;4517:37;13655:2;13640:18;;4517:37;13324:3;13309:19;;13295:374::o;13676:556::-;4517:37;;;14052:2;14037:18;;4517:37;;;;14135:2;14120:18;;4517:37;-1:-1;;;;;23593:54;14218:2;14203:18;;4286:37;13887:3;13872:19;;13858:374::o;14239:548::-;4517:37;;;23904:4;23893:16;;;;14607:2;14592:18;;11369:35;14690:2;14675:18;;4517:37;14773:2;14758:18;;4517:37;14446:3;14431:19;;14417:370::o;14794:310::-;;14941:2;;14962:17;14955:47;4870:5;22895:12;23052:6;14941:2;14930:9;14926:18;23040:19;-1:-1;24373:101;24387:6;24384:1;24381:13;24373:101;;;24454:11;;;;;24448:18;24435:11;;;23080:14;24435:11;24428:39;24402:10;;24373:101;;;24489:6;24486:1;24483:13;24480:2;;;-1:-1;23080:14;24545:6;14930:9;24536:16;;24529:27;24480:2;-1:-1;24742:7;24726:14;-1:-1;;24722:28;5028:39;;;;23080:14;5028:39;;14912:192;-1:-1;;;14912:192::o;15111:416::-;15311:2;15325:47;;;5304:2;15296:18;;;23040:19;5340:34;23080:14;;;5320:55;-1:-1;;;5395:12;;;5388:37;5444:12;;;15282:245::o;15534:416::-;15734:2;15748:47;;;5695:2;15719:18;;;23040:19;5731:34;23080:14;;;5711:55;-1:-1;;;5786:12;;;5779:27;5825:12;;;15705:245::o;15957:416::-;16157:2;16171:47;;;6076:2;16142:18;;;23040:19;6112:28;23080:14;;;6092:49;6160:12;;;16128:245::o;16380:416::-;16580:2;16594:47;;;6411:2;16565:18;;;23040:19;6447:34;23080:14;;;6427:55;-1:-1;;;6502:12;;;6495:30;6544:12;;;16551:245::o;16803:416::-;17003:2;17017:47;;;6795:2;16988:18;;;23040:19;6831:34;23080:14;;;6811:55;-1:-1;;;6886:12;;;6879:26;6924:12;;;16974:245::o;17226:416::-;17426:2;17440:47;;;7582:2;17411:18;;;23040:19;7618:29;23080:14;;;7598:50;7667:12;;;17397:245::o;17649:416::-;17849:2;17863:47;;;7918:2;17834:18;;;23040:19;7954:34;23080:14;;;7934:55;-1:-1;;;8009:12;;;8002:27;8048:12;;;17820:245::o;18072:416::-;18272:2;18286:47;;;18257:18;;;23040:19;8335:34;23080:14;;;8315:55;8389:12;;;18243:245::o;18495:416::-;18695:2;18709:47;;;8640:2;18680:18;;;23040:19;8676:34;23080:14;;;8656:55;-1:-1;;;8731:12;;;8724:25;8768:12;;;18666:245::o;18918:416::-;19118:2;19132:47;;;9019:2;19103:18;;;23040:19;9055:34;23080:14;;;9035:55;-1:-1;;;9110:12;;;9103:29;9151:12;;;19089:245::o;19341:416::-;19541:2;19555:47;;;9402:2;19526:18;;;23040:19;9438:34;23080:14;;;9418:55;-1:-1;;;9493:12;;;9486:28;9533:12;;;19512:245::o;19764:416::-;19964:2;19978:47;;;9784:2;19949:18;;;23040:19;9820:34;23080:14;;;9800:55;-1:-1;;;9875:12;;;9868:36;9923:12;;;19935:245::o;20187:416::-;20387:2;20401:47;;;10174:2;20372:18;;;23040:19;10210:34;23080:14;;;10190:55;-1:-1;;;10265:12;;;10258:32;10309:12;;;20358:245::o;20610:416::-;20810:2;20824:47;;;10560:2;20795:18;;;23040:19;10596:33;23080:14;;;10576:54;10649:12;;;20781:245::o;21033:416::-;21233:2;21247:47;;;10900:2;21218:18;;;23040:19;10936:34;23080:14;;;10916:55;-1:-1;;;10991:12;;;10984:36;11039:12;;;21204:245::o;21685:333::-;4517:37;;;22004:2;21989:18;;4517:37;21840:2;21825:18;;21811:207::o;22025:218::-;23810:10;23799:22;;;;11254:36;;22150:2;22135:18;;22121:122::o;22250:329::-;23810:10;23799:22;;;;11254:36;;22565:2;22550:18;;4517:37;22403:2;22388:18;;22374:205::o;22586:214::-;23904:4;23893:16;;;;11369:35;;22709:2;22694:18;;22680:120::o;24763:117::-;-1:-1;;;;;23593:54;;24822:35;;24812:2;;24871:1;;24861:12
Swarm Source
ipfs://f4965cb84033866828dc7e872a9c0c654d37de808b8441573ca6a6ef0c4a2bcf
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.