Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 505 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21403923 | 10 days ago | IN | 0 ETH | 0.00021327 | ||||
Transfer | 21255650 | 31 days ago | IN | 0 ETH | 0.00046141 | ||||
Approve | 21101016 | 52 days ago | IN | 0 ETH | 0.00066151 | ||||
Bridged To | 21101007 | 52 days ago | IN | 0 ETH | 0.00103653 | ||||
Approve | 21015349 | 64 days ago | IN | 0 ETH | 0.00051391 | ||||
Approve | 20980177 | 69 days ago | IN | 0 ETH | 0.00036538 | ||||
Approve | 20865682 | 85 days ago | IN | 0 ETH | 0.00048217 | ||||
Approve | 20812556 | 92 days ago | IN | 0 ETH | 0.00083566 | ||||
Approve | 20734215 | 103 days ago | IN | 0 ETH | 0.00013351 | ||||
Approve | 20609574 | 121 days ago | IN | 0 ETH | 0.00012688 | ||||
Approve | 20430657 | 146 days ago | IN | 0 ETH | 0.00017056 | ||||
Approve | 20428538 | 146 days ago | IN | 0 ETH | 0.0007826 | ||||
Approve | 20354843 | 156 days ago | IN | 0 ETH | 0.00006539 | ||||
Approve | 20354761 | 156 days ago | IN | 0 ETH | 0.00006035 | ||||
Approve | 20354756 | 156 days ago | IN | 0 ETH | 0.00010149 | ||||
Bridged To | 20236918 | 173 days ago | IN | 0 ETH | 0.00058933 | ||||
Approve | 20166610 | 183 days ago | IN | 0 ETH | 0.00014291 | ||||
Approve | 20166603 | 183 days ago | IN | 0 ETH | 0.0001554 | ||||
Approve | 20140506 | 186 days ago | IN | 0 ETH | 0.00039349 | ||||
Bridged To | 20140417 | 186 days ago | IN | 0 ETH | 0.0004504 | ||||
Approve | 20099728 | 192 days ago | IN | 0 ETH | 0.00013874 | ||||
Approve | 20067893 | 196 days ago | IN | 0 ETH | 0.00046858 | ||||
Approve | 20067888 | 196 days ago | IN | 0 ETH | 0.00074211 | ||||
Approve | 20067766 | 196 days ago | IN | 0 ETH | 0.00062568 | ||||
Approve | 20057026 | 198 days ago | IN | 0 ETH | 0.00028517 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
wTIA
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-01-13 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } /** * @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); } } } /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } contract wTIA is ERC20, Ownable, AccessControl { using SafeMath for uint256; // Roles // access role to call bridgedTo bytes32 public constant BRIDGE_ROLE = keccak256("TIA_BRIDGE"); uint256 public _nonce = 0; uint256 public CELESTIA_FEE = 1000000000; // 1 wTIA uint256 public cumulative_bridged = 0; uint256 public cumulative_bridged_back = 0; // events event Mint(address indexed to, uint256 amount); event BridgedTo(string from, address indexed to, uint256 amount, uint256 nonce); // burn events include a signed message of where to bridge funds to event BridgedBack(address indexed from, uint256 amount, string to, uint256 nonce); event BridgeSet(address indexed bridge); constructor() ERC20("Wrapped TIA", "wTIA") { // set owner as admin _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); } function decimals() public view virtual override returns (uint8) { return 9; } function setBridge(address _bridge) public onlyOwner returns(bool) { _setupRole(BRIDGE_ROLE, _bridge); return true; } function bridgedTo(string[] memory _froms, address[] memory _tos, uint256[] memory _amounts) public returns(bool) { require(hasRole(BRIDGE_ROLE, _msgSender()), "Caller is not the bridge"); // require all arrays are the same length require(_froms.length == _tos.length && _froms.length == _amounts.length, "Arrays are not the same length"); // loop through arrays and mint for (uint256 i = 0; i < _froms.length; i++) { _mint(_tos[i], _amounts[i]); cumulative_bridged = cumulative_bridged.add(_amounts[i]); emit BridgedTo(_froms[i], _tos[i], _amounts[i], _nonce); _nonce++; } return true; } function bridgeBack(uint256 _amount, string memory _to) public returns(bool) { require(_amount <= balanceOf(_msgSender()), "Not enough balance"); // require greater than 1 wTIA for gas purposes. require(_amount > CELESTIA_FEE, "Does not meet minimum amount for gas (1 wTIA)"); _burn(msg.sender, _amount); _nonce++; cumulative_bridged_back = cumulative_bridged_back.add(_amount); emit BridgedBack(_msgSender(), _amount, _to, _nonce); return true; } function deployer() public view returns (address) { return owner(); } // reclaim stuck sent tokens function reclaimToken(address _token) public onlyOwner { ERC20 token = ERC20(_token); uint256 balance = token.balanceOf(address(this)); token.transfer(owner(), balance); payable(owner()).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bridge","type":"address"}],"name":"BridgeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"to","type":"string"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"BridgedBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"from","type":"string"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"BridgedTo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BRIDGE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CELESTIA_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"string","name":"_to","type":"string"}],"name":"bridgeBack","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_froms","type":"string[]"},{"internalType":"address[]","name":"_tos","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"bridgedTo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cumulative_bridged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cumulative_bridged_back","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"reclaimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"setBridge","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600755633b9aca0060085560006009556000600a553480156200002857600080fd5b506040518060400160405280600b81526020016a577261707065642054494160a81b815250604051806040016040528060048152602001637754494160e01b81525081600390816200007b919062000269565b5060046200008a828262000269565b505050620000a7620000a1620000ba60201b60201c565b620000be565b620000b460003362000110565b62000335565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200011c828262000120565b5050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff166200011c5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001803390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001ef57607f821691505b6020821081036200021057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026457600081815260208120601f850160051c810160208610156200023f5750805b601f850160051c820191505b8181101562000260578281556001016200024b565b5050505b505050565b81516001600160401b03811115620002855762000285620001c4565b6200029d81620002968454620001da565b8462000216565b602080601f831160018114620002d55760008415620002bc5750858301515b600019600386901b1c1916600185901b17855562000260565b600085815260208120601f198616915b828110156200030657888601518255948401946001909101908401620002e5565b5085821015620003255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e5380620003456000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063a457c2d7116100a2578063d5f3948811610071578063d5f3948814610436578063dd0200fa1461043e578063dd62ed3e14610447578063f2fde38b1461048057600080fd5b8063a457c2d7146103d6578063a9059cbb146103e9578063b5bfddea146103fc578063d547741f1461042357600080fd5b80638dd14802116100de5780638dd148021461037a57806391d148541461038d57806395d89b41146103c6578063a217fddf146103ce57600080fd5b806370a082311461031b578063715018a61461034457806373a57b321461034c5780638da5cb5b1461035557600080fd5b806323b872dd11610187578063313ce56711610156578063313ce567146102dd57806336568abe146102ec57806339509351146102ff5780635d1222aa1461031257600080fd5b806323b872dd14610281578063248a9ca3146102945780632a383090146102b75780632f2ff15d146102ca57600080fd5b8063095ea7b3116101c3578063095ea7b31461023e5780631264612a1461025157806317ffc3201461026457806318160ddd1461027957600080fd5b806301ffc9a7146101ea57806306fdde03146102125780630705d87d14610227575b600080fd5b6101fd6101f83660046117d8565b610493565b60405190151581526020015b60405180910390f35b61021a6104fc565b6040516102099190611852565b61023060095481565b604051908152602001610209565b6101fd61024c36600461187c565b61058e565b6101fd61025f366004611a4e565b6105a6565b610277610272366004611b46565b6107c1565b005b600254610230565b6101fd61028f366004611b61565b610923565b6102306102a2366004611b9d565b60009081526006602052604090206001015490565b6101fd6102c5366004611bb6565b61093c565b6102776102d8366004611bfd565b610a8c565b60405160098152602001610209565b6102776102fa366004611bfd565b610ab6565b6101fd61030d36600461187c565b610b42565b61023060075481565b610230610329366004611b46565b6001600160a01b031660009081526020819052604090205490565b610277610b81565b61023060085481565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610209565b6101fd610388366004611b46565b610b95565b6101fd61039b366004611bfd565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61021a610bd2565b610230600081565b6101fd6103e436600461187c565b610be1565b6101fd6103f736600461187c565b610c8b565b6102307faae5aa8af63ee1d41c0538c04ba3d63acd6348c226835d252faf2eaf728e5fde81565b610277610431366004611bfd565b610c99565b610362610cbe565b610230600a5481565b610230610455366004611c29565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61027761048e366004611b46565b610cd7565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806104f657507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606003805461050b90611c53565b80601f016020809104026020016040519081016040528092919081815260200182805461053790611c53565b80156105845780601f1061055957610100808354040283529160200191610584565b820191906000526020600020905b81548152906001019060200180831161056757829003601f168201915b5050505050905090565b60003361059c818585610d67565b5060019392505050565b60006105d27faae5aa8af63ee1d41c0538c04ba3d63acd6348c226835d252faf2eaf728e5fde3361039b565b6106235760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f742074686520627269646765000000000000000060448201526064015b60405180910390fd5b82518451148015610635575081518451145b6106815760405162461bcd60e51b815260206004820152601e60248201527f41727261797320617265206e6f74207468652073616d65206c656e6774680000604482015260640161061a565b60005b84518110156107b6576106c98482815181106106a2576106a2611c8d565b60200260200101518483815181106106bc576106bc611c8d565b6020026020010151610ebf565b6106f78382815181106106de576106de611c8d565b6020026020010151600954610f7e90919063ffffffff16565b600955835184908290811061070e5761070e611c8d565b60200260200101516001600160a01b03167f0fbbc01bbb8a23dcd9d7a3574a59cfc1d9666fe58f809db2f15c8b4c947af5b786838151811061075257610752611c8d565b602002602001015185848151811061076c5761076c611c8d565b602002602001015160075460405161078693929190611ca3565b60405180910390a26007805490600061079e83611cde565b919050555080806107ae90611cde565b915050610684565b506001949350505050565b6107c9610f91565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561082b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084f9190611cf7565b9050816001600160a01b031663a9059cbb6108726005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156108bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e39190611d10565b506005546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561091d573d6000803e3d6000fd5b50505050565b600033610931858285610feb565b6107b6858585611077565b600061094733610329565b8311156109965760405162461bcd60e51b815260206004820152601260248201527f4e6f7420656e6f7567682062616c616e63650000000000000000000000000000604482015260640161061a565b6008548311610a0d5760405162461bcd60e51b815260206004820152602d60248201527f446f6573206e6f74206d656574206d696e696d756d20616d6f756e7420666f7260448201527f2067617320283120775449412900000000000000000000000000000000000000606482015260840161061a565b610a173384611264565b60078054906000610a2783611cde565b9091555050600a54610a399084610f7e565b600a55336001600160a01b03167f4afd1bdc25334c0d6cc44e4d4d5d27197d8904b74146e9bb318349fc67db1afc8484600754604051610a7b93929190611d32565b60405180910390a250600192915050565b600082815260066020526040902060010154610aa7816113cd565b610ab183836113d7565b505050565b6001600160a01b0381163314610b345760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161061a565b610b3e8282611479565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061059c9082908690610b7c908790611d5b565b610d67565b610b89610f91565b610b9360006114fc565b565b6000610b9f610f91565b610bc97faae5aa8af63ee1d41c0538c04ba3d63acd6348c226835d252faf2eaf728e5fde83611566565b5060015b919050565b60606004805461050b90611c53565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610c7e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161061a565b6107b68286868403610d67565b60003361059c818585611077565b600082815260066020526040902060010154610cb4816113cd565b610ab18383611479565b6000610cd26005546001600160a01b031690565b905090565b610cdf610f91565b6001600160a01b038116610d5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161061a565b610d64816114fc565b50565b6001600160a01b038316610de25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b038216610e5e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610f155760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161061a565b8060026000828254610f279190611d5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000610f8a8284611d5b565b9392505050565b6005546001600160a01b03163314610b935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061a565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461091d578181101561106a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161061a565b61091d8484848403610d67565b6001600160a01b0383166110f35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b03821661116f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b038316600090815260208190526040902054818110156111fe5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361091d565b6001600160a01b0382166112e05760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b0382166000908152602081905260409020548181101561136f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b610d648133611570565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610b3e5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556114353390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff1615610b3e5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b3e82826113d7565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610b3e576115a3816115e5565b6115ae8360206115f7565b6040516020016115bf929190611d6e565b60408051601f198184030181529082905262461bcd60e51b825261061a91600401611852565b60606104f66001600160a01b03831660145b60606000611606836002611def565b611611906002611d5b565b67ffffffffffffffff811115611629576116296118a6565b6040519080825280601f01601f191660200182016040528015611653576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061168a5761168a611c8d565b60200101906001600160f81b031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106116d5576116d5611c8d565b60200101906001600160f81b031916908160001a90535060006116f9846002611def565b611704906001611d5b565b90505b6001811115611789577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061174557611745611c8d565b1a60f81b82828151811061175b5761175b611c8d565b60200101906001600160f81b031916908160001a90535060049490941c9361178281611e06565b9050611707565b508315610f8a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161061a565b6000602082840312156117ea57600080fd5b81356001600160e01b031981168114610f8a57600080fd5b60005b8381101561181d578181015183820152602001611805565b50506000910152565b6000815180845261183e816020860160208601611802565b601f01601f19169290920160200192915050565b602081526000610f8a6020830184611826565b80356001600160a01b0381168114610bcd57600080fd5b6000806040838503121561188f57600080fd5b61189883611865565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118e5576118e56118a6565b604052919050565b600067ffffffffffffffff821115611907576119076118a6565b5060051b60200190565b600082601f83011261192257600080fd5b813567ffffffffffffffff81111561193c5761193c6118a6565b61194f601f8201601f19166020016118bc565b81815284602083860101111561196457600080fd5b816020850160208301376000918101602001919091529392505050565b600082601f83011261199257600080fd5b813560206119a76119a2836118ed565b6118bc565b82815260059290921b840181019181810190868411156119c657600080fd5b8286015b848110156119e8576119db81611865565b83529183019183016119ca565b509695505050505050565b600082601f830112611a0457600080fd5b81356020611a146119a2836118ed565b82815260059290921b84018101918181019086841115611a3357600080fd5b8286015b848110156119e85780358352918301918301611a37565b600080600060608486031215611a6357600080fd5b833567ffffffffffffffff80821115611a7b57600080fd5b818601915086601f830112611a8f57600080fd5b81356020611a9f6119a2836118ed565b82815260059290921b8401810191818101908a841115611abe57600080fd5b8286015b84811015611af657803586811115611ada5760008081fd5b611ae88d86838b0101611911565b845250918301918301611ac2565b5097505087013592505080821115611b0d57600080fd5b611b1987838801611981565b93506040860135915080821115611b2f57600080fd5b50611b3c868287016119f3565b9150509250925092565b600060208284031215611b5857600080fd5b610f8a82611865565b600080600060608486031215611b7657600080fd5b611b7f84611865565b9250611b8d60208501611865565b9150604084013590509250925092565b600060208284031215611baf57600080fd5b5035919050565b60008060408385031215611bc957600080fd5b82359150602083013567ffffffffffffffff811115611be757600080fd5b611bf385828601611911565b9150509250929050565b60008060408385031215611c1057600080fd5b82359150611c2060208401611865565b90509250929050565b60008060408385031215611c3c57600080fd5b611c4583611865565b9150611c2060208401611865565b600181811c90821680611c6757607f821691505b602082108103611c8757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b606081526000611cb66060830186611826565b60208301949094525060400152919050565b634e487b7160e01b600052601160045260246000fd5b600060018201611cf057611cf0611cc8565b5060010190565b600060208284031215611d0957600080fd5b5051919050565b600060208284031215611d2257600080fd5b81518015158114610f8a57600080fd5b838152606060208201526000611d4b6060830185611826565b9050826040830152949350505050565b808201808211156104f6576104f6611cc8565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611da6816017850160208801611802565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351611de3816028840160208801611802565b01602801949350505050565b80820281158282048414176104f6576104f6611cc8565b600081611e1557611e15611cc8565b50600019019056fea2646970667358221220c169662779051594babcd678b0763c8d6318ef82101d920841c956fd86ae640464736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063a457c2d7116100a2578063d5f3948811610071578063d5f3948814610436578063dd0200fa1461043e578063dd62ed3e14610447578063f2fde38b1461048057600080fd5b8063a457c2d7146103d6578063a9059cbb146103e9578063b5bfddea146103fc578063d547741f1461042357600080fd5b80638dd14802116100de5780638dd148021461037a57806391d148541461038d57806395d89b41146103c6578063a217fddf146103ce57600080fd5b806370a082311461031b578063715018a61461034457806373a57b321461034c5780638da5cb5b1461035557600080fd5b806323b872dd11610187578063313ce56711610156578063313ce567146102dd57806336568abe146102ec57806339509351146102ff5780635d1222aa1461031257600080fd5b806323b872dd14610281578063248a9ca3146102945780632a383090146102b75780632f2ff15d146102ca57600080fd5b8063095ea7b3116101c3578063095ea7b31461023e5780631264612a1461025157806317ffc3201461026457806318160ddd1461027957600080fd5b806301ffc9a7146101ea57806306fdde03146102125780630705d87d14610227575b600080fd5b6101fd6101f83660046117d8565b610493565b60405190151581526020015b60405180910390f35b61021a6104fc565b6040516102099190611852565b61023060095481565b604051908152602001610209565b6101fd61024c36600461187c565b61058e565b6101fd61025f366004611a4e565b6105a6565b610277610272366004611b46565b6107c1565b005b600254610230565b6101fd61028f366004611b61565b610923565b6102306102a2366004611b9d565b60009081526006602052604090206001015490565b6101fd6102c5366004611bb6565b61093c565b6102776102d8366004611bfd565b610a8c565b60405160098152602001610209565b6102776102fa366004611bfd565b610ab6565b6101fd61030d36600461187c565b610b42565b61023060075481565b610230610329366004611b46565b6001600160a01b031660009081526020819052604090205490565b610277610b81565b61023060085481565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610209565b6101fd610388366004611b46565b610b95565b6101fd61039b366004611bfd565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61021a610bd2565b610230600081565b6101fd6103e436600461187c565b610be1565b6101fd6103f736600461187c565b610c8b565b6102307faae5aa8af63ee1d41c0538c04ba3d63acd6348c226835d252faf2eaf728e5fde81565b610277610431366004611bfd565b610c99565b610362610cbe565b610230600a5481565b610230610455366004611c29565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61027761048e366004611b46565b610cd7565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806104f657507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606003805461050b90611c53565b80601f016020809104026020016040519081016040528092919081815260200182805461053790611c53565b80156105845780601f1061055957610100808354040283529160200191610584565b820191906000526020600020905b81548152906001019060200180831161056757829003601f168201915b5050505050905090565b60003361059c818585610d67565b5060019392505050565b60006105d27faae5aa8af63ee1d41c0538c04ba3d63acd6348c226835d252faf2eaf728e5fde3361039b565b6106235760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f742074686520627269646765000000000000000060448201526064015b60405180910390fd5b82518451148015610635575081518451145b6106815760405162461bcd60e51b815260206004820152601e60248201527f41727261797320617265206e6f74207468652073616d65206c656e6774680000604482015260640161061a565b60005b84518110156107b6576106c98482815181106106a2576106a2611c8d565b60200260200101518483815181106106bc576106bc611c8d565b6020026020010151610ebf565b6106f78382815181106106de576106de611c8d565b6020026020010151600954610f7e90919063ffffffff16565b600955835184908290811061070e5761070e611c8d565b60200260200101516001600160a01b03167f0fbbc01bbb8a23dcd9d7a3574a59cfc1d9666fe58f809db2f15c8b4c947af5b786838151811061075257610752611c8d565b602002602001015185848151811061076c5761076c611c8d565b602002602001015160075460405161078693929190611ca3565b60405180910390a26007805490600061079e83611cde565b919050555080806107ae90611cde565b915050610684565b506001949350505050565b6107c9610f91565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561082b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084f9190611cf7565b9050816001600160a01b031663a9059cbb6108726005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156108bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e39190611d10565b506005546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561091d573d6000803e3d6000fd5b50505050565b600033610931858285610feb565b6107b6858585611077565b600061094733610329565b8311156109965760405162461bcd60e51b815260206004820152601260248201527f4e6f7420656e6f7567682062616c616e63650000000000000000000000000000604482015260640161061a565b6008548311610a0d5760405162461bcd60e51b815260206004820152602d60248201527f446f6573206e6f74206d656574206d696e696d756d20616d6f756e7420666f7260448201527f2067617320283120775449412900000000000000000000000000000000000000606482015260840161061a565b610a173384611264565b60078054906000610a2783611cde565b9091555050600a54610a399084610f7e565b600a55336001600160a01b03167f4afd1bdc25334c0d6cc44e4d4d5d27197d8904b74146e9bb318349fc67db1afc8484600754604051610a7b93929190611d32565b60405180910390a250600192915050565b600082815260066020526040902060010154610aa7816113cd565b610ab183836113d7565b505050565b6001600160a01b0381163314610b345760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c660000000000000000000000000000000000606482015260840161061a565b610b3e8282611479565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061059c9082908690610b7c908790611d5b565b610d67565b610b89610f91565b610b9360006114fc565b565b6000610b9f610f91565b610bc97faae5aa8af63ee1d41c0538c04ba3d63acd6348c226835d252faf2eaf728e5fde83611566565b5060015b919050565b60606004805461050b90611c53565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610c7e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161061a565b6107b68286868403610d67565b60003361059c818585611077565b600082815260066020526040902060010154610cb4816113cd565b610ab18383611479565b6000610cd26005546001600160a01b031690565b905090565b610cdf610f91565b6001600160a01b038116610d5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161061a565b610d64816114fc565b50565b6001600160a01b038316610de25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b038216610e5e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610f155760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161061a565b8060026000828254610f279190611d5b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000610f8a8284611d5b565b9392505050565b6005546001600160a01b03163314610b935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061a565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461091d578181101561106a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161061a565b61091d8484848403610d67565b6001600160a01b0383166110f35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b03821661116f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b038316600090815260208190526040902054818110156111fe5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361091d565b6001600160a01b0382166112e05760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b0382166000908152602081905260409020548181101561136f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161061a565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b610d648133611570565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610b3e5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556114353390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff1615610b3e5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b3e82826113d7565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610b3e576115a3816115e5565b6115ae8360206115f7565b6040516020016115bf929190611d6e565b60408051601f198184030181529082905262461bcd60e51b825261061a91600401611852565b60606104f66001600160a01b03831660145b60606000611606836002611def565b611611906002611d5b565b67ffffffffffffffff811115611629576116296118a6565b6040519080825280601f01601f191660200182016040528015611653576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061168a5761168a611c8d565b60200101906001600160f81b031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106116d5576116d5611c8d565b60200101906001600160f81b031916908160001a90535060006116f9846002611def565b611704906001611d5b565b90505b6001811115611789577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061174557611745611c8d565b1a60f81b82828151811061175b5761175b611c8d565b60200101906001600160f81b031916908160001a90535060049490941c9361178281611e06565b9050611707565b508315610f8a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161061a565b6000602082840312156117ea57600080fd5b81356001600160e01b031981168114610f8a57600080fd5b60005b8381101561181d578181015183820152602001611805565b50506000910152565b6000815180845261183e816020860160208601611802565b601f01601f19169290920160200192915050565b602081526000610f8a6020830184611826565b80356001600160a01b0381168114610bcd57600080fd5b6000806040838503121561188f57600080fd5b61189883611865565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118e5576118e56118a6565b604052919050565b600067ffffffffffffffff821115611907576119076118a6565b5060051b60200190565b600082601f83011261192257600080fd5b813567ffffffffffffffff81111561193c5761193c6118a6565b61194f601f8201601f19166020016118bc565b81815284602083860101111561196457600080fd5b816020850160208301376000918101602001919091529392505050565b600082601f83011261199257600080fd5b813560206119a76119a2836118ed565b6118bc565b82815260059290921b840181019181810190868411156119c657600080fd5b8286015b848110156119e8576119db81611865565b83529183019183016119ca565b509695505050505050565b600082601f830112611a0457600080fd5b81356020611a146119a2836118ed565b82815260059290921b84018101918181019086841115611a3357600080fd5b8286015b848110156119e85780358352918301918301611a37565b600080600060608486031215611a6357600080fd5b833567ffffffffffffffff80821115611a7b57600080fd5b818601915086601f830112611a8f57600080fd5b81356020611a9f6119a2836118ed565b82815260059290921b8401810191818101908a841115611abe57600080fd5b8286015b84811015611af657803586811115611ada5760008081fd5b611ae88d86838b0101611911565b845250918301918301611ac2565b5097505087013592505080821115611b0d57600080fd5b611b1987838801611981565b93506040860135915080821115611b2f57600080fd5b50611b3c868287016119f3565b9150509250925092565b600060208284031215611b5857600080fd5b610f8a82611865565b600080600060608486031215611b7657600080fd5b611b7f84611865565b9250611b8d60208501611865565b9150604084013590509250925092565b600060208284031215611baf57600080fd5b5035919050565b60008060408385031215611bc957600080fd5b82359150602083013567ffffffffffffffff811115611be757600080fd5b611bf385828601611911565b9150509250929050565b60008060408385031215611c1057600080fd5b82359150611c2060208401611865565b90509250929050565b60008060408385031215611c3c57600080fd5b611c4583611865565b9150611c2060208401611865565b600181811c90821680611c6757607f821691505b602082108103611c8757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b606081526000611cb66060830186611826565b60208301949094525060400152919050565b634e487b7160e01b600052601160045260246000fd5b600060018201611cf057611cf0611cc8565b5060010190565b600060208284031215611d0957600080fd5b5051919050565b600060208284031215611d2257600080fd5b81518015158114610f8a57600080fd5b838152606060208201526000611d4b6060830185611826565b9050826040830152949350505050565b808201808211156104f6576104f6611cc8565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611da6816017850160208801611802565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351611de3816028840160208801611802565b01602801949350505050565b80820281158282048414176104f6576104f6611cc8565b600081611e1557611e15611cc8565b50600019019056fea2646970667358221220c169662779051594babcd678b0763c8d6318ef82101d920841c956fd86ae640464736f6c63430008110033
Deployed Bytecode Sourcemap
54186:2797:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48517:204;;;;;;:::i;:::-;;:::i;:::-;;;516:14:1;;509:22;491:41;;479:2;464:18;48517:204:0;;;;;;;;29500:100;;;:::i;:::-;;;;;;;:::i;54486:37::-;;;;;;;;;1445:25:1;;;1433:2;1418:18;54486:37:0;1299:177:1;31851:201:0;;;;;;:::i;:::-;;:::i;55343:708::-;;;;;;:::i;:::-;;:::i;56716:262::-;;;;;;:::i;:::-;;:::i;:::-;;30620:108;30708:12;;30620:108;;32632:295;;;;;;:::i;:::-;;:::i;50340:131::-;;;;;;:::i;:::-;50414:7;50441:12;;;:6;:12;;;;;:22;;;;50340:131;56059:524;;;;;;:::i;:::-;;:::i;50781:147::-;;;;;;:::i;:::-;;:::i;55089:92::-;;;55172:1;7749:36:1;;7737:2;7722:18;55089:92:0;7607:184:1;51925:218:0;;;;;;:::i;:::-;;:::i;33336:238::-;;;;;;:::i;:::-;;:::i;54395:25::-;;;;;;30791:127;;;;;;:::i;:::-;-1:-1:-1;;;;;30892:18:0;30865:7;30892:18;;;;;;;;;;;;30791:127;42413:103;;;:::i;54427:40::-;;;;;;41765:87;41838:6;;-1:-1:-1;;;;;41838:6:0;41765:87;;;-1:-1:-1;;;;;7960:55:1;;;7942:74;;7930:2;7915:18;41765:87:0;7796:226:1;55189:140:0;;;;;;:::i;:::-;;:::i;48813:147::-;;;;;;:::i;:::-;48899:4;48923:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48923:29:0;;;;;;;;;;;;;;;48813:147;29719:104;;;:::i;47918:49::-;;47963:4;47918:49;;34077:436;;;;;;:::i;:::-;;:::i;31124:193::-;;;;;;:::i;:::-;;:::i;54325:61::-;;54363:23;54325:61;;51221:149;;;;;;:::i;:::-;;:::i;56591:83::-;;;:::i;54530:42::-;;;;;;31380:151;;;;;;:::i;:::-;-1:-1:-1;;;;;31496:18:0;;;31469:7;31496:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;31380:151;42671:201;;;;;;:::i;:::-;;:::i;48517:204::-;48602:4;-1:-1:-1;;;;;;48626:47:0;;48641:32;48626:47;;:87;;-1:-1:-1;24223:25:0;-1:-1:-1;;;;;;24208:40:0;;;48677:36;48619:94;48517:204;-1:-1:-1;;48517:204:0:o;29500:100::-;29554:13;29587:5;29580:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29500:100;:::o;31851:201::-;31934:4;20351:10;31990:32;20351:10;32006:7;32015:6;31990:8;:32::i;:::-;-1:-1:-1;32040:4:0;;31851:201;-1:-1:-1;;;31851:201:0:o;55343:708::-;55451:4;55476:34;54363:23;20351:10;48813:147;:::i;55476:34::-;55468:71;;;;-1:-1:-1;;;55468:71:0;;8936:2:1;55468:71:0;;;8918:21:1;8975:2;8955:18;;;8948:30;9014:26;8994:18;;;8987:54;9058:18;;55468:71:0;;;;;;;;;55626:4;:11;55609:6;:13;:28;:64;;;;;55658:8;:15;55641:6;:13;:32;55609:64;55601:107;;;;-1:-1:-1;;;55601:107:0;;9289:2:1;55601:107:0;;;9271:21:1;9328:2;9308:18;;;9301:30;9367:32;9347:18;;;9340:60;9417:18;;55601:107:0;9087:354:1;55601:107:0;55765:9;55760:262;55784:6;:13;55780:1;:17;55760:262;;;55819:27;55825:4;55830:1;55825:7;;;;;;;;:::i;:::-;;;;;;;55834:8;55843:1;55834:11;;;;;;;;:::i;:::-;;;;;;;55819:5;:27::i;:::-;55882:35;55905:8;55914:1;55905:11;;;;;;;;:::i;:::-;;;;;;;55882:18;;:22;;:35;;;;:::i;:::-;55861:18;:56;55958:7;;:4;;55963:1;;55958:7;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;55937:50:0;;55947:6;55954:1;55947:9;;;;;;;;:::i;:::-;;;;;;;55967:8;55976:1;55967:11;;;;;;;;:::i;:::-;;;;;;;55980:6;;55937:50;;;;;;;;:::i;:::-;;;;;;;;56002:6;:8;;;:6;:8;;;:::i;:::-;;;;;;55799:3;;;;;:::i;:::-;;;;55760:262;;;-1:-1:-1;56039:4:0;;55343:708;-1:-1:-1;;;;55343:708:0:o;56716:262::-;41651:13;:11;:13::i;:::-;56838:30:::1;::::0;;;;56862:4:::1;56838:30;::::0;::::1;7942:74:1::0;56802:6:0;;56782:11:::1;::::0;-1:-1:-1;;;;;56838:15:0;::::1;::::0;::::1;::::0;7915:18:1;;56838:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56820:48;;56879:5;-1:-1:-1::0;;;;;56879:14:0::1;;56894:7;41838:6:::0;;-1:-1:-1;;;;;41838:6:0;;41765:87;56894:7:::1;56879:32;::::0;-1:-1:-1;;;;;;56879:32:0::1;::::0;;;;;;-1:-1:-1;;;;;10712:55:1;;;56879:32:0::1;::::0;::::1;10694:74:1::0;10784:18;;;10777:34;;;10667:18;;56879:32:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;41838:6:0;;56922:48:::1;::::0;-1:-1:-1;;;;;41838:6:0;;;;56948:21:::1;56922:48:::0;::::1;;;::::0;::::1;::::0;;;56948:21;41838:6;56922:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;56771:207;;56716:262:::0;:::o;32632:295::-;32763:4;20351:10;32821:38;32837:4;20351:10;32852:6;32821:15;:38::i;:::-;32870:27;32880:4;32886:2;32890:6;32870:9;:27::i;56059:524::-;56130:4;56166:23;20351:10;56176:12;20271:98;56166:23;56155:7;:34;;56147:65;;;;-1:-1:-1;;;56147:65:0;;11306:2:1;56147:65:0;;;11288:21:1;11345:2;11325:18;;;11318:30;11384:20;11364:18;;;11357:48;11422:18;;56147:65:0;11104:342:1;56147:65:0;56299:12;;56289:7;:22;56281:80;;;;-1:-1:-1;;;56281:80:0;;11653:2:1;56281:80:0;;;11635:21:1;11692:2;11672:18;;;11665:30;11731:34;11711:18;;;11704:62;11802:15;11782:18;;;11775:43;11835:19;;56281:80:0;11451:409:1;56281:80:0;56372:26;56378:10;56390:7;56372:5;:26::i;:::-;56409:6;:8;;;:6;:8;;;:::i;:::-;;;;-1:-1:-1;;56454:23:0;;:36;;56482:7;56454:27;:36::i;:::-;56428:23;:62;20351:10;-1:-1:-1;;;;;56506:47:0;;56532:7;56541:3;56546:6;;56506:47;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;56571:4:0;56059:524;;;;:::o;50781:147::-;50414:7;50441:12;;;:6;:12;;;;;:22;;;48409:16;48420:4;48409:10;:16::i;:::-;50895:25:::1;50906:4;50912:7;50895:10;:25::i;:::-;50781:147:::0;;;:::o;51925:218::-;-1:-1:-1;;;;;52021:23:0;;20351:10;52021:23;52013:83;;;;-1:-1:-1;;;52013:83:0;;12434:2:1;52013:83:0;;;12416:21:1;12473:2;12453:18;;;12446:30;12512:34;12492:18;;;12485:62;12583:17;12563:18;;;12556:45;12618:19;;52013:83:0;12232:411:1;52013:83:0;52109:26;52121:4;52127:7;52109:11;:26::i;:::-;51925:218;;:::o;33336:238::-;20351:10;33424:4;31496:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;31496:27:0;;;;;;;;;;33424:4;;20351:10;33480:64;;20351:10;;31496:27;;33505:38;;33533:10;;33505:38;:::i;:::-;33480:8;:64::i;42413:103::-;41651:13;:11;:13::i;:::-;42478:30:::1;42505:1;42478:18;:30::i;:::-;42413:103::o:0;55189:140::-;55250:4;41651:13;:11;:13::i;:::-;55267:32:::1;54363:23;55291:7;55267:10;:32::i;:::-;-1:-1:-1::0;55317:4:0::1;41675:1;55189:140:::0;;;:::o;29719:104::-;29775:13;29808:7;29801:14;;;;;:::i;34077:436::-;20351:10;34170:4;31496:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;31496:27:0;;;;;;;;;;34170:4;;20351:10;34317:15;34297:16;:35;;34289:85;;;;-1:-1:-1;;;34289:85:0;;12980:2:1;34289:85:0;;;12962:21:1;13019:2;12999:18;;;12992:30;13058:34;13038:18;;;13031:62;13129:7;13109:18;;;13102:35;13154:19;;34289:85:0;12778:401:1;34289:85:0;34410:60;34419:5;34426:7;34454:15;34435:16;:34;34410:8;:60::i;31124:193::-;31203:4;20351:10;31259:28;20351:10;31276:2;31280:6;31259:9;:28::i;51221:149::-;50414:7;50441:12;;;:6;:12;;;;;:22;;;48409:16;48420:4;48409:10;:16::i;:::-;51336:26:::1;51348:4;51354:7;51336:11;:26::i;56591:83::-:0;56632:7;56659;41838:6;;-1:-1:-1;;;;;41838:6:0;;41765:87;56659:7;56652:14;;56591:83;:::o;42671:201::-;41651:13;:11;:13::i;:::-;-1:-1:-1;;;;;42760:22:0;::::1;42752:73;;;::::0;-1:-1:-1;;;42752:73:0;;13386:2:1;42752:73:0::1;::::0;::::1;13368:21:1::0;13425:2;13405:18;;;13398:30;13464:34;13444:18;;;13437:62;13535:8;13515:18;;;13508:36;13561:19;;42752:73:0::1;13184:402:1::0;42752:73:0::1;42836:28;42855:8;42836:18;:28::i;:::-;42671:201:::0;:::o;38104:380::-;-1:-1:-1;;;;;38240:19:0;;38232:68;;;;-1:-1:-1;;;38232:68:0;;13793:2:1;38232:68:0;;;13775:21:1;13832:2;13812:18;;;13805:30;13871:34;13851:18;;;13844:62;13942:6;13922:18;;;13915:34;13966:19;;38232:68:0;13591:400:1;38232:68:0;-1:-1:-1;;;;;38319:21:0;;38311:68;;;;-1:-1:-1;;;38311:68:0;;14198:2:1;38311:68:0;;;14180:21:1;14237:2;14217:18;;;14210:30;14276:34;14256:18;;;14249:62;14347:4;14327:18;;;14320:32;14369:19;;38311:68:0;13996:398:1;38311:68:0;-1:-1:-1;;;;;38392:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;38444:32;;1445:25:1;;;38444:32:0;;1418:18:1;38444:32:0;;;;;;;38104:380;;;:::o;36110:548::-;-1:-1:-1;;;;;36194:21:0;;36186:65;;;;-1:-1:-1;;;36186:65:0;;14601:2:1;36186:65:0;;;14583:21:1;14640:2;14620:18;;;14613:30;14679:33;14659:18;;;14652:61;14730:18;;36186:65:0;14399:355:1;36186:65:0;36342:6;36326:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;36497:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;36552:37;1445:25:1;;;36552:37:0;;1418:18:1;36552:37:0;;;;;;;51925:218;;:::o;2847:98::-;2905:7;2932:5;2936:1;2932;:5;:::i;:::-;2925:12;2847:98;-1:-1:-1;;;2847:98:0:o;41930:132::-;41838:6;;-1:-1:-1;;;;;41838:6:0;20351:10;41994:23;41986:68;;;;-1:-1:-1;;;41986:68:0;;14961:2:1;41986:68:0;;;14943:21:1;;;14980:18;;;14973:30;15039:34;15019:18;;;15012:62;15091:18;;41986:68:0;14759:356:1;38775:453:0;-1:-1:-1;;;;;31496:18:0;;;38910:24;31496:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;38977:37:0;;38973:248;;39059:6;39039:16;:26;;39031:68;;;;-1:-1:-1;;;39031:68:0;;15322:2:1;39031:68:0;;;15304:21:1;15361:2;15341:18;;;15334:30;15400:31;15380:18;;;15373:59;15449:18;;39031:68:0;15120:353:1;39031:68:0;39143:51;39152:5;39159:7;39187:6;39168:16;:25;39143:8;:51::i;34983:840::-;-1:-1:-1;;;;;35114:18:0;;35106:68;;;;-1:-1:-1;;;35106:68:0;;15680:2:1;35106:68:0;;;15662:21:1;15719:2;15699:18;;;15692:30;15758:34;15738:18;;;15731:62;15829:7;15809:18;;;15802:35;15854:19;;35106:68:0;15478:401:1;35106:68:0;-1:-1:-1;;;;;35193:16:0;;35185:64;;;;-1:-1:-1;;;35185:64:0;;16086:2:1;35185:64:0;;;16068:21:1;16125:2;16105:18;;;16098:30;16164:34;16144:18;;;16137:62;16235:5;16215:18;;;16208:33;16258:19;;35185:64:0;15884:399:1;35185:64:0;-1:-1:-1;;;;;35335:15:0;;35313:19;35335:15;;;;;;;;;;;35369:21;;;;35361:72;;;;-1:-1:-1;;;35361:72:0;;16490:2:1;35361:72:0;;;16472:21:1;16529:2;16509:18;;;16502:30;16568:34;16548:18;;;16541:62;16639:8;16619:18;;;16612:36;16665:19;;35361:72:0;16288:402:1;35361:72:0;-1:-1:-1;;;;;35469:15:0;;;:9;:15;;;;;;;;;;;35487:20;;;35469:38;;35687:13;;;;;;;;;;:23;;;;;;35739:26;;1445:25:1;;;35687:13:0;;35739:26;;1418:18:1;35739:26:0;;;;;;;35778:37;50781:147;36991:675;-1:-1:-1;;;;;37075:21:0;;37067:67;;;;-1:-1:-1;;;37067:67:0;;16897:2:1;37067:67:0;;;16879:21:1;16936:2;16916:18;;;16909:30;16975:34;16955:18;;;16948:62;17046:3;17026:18;;;17019:31;17067:19;;37067:67:0;16695:397:1;37067:67:0;-1:-1:-1;;;;;37234:18:0;;37209:22;37234:18;;;;;;;;;;;37271:24;;;;37263:71;;;;-1:-1:-1;;;37263:71:0;;17299:2:1;37263:71:0;;;17281:21:1;17338:2;17318:18;;;17311:30;17377:34;17357:18;;;17350:62;17448:4;17428:18;;;17421:32;17470:19;;37263:71:0;17097:398:1;37263:71:0;-1:-1:-1;;;;;37370:18:0;;:9;:18;;;;;;;;;;;37391:23;;;37370:44;;37509:12;:22;;;;;;;37560:37;1445:25:1;;;37370:9:0;;:18;37560:37;;1418:18:1;37560:37:0;;;;;;;50781:147;;;:::o;49264:105::-;49331:30;49342:4;20351:10;49331;:30::i;53522:238::-;48899:4;48923:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48923:29:0;;;;;;;;;;;;53601:152;;53645:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;53645:29:0;;;;;;;;;:36;;-1:-1:-1;;53645:36:0;53677:4;53645:36;;;53728:12;20351:10;;20271:98;53728:12;-1:-1:-1;;;;;53701:40:0;53719:7;-1:-1:-1;;;;;53701:40:0;53713:4;53701:40;;;;;;;;;;53522:238;;:::o;53940:239::-;48899:4;48923:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48923:29:0;;;;;;;;;;;;54020:152;;;54095:5;54063:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;54063:29:0;;;;;;;;;;:37;;-1:-1:-1;;54063:37:0;;;54120:40;20351:10;;54063:12;;54120:40;;54095:5;54120:40;53940:239;;:::o;43032:191::-;43125:6;;;-1:-1:-1;;;;;43142:17:0;;;;;;;;;;;43175:40;;43125:6;;;43142:17;43125:6;;43175:40;;43106:16;;43175:40;43095:128;43032:191;:::o;52850:112::-;52929:25;52940:4;52946:7;52929:10;:25::i;49659:492::-;48899:4;48923:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;48923:29:0;;;;;;;;;;;;49743:401;;49936:28;49956:7;49936:19;:28::i;:::-;50037:38;50065:4;50072:2;50037:19;:38::i;:::-;49841:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;49841:257:0;;;;;;;;;;-1:-1:-1;;;49787:345:0;;;;;;;:::i;22493:151::-;22551:13;22584:52;-1:-1:-1;;;;;22596:22:0;;20648:2;21889:447;21964:13;21990:19;22022:10;22026:6;22022:1;:10;:::i;:::-;:14;;22035:1;22022:14;:::i;:::-;22012:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22012:25:0;;21990:47;;22048:15;:6;22055:1;22048:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22048:15:0;;;;;;;;;22074;:6;22081:1;22074:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;22074:15:0;;;;;;;;-1:-1:-1;22105:9:0;22117:10;22121:6;22117:1;:10;:::i;:::-;:14;;22130:1;22117:14;:::i;:::-;22105:26;;22100:131;22137:1;22133;:5;22100:131;;;22172:8;22181:5;22189:3;22181:11;22172:21;;;;;;;:::i;:::-;;;;22160:6;22167:1;22160:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;22160:33:0;;;;;;;;-1:-1:-1;22218:1:0;22208:11;;;;;22140:3;;;:::i;:::-;;;22100:131;;;-1:-1:-1;22249:10:0;;22241:55;;;;-1:-1:-1;;;22241:55:0;;18833:2:1;22241:55:0;;;18815:21:1;;;18852:18;;;18845:30;18911:34;18891:18;;;18884:62;18963:18;;22241:55:0;18631:356:1;14:332;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;-1:-1:-1;;;;;;223:5:1;219:78;212:5;209:89;199:117;;312:1;309;302:12;543:250;628:1;638:113;652:6;649:1;646:13;638:113;;;728:11;;;722:18;709:11;;;702:39;674:2;667:10;638:113;;;-1:-1:-1;;785:1:1;767:16;;760:27;543:250::o;798:271::-;840:3;878:5;872:12;905:6;900:3;893:19;921:76;990:6;983:4;978:3;974:14;967:4;960:5;956:16;921:76;:::i;:::-;1051:2;1030:15;-1:-1:-1;;1026:29:1;1017:39;;;;1058:4;1013:50;;798:271;-1:-1:-1;;798:271:1:o;1074:220::-;1223:2;1212:9;1205:21;1186:4;1243:45;1284:2;1273:9;1269:18;1261:6;1243:45;:::i;1481:196::-;1549:20;;-1:-1:-1;;;;;1598:54:1;;1588:65;;1578:93;;1667:1;1664;1657:12;1682:254;1750:6;1758;1811:2;1799:9;1790:7;1786:23;1782:32;1779:52;;;1827:1;1824;1817:12;1779:52;1850:29;1869:9;1850:29;:::i;:::-;1840:39;1926:2;1911:18;;;;1898:32;;-1:-1:-1;;;1682:254:1:o;1941:184::-;-1:-1:-1;;;1990:1:1;1983:88;2090:4;2087:1;2080:15;2114:4;2111:1;2104:15;2130:275;2201:2;2195:9;2266:2;2247:13;;-1:-1:-1;;2243:27:1;2231:40;;2301:18;2286:34;;2322:22;;;2283:62;2280:88;;;2348:18;;:::i;:::-;2384:2;2377:22;2130:275;;-1:-1:-1;2130:275:1:o;2410:182::-;2469:4;2502:18;2494:6;2491:30;2488:56;;;2524:18;;:::i;:::-;-1:-1:-1;2569:1:1;2565:14;2581:4;2561:25;;2410:182::o;2597:531::-;2640:5;2693:3;2686:4;2678:6;2674:17;2670:27;2660:55;;2711:1;2708;2701:12;2660:55;2747:6;2734:20;2773:18;2769:2;2766:26;2763:52;;;2795:18;;:::i;:::-;2839:55;2882:2;2863:13;;-1:-1:-1;;2859:27:1;2888:4;2855:38;2839:55;:::i;:::-;2919:2;2910:7;2903:19;2965:3;2958:4;2953:2;2945:6;2941:15;2937:26;2934:35;2931:55;;;2982:1;2979;2972:12;2931:55;3047:2;3040:4;3032:6;3028:17;3021:4;3012:7;3008:18;2995:55;3095:1;3070:16;;;3088:4;3066:27;3059:38;;;;3074:7;2597:531;-1:-1:-1;;;2597:531:1:o;3133:667::-;3187:5;3240:3;3233:4;3225:6;3221:17;3217:27;3207:55;;3258:1;3255;3248:12;3207:55;3294:6;3281:20;3320:4;3344:59;3360:42;3399:2;3360:42;:::i;:::-;3344:59;:::i;:::-;3437:15;;;3523:1;3519:10;;;;3507:23;;3503:32;;;3468:12;;;;3547:15;;;3544:35;;;3575:1;3572;3565:12;3544:35;3611:2;3603:6;3599:15;3623:148;3639:6;3634:3;3631:15;3623:148;;;3705:23;3724:3;3705:23;:::i;:::-;3693:36;;3749:12;;;;3656;;3623:148;;;-1:-1:-1;3789:5:1;3133:667;-1:-1:-1;;;;;;3133:667:1:o;3805:661::-;3859:5;3912:3;3905:4;3897:6;3893:17;3889:27;3879:55;;3930:1;3927;3920:12;3879:55;3966:6;3953:20;3992:4;4016:59;4032:42;4071:2;4032:42;:::i;4016:59::-;4109:15;;;4195:1;4191:10;;;;4179:23;;4175:32;;;4140:12;;;;4219:15;;;4216:35;;;4247:1;4244;4237:12;4216:35;4283:2;4275:6;4271:15;4295:142;4311:6;4306:3;4303:15;4295:142;;;4377:17;;4365:30;;4415:12;;;;4328;;4295:142;;4471:1586;4633:6;4641;4649;4702:2;4690:9;4681:7;4677:23;4673:32;4670:52;;;4718:1;4715;4708:12;4670:52;4758:9;4745:23;4787:18;4828:2;4820:6;4817:14;4814:34;;;4844:1;4841;4834:12;4814:34;4882:6;4871:9;4867:22;4857:32;;4927:7;4920:4;4916:2;4912:13;4908:27;4898:55;;4949:1;4946;4939:12;4898:55;4985:2;4972:16;5007:4;5031:59;5047:42;5086:2;5047:42;:::i;5031:59::-;5124:15;;;5206:1;5202:10;;;;5194:19;;5190:28;;;5155:12;;;;5230:19;;;5227:39;;;5262:1;5259;5252:12;5227:39;5294:2;5290;5286:11;5306:353;5322:6;5317:3;5314:15;5306:353;;;5408:3;5395:17;5444:2;5431:11;5428:19;5425:109;;;5488:1;5517:2;5513;5506:14;5425:109;5559:57;5608:7;5603:2;5589:11;5585:2;5581:20;5577:29;5559:57;:::i;:::-;5547:70;;-1:-1:-1;5637:12:1;;;;5339;;5306:353;;;-1:-1:-1;5678:5:1;-1:-1:-1;;5721:18:1;;5708:32;;-1:-1:-1;;5752:16:1;;;5749:36;;;5781:1;5778;5771:12;5749:36;5804:63;5859:7;5848:8;5837:9;5833:24;5804:63;:::i;:::-;5794:73;;5920:2;5909:9;5905:18;5892:32;5876:48;;5949:2;5939:8;5936:16;5933:36;;;5965:1;5962;5955:12;5933:36;;5988:63;6043:7;6032:8;6021:9;6017:24;5988:63;:::i;:::-;5978:73;;;4471:1586;;;;;:::o;6062:186::-;6121:6;6174:2;6162:9;6153:7;6149:23;6145:32;6142:52;;;6190:1;6187;6180:12;6142:52;6213:29;6232:9;6213:29;:::i;6253:328::-;6330:6;6338;6346;6399:2;6387:9;6378:7;6374:23;6370:32;6367:52;;;6415:1;6412;6405:12;6367:52;6438:29;6457:9;6438:29;:::i;:::-;6428:39;;6486:38;6520:2;6509:9;6505:18;6486:38;:::i;:::-;6476:48;;6571:2;6560:9;6556:18;6543:32;6533:42;;6253:328;;;;;:::o;6586:180::-;6645:6;6698:2;6686:9;6677:7;6673:23;6669:32;6666:52;;;6714:1;6711;6704:12;6666:52;-1:-1:-1;6737:23:1;;6586:180;-1:-1:-1;6586:180:1:o;6953:390::-;7031:6;7039;7092:2;7080:9;7071:7;7067:23;7063:32;7060:52;;;7108:1;7105;7098:12;7060:52;7144:9;7131:23;7121:33;;7205:2;7194:9;7190:18;7177:32;7232:18;7224:6;7221:30;7218:50;;;7264:1;7261;7254:12;7218:50;7287;7329:7;7320:6;7309:9;7305:22;7287:50;:::i;:::-;7277:60;;;6953:390;;;;;:::o;7348:254::-;7416:6;7424;7477:2;7465:9;7456:7;7452:23;7448:32;7445:52;;;7493:1;7490;7483:12;7445:52;7529:9;7516:23;7506:33;;7558:38;7592:2;7581:9;7577:18;7558:38;:::i;:::-;7548:48;;7348:254;;;;;:::o;8027:260::-;8095:6;8103;8156:2;8144:9;8135:7;8131:23;8127:32;8124:52;;;8172:1;8169;8162:12;8124:52;8195:29;8214:9;8195:29;:::i;:::-;8185:39;;8243:38;8277:2;8266:9;8262:18;8243:38;:::i;8292:437::-;8371:1;8367:12;;;;8414;;;8435:61;;8489:4;8481:6;8477:17;8467:27;;8435:61;8542:2;8534:6;8531:14;8511:18;8508:38;8505:218;;-1:-1:-1;;;8576:1:1;8569:88;8680:4;8677:1;8670:15;8708:4;8705:1;8698:15;8505:218;;8292:437;;;:::o;9446:184::-;-1:-1:-1;;;9495:1:1;9488:88;9595:4;9592:1;9585:15;9619:4;9616:1;9609:15;9635:362;9840:2;9829:9;9822:21;9803:4;9860:45;9901:2;9890:9;9886:18;9878:6;9860:45;:::i;:::-;9936:2;9921:18;;9914:34;;;;-1:-1:-1;9979:2:1;9964:18;9957:34;9852:53;9635:362;-1:-1:-1;9635:362:1:o;10002:184::-;-1:-1:-1;;;10051:1:1;10044:88;10151:4;10148:1;10141:15;10175:4;10172:1;10165:15;10191:135;10230:3;10251:17;;;10248:43;;10271:18;;:::i;:::-;-1:-1:-1;10318:1:1;10307:13;;10191:135::o;10331:184::-;10401:6;10454:2;10442:9;10433:7;10429:23;10425:32;10422:52;;;10470:1;10467;10460:12;10422:52;-1:-1:-1;10493:16:1;;10331:184;-1:-1:-1;10331:184:1:o;10822:277::-;10889:6;10942:2;10930:9;10921:7;10917:23;10913:32;10910:52;;;10958:1;10955;10948:12;10910:52;10990:9;10984:16;11043:5;11036:13;11029:21;11022:5;11019:32;11009:60;;11065:1;11062;11055:12;11865:362;12070:6;12059:9;12052:25;12113:2;12108;12097:9;12093:18;12086:30;12033:4;12133:45;12174:2;12163:9;12159:18;12151:6;12133:45;:::i;:::-;12125:53;;12214:6;12209:2;12198:9;12194:18;12187:34;11865:362;;;;;;:::o;12648:125::-;12713:9;;;12734:10;;;12731:36;;;12747:18;;:::i;17500:812::-;17911:25;17906:3;17899:38;17881:3;17966:6;17960:13;17982:75;18050:6;18045:2;18040:3;18036:12;18029:4;18021:6;18017:17;17982:75;:::i;:::-;18121:19;18116:2;18076:16;;;18108:11;;;18101:40;18166:13;;18188:76;18166:13;18250:2;18242:11;;18235:4;18223:17;;18188:76;:::i;:::-;18284:17;18303:2;18280:26;;17500:812;-1:-1:-1;;;;17500:812:1:o;18317:168::-;18390:9;;;18421;;18438:15;;;18432:22;;18418:37;18408:71;;18459:18;;:::i;18490:136::-;18529:3;18557:5;18547:39;;18566:18;;:::i;:::-;-1:-1:-1;;;18602:18:1;;18490:136::o
Swarm Source
ipfs://c169662779051594babcd678b0763c8d6318ef82101d920841c956fd86ae6404
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.