Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
35,610.810147753922385491 WUSD
Holders
279
Market
Price
$1.00 @ 0.000398 ETH (+0.05%)
Onchain Market Cap
$35,568.36
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
110 WUSDValue
$109.87 ( ~0.0437983208102283 Eth) [0.3089%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WUSD
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; import { Math } from "@openzeppelin/contracts/utils/math/Math.sol"; import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import { ISwapRouter } from "@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.sol"; import { ReentrancyGuard } from "./utils/ReentrancyGuard.sol"; import { SafeToken } from "./utils/SafeToken.sol"; import { IERC20 } from "./interfaces/IERC20.sol"; import { IGlove } from "./interfaces/IGlove.sol"; import { IRegistry } from "./interfaces/IRegistry.sol"; import { IFrontender } from "./interfaces/IFrontender.sol"; import { Snapshot, IWUSD } from "./interfaces/IWUSD.sol"; contract WUSD is IWUSD, ReentrancyGuard { using SafeToken for IERC20; using EnumerableSet for EnumerableSet.AddressSet; bytes32 private constant _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 private constant _DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); bytes32 private constant _NAME_HASH = keccak256("Wrapped USD"); bytes32 private constant _VERSION_HASH = keccak256("1"); ISwapRouter private constant _ROUTER = ISwapRouter(0xE592427A0AEce92De3Edee1F18E0157C05861564); IRegistry private constant _REGISTRY = IRegistry(0x4E23524aA15c689F2d100D49E27F28f8E5088C0D); address private constant _GLOVE = 0x70c5f366dB60A2a0C59C4C24754803Ee47Ed7284; address private constant _USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7; address private constant _USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48; uint256 private constant _MIN_GLOVABLE = 100e18; uint256 private constant _MID_GLOVE = 0.01e18; uint256 private constant _MAX_GLOVE = 2e18; uint256 private constant _EPOCH = 100_000e18; uint24 private constant _ROUTE = 500; bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; Snapshot private _snapshot; EnumerableSet.AddressSet private _fiatcoins; uint256 private _totalSupply; mapping(address => uint256) private _epoch; mapping(address => uint256) private _decimal; mapping(address => uint256) private _nonce; mapping(address => uint256) private _balance; mapping(address => mapping(address => uint256)) private _allowance; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); event Wrap(address indexed account, address fiatcoin, uint256 amount, address referrer); event Unwrap(address indexed account, address fiatcoin, uint256 amount); constructor (address[] memory fiatcoins) { uint256 decimal; address fiatcoin; for (uint256 i; i < fiatcoins.length;) { fiatcoin = fiatcoins[i]; decimal = IERC20(fiatcoin).decimals(); _fiatcoins.add(fiatcoin); _decimal[fiatcoin] = decimal; IERC20(fiatcoin).safeApprove(address(_ROUTER), type(uint128).max); unchecked { i++; } } _CACHED_THIS = address(this); _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _separator(); _snapshot = Snapshot({ epoch: 1, last: 0, cumulative: 0 }); } function name () public pure returns (string memory) { return "Wrapped USD"; } function symbol () public pure returns (string memory) { return "WUSD"; } function decimals () public pure returns (uint8) { return 18; } function totalSupply () public view returns (uint256) { return _totalSupply; } function balanceOf (address account) public view returns (uint256) { return _balance[account]; } function snapshot () public view returns (Snapshot memory) { return _snapshot; } function epochOf (address account) public view returns (uint256) { return _epoch[account]; } function _separator () private view returns (bytes32) { return keccak256(abi.encode(_DOMAIN_TYPEHASH, _NAME_HASH, _VERSION_HASH, block.chainid, address(this))); } function DOMAIN_SEPARATOR () public view returns (bytes32) { return (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) ? _CACHED_DOMAIN_SEPARATOR : _separator(); } function nonces (address owner) public view returns (uint256) { return _nonce[owner]; } function allowance (address owner, address spender) public view returns (uint256) { return _allowance[owner][spender]; } function _approve (address owner, address spender, uint256 amount) internal { _allowance[owner][spender] = amount; emit Approval(owner, spender, amount); } function approve (address spender, uint256 amount) public returns (bool) { _approve(msg.sender, spender, amount); return true; } function increaseAllowance (address spender, uint256 amount) public returns (bool) { _approve(msg.sender, spender, _allowance[msg.sender][spender] + amount); return true; } function decreaseAllowance (address spender, uint256 amount) public returns (bool) { uint256 currentAllowance = _allowance[msg.sender][spender]; require(currentAllowance >= amount, "WUSD: decreasing < 0"); unchecked { _approve(msg.sender, spender, currentAllowance - amount); } return true; } function permit (address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { require(block.timestamp <= deadline, "WUSD: expired deadline"); bytes32 hash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _nonce[owner]++, deadline)); address signer = ecrecover(keccak256(abi.encodePacked("\x19\x01", DOMAIN_SEPARATOR(), hash)), v, r, s); require(signer != address(0) && signer == owner, "WUSD: !valid signature"); _approve(owner, spender, value); } function _transfer (address from, address to, uint256 amount) internal { require(to != address(0), "WUSD: transfer to 0 addr"); uint256 balance = _balance[from]; require(balance >= amount, "WUSD: amount > balance"); unchecked { _balance[from] = balance - amount; _balance[to] += amount; } emit Transfer(from, to, amount); } function transfer (address to, uint256 amount) public returns (bool) { _transfer(msg.sender, to, amount); return true; } function transferFrom (address from, address to, uint256 amount) public returns (bool) { uint256 currentAllowance = _allowance[from][msg.sender]; if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "WUSD: !enough allowance"); unchecked { _approve(from, msg.sender, currentAllowance - amount); } } _transfer(from, to, amount); return true; } function _percent (uint256 amount, uint256 percent) internal pure returns (uint256) { return (amount * percent) / 100_00; } function _normalize (uint256 amount, uint256 decimal) internal pure returns (uint256) { return (amount * 1e18) / (10 ** decimal); } function _denormalize (uint256 amount, uint256 decimal) internal pure returns (uint256) { return (amount * (10 ** decimal)) / 1e18; } function _isFiatcoin (address token) internal view { require(_fiatcoins.contains(token), "WUSD: !fiatcoin"); } function _snap (uint256 wrapping) internal { Snapshot memory snap = _snapshot; if ((snap.cumulative - snap.last) >= _EPOCH) { _snapshot.epoch = snap.epoch + 1; _snapshot.last = snap.cumulative; } if (wrapping >= _MIN_GLOVABLE || _epoch[msg.sender] > 0) { _epoch[msg.sender] = _snapshot.epoch; } _snapshot.cumulative = snap.cumulative + uint112(wrapping); } function _englove (uint256 wrapping) internal { uint256 gloves = IGlove(_GLOVE).balanceOf(msg.sender); if (wrapping >= _MIN_GLOVABLE && gloves < _MAX_GLOVE) { IGlove(_GLOVE).mintCreditless(msg.sender, Math.min(_MAX_GLOVE - gloves, wrapping > 1_000e18 ? ((_MAX_GLOVE * wrapping) / _EPOCH) : ((_MID_GLOVE * wrapping) / 1_000e18))); } } function _mint (address account, uint256 amount) internal { require(account != address(0), "WUSD: mint to 0 addr"); _totalSupply += amount; unchecked { _balance[account] += amount; } emit Transfer(address(0), account, amount); } function _parse (uint256 amount, uint256 decimal) internal pure returns (uint256, uint256) { return (Math.max(10 ** decimal, _percent(amount, 1_00)), _normalize(amount, decimal)); } function wrap (address fiatcoin, uint256 amount, address referrer) external nonReentrant { _isFiatcoin(fiatcoin); require(amount > 0, "WUSD: wrap(0)"); (uint256 fee, uint256 wrapping) = _parse(amount, _decimal[fiatcoin]); _snap(wrapping); _mint(msg.sender, wrapping); _englove(wrapping); IERC20(fiatcoin).safeTransferFrom(msg.sender, address(this), amount + fee); if (fiatcoin != _USDT && fiatcoin != _USDC) { _ROUTER.exactInputSingle(ISwapRouter.ExactInputSingleParams ({ tokenIn: fiatcoin, tokenOut: _USDC, fee: fiatcoin != 0x0000000000085d4780B73119b644AE5ecd22b376 ? _ROUTE : 100, recipient: _REGISTRY.collector(), deadline: block.timestamp, amountIn: fee, amountOutMinimum: _percent(_denormalize(_normalize(fee, _decimal[fiatcoin]), 6), 95_00), sqrtPriceLimitX96: 0 })); } else { IERC20(fiatcoin).safeTransfer(_REGISTRY.collector(), fee); } if (referrer != address(0)) { IFrontender(_REGISTRY.frontender()).refer(msg.sender, wrapping, referrer); } emit Wrap(msg.sender, fiatcoin, amount, referrer); } function _burn (address account, uint256 amount) internal { uint256 balance = _balance[account]; require(balance >= amount, "WUSD: burn > balance"); unchecked { _balance[account] = balance - amount; _totalSupply -= amount; } emit Transfer(account, address(0), amount); } function _deglove (uint256 amount, uint256 balance) internal { uint256 creditless = IGlove(_GLOVE).creditlessOf(msg.sender); uint256 credits = _percent(creditless, Math.min((amount * 100_00) / balance, (_snapshot.epoch - _epoch[msg.sender]) * 100)); if (_epoch[msg.sender] > 0) { if (amount == balance) { _epoch[msg.sender] = 0; IGlove(_GLOVE).burn(msg.sender, creditless - credits); } else { _epoch[msg.sender] = _snapshot.epoch; } IGlove(_GLOVE).creditize(msg.sender, credits); } } function unwrap (address fiatcoin, uint256 amount) external nonReentrant { _isFiatcoin(fiatcoin); uint256 balance = _balance[msg.sender]; uint256 unwrapping = _denormalize(amount, _decimal[fiatcoin]); require(amount > 0, "WUSD: unwrap(0)"); require((IERC20(fiatcoin).balanceOf(address(this)) - (10 ** _decimal[fiatcoin])) >= unwrapping, "WUSD: !enough fiatcoin"); _burn(msg.sender, amount); _deglove(amount, balance); IERC20(fiatcoin).safeTransfer(msg.sender, unwrapping); emit Unwrap(msg.sender, fiatcoin, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.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.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ 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; if (lastIndex != toDeleteIndex) { 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] = valueIndex; // Replace lastValue's index to valueIndex } // 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) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // 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 in 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)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Callback for IUniswapV3PoolActions#swap /// @notice Any contract that calls IUniswapV3PoolActions#swap must implement this interface interface IUniswapV3SwapCallback { /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap. /// @dev In the implementation you must pay the pool tokens owed for the swap. /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped. /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token0 to the pool. /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by /// the end of the swap. If positive, the callback must send that amount of token1 to the pool. /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call function uniswapV3SwapCallback( int256 amount0Delta, int256 amount1Delta, bytes calldata data ) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.7.5; pragma abicoder v2; import '@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol'; /// @title Router token swapping functionality /// @notice Functions for swapping tokens via Uniswap V3 interface ISwapRouter is IUniswapV3SwapCallback { struct ExactInputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; uint160 sqrtPriceLimitX96; } /// @notice Swaps `amountIn` of one token for as much as possible of another token /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata /// @return amountOut The amount of the received token function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut); struct ExactInputParams { bytes path; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; } /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata /// @return amountOut The amount of the received token function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut); struct ExactOutputSingleParams { address tokenIn; address tokenOut; uint24 fee; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; uint160 sqrtPriceLimitX96; } /// @notice Swaps as little as possible of one token for `amountOut` of another token /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata /// @return amountIn The amount of the input token function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn); struct ExactOutputParams { bytes path; address recipient; uint256 deadline; uint256 amountOut; uint256 amountInMaximum; } /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed) /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata /// @return amountIn The amount of the input token function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; interface IERC20 { function name () external view returns (string memory); function symbol () external view returns (string memory); function decimals () external view returns (uint8); function totalSupply () external view returns (uint256); function balanceOf (address account) external view returns (uint256); function allowance (address owner, address spender) external view returns (uint256); function approve (address spender, uint256 amount) external returns (bool); function transfer (address to, uint256 amount) external returns (bool); function transferFrom (address from, address to, uint256 amount) external returns (bool); function mint (address account, uint256 amount) external; function burn (address account, uint256 amount) external; }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; interface IFrontender { function isRegistered (address account) external view returns (bool); function refer (address account, uint256 amount, address referrer) external; }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; interface IGlove { function balanceOf (address account) external view returns (uint256); function creditOf (address account) external view returns (uint256); function creditlessOf (address account) external view returns (uint256); function transfer (address to, uint256 amount) external returns (bool); function transferFrom (address from, address to, uint256 amount) external returns (bool); function transferCreditless (address to, uint256 amount) external returns (bool); function mint (address account, uint256 amount) external; function mintCreditless (address account, uint256 amount) external; function creditize (address account, uint256 credits) external returns (bool); function burn (address account, uint256 amount) external; function decreditize (address account, uint256 credits) external returns (bool); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; interface IRegistry { function get (string calldata name) external view returns (address); function provisioner () external view returns (address); function frontender () external view returns (address); function collector () external view returns (address); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; struct Snapshot { uint32 epoch; uint112 last; uint112 cumulative; } interface IWUSD { function balanceOf (address account) external view returns (uint256); function snapshot () external view returns (Snapshot memory); function epochOf (address account) external view returns (uint256); function allowance (address owner, address spender) external view returns (uint256); function approve (address spender, uint256 amount) external returns (bool); function transfer (address to, uint256 amount) external returns (bool); function transferFrom (address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; abstract contract ReentrancyGuard { uint256 private _status = 1; modifier nonReentrant () { require(_status == 1, "reentrance"); _status = 2; _; _status = 1; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; import { IERC20 } from "../interfaces/IERC20.sol"; library SafeToken { function _getRevertErr (bytes memory data, string memory message) private pure returns (string memory) { if (data.length < 68) { return message; } assembly { data := add(data, 0x04) } return abi.decode(data, (string)); } function _call (address token, bytes memory encoded, string memory message) private { (bool success, bytes memory data) = token.call(encoded); require(success && (data.length == 0 || abi.decode(data, (bool))), _getRevertErr(data, message)); } function safeApprove (IERC20 token, address spender, uint256 amount) internal { _call(address(token), abi.encodeWithSelector(IERC20.approve.selector, spender, amount), "!sa"); } function safeTransfer (IERC20 token, address to, uint256 amount) internal { _call(address(token), abi.encodeWithSelector(IERC20.transfer.selector, to, amount), "!st"); } function safeTransferFrom (IERC20 token, address from, address to, uint256 amount) internal { _call(address(token), abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, amount), "!stf"); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"fiatcoins","type":"address[]"}],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address","name":"fiatcoin","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unwrap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"address","name":"fiatcoin","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"referrer","type":"address"}],"name":"Wrap","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"epochOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[{"components":[{"internalType":"uint32","name":"epoch","type":"uint32"},{"internalType":"uint112","name":"last","type":"uint112"},{"internalType":"uint112","name":"cumulative","type":"uint112"}],"internalType":"struct Snapshot","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fiatcoin","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fiatcoin","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"referrer","type":"address"}],"name":"wrap","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260016000553480156200001657600080fd5b5060405162004a2738038062004a2783398181016040528101906200003c919062000846565b60008060005b8351811015620001a95783818151811062000062576200006162000897565b5b602002602001015191508173ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000de919062000904565b60ff169250620000fe826002620002ec60201b6200156e1790919060201c565b5082600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506200019b73e592427a0aece92de3edee1f18e0157c058615646fffffffffffffffffffffffffffffffff80168473ffffffffffffffffffffffffffffffffffffffff166200032460201b6200159e179092919060201c565b808060010191505062000042565b503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250504660a08181525050620001f6620003ea60201b60201c565b608081815250506040518060600160405280600163ffffffff16815260200160006dffffffffffffffffffffffffffff16815260200160006dffffffffffffffffffffffffffff16815250600160008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff16021790555060408201518160000160126101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff16021790555090505050505062000c93565b60006200031c836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200048260201b60201c565b905092915050565b620003e58363095ea7b360e01b84846040516024016200034692919062000962565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060400160405280600381526020017f2173610000000000000000000000000000000000000000000000000000000000815250620004fc60201b60201c565b505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fc877d23a3a36d42c50756fcba8e50ec7910c43e88d8c4d641ed4692c9d3b37c77fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6463060405160200162000467959493929190620009aa565b60405160208183030381529060405280519060200120905090565b6000620004968383620005fa60201b60201c565b620004f1578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050620004f6565b600090505b92915050565b6000808473ffffffffffffffffffffffffffffffffffffffff168460405162000526919062000a80565b6000604051808303816000865af19150503d806000811462000565576040519150601f19603f3d011682016040523d82523d6000602084013e6200056a565b606091505b50915091508180156200059c57506000815114806200059b5750808060200190518101906200059a919062000ad6565b5b5b620005ae82856200061d60201b60201c565b90620005f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005e9919062000b65565b60405180910390fd5b505050505050565b600080836001016000848152602001908152602001600020541415905092915050565b6060604483511015620006335781905062000652565b600483019250828060200190518101906200064f919062000c42565b90505b92915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006bc8262000671565b810181811067ffffffffffffffff82111715620006de57620006dd62000682565b5b80604052505050565b6000620006f362000658565b9050620007018282620006b1565b919050565b600067ffffffffffffffff82111562000724576200072362000682565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000767826200073a565b9050919050565b62000779816200075a565b81146200078557600080fd5b50565b60008151905062000799816200076e565b92915050565b6000620007b6620007b08462000706565b620006e7565b90508083825260208201905060208402830185811115620007dc57620007db62000735565b5b835b81811015620008095780620007f4888262000788565b845260208401935050602081019050620007de565b5050509392505050565b600082601f8301126200082b576200082a6200066c565b5b81516200083d8482602086016200079f565b91505092915050565b6000602082840312156200085f576200085e62000662565b5b600082015167ffffffffffffffff81111562000880576200087f62000667565b5b6200088e8482850162000813565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff82169050919050565b620008de81620008c6565b8114620008ea57600080fd5b50565b600081519050620008fe81620008d3565b92915050565b6000602082840312156200091d576200091c62000662565b5b60006200092d84828501620008ed565b91505092915050565b62000941816200075a565b82525050565b6000819050919050565b6200095c8162000947565b82525050565b600060408201905062000979600083018562000936565b62000988602083018462000951565b9392505050565b6000819050919050565b620009a4816200098f565b82525050565b600060a082019050620009c1600083018862000999565b620009d0602083018762000999565b620009df604083018662000999565b620009ee606083018562000951565b620009fd608083018462000936565b9695505050505050565b600081519050919050565b600081905092915050565b60005b8381101562000a3d57808201518184015260208101905062000a20565b60008484015250505050565b600062000a568262000a07565b62000a62818562000a12565b935062000a7481856020860162000a1d565b80840191505092915050565b600062000a8e828462000a49565b915081905092915050565b60008115159050919050565b62000ab08162000a99565b811462000abc57600080fd5b50565b60008151905062000ad08162000aa5565b92915050565b60006020828403121562000aef5762000aee62000662565b5b600062000aff8482850162000abf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600062000b318262000b08565b62000b3d818562000b13565b935062000b4f81856020860162000a1d565b62000b5a8162000671565b840191505092915050565b6000602082019050818103600083015262000b81818462000b24565b905092915050565b600080fd5b600067ffffffffffffffff82111562000bac5762000bab62000682565b5b62000bb78262000671565b9050602081019050919050565b600062000bdb62000bd58462000b8e565b620006e7565b90508281526020810184848401111562000bfa5762000bf962000b89565b5b62000c0784828562000a1d565b509392505050565b600082601f83011262000c275762000c266200066c565b5b815162000c3984826020860162000bc4565b91505092915050565b60006020828403121562000c5b5762000c5a62000662565b5b600082015167ffffffffffffffff81111562000c7c5762000c7b62000667565b5b62000c8a8482850162000c0f565b91505092915050565b60805160a05160c051613d6462000cc3600039600061054f015260006105a5015260006105da0152613d646000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80635c15155e116100a25780639711715a116100715780639711715a14610309578063a457c2d714610327578063a9059cbb14610357578063d505accf14610387578063dd62ed3e146103a357610116565b80635c15155e1461026f57806370a082311461028b5780637ecebe00146102bb57806395d89b41146102eb57610116565b8063313ce567116100e9578063313ce567146101b75780633644e515146101d557806339509351146101f357806339f4769314610223578063582805d91461023f57610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd1461016957806323b872dd14610187575b600080fd5b6101236103d3565b6040516101309190612954565b60405180910390f35b610153600480360381019061014e9190612a1e565b610410565b6040516101609190612a79565b60405180910390f35b610171610427565b60405161017e9190612aa3565b60405180910390f35b6101a1600480360381019061019c9190612abe565b610431565b6040516101ae9190612a79565b60405180910390f35b6101bf610542565b6040516101cc9190612b2d565b60405180910390f35b6101dd61054b565b6040516101ea9190612b61565b60405180910390f35b61020d60048036038101906102089190612a1e565b6105ff565b60405161021a9190612a79565b60405180910390f35b61023d60048036038101906102389190612a1e565b61069d565b005b61025960048036038101906102549190612b7c565b610976565b6040516102669190612aa3565b60405180910390f35b61028960048036038101906102849190612ba9565b6109bf565b005b6102a560048036038101906102a09190612b7c565b611032565b6040516102b29190612aa3565b60405180910390f35b6102d560048036038101906102d09190612b7c565b61107b565b6040516102e29190612aa3565b60405180910390f35b6102f36110c4565b6040516103009190612954565b60405180910390f35b610311611101565b60405161031e9190612c86565b60405180910390f35b610341600480360381019061033c9190612a1e565b6111c9565b60405161034e9190612a79565b60405180910390f35b610371600480360381019061036c9190612a1e565b6112a6565b60405161037e9190612a79565b60405180910390f35b6103a1600480360381019061039c9190612cf9565b6112bd565b005b6103bd60048036038101906103b89190612d9b565b6114e7565b6040516103ca9190612aa3565b60405180910390f35b60606040518060400160405280600b81526020017f5772617070656420555344000000000000000000000000000000000000000000815250905090565b600061041d33848461165a565b6001905092915050565b6000600454905090565b600080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461052b578281101561051d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051490612e27565b60405180910390fd5b61052a853385840361165a565b5b610536858585611745565b60019150509392505050565b60006012905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156105c757507f000000000000000000000000000000000000000000000000000000000000000046145b6105d8576105d3611939565b6105fa565b7f00000000000000000000000000000000000000000000000000000000000000005b905090565b6000610693338484600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461068e9190612e76565b61165a565b6001905092915050565b6001600054146106e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d990612ef6565b60405180910390fd5b60026000819055506106f3826119cf565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061078283600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a25565b9050600083116107c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107be90612f62565b60405180910390fd5b80600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a61081491906130b5565b8573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161084d919061310f565b602060405180830381865afa15801561086a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088e919061313f565b610898919061316c565b10156108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d0906131ec565b60405180910390fd5b6108e33384611a5a565b6108ed8383611ba2565b61091833828673ffffffffffffffffffffffffffffffffffffffff16611ef39092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fbe8e6aacbb5d99c99f1992d91d807f570d0acacabee02374369ed42710dc6698858560405161096092919061320c565b60405180910390a2505060016000819055505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600160005414610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb90612ef6565b60405180910390fd5b6002600081905550610a15836119cf565b60008211610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f90613281565b60405180910390fd5b600080610aa484600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611faf565b91509150610ab181611fe7565b610abb3382612252565b610ac481612391565b610afc33308487610ad59190612e76565b8873ffffffffffffffffffffffffffffffffffffffff1661254f909392919063ffffffff16565b73dac17f958d2ee523a2206206994597c13d831ec773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614158015610b8c575073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b15610dfd5773e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663414bf3896040518061010001604052808873ffffffffffffffffffffffffffffffffffffffff16815260200173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff1681526020016e085d4780b73119b644ae5ecd22b37673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1603610c62576064610c66565b6101f45b62ffffff168152602001734e23524aa15c689f2d100d49e27f28f8e5088c0d73ffffffffffffffffffffffffffffffffffffffff1663913e77ad6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf391906132b6565b73ffffffffffffffffffffffffffffffffffffffff168152602001428152602001858152602001610d78610d70610d6988600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461260e565b6006611a25565b61251c612643565b8152602001600073ffffffffffffffffffffffffffffffffffffffff168152506040518263ffffffff1660e01b8152600401610db491906133d0565b6020604051808303816000875af1158015610dd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df7919061313f565b50610eab565b610eaa734e23524aa15c689f2d100d49e27f28f8e5088c0d73ffffffffffffffffffffffffffffffffffffffff1663913e77ad6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8391906132b6565b838773ffffffffffffffffffffffffffffffffffffffff16611ef39092919063ffffffff16565b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610fd157734e23524aa15c689f2d100d49e27f28f8e5088c0d73ffffffffffffffffffffffffffffffffffffffff16631f8ecfe56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6291906132b6565b73ffffffffffffffffffffffffffffffffffffffff16635403313d3383866040518463ffffffff1660e01b8152600401610f9e939291906133ec565b600060405180830381600087803b158015610fb857600080fd5b505af1158015610fcc573d6000803e3d6000fd5b505050505b3373ffffffffffffffffffffffffffffffffffffffff167ff1d3997fc28b19c71cb65f023741602104b7d2141875551ff8816a7ffcbab03786868660405161101b939291906133ec565b60405180910390a250506001600081905550505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606040518060400160405280600481526020017f5755534400000000000000000000000000000000000000000000000000000000815250905090565b61110961287d565b60016040518060600160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681526020016000820160129054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681525050905090565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561128e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112859061346f565b60405180910390fd5b61129b338585840361165a565b600191505092915050565b60006112b3338484611745565b6001905092915050565b83421115611300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f7906134db565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888600760008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611376906134fb565b919050558960405160200161139096959493929190613543565b604051602081830303815290604052805190602001209050600060016113b461054b565b836040516020016113c692919061361c565b60405160208183030381529060405280519060200120868686604051600081526020016040526040516113fc9493929190613653565b6020604051602081039080840390855afa15801561141e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561149257508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c8906136e4565b60405180910390fd5b6114dc89898961165a565b505050505050505050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611596836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612666565b905092915050565b6116558363095ea7b360e01b84846040516024016115bd92919061320c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060400160405280600381526020017f21736100000000000000000000000000000000000000000000000000000000008152506126d6565b505050565b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117389190612aa3565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90613750565b60405180910390fd5b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561183b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611832906137bc565b60405180910390fd5b818103600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161192b9190612aa3565b60405180910390a350505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fc877d23a3a36d42c50756fcba8e50ec7910c43e88d8c4d641ed4692c9d3b37c77fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016119b49594939291906137dc565b60405160208183030381529060405280519060200120905090565b6119e38160026127c190919063ffffffff16565b611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a199061387b565b60405180910390fd5b50565b6000670de0b6b3a764000082600a611a3d91906130b5565b84611a48919061389b565b611a52919061390c565b905092915050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890613989565b60405180910390fd5b818103600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b959190612aa3565b60405180910390a3505050565b60007370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff1663232d88ba336040518263ffffffff1660e01b8152600401611bf1919061310f565b602060405180830381865afa158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c32919061313f565b90506000611cd282611ccd8561271088611c4c919061389b565b611c56919061390c565b6064600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600160000160009054906101000a900463ffffffff1663ffffffff16611cbe919061316c565b611cc8919061389b565b6127f1565b612643565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611eed57828403611df9576000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff16639dc29fac338385611da5919061316c565b6040518363ffffffff1660e01b8152600401611dc292919061320c565b600060405180830381600087803b158015611ddc57600080fd5b505af1158015611df0573d6000803e3d6000fd5b50505050611e59565b600160000160009054906101000a900463ffffffff1663ffffffff16600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b7370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff16637affb63a33836040518363ffffffff1660e01b8152600401611ea892919061320c565b6020604051808303816000875af1158015611ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eeb91906139d5565b505b50505050565b611faa8363a9059cbb60e01b8484604051602401611f1292919061320c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060400160405280600381526020017f21737400000000000000000000000000000000000000000000000000000000008152506126d6565b505050565b600080611fd283600a611fc291906130b5565b611fcd866064612643565b61280a565b611fdc858561260e565b915091509250929050565b600060016040518060600160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681526020016000820160129054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681525050905069152d02c7e14af6800000816020015182604001516120c59190613a02565b6dffffffffffffffffffffffffffff161061214b57600181600001516120eb9190613a44565b600160000160006101000a81548163ffffffff021916908363ffffffff1602179055508060400151600160000160046101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff1602179055505b68056bc75e2d63100000821015806121a257506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b1561220757600160000160009054906101000a900463ffffffff1663ffffffff16600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8181604001516122179190613a7c565b600160000160126101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff1602179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b890613b0a565b60405180910390fd5b80600460008282546122d39190612e76565b9250508190555080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516123859190612aa3565b60405180910390a35050565b60007370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016123e0919061310f565b602060405180830381865afa1580156123fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612421919061313f565b905068056bc75e2d6310000082101580156124435750671bc16d674ec8000081105b1561254b577370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff166339b0f3cd336124fb84671bc16d674ec80000612490919061316c565b683635c9adc5dea0000087116124cc57683635c9adc5dea0000087662386f26fc100006124bd919061389b565b6124c7919061390c565b6124f6565b69152d02c7e14af680000087671bc16d674ec800006124eb919061389b565b6124f5919061390c565b5b6127f1565b6040518363ffffffff1660e01b815260040161251892919061320c565b600060405180830381600087803b15801561253257600080fd5b505af1158015612546573d6000803e3d6000fd5b505050505b5050565b612608846323b872dd60e01b85858560405160240161257093929190613b2a565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060400160405280600481526020017f21737466000000000000000000000000000000000000000000000000000000008152506126d6565b50505050565b600081600a61261d91906130b5565b670de0b6b3a764000084612631919061389b565b61263b919061390c565b905092915050565b60006127108284612654919061389b565b61265e919061390c565b905092915050565b60006126728383612823565b6126cb5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506126d0565b600090505b92915050565b6000808473ffffffffffffffffffffffffffffffffffffffff16846040516126fe9190613ba8565b6000604051808303816000865af19150503d806000811461273b576040519150601f19603f3d011682016040523d82523d6000602084013e612740565b606091505b509150915081801561276e575060008151148061276d57508080602001905181019061276c91906139d5565b5b5b6127788285612846565b906127b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b09190612954565b60405180910390fd5b505050505050565b60006127e9836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612823565b905092915050565b60008183106128005781612802565b825b905092915050565b6000818311612819578161281b565b825b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b606060448351101561285a57819050612877565b600483019250828060200190518101906128749190613ce5565b90505b92915050565b6040518060600160405280600063ffffffff16815260200160006dffffffffffffffffffffffffffff16815260200160006dffffffffffffffffffffffffffff1681525090565b600081519050919050565b600082825260208201905092915050565b60005b838110156128fe5780820151818401526020810190506128e3565b60008484015250505050565b6000601f19601f8301169050919050565b6000612926826128c4565b61293081856128cf565b93506129408185602086016128e0565b6129498161290a565b840191505092915050565b6000602082019050818103600083015261296e818461291b565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129b58261298a565b9050919050565b6129c5816129aa565b81146129d057600080fd5b50565b6000813590506129e2816129bc565b92915050565b6000819050919050565b6129fb816129e8565b8114612a0657600080fd5b50565b600081359050612a18816129f2565b92915050565b60008060408385031215612a3557612a34612980565b5b6000612a43858286016129d3565b9250506020612a5485828601612a09565b9150509250929050565b60008115159050919050565b612a7381612a5e565b82525050565b6000602082019050612a8e6000830184612a6a565b92915050565b612a9d816129e8565b82525050565b6000602082019050612ab86000830184612a94565b92915050565b600080600060608486031215612ad757612ad6612980565b5b6000612ae5868287016129d3565b9350506020612af6868287016129d3565b9250506040612b0786828701612a09565b9150509250925092565b600060ff82169050919050565b612b2781612b11565b82525050565b6000602082019050612b426000830184612b1e565b92915050565b6000819050919050565b612b5b81612b48565b82525050565b6000602082019050612b766000830184612b52565b92915050565b600060208284031215612b9257612b91612980565b5b6000612ba0848285016129d3565b91505092915050565b600080600060608486031215612bc257612bc1612980565b5b6000612bd0868287016129d3565b9350506020612be186828701612a09565b9250506040612bf2868287016129d3565b9150509250925092565b600063ffffffff82169050919050565b612c1581612bfc565b82525050565b60006dffffffffffffffffffffffffffff82169050919050565b612c3e81612c1b565b82525050565b606082016000820151612c5a6000850182612c0c565b506020820151612c6d6020850182612c35565b506040820151612c806040850182612c35565b50505050565b6000606082019050612c9b6000830184612c44565b92915050565b612caa81612b11565b8114612cb557600080fd5b50565b600081359050612cc781612ca1565b92915050565b612cd681612b48565b8114612ce157600080fd5b50565b600081359050612cf381612ccd565b92915050565b600080600080600080600060e0888a031215612d1857612d17612980565b5b6000612d268a828b016129d3565b9750506020612d378a828b016129d3565b9650506040612d488a828b01612a09565b9550506060612d598a828b01612a09565b9450506080612d6a8a828b01612cb8565b93505060a0612d7b8a828b01612ce4565b92505060c0612d8c8a828b01612ce4565b91505092959891949750929550565b60008060408385031215612db257612db1612980565b5b6000612dc0858286016129d3565b9250506020612dd1858286016129d3565b9150509250929050565b7f575553443a2021656e6f75676820616c6c6f77616e6365000000000000000000600082015250565b6000612e116017836128cf565b9150612e1c82612ddb565b602082019050919050565b60006020820190508181036000830152612e4081612e04565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e81826129e8565b9150612e8c836129e8565b9250828201905080821115612ea457612ea3612e47565b5b92915050565b7f7265656e7472616e636500000000000000000000000000000000000000000000600082015250565b6000612ee0600a836128cf565b9150612eeb82612eaa565b602082019050919050565b60006020820190508181036000830152612f0f81612ed3565b9050919050565b7f575553443a20756e777261702830290000000000000000000000000000000000600082015250565b6000612f4c600f836128cf565b9150612f5782612f16565b602082019050919050565b60006020820190508181036000830152612f7b81612f3f565b9050919050565b60008160011c9050919050565b6000808291508390505b6001851115612fd957808604811115612fb557612fb4612e47565b5b6001851615612fc45780820291505b8081029050612fd285612f82565b9450612f99565b94509492505050565b600082612ff257600190506130ae565b8161300057600090506130ae565b816001811461301657600281146130205761304f565b60019150506130ae565b60ff84111561303257613031612e47565b5b8360020a91508482111561304957613048612e47565b5b506130ae565b5060208310610133831016604e8410600b84101617156130845782820a90508381111561307f5761307e612e47565b5b6130ae565b6130918484846001612f8f565b925090508184048111156130a8576130a7612e47565b5b81810290505b9392505050565b60006130c0826129e8565b91506130cb836129e8565b92506130f87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612fe2565b905092915050565b613109816129aa565b82525050565b60006020820190506131246000830184613100565b92915050565b600081519050613139816129f2565b92915050565b60006020828403121561315557613154612980565b5b60006131638482850161312a565b91505092915050565b6000613177826129e8565b9150613182836129e8565b925082820390508181111561319a57613199612e47565b5b92915050565b7f575553443a2021656e6f7567682066696174636f696e00000000000000000000600082015250565b60006131d66016836128cf565b91506131e1826131a0565b602082019050919050565b60006020820190508181036000830152613205816131c9565b9050919050565b60006040820190506132216000830185613100565b61322e6020830184612a94565b9392505050565b7f575553443a207772617028302900000000000000000000000000000000000000600082015250565b600061326b600d836128cf565b915061327682613235565b602082019050919050565b6000602082019050818103600083015261329a8161325e565b9050919050565b6000815190506132b0816129bc565b92915050565b6000602082840312156132cc576132cb612980565b5b60006132da848285016132a1565b91505092915050565b6132ec816129aa565b82525050565b600062ffffff82169050919050565b61330a816132f2565b82525050565b613319816129e8565b82525050565b6133288161298a565b82525050565b6101008201600082015161334560008501826132e3565b50602082015161335860208501826132e3565b50604082015161336b6040850182613301565b50606082015161337e60608501826132e3565b5060808201516133916080850182613310565b5060a08201516133a460a0850182613310565b5060c08201516133b760c0850182613310565b5060e08201516133ca60e085018261331f565b50505050565b6000610100820190506133e6600083018461332e565b92915050565b60006060820190506134016000830186613100565b61340e6020830185612a94565b61341b6040830184613100565b949350505050565b7f575553443a2064656372656173696e67203c2030000000000000000000000000600082015250565b60006134596014836128cf565b915061346482613423565b602082019050919050565b600060208201905081810360008301526134888161344c565b9050919050565b7f575553443a206578706972656420646561646c696e6500000000000000000000600082015250565b60006134c56016836128cf565b91506134d08261348f565b602082019050919050565b600060208201905081810360008301526134f4816134b8565b9050919050565b6000613506826129e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361353857613537612e47565b5b600182019050919050565b600060c0820190506135586000830189612b52565b6135656020830188613100565b6135726040830187613100565b61357f6060830186612a94565b61358c6080830185612a94565b61359960a0830184612a94565b979650505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006135e56002836135a4565b91506135f0826135af565b600282019050919050565b6000819050919050565b61361661361182612b48565b6135fb565b82525050565b6000613627826135d8565b91506136338285613605565b6020820191506136438284613605565b6020820191508190509392505050565b60006080820190506136686000830187612b52565b6136756020830186612b1e565b6136826040830185612b52565b61368f6060830184612b52565b95945050505050565b7f575553443a202176616c6964207369676e617475726500000000000000000000600082015250565b60006136ce6016836128cf565b91506136d982613698565b602082019050919050565b600060208201905081810360008301526136fd816136c1565b9050919050565b7f575553443a207472616e7366657220746f203020616464720000000000000000600082015250565b600061373a6018836128cf565b915061374582613704565b602082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f575553443a20616d6f756e74203e2062616c616e636500000000000000000000600082015250565b60006137a66016836128cf565b91506137b182613770565b602082019050919050565b600060208201905081810360008301526137d581613799565b9050919050565b600060a0820190506137f16000830188612b52565b6137fe6020830187612b52565b61380b6040830186612b52565b6138186060830185612a94565b6138256080830184613100565b9695505050505050565b7f575553443a202166696174636f696e0000000000000000000000000000000000600082015250565b6000613865600f836128cf565b91506138708261382f565b602082019050919050565b6000602082019050818103600083015261389481613858565b9050919050565b60006138a6826129e8565b91506138b1836129e8565b92508282026138bf816129e8565b915082820484148315176138d6576138d5612e47565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613917826129e8565b9150613922836129e8565b925082613932576139316138dd565b5b828204905092915050565b7f575553443a206275726e203e2062616c616e6365000000000000000000000000600082015250565b60006139736014836128cf565b915061397e8261393d565b602082019050919050565b600060208201905081810360008301526139a281613966565b9050919050565b6139b281612a5e565b81146139bd57600080fd5b50565b6000815190506139cf816139a9565b92915050565b6000602082840312156139eb576139ea612980565b5b60006139f9848285016139c0565b91505092915050565b6000613a0d82612c1b565b9150613a1883612c1b565b925082820390506dffffffffffffffffffffffffffff811115613a3e57613a3d612e47565b5b92915050565b6000613a4f82612bfc565b9150613a5a83612bfc565b9250828201905063ffffffff811115613a7657613a75612e47565b5b92915050565b6000613a8782612c1b565b9150613a9283612c1b565b925082820190506dffffffffffffffffffffffffffff811115613ab857613ab7612e47565b5b92915050565b7f575553443a206d696e7420746f20302061646472000000000000000000000000600082015250565b6000613af46014836128cf565b9150613aff82613abe565b602082019050919050565b60006020820190508181036000830152613b2381613ae7565b9050919050565b6000606082019050613b3f6000830186613100565b613b4c6020830185613100565b613b596040830184612a94565b949350505050565b600081519050919050565b600081905092915050565b6000613b8282613b61565b613b8c8185613b6c565b9350613b9c8185602086016128e0565b80840191505092915050565b6000613bb48284613b77565b915081905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c018261290a565b810181811067ffffffffffffffff82111715613c2057613c1f613bc9565b5b80604052505050565b6000613c33612976565b9050613c3f8282613bf8565b919050565b600067ffffffffffffffff821115613c5f57613c5e613bc9565b5b613c688261290a565b9050602081019050919050565b6000613c88613c8384613c44565b613c29565b905082815260208101848484011115613ca457613ca3613bc4565b5b613caf8482856128e0565b509392505050565b600082601f830112613ccc57613ccb613bbf565b5b8151613cdc848260208601613c75565b91505092915050565b600060208284031215613cfb57613cfa612980565b5b600082015167ffffffffffffffff811115613d1957613d18612985565b5b613d2584828501613cb7565b9150509291505056fea26469706673582212203404022b546b4808c6b66bf6e786b372f148c71df130b0fc6cdf5b5449392d4c64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000006000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004fabb145d64652a948d72533023f6e7a623c7c530000000000000000000000008e870d67f660d95d5be530380d0ec0bd388289e10000000000000000000000000000000000085d4780b73119b644ae5ecd22b376000000000000000000000000056fd409e1d7a124bd7017459dfea2f387b6d5cd
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c80635c15155e116100a25780639711715a116100715780639711715a14610309578063a457c2d714610327578063a9059cbb14610357578063d505accf14610387578063dd62ed3e146103a357610116565b80635c15155e1461026f57806370a082311461028b5780637ecebe00146102bb57806395d89b41146102eb57610116565b8063313ce567116100e9578063313ce567146101b75780633644e515146101d557806339509351146101f357806339f4769314610223578063582805d91461023f57610116565b806306fdde031461011b578063095ea7b31461013957806318160ddd1461016957806323b872dd14610187575b600080fd5b6101236103d3565b6040516101309190612954565b60405180910390f35b610153600480360381019061014e9190612a1e565b610410565b6040516101609190612a79565b60405180910390f35b610171610427565b60405161017e9190612aa3565b60405180910390f35b6101a1600480360381019061019c9190612abe565b610431565b6040516101ae9190612a79565b60405180910390f35b6101bf610542565b6040516101cc9190612b2d565b60405180910390f35b6101dd61054b565b6040516101ea9190612b61565b60405180910390f35b61020d60048036038101906102089190612a1e565b6105ff565b60405161021a9190612a79565b60405180910390f35b61023d60048036038101906102389190612a1e565b61069d565b005b61025960048036038101906102549190612b7c565b610976565b6040516102669190612aa3565b60405180910390f35b61028960048036038101906102849190612ba9565b6109bf565b005b6102a560048036038101906102a09190612b7c565b611032565b6040516102b29190612aa3565b60405180910390f35b6102d560048036038101906102d09190612b7c565b61107b565b6040516102e29190612aa3565b60405180910390f35b6102f36110c4565b6040516103009190612954565b60405180910390f35b610311611101565b60405161031e9190612c86565b60405180910390f35b610341600480360381019061033c9190612a1e565b6111c9565b60405161034e9190612a79565b60405180910390f35b610371600480360381019061036c9190612a1e565b6112a6565b60405161037e9190612a79565b60405180910390f35b6103a1600480360381019061039c9190612cf9565b6112bd565b005b6103bd60048036038101906103b89190612d9b565b6114e7565b6040516103ca9190612aa3565b60405180910390f35b60606040518060400160405280600b81526020017f5772617070656420555344000000000000000000000000000000000000000000815250905090565b600061041d33848461165a565b6001905092915050565b6000600454905090565b600080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461052b578281101561051d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051490612e27565b60405180910390fd5b61052a853385840361165a565b5b610536858585611745565b60019150509392505050565b60006012905090565b60007f000000000000000000000000068e3563b1c19590f822c0e13445c4fa1b9eefa573ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156105c757507f000000000000000000000000000000000000000000000000000000000000000146145b6105d8576105d3611939565b6105fa565b7faf6d0e2f1bcde6507c941ad32d49576ab77cb41054c49a370e47453f04d688395b905090565b6000610693338484600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461068e9190612e76565b61165a565b6001905092915050565b6001600054146106e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d990612ef6565b60405180910390fd5b60026000819055506106f3826119cf565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600061078283600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a25565b9050600083116107c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107be90612f62565b60405180910390fd5b80600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a61081491906130b5565b8573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161084d919061310f565b602060405180830381865afa15801561086a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088e919061313f565b610898919061316c565b10156108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d0906131ec565b60405180910390fd5b6108e33384611a5a565b6108ed8383611ba2565b61091833828673ffffffffffffffffffffffffffffffffffffffff16611ef39092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fbe8e6aacbb5d99c99f1992d91d807f570d0acacabee02374369ed42710dc6698858560405161096092919061320c565b60405180910390a2505060016000819055505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600160005414610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb90612ef6565b60405180910390fd5b6002600081905550610a15836119cf565b60008211610a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4f90613281565b60405180910390fd5b600080610aa484600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611faf565b91509150610ab181611fe7565b610abb3382612252565b610ac481612391565b610afc33308487610ad59190612e76565b8873ffffffffffffffffffffffffffffffffffffffff1661254f909392919063ffffffff16565b73dac17f958d2ee523a2206206994597c13d831ec773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614158015610b8c575073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b15610dfd5773e592427a0aece92de3edee1f18e0157c0586156473ffffffffffffffffffffffffffffffffffffffff1663414bf3896040518061010001604052808873ffffffffffffffffffffffffffffffffffffffff16815260200173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff1681526020016e085d4780b73119b644ae5ecd22b37673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1603610c62576064610c66565b6101f45b62ffffff168152602001734e23524aa15c689f2d100d49e27f28f8e5088c0d73ffffffffffffffffffffffffffffffffffffffff1663913e77ad6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf391906132b6565b73ffffffffffffffffffffffffffffffffffffffff168152602001428152602001858152602001610d78610d70610d6988600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461260e565b6006611a25565b61251c612643565b8152602001600073ffffffffffffffffffffffffffffffffffffffff168152506040518263ffffffff1660e01b8152600401610db491906133d0565b6020604051808303816000875af1158015610dd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df7919061313f565b50610eab565b610eaa734e23524aa15c689f2d100d49e27f28f8e5088c0d73ffffffffffffffffffffffffffffffffffffffff1663913e77ad6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8391906132b6565b838773ffffffffffffffffffffffffffffffffffffffff16611ef39092919063ffffffff16565b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610fd157734e23524aa15c689f2d100d49e27f28f8e5088c0d73ffffffffffffffffffffffffffffffffffffffff16631f8ecfe56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6291906132b6565b73ffffffffffffffffffffffffffffffffffffffff16635403313d3383866040518463ffffffff1660e01b8152600401610f9e939291906133ec565b600060405180830381600087803b158015610fb857600080fd5b505af1158015610fcc573d6000803e3d6000fd5b505050505b3373ffffffffffffffffffffffffffffffffffffffff167ff1d3997fc28b19c71cb65f023741602104b7d2141875551ff8816a7ffcbab03786868660405161101b939291906133ec565b60405180910390a250506001600081905550505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606040518060400160405280600481526020017f5755534400000000000000000000000000000000000000000000000000000000815250905090565b61110961287d565b60016040518060600160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681526020016000820160129054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681525050905090565b600080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561128e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112859061346f565b60405180910390fd5b61129b338585840361165a565b600191505092915050565b60006112b3338484611745565b6001905092915050565b83421115611300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f7906134db565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888600760008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611376906134fb565b919050558960405160200161139096959493929190613543565b604051602081830303815290604052805190602001209050600060016113b461054b565b836040516020016113c692919061361c565b60405160208183030381529060405280519060200120868686604051600081526020016040526040516113fc9493929190613653565b6020604051602081039080840390855afa15801561141e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561149257508873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b6114d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c8906136e4565b60405180910390fd5b6114dc89898961165a565b505050505050505050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611596836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612666565b905092915050565b6116558363095ea7b360e01b84846040516024016115bd92919061320c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060400160405280600381526020017f21736100000000000000000000000000000000000000000000000000000000008152506126d6565b505050565b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117389190612aa3565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90613750565b60405180910390fd5b6000600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561183b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611832906137bc565b60405180910390fd5b818103600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161192b9190612aa3565b60405180910390a350505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fc877d23a3a36d42c50756fcba8e50ec7910c43e88d8c4d641ed4692c9d3b37c77fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc646306040516020016119b49594939291906137dc565b60405160208183030381529060405280519060200120905090565b6119e38160026127c190919063ffffffff16565b611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a199061387b565b60405180910390fd5b50565b6000670de0b6b3a764000082600a611a3d91906130b5565b84611a48919061389b565b611a52919061390c565b905092915050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad890613989565b60405180910390fd5b818103600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b959190612aa3565b60405180910390a3505050565b60007370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff1663232d88ba336040518263ffffffff1660e01b8152600401611bf1919061310f565b602060405180830381865afa158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c32919061313f565b90506000611cd282611ccd8561271088611c4c919061389b565b611c56919061390c565b6064600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600160000160009054906101000a900463ffffffff1663ffffffff16611cbe919061316c565b611cc8919061389b565b6127f1565b612643565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611eed57828403611df9576000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff16639dc29fac338385611da5919061316c565b6040518363ffffffff1660e01b8152600401611dc292919061320c565b600060405180830381600087803b158015611ddc57600080fd5b505af1158015611df0573d6000803e3d6000fd5b50505050611e59565b600160000160009054906101000a900463ffffffff1663ffffffff16600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b7370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff16637affb63a33836040518363ffffffff1660e01b8152600401611ea892919061320c565b6020604051808303816000875af1158015611ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eeb91906139d5565b505b50505050565b611faa8363a9059cbb60e01b8484604051602401611f1292919061320c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060400160405280600381526020017f21737400000000000000000000000000000000000000000000000000000000008152506126d6565b505050565b600080611fd283600a611fc291906130b5565b611fcd866064612643565b61280a565b611fdc858561260e565b915091509250929050565b600060016040518060600160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681526020016000820160129054906101000a90046dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff166dffffffffffffffffffffffffffff1681525050905069152d02c7e14af6800000816020015182604001516120c59190613a02565b6dffffffffffffffffffffffffffff161061214b57600181600001516120eb9190613a44565b600160000160006101000a81548163ffffffff021916908363ffffffff1602179055508060400151600160000160046101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff1602179055505b68056bc75e2d63100000821015806121a257506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b1561220757600160000160009054906101000a900463ffffffff1663ffffffff16600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b8181604001516122179190613a7c565b600160000160126101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff1602179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b890613b0a565b60405180910390fd5b80600460008282546122d39190612e76565b9250508190555080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516123859190612aa3565b60405180910390a35050565b60007370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016123e0919061310f565b602060405180830381865afa1580156123fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612421919061313f565b905068056bc75e2d6310000082101580156124435750671bc16d674ec8000081105b1561254b577370c5f366db60a2a0c59c4c24754803ee47ed728473ffffffffffffffffffffffffffffffffffffffff166339b0f3cd336124fb84671bc16d674ec80000612490919061316c565b683635c9adc5dea0000087116124cc57683635c9adc5dea0000087662386f26fc100006124bd919061389b565b6124c7919061390c565b6124f6565b69152d02c7e14af680000087671bc16d674ec800006124eb919061389b565b6124f5919061390c565b5b6127f1565b6040518363ffffffff1660e01b815260040161251892919061320c565b600060405180830381600087803b15801561253257600080fd5b505af1158015612546573d6000803e3d6000fd5b505050505b5050565b612608846323b872dd60e01b85858560405160240161257093929190613b2a565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060400160405280600481526020017f21737466000000000000000000000000000000000000000000000000000000008152506126d6565b50505050565b600081600a61261d91906130b5565b670de0b6b3a764000084612631919061389b565b61263b919061390c565b905092915050565b60006127108284612654919061389b565b61265e919061390c565b905092915050565b60006126728383612823565b6126cb5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506126d0565b600090505b92915050565b6000808473ffffffffffffffffffffffffffffffffffffffff16846040516126fe9190613ba8565b6000604051808303816000865af19150503d806000811461273b576040519150601f19603f3d011682016040523d82523d6000602084013e612740565b606091505b509150915081801561276e575060008151148061276d57508080602001905181019061276c91906139d5565b5b5b6127788285612846565b906127b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b09190612954565b60405180910390fd5b505050505050565b60006127e9836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612823565b905092915050565b60008183106128005781612802565b825b905092915050565b6000818311612819578161281b565b825b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b606060448351101561285a57819050612877565b600483019250828060200190518101906128749190613ce5565b90505b92915050565b6040518060600160405280600063ffffffff16815260200160006dffffffffffffffffffffffffffff16815260200160006dffffffffffffffffffffffffffff1681525090565b600081519050919050565b600082825260208201905092915050565b60005b838110156128fe5780820151818401526020810190506128e3565b60008484015250505050565b6000601f19601f8301169050919050565b6000612926826128c4565b61293081856128cf565b93506129408185602086016128e0565b6129498161290a565b840191505092915050565b6000602082019050818103600083015261296e818461291b565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129b58261298a565b9050919050565b6129c5816129aa565b81146129d057600080fd5b50565b6000813590506129e2816129bc565b92915050565b6000819050919050565b6129fb816129e8565b8114612a0657600080fd5b50565b600081359050612a18816129f2565b92915050565b60008060408385031215612a3557612a34612980565b5b6000612a43858286016129d3565b9250506020612a5485828601612a09565b9150509250929050565b60008115159050919050565b612a7381612a5e565b82525050565b6000602082019050612a8e6000830184612a6a565b92915050565b612a9d816129e8565b82525050565b6000602082019050612ab86000830184612a94565b92915050565b600080600060608486031215612ad757612ad6612980565b5b6000612ae5868287016129d3565b9350506020612af6868287016129d3565b9250506040612b0786828701612a09565b9150509250925092565b600060ff82169050919050565b612b2781612b11565b82525050565b6000602082019050612b426000830184612b1e565b92915050565b6000819050919050565b612b5b81612b48565b82525050565b6000602082019050612b766000830184612b52565b92915050565b600060208284031215612b9257612b91612980565b5b6000612ba0848285016129d3565b91505092915050565b600080600060608486031215612bc257612bc1612980565b5b6000612bd0868287016129d3565b9350506020612be186828701612a09565b9250506040612bf2868287016129d3565b9150509250925092565b600063ffffffff82169050919050565b612c1581612bfc565b82525050565b60006dffffffffffffffffffffffffffff82169050919050565b612c3e81612c1b565b82525050565b606082016000820151612c5a6000850182612c0c565b506020820151612c6d6020850182612c35565b506040820151612c806040850182612c35565b50505050565b6000606082019050612c9b6000830184612c44565b92915050565b612caa81612b11565b8114612cb557600080fd5b50565b600081359050612cc781612ca1565b92915050565b612cd681612b48565b8114612ce157600080fd5b50565b600081359050612cf381612ccd565b92915050565b600080600080600080600060e0888a031215612d1857612d17612980565b5b6000612d268a828b016129d3565b9750506020612d378a828b016129d3565b9650506040612d488a828b01612a09565b9550506060612d598a828b01612a09565b9450506080612d6a8a828b01612cb8565b93505060a0612d7b8a828b01612ce4565b92505060c0612d8c8a828b01612ce4565b91505092959891949750929550565b60008060408385031215612db257612db1612980565b5b6000612dc0858286016129d3565b9250506020612dd1858286016129d3565b9150509250929050565b7f575553443a2021656e6f75676820616c6c6f77616e6365000000000000000000600082015250565b6000612e116017836128cf565b9150612e1c82612ddb565b602082019050919050565b60006020820190508181036000830152612e4081612e04565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e81826129e8565b9150612e8c836129e8565b9250828201905080821115612ea457612ea3612e47565b5b92915050565b7f7265656e7472616e636500000000000000000000000000000000000000000000600082015250565b6000612ee0600a836128cf565b9150612eeb82612eaa565b602082019050919050565b60006020820190508181036000830152612f0f81612ed3565b9050919050565b7f575553443a20756e777261702830290000000000000000000000000000000000600082015250565b6000612f4c600f836128cf565b9150612f5782612f16565b602082019050919050565b60006020820190508181036000830152612f7b81612f3f565b9050919050565b60008160011c9050919050565b6000808291508390505b6001851115612fd957808604811115612fb557612fb4612e47565b5b6001851615612fc45780820291505b8081029050612fd285612f82565b9450612f99565b94509492505050565b600082612ff257600190506130ae565b8161300057600090506130ae565b816001811461301657600281146130205761304f565b60019150506130ae565b60ff84111561303257613031612e47565b5b8360020a91508482111561304957613048612e47565b5b506130ae565b5060208310610133831016604e8410600b84101617156130845782820a90508381111561307f5761307e612e47565b5b6130ae565b6130918484846001612f8f565b925090508184048111156130a8576130a7612e47565b5b81810290505b9392505050565b60006130c0826129e8565b91506130cb836129e8565b92506130f87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612fe2565b905092915050565b613109816129aa565b82525050565b60006020820190506131246000830184613100565b92915050565b600081519050613139816129f2565b92915050565b60006020828403121561315557613154612980565b5b60006131638482850161312a565b91505092915050565b6000613177826129e8565b9150613182836129e8565b925082820390508181111561319a57613199612e47565b5b92915050565b7f575553443a2021656e6f7567682066696174636f696e00000000000000000000600082015250565b60006131d66016836128cf565b91506131e1826131a0565b602082019050919050565b60006020820190508181036000830152613205816131c9565b9050919050565b60006040820190506132216000830185613100565b61322e6020830184612a94565b9392505050565b7f575553443a207772617028302900000000000000000000000000000000000000600082015250565b600061326b600d836128cf565b915061327682613235565b602082019050919050565b6000602082019050818103600083015261329a8161325e565b9050919050565b6000815190506132b0816129bc565b92915050565b6000602082840312156132cc576132cb612980565b5b60006132da848285016132a1565b91505092915050565b6132ec816129aa565b82525050565b600062ffffff82169050919050565b61330a816132f2565b82525050565b613319816129e8565b82525050565b6133288161298a565b82525050565b6101008201600082015161334560008501826132e3565b50602082015161335860208501826132e3565b50604082015161336b6040850182613301565b50606082015161337e60608501826132e3565b5060808201516133916080850182613310565b5060a08201516133a460a0850182613310565b5060c08201516133b760c0850182613310565b5060e08201516133ca60e085018261331f565b50505050565b6000610100820190506133e6600083018461332e565b92915050565b60006060820190506134016000830186613100565b61340e6020830185612a94565b61341b6040830184613100565b949350505050565b7f575553443a2064656372656173696e67203c2030000000000000000000000000600082015250565b60006134596014836128cf565b915061346482613423565b602082019050919050565b600060208201905081810360008301526134888161344c565b9050919050565b7f575553443a206578706972656420646561646c696e6500000000000000000000600082015250565b60006134c56016836128cf565b91506134d08261348f565b602082019050919050565b600060208201905081810360008301526134f4816134b8565b9050919050565b6000613506826129e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361353857613537612e47565b5b600182019050919050565b600060c0820190506135586000830189612b52565b6135656020830188613100565b6135726040830187613100565b61357f6060830186612a94565b61358c6080830185612a94565b61359960a0830184612a94565b979650505050505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006135e56002836135a4565b91506135f0826135af565b600282019050919050565b6000819050919050565b61361661361182612b48565b6135fb565b82525050565b6000613627826135d8565b91506136338285613605565b6020820191506136438284613605565b6020820191508190509392505050565b60006080820190506136686000830187612b52565b6136756020830186612b1e565b6136826040830185612b52565b61368f6060830184612b52565b95945050505050565b7f575553443a202176616c6964207369676e617475726500000000000000000000600082015250565b60006136ce6016836128cf565b91506136d982613698565b602082019050919050565b600060208201905081810360008301526136fd816136c1565b9050919050565b7f575553443a207472616e7366657220746f203020616464720000000000000000600082015250565b600061373a6018836128cf565b915061374582613704565b602082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f575553443a20616d6f756e74203e2062616c616e636500000000000000000000600082015250565b60006137a66016836128cf565b91506137b182613770565b602082019050919050565b600060208201905081810360008301526137d581613799565b9050919050565b600060a0820190506137f16000830188612b52565b6137fe6020830187612b52565b61380b6040830186612b52565b6138186060830185612a94565b6138256080830184613100565b9695505050505050565b7f575553443a202166696174636f696e0000000000000000000000000000000000600082015250565b6000613865600f836128cf565b91506138708261382f565b602082019050919050565b6000602082019050818103600083015261389481613858565b9050919050565b60006138a6826129e8565b91506138b1836129e8565b92508282026138bf816129e8565b915082820484148315176138d6576138d5612e47565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613917826129e8565b9150613922836129e8565b925082613932576139316138dd565b5b828204905092915050565b7f575553443a206275726e203e2062616c616e6365000000000000000000000000600082015250565b60006139736014836128cf565b915061397e8261393d565b602082019050919050565b600060208201905081810360008301526139a281613966565b9050919050565b6139b281612a5e565b81146139bd57600080fd5b50565b6000815190506139cf816139a9565b92915050565b6000602082840312156139eb576139ea612980565b5b60006139f9848285016139c0565b91505092915050565b6000613a0d82612c1b565b9150613a1883612c1b565b925082820390506dffffffffffffffffffffffffffff811115613a3e57613a3d612e47565b5b92915050565b6000613a4f82612bfc565b9150613a5a83612bfc565b9250828201905063ffffffff811115613a7657613a75612e47565b5b92915050565b6000613a8782612c1b565b9150613a9283612c1b565b925082820190506dffffffffffffffffffffffffffff811115613ab857613ab7612e47565b5b92915050565b7f575553443a206d696e7420746f20302061646472000000000000000000000000600082015250565b6000613af46014836128cf565b9150613aff82613abe565b602082019050919050565b60006020820190508181036000830152613b2381613ae7565b9050919050565b6000606082019050613b3f6000830186613100565b613b4c6020830185613100565b613b596040830184612a94565b949350505050565b600081519050919050565b600081905092915050565b6000613b8282613b61565b613b8c8185613b6c565b9350613b9c8185602086016128e0565b80840191505092915050565b6000613bb48284613b77565b915081905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c018261290a565b810181811067ffffffffffffffff82111715613c2057613c1f613bc9565b5b80604052505050565b6000613c33612976565b9050613c3f8282613bf8565b919050565b600067ffffffffffffffff821115613c5f57613c5e613bc9565b5b613c688261290a565b9050602081019050919050565b6000613c88613c8384613c44565b613c29565b905082815260208101848484011115613ca457613ca3613bc4565b5b613caf8482856128e0565b509392505050565b600082601f830112613ccc57613ccb613bbf565b5b8151613cdc848260208601613c75565b91505092915050565b600060208284031215613cfb57613cfa612980565b5b600082015167ffffffffffffffff811115613d1957613d18612985565b5b613d2584828501613cb7565b9150509291505056fea26469706673582212203404022b546b4808c6b66bf6e786b372f148c71df130b0fc6cdf5b5449392d4c64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000006000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000004fabb145d64652a948d72533023f6e7a623c7c530000000000000000000000008e870d67f660d95d5be530380d0ec0bd388289e10000000000000000000000000000000000085d4780b73119b644ae5ecd22b376000000000000000000000000056fd409e1d7a124bd7017459dfea2f387b6d5cd
-----Decoded View---------------
Arg [0] : fiatcoins (address[]): 0xdAC17F958D2ee523a2206206994597C13D831ec7,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,0x4Fabb145d64652a948d72533023f6E7A623C7C53,0x8E870D67F660D95d5be530380D0eC0bd388289E1,0x0000000000085d4780B73119b644AE5ecd22b376,0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [2] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [4] : 0000000000000000000000004fabb145d64652a948d72533023f6e7a623c7c53
Arg [5] : 0000000000000000000000008e870d67f660d95d5be530380d0ec0bd388289e1
Arg [6] : 0000000000000000000000000000000000085d4780b73119b644ae5ecd22b376
Arg [7] : 000000000000000000000000056fd409e1d7a124bd7017459dfea2f387b6d5cd
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.