Contract Overview
Balance:
0 MATIC
MATIC Value:
$0.00
[ Download CSV Export ]
Contract Source Code Verified (Exact Match)
Contract Name:
VoyToken
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-01-03 */ // File: EnvoyNew/Polygon/IVoyBridge.sol pragma solidity ^0.8.0; interface IVoyBridge { function initiateSwap(address _user, uint256 _amount) external; } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @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); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @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; } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.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; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @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()); } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.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 {} } // File: EnvoyNew/Polygon/VoyToken.sol pragma solidity >=0.8.0; /** * VoyToken contract in the Polygon network */ contract VoyToken is ERC20, AccessControl { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); uint256 public MAX_SUPPLY = 500_000_000 ether; // MAX_SUPPLY is 500M mapping(address => bool) public bridges; event BridgeSet(address indexed _bridge, bool _enabled); event Swap(address indexed _user, address indexed _bridge, uint256 _amount); constructor() ERC20("Voy Token", "VOY") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); _mint(_msgSender(), 40_000_000 ether); // Initial supply is 40M } function mint(address to, uint256 amount) external onlyRole(MINTER_ROLE) { uint256 _totalSupply = totalSupply(); require( amount <= MAX_SUPPLY - _totalSupply, "VoyToken: MAX_SUPPLY is out" ); _mint(to, amount); } function burn(address from, uint256 amount) external onlyRole(MINTER_ROLE) { MAX_SUPPLY -= amount; _burn(from, amount); } function setBridge(address _bridge, bool _enabled) external onlyRole(DEFAULT_ADMIN_ROLE) { require(!_enabled || isContract(_bridge), "Not a contract"); bridges[_bridge] = _enabled; emit BridgeSet(_bridge, _enabled); } function swap(address _bridge, uint256 _amount) external { require(bridges[_bridge], "Invalid bridge"); require(_amount > 0, "Invalid amount"); approve(_bridge, _amount); transferToBridge = true; IVoyBridge(_bridge).initiateSwap(msg.sender, _amount); transferToBridge = false; emit Swap(msg.sender, _bridge, _amount); } bool transferToBridge = false; function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { super._beforeTokenTransfer(from, to, amount); require( !bridges[to] || transferToBridge, "Not allowed to send to bridge" ); } function isContract(address addr) internal view returns (bool) { uint256 size; assembly { size := extcodesize(addr) } return size > 0; } }
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"},{"indexed":false,"internalType":"bool","name":"_enabled","type":"bool"}],"name":"BridgeSet","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":"_user","type":"address"},{"indexed":true,"internalType":"address","name":"_bridge","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bridges","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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"},{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]
Contract Creation Code
60806040526b019d971e4fe8401e740000006006556008805460ff191690553480156200002b57600080fd5b50604051806040016040528060098152602001682b37bc902a37b5b2b760b91b81525060405180604001604052806003815260200162564f5960e81b81525081600390816200007b9190620003ac565b5060046200008a8282620003ac565b506200009c91506000905033620000e5565b620000c87f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000e5565b620000df336a211654585005212800000062000170565b6200049a565b620000f1828262000245565b6200016c5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200012b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6001600160a01b038216620001cc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620001da6000838362000272565b8060026000828254620001ee919062000478565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b6200028a8383836200030360201b620004bb1760201c565b6001600160a01b03821660009081526007602052604090205460ff161580620002b5575060085460ff165b620003035760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420616c6c6f77656420746f2073656e6420746f206272696467650000006044820152606401620001c3565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200033357607f821691505b6020821081036200035457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030357600081815260208120601f850160051c81016020861015620003835750805b601f850160051c820191505b81811015620003a4578281556001016200038f565b505050505050565b81516001600160401b03811115620003c857620003c862000308565b620003e081620003d984546200031e565b846200035a565b602080601f831160018114620004185760008415620003ff5750858301515b600019600386901b1c1916600185901b178555620003a4565b600085815260208120601f198616915b82811015620004495788860151825594840194600190910190840162000428565b5085821015620004685787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200026c57634e487b7160e01b600052601160045260246000fd5b61158f80620004aa6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806370a08231116100de578063a9059cbb11610097578063d539139311610071578063d539139314610331578063d547741f14610358578063dd62ed3e1461036b578063e7109b5f1461037e57600080fd5b8063a9059cbb146102e8578063ced67f0c146102fb578063d004f0f71461031e57600080fd5b806370a082311461027657806391d148541461029f57806395d89b41146102b25780639dc29fac146102ba578063a217fddf146102cd578063a457c2d7146102d557600080fd5b80632f2ff15d116101305780632f2ff15d14610210578063313ce5671461022557806332cb6b0c1461023457806336568abe1461023d578063395093511461025057806340c10f191461026357600080fd5b806301ffc9a71461017857806306fdde03146101a0578063095ea7b3146101b557806318160ddd146101c857806323b872dd146101da578063248a9ca3146101ed575b600080fd5b61018b61018636600461124b565b610391565b60405190151581526020015b60405180910390f35b6101a86103c8565b6040516101979190611299565b61018b6101c33660046112e8565b61045a565b6002545b604051908152602001610197565b61018b6101e8366004611312565b610472565b6101cc6101fb36600461134e565b60009081526005602052604090206001015490565b61022361021e366004611367565b610496565b005b60405160128152602001610197565b6101cc60065481565b61022361024b366004611367565b6104c0565b61018b61025e3660046112e8565b610543565b6102236102713660046112e8565b610565565b6101cc610284366004611393565b6001600160a01b031660009081526020819052604090205490565b61018b6102ad366004611367565b610609565b6101a8610634565b6102236102c83660046112e8565b610643565b6101cc600081565b61018b6102e33660046112e8565b61068f565b61018b6102f63660046112e8565b61070a565b61018b610309366004611393565b60076020526000908152604090205460ff1681565b61022361032c3660046112e8565b610718565b6101cc7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610223610366366004611367565b610878565b6101cc6103793660046113ae565b61089d565b61022361038c3660046113d8565b6108c8565b60006001600160e01b03198216637965db0b60e01b14806103c257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546103d790611414565b80601f016020809104026020016040519081016040528092919081815260200182805461040390611414565b80156104505780601f1061042557610100808354040283529160200191610450565b820191906000526020600020905b81548152906001019060200180831161043357829003601f168201915b5050505050905090565b60003361046881858561097d565b5060019392505050565b600033610480858285610aa1565b61048b858585610b15565b506001949350505050565b6000828152600560205260409020600101546104b181610cc4565b6104bb8383610cd1565b505050565b6001600160a01b03811633146105355760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61053f8282610d57565b5050565b600033610468818585610556838361089d565b6105609190611464565b61097d565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661058f81610cc4565b600061059a60025490565b9050806006546105aa9190611477565b8311156105f95760405162461bcd60e51b815260206004820152601b60248201527f566f79546f6b656e3a204d41585f535550504c59206973206f75740000000000604482015260640161052c565b6106038484610dbe565b50505050565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546103d790611414565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661066d81610cc4565b816006600082825461067f9190611477565b909155506104bb90508383610e89565b6000338161069d828661089d565b9050838110156106fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161052c565b61048b828686840361097d565b600033610468818585610b15565b6001600160a01b03821660009081526007602052604090205460ff166107715760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642062726964676560901b604482015260640161052c565b600081116107b25760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161052c565b6107bc828261045a565b506008805460ff191660011790556040516337d2084560e01b8152336004820152602481018290526001600160a01b038316906337d2084590604401600060405180830381600087803b15801561081257600080fd5b505af1158015610826573d6000803e3d6000fd5b50506008805460ff1916905550506040518181526001600160a01b0383169033907fea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca69060200160405180910390a35050565b60008281526005602052604090206001015461089381610cc4565b6104bb8383610d57565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006108d381610cc4565b8115806108e05750823b15155b61091d5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08184818dbdb9d1c9858dd60921b604482015260640161052c565b6001600160a01b038316600081815260076020908152604091829020805460ff191686151590811790915591519182527fbd42fac7fc48da382cf2256c183078e9ba76c738975f71026e47574c611633d1910160405180910390a2505050565b6001600160a01b0383166109df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161052c565b6001600160a01b038216610a405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161052c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610aad848461089d565b905060001981146106035781811015610b085760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161052c565b610603848484840361097d565b6001600160a01b038316610b795760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161052c565b6001600160a01b038216610bdb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161052c565b610be6838383610fc7565b6001600160a01b03831660009081526020819052604090205481811015610c5e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161052c565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610603565b610cce813361103d565b50565b610cdb8282610609565b61053f5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d133390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610d618282610609565b1561053f5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038216610e145760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161052c565b610e2060008383610fc7565b8060026000828254610e329190611464565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610ee95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161052c565b610ef582600083610fc7565b6001600160a01b03821660009081526020819052604090205481811015610f695760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161052c565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b03821660009081526007602052604090205460ff161580610ff1575060085460ff165b6104bb5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420616c6c6f77656420746f2073656e6420746f20627269646765000000604482015260640161052c565b6110478282610609565b61053f5761105481611096565b61105f8360206110a8565b60405160200161107092919061148a565b60408051601f198184030181529082905262461bcd60e51b825261052c91600401611299565b60606103c26001600160a01b03831660145b606060006110b78360026114ff565b6110c2906002611464565b67ffffffffffffffff8111156110da576110da611516565b6040519080825280601f01601f191660200182016040528015611104576020820181803683370190505b509050600360fc1b8160008151811061111f5761111f61152c565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061114e5761114e61152c565b60200101906001600160f81b031916908160001a90535060006111728460026114ff565b61117d906001611464565b90505b60018111156111f5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106111b1576111b161152c565b1a60f81b8282815181106111c7576111c761152c565b60200101906001600160f81b031916908160001a90535060049490941c936111ee81611542565b9050611180565b5083156112445760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161052c565b9392505050565b60006020828403121561125d57600080fd5b81356001600160e01b03198116811461124457600080fd5b60005b83811015611290578181015183820152602001611278565b50506000910152565b60208152600082518060208401526112b8816040850160208701611275565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146112e357600080fd5b919050565b600080604083850312156112fb57600080fd5b611304836112cc565b946020939093013593505050565b60008060006060848603121561132757600080fd5b611330846112cc565b925061133e602085016112cc565b9150604084013590509250925092565b60006020828403121561136057600080fd5b5035919050565b6000806040838503121561137a57600080fd5b8235915061138a602084016112cc565b90509250929050565b6000602082840312156113a557600080fd5b611244826112cc565b600080604083850312156113c157600080fd5b6113ca836112cc565b915061138a602084016112cc565b600080604083850312156113eb57600080fd5b6113f4836112cc565b91506020830135801515811461140957600080fd5b809150509250929050565b600181811c9082168061142857607f821691505b60208210810361144857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103c2576103c261144e565b818103818111156103c2576103c261144e565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516114c2816017850160208801611275565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516114f3816028840160208801611275565b01602801949350505050565b80820281158282048414176103c2576103c261144e565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816115515761155161144e565b50600019019056fea2646970667358221220448ea9de32fb391e087d256360b01de34f3b8c7e9f99bb4fe60905108005b9f364736f6c63430008110033
Deployed ByteCode Sourcemap
46576:2274:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23825:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;23825:204:0;;;;;;;;35252:100;;;:::i;:::-;;;;;;;:::i;37603:201::-;;;;;;:::i;:::-;;:::i;36372:108::-;36460:12;;36372:108;;;1736:25:1;;;1724:2;1709:18;36372:108:0;1590:177:1;38384:295:0;;;;;;:::i;:::-;;:::i;25648:131::-;;;;;;:::i;:::-;25722:7;25749:12;;;:6;:12;;;;;:22;;;;25648:131;26089:147;;;;;;:::i;:::-;;:::i;:::-;;36214:93;;;36297:2;2873:36:1;;2861:2;2846:18;36214:93:0;2731:184:1;46694:45:0;;;;;;27233:218;;;;;;:::i;:::-;;:::i;39088:238::-;;;;;;:::i;:::-;;:::i;47192:279::-;;;;;;:::i;:::-;;:::i;36543:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;36644:18:0;36617:7;36644:18;;;;;;;;;;;;36543:127;24121:147;;;;;;:::i;:::-;;:::i;35471:104::-;;;:::i;47479:144::-;;;;;;:::i;:::-;;:::i;23226:49::-;;23271:4;23226:49;;39829:436;;;;;;:::i;:::-;;:::i;36876:193::-;;;;;;:::i;:::-;;:::i;46768:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;47913:391;;;;;;:::i;:::-;;:::i;46625:62::-;;46663:24;46625:62;;26529:149;;;;;;:::i;:::-;;:::i;37132:151::-;;;;;;:::i;:::-;;:::i;47631:274::-;;;;;;:::i;:::-;;:::i;23825:204::-;23910:4;-1:-1:-1;;;;;;23934:47:0;;-1:-1:-1;;;23934:47:0;;:87;;-1:-1:-1;;;;;;;;;;2060:40:0;;;23985:36;23927:94;23825:204;-1:-1:-1;;23825:204:0:o;35252:100::-;35306:13;35339:5;35332:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35252:100;:::o;37603:201::-;37686:4;21114:10;37742:32;21114:10;37758:7;37767:6;37742:8;:32::i;:::-;-1:-1:-1;37792:4:0;;37603:201;-1:-1:-1;;;37603:201:0:o;38384:295::-;38515:4;21114:10;38573:38;38589:4;21114:10;38604:6;38573:15;:38::i;:::-;38622:27;38632:4;38638:2;38642:6;38622:9;:27::i;:::-;-1:-1:-1;38667:4:0;;38384:295;-1:-1:-1;;;;38384:295:0:o;26089:147::-;25722:7;25749:12;;;:6;:12;;;;;:22;;;23717:16;23728:4;23717:10;:16::i;:::-;26203:25:::1;26214:4;26220:7;26203:10;:25::i;:::-;26089:147:::0;;;:::o;27233:218::-;-1:-1:-1;;;;;27329:23:0;;21114:10;27329:23;27321:83;;;;-1:-1:-1;;;27321:83:0;;4315:2:1;27321:83:0;;;4297:21:1;4354:2;4334:18;;;4327:30;4393:34;4373:18;;;4366:62;-1:-1:-1;;;4444:18:1;;;4437:45;4499:19;;27321:83:0;;;;;;;;;27417:26;27429:4;27435:7;27417:11;:26::i;:::-;27233:218;;:::o;39088:238::-;39176:4;21114:10;39232:64;21114:10;39248:7;39285:10;39257:25;21114:10;39248:7;39257:9;:25::i;:::-;:38;;;;:::i;:::-;39232:8;:64::i;47192:279::-;46663:24;23717:16;23728:4;23717:10;:16::i;:::-;47276:20:::1;47299:13;36460:12:::0;;;36372:108;47299:13:::1;47276:36;;47368:12;47355:10;;:25;;;;:::i;:::-;47345:6;:35;;47323:112;;;::::0;-1:-1:-1;;;47323:112:0;;5126:2:1;47323:112:0::1;::::0;::::1;5108:21:1::0;5165:2;5145:18;;;5138:30;5204:29;5184:18;;;5177:57;5251:18;;47323:112:0::1;4924:351:1::0;47323:112:0::1;47446:17;47452:2;47456:6;47446:5;:17::i;:::-;47265:206;47192:279:::0;;;:::o;24121:147::-;24207:4;24231:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;24231:29:0;;;;;;;;;;;;;;;24121:147::o;35471:104::-;35527:13;35560:7;35553:14;;;;;:::i;47479:144::-;46663:24;23717:16;23728:4;23717:10;:16::i;:::-;47579:6:::1;47565:10;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;47596:19:0::1;::::0;-1:-1:-1;47602:4:0;47608:6;47596:5:::1;:19::i;39829:436::-:0;39922:4;21114:10;39922:4;40005:25;21114:10;40022:7;40005:9;:25::i;:::-;39978:52;;40069:15;40049:16;:35;;40041:85;;;;-1:-1:-1;;;40041:85:0;;5482:2:1;40041:85:0;;;5464:21:1;5521:2;5501:18;;;5494:30;5560:34;5540:18;;;5533:62;-1:-1:-1;;;5611:18:1;;;5604:35;5656:19;;40041:85:0;5280:401:1;40041:85:0;40162:60;40171:5;40178:7;40206:15;40187:16;:34;40162:8;:60::i;36876:193::-;36955:4;21114:10;37011:28;21114:10;37028:2;37032:6;37011:9;:28::i;47913:391::-;-1:-1:-1;;;;;47989:16:0;;;;;;:7;:16;;;;;;;;47981:43;;;;-1:-1:-1;;;47981:43:0;;5888:2:1;47981:43:0;;;5870:21:1;5927:2;5907:18;;;5900:30;-1:-1:-1;;;5946:18:1;;;5939:44;6000:18;;47981:43:0;5686:338:1;47981:43:0;48053:1;48043:7;:11;48035:38;;;;-1:-1:-1;;;48035:38:0;;6231:2:1;48035:38:0;;;6213:21:1;6270:2;6250:18;;;6243:30;-1:-1:-1;;;6289:18:1;;;6282:44;6343:18;;48035:38:0;6029:338:1;48035:38:0;48086:25;48094:7;48103;48086;:25::i;:::-;-1:-1:-1;48122:16:0;:23;;-1:-1:-1;;48122:23:0;48141:4;48122:23;;;48156:53;;-1:-1:-1;;;48156:53:0;;48189:10;48156:53;;;6546:51:1;6613:18;;;6606:34;;;-1:-1:-1;;;;;48156:32:0;;;;;6519:18:1;;48156:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48220:16:0;:24;;-1:-1:-1;;48220:24:0;;;-1:-1:-1;;48262:34:0;;1736:25:1;;;-1:-1:-1;;;;;48262:34:0;;;48267:10;;48262:34;;1724:2:1;1709:18;48262:34:0;;;;;;;47913:391;;:::o;26529:149::-;25722:7;25749:12;;;:6;:12;;;;;:22;;;23717:16;23728:4;23717:10;:16::i;:::-;26644:26:::1;26656:4;26662:7;26644:11;:26::i;37132:151::-:0;-1:-1:-1;;;;;37248:18:0;;;37221:7;37248:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;37132:151::o;47631:274::-;23271:4;23717:16;23271:4;23717:10;:16::i;:::-;47763:8:::1;47762:9;:32;;;-1:-1:-1::0;48786:17:0;;48831:8;;47775:19:::1;47754:59;;;::::0;-1:-1:-1;;;47754:59:0;;6853:2:1;47754:59:0::1;::::0;::::1;6835:21:1::0;6892:2;6872:18;;;6865:30;-1:-1:-1;;;6911:18:1;;;6904:44;6965:18;;47754:59:0::1;6651:338:1::0;47754:59:0::1;-1:-1:-1::0;;;;;47824:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;;:27;;-1:-1:-1;;47824:27:0::1;::::0;::::1;;::::0;;::::1;::::0;;;47869:28;;445:41:1;;;47869:28:0::1;::::0;418:18:1;47869:28:0::1;;;;;;;47631:274:::0;;;:::o;43856:380::-;-1:-1:-1;;;;;43992:19:0;;43984:68;;;;-1:-1:-1;;;43984:68:0;;7196:2:1;43984:68:0;;;7178:21:1;7235:2;7215:18;;;7208:30;7274:34;7254:18;;;7247:62;-1:-1:-1;;;7325:18:1;;;7318:34;7369:19;;43984:68:0;6994:400:1;43984:68:0;-1:-1:-1;;;;;44071:21:0;;44063:68;;;;-1:-1:-1;;;44063:68:0;;7601:2:1;44063:68:0;;;7583:21:1;7640:2;7620:18;;;7613:30;7679:34;7659:18;;;7652:62;-1:-1:-1;;;7730:18:1;;;7723:32;7772:19;;44063:68:0;7399:398:1;44063:68:0;-1:-1:-1;;;;;44144:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;44196:32;;1736:25:1;;;44196:32:0;;1709:18:1;44196:32:0;;;;;;;43856:380;;;:::o;44527:453::-;44662:24;44689:25;44699:5;44706:7;44689:9;:25::i;:::-;44662:52;;-1:-1:-1;;44729:16:0;:37;44725:248;;44811:6;44791:16;:26;;44783:68;;;;-1:-1:-1;;;44783:68:0;;8004:2:1;44783:68:0;;;7986:21:1;8043:2;8023:18;;;8016:30;8082:31;8062:18;;;8055:59;8131:18;;44783:68:0;7802:353:1;44783:68:0;44895:51;44904:5;44911:7;44939:6;44920:16;:25;44895:8;:51::i;40735:840::-;-1:-1:-1;;;;;40866:18:0;;40858:68;;;;-1:-1:-1;;;40858:68:0;;8362:2:1;40858:68:0;;;8344:21:1;8401:2;8381:18;;;8374:30;8440:34;8420:18;;;8413:62;-1:-1:-1;;;8491:18:1;;;8484:35;8536:19;;40858:68:0;8160:401:1;40858:68:0;-1:-1:-1;;;;;40945:16:0;;40937:64;;;;-1:-1:-1;;;40937:64:0;;8768:2:1;40937:64:0;;;8750:21:1;8807:2;8787:18;;;8780:30;8846:34;8826:18;;;8819:62;-1:-1:-1;;;8897:18:1;;;8890:33;8940:19;;40937:64:0;8566:399:1;40937:64:0;41014:38;41035:4;41041:2;41045:6;41014:20;:38::i;:::-;-1:-1:-1;;;;;41087:15:0;;41065:19;41087:15;;;;;;;;;;;41121:21;;;;41113:72;;;;-1:-1:-1;;;41113:72:0;;9172:2:1;41113:72:0;;;9154:21:1;9211:2;9191:18;;;9184:30;9250:34;9230:18;;;9223:62;-1:-1:-1;;;9301:18:1;;;9294:36;9347:19;;41113:72:0;8970:402:1;41113:72:0;-1:-1:-1;;;;;41221:15:0;;;:9;:15;;;;;;;;;;;41239:20;;;41221:38;;41439:13;;;;;;;;;;:23;;;;;;41491:26;;1736:25:1;;;41439:13:0;;41491:26;;1709:18:1;41491:26:0;;;;;;;41530:37;26089:147;24572:105;24639:30;24650:4;21114:10;24639;:30::i;:::-;24572:105;:::o;28830:238::-;28914:22;28922:4;28928:7;28914;:22::i;:::-;28909:152;;28953:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;28953:29:0;;;;;;;;;:36;;-1:-1:-1;;28953:36:0;28985:4;28953:36;;;29036:12;21114:10;;21034:98;29036:12;-1:-1:-1;;;;;29009:40:0;29027:7;-1:-1:-1;;;;;29009:40:0;29021:4;29009:40;;;;;;;;;;28830:238;;:::o;29248:239::-;29332:22;29340:4;29346:7;29332;:22::i;:::-;29328:152;;;29403:5;29371:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;29371:29:0;;;;;;;;;;:37;;-1:-1:-1;;29371:37:0;;;29428:40;21114:10;;29371:12;;29428:40;;29403:5;29428:40;29248:239;;:::o;41862:548::-;-1:-1:-1;;;;;41946:21:0;;41938:65;;;;-1:-1:-1;;;41938:65:0;;9579:2:1;41938:65:0;;;9561:21:1;9618:2;9598:18;;;9591:30;9657:33;9637:18;;;9630:61;9708:18;;41938:65:0;9377:355:1;41938:65:0;42016:49;42045:1;42049:7;42058:6;42016:20;:49::i;:::-;42094:6;42078:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;42249:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;42304:37;1736:25:1;;;42304:37:0;;1709:18:1;42304:37:0;;;;;;;27233:218;;:::o;42743:675::-;-1:-1:-1;;;;;42827:21:0;;42819:67;;;;-1:-1:-1;;;42819:67:0;;9939:2:1;42819:67:0;;;9921:21:1;9978:2;9958:18;;;9951:30;10017:34;9997:18;;;9990:62;-1:-1:-1;;;10068:18:1;;;10061:31;10109:19;;42819:67:0;9737:397:1;42819:67:0;42899:49;42920:7;42937:1;42941:6;42899:20;:49::i;:::-;-1:-1:-1;;;;;42986:18:0;;42961:22;42986:18;;;;;;;;;;;43023:24;;;;43015:71;;;;-1:-1:-1;;;43015:71:0;;10341:2:1;43015:71:0;;;10323:21:1;10380:2;10360:18;;;10353:30;10419:34;10399:18;;;10392:62;-1:-1:-1;;;10470:18:1;;;10463:32;10512:19;;43015:71:0;10139:398:1;43015:71:0;-1:-1:-1;;;;;43122:18:0;;:9;:18;;;;;;;;;;;43143:23;;;43122:44;;43261:12;:22;;;;;;;43312:37;1736:25:1;;;43122:9:0;;:18;43312:37;;1709:18:1;43312:37:0;;;;;;;26089:147;;;:::o;48350:299::-;-1:-1:-1;;;;;48553:11:0;;;;;;:7;:11;;;;;;;;48552:12;;:32;;-1:-1:-1;48568:16:0;;;;48552:32;48530:111;;;;-1:-1:-1;;;48530:111:0;;10744:2:1;48530:111:0;;;10726:21:1;10783:2;10763:18;;;10756:30;10822:31;10802:18;;;10795:59;10871:18;;48530:111:0;10542:353:1;24967:492:0;25056:22;25064:4;25070:7;25056;:22::i;:::-;25051:401;;25244:28;25264:7;25244:19;:28::i;:::-;25345:38;25373:4;25380:2;25345:19;:38::i;:::-;25149:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25149:257:0;;;;;;;;;;-1:-1:-1;;;25095:345:0;;;;;;;:::i;17156:151::-;17214:13;17247:52;-1:-1:-1;;;;;17259:22:0;;15311:2;16552:447;16627:13;16653:19;16685:10;16689:6;16685:1;:10;:::i;:::-;:14;;16698:1;16685:14;:::i;:::-;16675:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16675:25:0;;16653:47;;-1:-1:-1;;;16711:6:0;16718:1;16711:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;16711:15:0;;;;;;;;;-1:-1:-1;;;16737:6:0;16744:1;16737:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;16737:15:0;;;;;;;;-1:-1:-1;16768:9:0;16780:10;16784:6;16780:1;:10;:::i;:::-;:14;;16793:1;16780:14;:::i;:::-;16768:26;;16763:131;16800:1;16796;:5;16763:131;;;-1:-1:-1;;;16844:5:0;16852:3;16844:11;16835:21;;;;;;;:::i;:::-;;;;16823:6;16830:1;16823:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;16823:33:0;;;;;;;;-1:-1:-1;16881:1:0;16871:11;;;;;16803:3;;;:::i;:::-;;;16763:131;;;-1:-1:-1;16912:10:0;;16904:55;;;;-1:-1:-1;;;16904:55:0;;12497:2:1;16904:55:0;;;12479:21:1;;;12516:18;;;12509:30;12575:34;12555:18;;;12548:62;12627:18;;16904:55:0;12295:356:1;16904:55:0;16984:6;16552:447;-1:-1:-1;;;16552:447:0:o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:1;721:16;;714:27;497:250::o;752:396::-;901:2;890:9;883:21;864:4;933:6;927:13;976:6;971:2;960:9;956:18;949:34;992:79;1064:6;1059:2;1048:9;1044:18;1039:2;1031:6;1027:15;992:79;:::i;:::-;1132:2;1111:15;-1:-1:-1;;1107:29:1;1092:45;;;;1139:2;1088:54;;752:396;-1:-1:-1;;752:396:1:o;1153:173::-;1221:20;;-1:-1:-1;;;;;1270:31:1;;1260:42;;1250:70;;1316:1;1313;1306:12;1250:70;1153:173;;;:::o;1331:254::-;1399:6;1407;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;1499:29;1518:9;1499:29;:::i;:::-;1489:39;1575:2;1560:18;;;;1547:32;;-1:-1:-1;;;1331:254:1:o;1772:328::-;1849:6;1857;1865;1918:2;1906:9;1897:7;1893:23;1889:32;1886:52;;;1934:1;1931;1924:12;1886:52;1957:29;1976:9;1957:29;:::i;:::-;1947:39;;2005:38;2039:2;2028:9;2024:18;2005:38;:::i;:::-;1995:48;;2090:2;2079:9;2075:18;2062:32;2052:42;;1772:328;;;;;:::o;2105:180::-;2164:6;2217:2;2205:9;2196:7;2192:23;2188:32;2185:52;;;2233:1;2230;2223:12;2185:52;-1:-1:-1;2256:23:1;;2105:180;-1:-1:-1;2105:180:1:o;2472:254::-;2540:6;2548;2601:2;2589:9;2580:7;2576:23;2572:32;2569:52;;;2617:1;2614;2607:12;2569:52;2653:9;2640:23;2630:33;;2682:38;2716:2;2705:9;2701:18;2682:38;:::i;:::-;2672:48;;2472:254;;;;;:::o;2920:186::-;2979:6;3032:2;3020:9;3011:7;3007:23;3003:32;3000:52;;;3048:1;3045;3038:12;3000:52;3071:29;3090:9;3071:29;:::i;3111:260::-;3179:6;3187;3240:2;3228:9;3219:7;3215:23;3211:32;3208:52;;;3256:1;3253;3246:12;3208:52;3279:29;3298:9;3279:29;:::i;:::-;3269:39;;3327:38;3361:2;3350:9;3346:18;3327:38;:::i;3376:347::-;3441:6;3449;3502:2;3490:9;3481:7;3477:23;3473:32;3470:52;;;3518:1;3515;3508:12;3470:52;3541:29;3560:9;3541:29;:::i;:::-;3531:39;;3620:2;3609:9;3605:18;3592:32;3667:5;3660:13;3653:21;3646:5;3643:32;3633:60;;3689:1;3686;3679:12;3633:60;3712:5;3702:15;;;3376:347;;;;;:::o;3728:380::-;3807:1;3803:12;;;;3850;;;3871:61;;3925:4;3917:6;3913:17;3903:27;;3871:61;3978:2;3970:6;3967:14;3947:18;3944:38;3941:161;;4024:10;4019:3;4015:20;4012:1;4005:31;4059:4;4056:1;4049:15;4087:4;4084:1;4077:15;3941:161;;3728:380;;;:::o;4529:127::-;4590:10;4585:3;4581:20;4578:1;4571:31;4621:4;4618:1;4611:15;4645:4;4642:1;4635:15;4661:125;4726:9;;;4747:10;;;4744:36;;;4760:18;;:::i;4791:128::-;4858:9;;;4879:11;;;4876:37;;;4893:18;;:::i;10900:812::-;11311:25;11306:3;11299:38;11281:3;11366:6;11360:13;11382:75;11450:6;11445:2;11440:3;11436:12;11429:4;11421:6;11417:17;11382:75;:::i;:::-;-1:-1:-1;;;11516:2:1;11476:16;;;11508:11;;;11501:40;11566:13;;11588:76;11566:13;11650:2;11642:11;;11635:4;11623:17;;11588:76;:::i;:::-;11684:17;11703:2;11680:26;;10900:812;-1:-1:-1;;;;10900:812:1:o;11717:168::-;11790:9;;;11821;;11838:15;;;11832:22;;11818:37;11808:71;;11859:18;;:::i;11890:127::-;11951:10;11946:3;11942:20;11939:1;11932:31;11982:4;11979:1;11972:15;12006:4;12003:1;11996:15;12022:127;12083:10;12078:3;12074:20;12071:1;12064:31;12114:4;12111:1;12104:15;12138:4;12135:1;12128:15;12154:136;12193:3;12221:5;12211:39;;12230:18;;:::i;:::-;-1:-1:-1;;;12266:18:1;;12154:136::o
Swarm Source
ipfs://448ea9de32fb391e087d256360b01de34f3b8c7e9f99bb4fe60905108005b9f3
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.