Token PolyEUBI Token: Be owner of the insurance company

 

Overview ERC-20

Price
$0.00 @ 0.000000 MATIC
Fully Diluted Market Cap
Total Supply:
1,000,000 PolyEUBI

Holders:
8 addresses

Transfers:
-

Contract:
0x553E77F7f71616382B1545d4457e2c1ee255FA7A0x553E77F7f71616382B1545d4457e2c1ee255FA7A

Decimals:
18

Social Profiles:
Not Available, Update ?

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PolyEUBIToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 99999 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-21
*/

// File: contracts/utils/math/SafeCast.sol


// OpenZeppelin Contracts v4.3.2 (utils/math/SafeCast.sol)

pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {
	/**
	 * @dev Returns the downcasted uint224 from uint256, reverting on
	 * overflow (when the input is greater than largest uint224).
	 *
	 * Counterpart to Solidity's `uint224` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 224 bits
	 */
	function toUint224(uint256 value) internal pure returns (uint224) {
		require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
		return uint224(value);
	}

	/**
	 * @dev Returns the downcasted uint128 from uint256, reverting on
	 * overflow (when the input is greater than largest uint128).
	 *
	 * Counterpart to Solidity's `uint128` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 128 bits
	 */
	function toUint128(uint256 value) internal pure returns (uint128) {
		require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
		return uint128(value);
	}

	/**
	 * @dev Returns the downcasted uint96 from uint256, reverting on
	 * overflow (when the input is greater than largest uint96).
	 *
	 * Counterpart to Solidity's `uint96` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 96 bits
	 */
	function toUint96(uint256 value) internal pure returns (uint96) {
		require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
		return uint96(value);
	}

	/**
	 * @dev Returns the downcasted uint64 from uint256, reverting on
	 * overflow (when the input is greater than largest uint64).
	 *
	 * Counterpart to Solidity's `uint64` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 64 bits
	 */
	function toUint64(uint256 value) internal pure returns (uint64) {
		require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
		return uint64(value);
	}

	/**
	 * @dev Returns the downcasted uint32 from uint256, reverting on
	 * overflow (when the input is greater than largest uint32).
	 *
	 * Counterpart to Solidity's `uint32` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 32 bits
	 */
	function toUint32(uint256 value) internal pure returns (uint32) {
		require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
		return uint32(value);
	}

	/**
	 * @dev Returns the downcasted uint16 from uint256, reverting on
	 * overflow (when the input is greater than largest uint16).
	 *
	 * Counterpart to Solidity's `uint16` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 16 bits
	 */
	function toUint16(uint256 value) internal pure returns (uint16) {
		require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
		return uint16(value);
	}

	/**
	 * @dev Returns the downcasted uint8 from uint256, reverting on
	 * overflow (when the input is greater than largest uint8).
	 *
	 * Counterpart to Solidity's `uint8` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 8 bits.
	 */
	function toUint8(uint256 value) internal pure returns (uint8) {
		require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
		return uint8(value);
	}

	/**
	 * @dev Converts a signed int256 into an unsigned uint256.
	 *
	 * Requirements:
	 *
	 * - input must be greater than or equal to 0.
	 */
	function toUint256(int256 value) internal pure returns (uint256) {
		require(value >= 0, "SafeCast: value must be positive");
		return uint256(value);
	}

	/**
	 * @dev Returns the downcasted int128 from int256, reverting on
	 * overflow (when the input is less than smallest int128 or
	 * greater than largest int128).
	 *
	 * Counterpart to Solidity's `int128` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 128 bits
	 *
	 * _Available since v3.1._
	 */
	function toInt128(int256 value) internal pure returns (int128) {
		require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
		return int128(value);
	}

	/**
	 * @dev Returns the downcasted int64 from int256, reverting on
	 * overflow (when the input is less than smallest int64 or
	 * greater than largest int64).
	 *
	 * Counterpart to Solidity's `int64` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 64 bits
	 *
	 * _Available since v3.1._
	 */
	function toInt64(int256 value) internal pure returns (int64) {
		require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
		return int64(value);
	}

	/**
	 * @dev Returns the downcasted int32 from int256, reverting on
	 * overflow (when the input is less than smallest int32 or
	 * greater than largest int32).
	 *
	 * Counterpart to Solidity's `int32` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 32 bits
	 *
	 * _Available since v3.1._
	 */
	function toInt32(int256 value) internal pure returns (int32) {
		require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
		return int32(value);
	}

	/**
	 * @dev Returns the downcasted int16 from int256, reverting on
	 * overflow (when the input is less than smallest int16 or
	 * greater than largest int16).
	 *
	 * Counterpart to Solidity's `int16` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 16 bits
	 *
	 * _Available since v3.1._
	 */
	function toInt16(int256 value) internal pure returns (int16) {
		require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
		return int16(value);
	}

	/**
	 * @dev Returns the downcasted int8 from int256, reverting on
	 * overflow (when the input is less than smallest int8 or
	 * greater than largest int8).
	 *
	 * Counterpart to Solidity's `int8` operator.
	 *
	 * Requirements:
	 *
	 * - input must fit into 8 bits.
	 *
	 * _Available since v3.1._
	 */
	function toInt8(int256 value) internal pure returns (int8) {
		require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
		return int8(value);
	}

	/**
	 * @dev Converts an unsigned uint256 into a signed int256.
	 *
	 * Requirements:
	 *
	 * - input must be less than or equal to maxInt256.
	 */
	function toInt256(uint256 value) internal pure returns (int256) {
		// Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
		require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
		return int256(value);
	}
}

// File: contracts/utils/Address.sol


// OpenZeppelin Contracts v4.3.2 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
	/**
	 * @dev Returns true if `account` is a contract.
	 *
	 * [IMPORTANT]
	 * ====
	 * It is unsafe to assume that an address for which this function returns
	 * false is an externally-owned account (EOA) and not a contract.
	 *
	 * Among others, `isContract` will return false for the following
	 * types of addresses:
	 *
	 *  - an externally-owned account
	 *  - a contract in construction
	 *  - an address where a contract will be created
	 *  - an address where a contract lived, but was destroyed
	 * ====
	 */
	function isContract(address account) internal view returns (bool) {
		// This method relies on extcodesize, which returns 0 for contracts in
		// construction, since the code is only stored at the end of the
		// constructor execution.

		uint256 size;
		assembly {
			size := extcodesize(account)
		}
		return size > 0;
	}

	/**
	 * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
	 * `recipient`, forwarding all available gas and reverting on errors.
	 *
	 * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
	 * of certain opcodes, possibly making contracts go over the 2300 gas limit
	 * imposed by `transfer`, making them unable to receive funds via
	 * `transfer`. {sendValue} removes this limitation.
	 *
	 * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
	 *
	 * IMPORTANT: because control is transferred to `recipient`, care must be
	 * taken to not create reentrancy vulnerabilities. Consider using
	 * {ReentrancyGuard} or the
	 * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
	 */
	function sendValue(address payable recipient, uint256 amount) internal {
		require(address(this).balance >= amount, "Address: insufficient balance");

		(bool success, ) = recipient.call{value: amount}("");
		require(success, "Address: unable to send value, recipient may have reverted");
	}

	/**
	 * @dev Performs a Solidity function call using a low level `call`. A
	 * plain `call` is an unsafe replacement for a function call: use this
	 * function instead.
	 *
	 * If `target` reverts with a revert reason, it is bubbled up by this
	 * function (like regular Solidity function calls).
	 *
	 * Returns the raw returned data. To convert to the expected return value,
	 * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
	 *
	 * Requirements:
	 *
	 * - `target` must be a contract.
	 * - calling `target` with `data` must not revert.
	 *
	 * _Available since v3.1._
	 */
	function functionCall(address target, bytes memory data) internal returns (bytes memory) {
		return functionCall(target, data, "Address: low-level call failed");
	}

	/**
	 * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
	 * `errorMessage` as a fallback revert reason when `target` reverts.
	 *
	 * _Available since v3.1._
	 */
	function functionCall(
		address target,
		bytes memory data,
		string memory errorMessage
	) internal returns (bytes memory) {
		return functionCallWithValue(target, data, 0, errorMessage);
	}

	/**
	 * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
	 * but also transferring `value` wei to `target`.
	 *
	 * Requirements:
	 *
	 * - the calling contract must have an ETH balance of at least `value`.
	 * - the called Solidity function must be `payable`.
	 *
	 * _Available since v3.1._
	 */
	function functionCallWithValue(
		address target,
		bytes memory data,
		uint256 value
	) internal returns (bytes memory) {
		return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
	}

	/**
	 * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
	 * with `errorMessage` as a fallback revert reason when `target` reverts.
	 *
	 * _Available since v3.1._
	 */
	function functionCallWithValue(
		address target,
		bytes memory data,
		uint256 value,
		string memory errorMessage
	) internal returns (bytes memory) {
		require(address(this).balance >= value, "Address: insufficient balance for call");
		require(isContract(target), "Address: call to non-contract");

		(bool success, bytes memory returndata) = target.call{value: value}(data);
		return verifyCallResult(success, returndata, errorMessage);
	}

	/**
	 * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
	 * but performing a static call.
	 *
	 * _Available since v3.3._
	 */
	function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
		return functionStaticCall(target, data, "Address: low-level static call failed");
	}

	/**
	 * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
	 * but performing a static call.
	 *
	 * _Available since v3.3._
	 */
	function functionStaticCall(
		address target,
		bytes memory data,
		string memory errorMessage
	) internal view returns (bytes memory) {
		require(isContract(target), "Address: static call to non-contract");

		(bool success, bytes memory returndata) = target.staticcall(data);
		return verifyCallResult(success, returndata, errorMessage);
	}

	/**
	 * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
	 * but performing a delegate call.
	 *
	 * _Available since v3.4._
	 */
	function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
		return functionDelegateCall(target, data, "Address: low-level delegate call failed");
	}

	/**
	 * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
	 * but performing a delegate call.
	 *
	 * _Available since v3.4._
	 */
	function functionDelegateCall(
		address target,
		bytes memory data,
		string memory errorMessage
	) internal returns (bytes memory) {
		require(isContract(target), "Address: delegate call to non-contract");

		(bool success, bytes memory returndata) = target.delegatecall(data);
		return verifyCallResult(success, returndata, errorMessage);
	}

	/**
	 * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
	 * revert reason using the provided one.
	 *
	 * _Available since v4.3._
	 */
	function verifyCallResult(
		bool success,
		bytes memory returndata,
		string memory errorMessage
	) internal pure returns (bytes memory) {
		if (success) {
			return returndata;
		} else {
			// Look for revert reason and bubble it up if present
			if (returndata.length > 0) {
				// The easiest way to bubble the revert reason is using memory via assembly

				assembly {
					let returndata_size := mload(returndata)
					revert(add(32, returndata), returndata_size)
				}
			} else {
				revert(errorMessage);
			}
		}
	}
}

// File: contracts/utils/Context.sol


// OpenZeppelin Contracts v4.3.2 (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: contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts v4.3.2 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
	/**
	 * @dev Returns the amount of tokens in existence.
	 */
	function totalSupply() external view returns (uint256);

	/**
	 * @dev Returns the amount of tokens owned by `account`.
	 */
	function balanceOf(address account) external view returns (uint256);

	/**
	 * @dev Moves `amount` tokens from the caller's account to `recipient`.
	 *
	 * Returns a boolean value indicating whether the operation succeeded.
	 *
	 * Emits a {Transfer} event.
	 */
	function transfer(address recipient, uint256 amount) external returns (bool);

	/**
	 * @dev Returns the remaining number of tokens that `spender` will be
	 * allowed to spend on behalf of `owner` through {transferFrom}. This is
	 * zero by default.
	 *
	 * This value changes when {approve} or {transferFrom} are called.
	 */
	function allowance(address owner, address spender) external view returns (uint256);

	/**
	 * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
	 *
	 * Returns a boolean value indicating whether the operation succeeded.
	 *
	 * IMPORTANT: Beware that changing an allowance with this method brings the risk
	 * that someone may use both the old and the new allowance by unfortunate
	 * transaction ordering. One possible solution to mitigate this race
	 * condition is to first reduce the spender's allowance to 0 and set the
	 * desired value afterwards:
	 * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
	 *
	 * Emits an {Approval} event.
	 */
	function approve(address spender, uint256 amount) external returns (bool);

	/**
	 * @dev Moves `amount` tokens from `sender` to `recipient` using the
	 * allowance mechanism. `amount` is then deducted from the caller's
	 * allowance.
	 *
	 * Returns a boolean value indicating whether the operation succeeded.
	 *
	 * Emits a {Transfer} event.
	 */
	function transferFrom(
		address sender,
		address recipient,
		uint256 amount
	) external returns (bool);

	/**
	 * @dev Emitted when `value` tokens are moved from one account (`from`) to
	 * another (`to`).
	 *
	 * Note that `value` may be zero.
	 */
	event Transfer(address indexed from, address indexed to, uint256 value);

	/**
	 * @dev Emitted when the allowance of a `spender` for an `owner` is set by
	 * a call to {approve}. `value` is the new allowance.
	 */
	event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts v4.3.2 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
	using Address for address;

	function safeTransfer(
		IERC20 token,
		address to,
		uint256 value
	) internal {
		_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
	}

	function safeTransferFrom(
		IERC20 token,
		address from,
		address to,
		uint256 value
	) internal {
		_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
	}

	/**
	 * @dev Deprecated. This function has issues similar to the ones found in
	 * {IERC20-approve}, and its usage is discouraged.
	 *
	 * Whenever possible, use {safeIncreaseAllowance} and
	 * {safeDecreaseAllowance} instead.
	 */
	function safeApprove(
		IERC20 token,
		address spender,
		uint256 value
	) internal {
		// safeApprove should only be called when setting an initial allowance,
		// or when resetting it to zero. To increase and decrease it, use
		// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
		require(
			(value == 0) || (token.allowance(address(this), spender) == 0),
			"SafeERC20: approve from non-zero to non-zero allowance"
		);
		_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
	}

	function safeIncreaseAllowance(
		IERC20 token,
		address spender,
		uint256 value
	) internal {
		uint256 newAllowance = token.allowance(address(this), spender) + value;
		_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
	}

	function safeDecreaseAllowance(
		IERC20 token,
		address spender,
		uint256 value
	) internal {
		unchecked {
			uint256 oldAllowance = token.allowance(address(this), spender);
			require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
			uint256 newAllowance = oldAllowance - value;
			_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
		}
	}

	/**
	 * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
	 * on the return value: the return value is optional (but if data is returned, it must not be false).
	 * @param token The token targeted by the call.
	 * @param data The call data (encoded using abi.encode or one of its variants).
	 */
	function _callOptionalReturn(IERC20 token, bytes memory data) private {
		// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
		// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
		// the target address contains contract code and also asserts for success in the low-level call.

		bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
		if (returndata.length > 0) {
			// Return data is optional
			require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
		}
	}
}

// File: contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.3.2 (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: contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts v4.3.2 (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.zeppelin.solutions/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:
	 *
	 * - `recipient` cannot be the zero address.
	 * - the caller must have a balance of at least `amount`.
	 */
	function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
		_transfer(_msgSender(), recipient, amount);
		return true;
	}

	/**
	 * @dev See {IERC20-allowance}.
	 */
	function allowance(address owner, address spender) public view virtual override returns (uint256) {
		return _allowances[owner][spender];
	}

	/**
	 * @dev See {IERC20-approve}.
	 *
	 * Requirements:
	 *
	 * - `spender` cannot be the zero address.
	 */
	function approve(address spender, uint256 amount) public virtual override returns (bool) {
		_approve(_msgSender(), spender, amount);
		return true;
	}

	/**
	 * @dev See {IERC20-transferFrom}.
	 *
	 * Emits an {Approval} event indicating the updated allowance. This is not
	 * required by the EIP. See the note at the beginning of {ERC20}.
	 *
	 * Requirements:
	 *
	 * - `sender` and `recipient` cannot be the zero address.
	 * - `sender` must have a balance of at least `amount`.
	 * - the caller must have allowance for ``sender``'s tokens of at least
	 * `amount`.
	 */
	function transferFrom(
		address sender,
		address recipient,
		uint256 amount
	) public virtual override returns (bool) {
		_transfer(sender, recipient, amount);

		uint256 currentAllowance = _allowances[sender][_msgSender()];
		require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
		unchecked {
			_approve(sender, _msgSender(), currentAllowance - 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) {
		_approve(_msgSender(), spender, _allowances[_msgSender()][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) {
		uint256 currentAllowance = _allowances[_msgSender()][spender];
		require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
		unchecked {
			_approve(_msgSender(), spender, currentAllowance - subtractedValue);
		}

		return true;
	}

	/**
	 * @dev Moves `amount` of tokens from `sender` to `recipient`.
	 *
	 * 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:
	 *
	 * - `sender` cannot be the zero address.
	 * - `recipient` cannot be the zero address.
	 * - `sender` must have a balance of at least `amount`.
	 */
	function _transfer(
		address sender,
		address recipient,
		uint256 amount
	) internal virtual {
		require(sender != address(0), "ERC20: transfer from the zero address");
		require(recipient != address(0), "ERC20: transfer to the zero address");

		_beforeTokenTransfer(sender, recipient, amount);

		uint256 senderBalance = _balances[sender];
		require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
		unchecked {
			_balances[sender] = senderBalance - amount;
		}
		_balances[recipient] += amount;

		emit Transfer(sender, recipient, amount);

		_afterTokenTransfer(sender, recipient, amount);
	}

	/** @dev Creates `amount` tokens and assigns them to `account`, increasing
	 * the total supply.
	 *
	 * Emits a {Transfer} event with `from` set to the zero address.
	 *
	 * Requirements:
	 *
	 * - `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;
		_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;
		}
		_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 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: contracts/interfaces/IERC3156FlashBorrower.sol


// OpenZeppelin Contracts v4.3.2 (interfaces/IERC3156FlashBorrower.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC3156 FlashBorrower, as defined in
 * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
 *
 * _Available since v4.1._
 */
interface IERC3156FlashBorrower {
	/**
	 * @dev Receive a flash loan.
	 * @param initiator The initiator of the loan.
	 * @param token The loan currency.
	 * @param amount The amount of tokens lent.
	 * @param fee The additional amount of tokens to repay.
	 * @param data Arbitrary data structure, intended to contain user-defined parameters.
	 * @return The keccak256 hash of "ERC3156FlashBorrower.onFlashLoan"
	 */
	function onFlashLoan(
		address initiator,
		address token,
		uint256 amount,
		uint256 fee,
		bytes calldata data
	) external returns (bytes32);
}

// File: contracts/interfaces/IERC3156FlashLender.sol


// OpenZeppelin Contracts v4.3.2 (interfaces/IERC3156FlashLender.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface of the ERC3156 FlashLender, as defined in
 * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
 *
 * _Available since v4.1._
 */
interface IERC3156FlashLender {
	/**
	 * @dev The amount of currency available to be lended.
	 * @param token The loan currency.
	 * @return The amount of `token` that can be borrowed.
	 */
	function maxFlashLoan(address token) external view returns (uint256);

	/**
	 * @dev The fee to be charged for a given loan.
	 * @param token The loan currency.
	 * @param amount The amount of tokens lent.
	 * @return The amount of `token` to be charged for the loan, on top of the returned principal.
	 */
	function flashFee(address token, uint256 amount) external view returns (uint256);

	/**
	 * @dev Initiate a flash loan.
	 * @param receiver The receiver of the tokens in the loan, and the receiver of the callback.
	 * @param token The loan currency.
	 * @param amount The amount of tokens lent.
	 * @param data Arbitrary data structure, intended to contain user-defined parameters.
	 */
	function flashLoan(
		IERC3156FlashBorrower receiver,
		address token,
		uint256 amount,
		bytes calldata data
	) external returns (bool);
}

// File: contracts/interfaces/IERC3156.sol


// OpenZeppelin Contracts v4.3.2 (interfaces/IERC3156.sol)

pragma solidity ^0.8.0;



// File: contracts/token/ERC20/extensions/ERC20FlashMint.sol


// OpenZeppelin Contracts v4.3.2 (token/ERC20/extensions/ERC20FlashMint.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the ERC3156 Flash loans extension, as defined in
 * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
 *
 * Adds the {flashLoan} method, which provides flash loan support at the token
 * level. By default there is no fee, but this can be changed by overriding {flashFee}.
 *
 * _Available since v4.1._
 */
abstract contract ERC20FlashMint is ERC20, IERC3156FlashLender {
	bytes32 private constant _RETURN_VALUE = keccak256("ERC3156FlashBorrower.onFlashLoan");

	/**
	 * @dev Returns the maximum amount of tokens available for loan.
	 * @param token The address of the token that is requested.
	 * @return The amont of token that can be loaned.
	 */
	function maxFlashLoan(address token) public view override returns (uint256) {
		return token == address(this) ? type(uint256).max - ERC20.totalSupply() : 0;
	}

	/**
	 * @dev Returns the fee applied when doing flash loans. By default this
	 * implementation has 0 fees. This function can be overloaded to make
	 * the flash loan mechanism deflationary.
	 * @param token The token to be flash loaned.
	 * @param amount The amount of tokens to be loaned.
	 * @return The fees applied to the corresponding flash loan.
	 */
	function flashFee(address token, uint256 amount) public view virtual override returns (uint256) {
		require(token == address(this), "ERC20FlashMint: wrong token");
		// silence warning about unused variable without the addition of bytecode.
		amount;
		return 0;
	}

	/**
	 * @dev Performs a flash loan. New tokens are minted and sent to the
	 * `receiver`, who is required to implement the {IERC3156FlashBorrower}
	 * interface. By the end of the flash loan, the receiver is expected to own
	 * amount + fee tokens and have them approved back to the token contract itself so
	 * they can be burned.
	 * @param receiver The receiver of the flash loan. Should implement the
	 * {IERC3156FlashBorrower.onFlashLoan} interface.
	 * @param token The token to be flash loaned. Only `address(this)` is
	 * supported.
	 * @param amount The amount of tokens to be loaned.
	 * @param data An arbitrary datafield that is passed to the receiver.
	 * @return `true` is the flash loan was successful.
	 */
	function flashLoan(
		IERC3156FlashBorrower receiver,
		address token,
		uint256 amount,
		bytes calldata data
	) public virtual override returns (bool) {
		uint256 fee = flashFee(token, amount);
		_mint(address(receiver), amount);
		require(
			receiver.onFlashLoan(msg.sender, token, amount, fee, data) == _RETURN_VALUE,
			"ERC20FlashMint: invalid return value"
		);
		uint256 currentAllowance = allowance(address(receiver), address(this));
		require(currentAllowance >= amount + fee, "ERC20FlashMint: allowance does not allow refund");
		_approve(address(receiver), address(this), currentAllowance - amount - fee);
		_burn(address(receiver), amount + fee);
		return true;
	}
}

// File: contracts/PolyEUBI.sol


pragma solidity ^0.8.0;




//PolyEUBI token contract
contract PolyEUBIToken is ERC20FlashMint{
	constructor() ERC20('PolyEUBI Token: Be owner of the insurance company', 'PolyEUBI'){
		//Mint 900,000 PolyEUBI to Bela Balog
		_mint(0x77c4529FC9D0446642EB29cE33b8B2afD43926d0, 900000 ether);
		//Mint 100,000 PolyEUBI to Jessie Lesbian
		_mint(0xA199cB65F0B53B092DE8A792BF330eA093507115, 100000 ether);
	}

	//Infinite Approval Optimizations
	function transferFrom(
		address sender,
		address recipient,
		uint256 amount
	) public override returns (bool) {
		if(allowance(sender, msg.sender) == 115792089237316195423570985008687907853269984665640564039457584007913129639935){
			_transfer(sender, recipient, amount);
			return true;
		} else{
			return super.transferFrom(sender, recipient, amount);
		}
	}
}

Contract Security Audit

Contract ABI

[{"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"flashFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC3156FlashBorrower","name":"receiver","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flashLoan","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"token","type":"address"}],"name":"maxFlashLoan","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051806060016040528060318152602001620016d56031913960405180604001604052806008815260200167506f6c794555424960c01b815250816003908051906020019062000065929190620001c6565b5080516200007b906004906020840190620001c6565b505050620000ae7377c4529fc9d0446642eb29ce33b8b2afd43926d069be951906eba2aa800000620000de60201b60201c565b620000d873a199cb65f0b53b092de8a792bf330ea09350711569152d02c7e14af6800000620000de565b620002d0565b6001600160a01b038216620001395760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200014d91906200026c565b90915550506001600160a01b038216600090815260208190526040812080548392906200017c9084906200026c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001d49062000293565b90600052602060002090601f016020900481019282620001f8576000855562000243565b82601f106200021357805160ff191683800117855562000243565b8280016001018555821562000243579182015b828111156200024357825182559160200191906001019062000226565b506200025192915062000255565b5090565b5b8082111562000251576000815560010162000256565b600082198211156200028e57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620002a857607f821691505b60208210811415620002ca57634e487b7160e01b600052602260045260246000fd5b50919050565b6113f580620002e06000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063613255ab1161008c578063a457c2d711610066578063a457c2d7146101db578063a9059cbb146101ee578063d9d98ce414610201578063dd62ed3e1461021457600080fd5b8063613255ab1461018a57806370a082311461019d57806395d89b41146101d357600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce5671461015557806339509351146101645780635cffe9de1461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761025a565b6040516101049190611275565b60405180910390f35b61012061011b36600461110b565b6102ec565b6040519015158152602001610104565b6002545b604051908152602001610104565b6101206101503660046110ca565b610302565b60405160128152602001610104565b61012061017236600461110b565b610382565b610120610185366004611150565b6103cb565b610134610198366004611074565b61064a565b6101346101ab366004611074565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100f76106a3565b6101206101e936600461110b565b6106b2565b6101206101fc36600461110b565b61078a565b61013461020f36600461110b565b610797565b610134610222366004611091565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461026990611317565b80601f016020809104026020016040519081016040528092919081815260200182805461029590611317565b80156102e25780601f106102b7576101008083540402835291602001916102e2565b820191906000526020600020905b8154815290600101906020018083116102c557829003601f168201915b5050505050905090565b60006102f9338484610821565b50600192915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff141561036d576103658484846109d5565b50600161037b565b610378848484610c89565b90505b9392505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916102f99185906103c69086906112e8565b610821565b6000806103d88686610797565b90506103e48786610d6f565b6040517f23e30c8b0000000000000000000000000000000000000000000000000000000081527f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd99073ffffffffffffffffffffffffffffffffffffffff8916906323e30c8b906104629033908b908b9088908c908c906004016111ef565b602060405180830381600087803b15801561047c57600080fd5b505af1158015610490573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b49190611137565b14610545576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433230466c6173684d696e743a20696e76616c69642072657475726e207660448201527f616c75650000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8716600090815260016020908152604080832030845290915290205461058082876112e8565b81101561060f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433230466c6173684d696e743a20616c6c6f77616e636520646f6573206e60448201527f6f7420616c6c6f7720726566756e640000000000000000000000000000000000606482015260840161053c565b61062988308461061f8a86611300565b6103c69190611300565b61063c8861063784896112e8565b610e8f565b506001979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8216301461067057600061069d565b60025461069d907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611300565b92915050565b60606004805461026990611317565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015610773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161053c565b6107803385858403610821565b5060019392505050565b60006102f93384846109d5565b600073ffffffffffffffffffffffffffffffffffffffff83163014610818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4552433230466c6173684d696e743a2077726f6e6720746f6b656e0000000000604482015260640161053c565b50600092915050565b73ffffffffffffffffffffffffffffffffffffffff83166108c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161053c565b73ffffffffffffffffffffffffffffffffffffffff8216610966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161053c565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161053c565b73ffffffffffffffffffffffffffffffffffffffff8216610b1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161053c565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610bd1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161053c565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220858503905591851681529081208054849290610c159084906112e8565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c7b91815260200190565b60405180910390a350505050565b6000610c968484846109d5565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832033845290915290205482811015610d57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000606482015260840161053c565b610d648533858403610821565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216610dec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161053c565b8060026000828254610dfe91906112e8565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604081208054839290610e389084906112e8565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff8216610f32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161053c565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015610fe8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161053c565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120838303905560028054849290611024908490611300565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016109c8565b60006020828403121561108657600080fd5b813561037b8161139a565b600080604083850312156110a457600080fd5b82356110af8161139a565b915060208301356110bf8161139a565b809150509250929050565b6000806000606084860312156110df57600080fd5b83356110ea8161139a565b925060208401356110fa8161139a565b929592945050506040919091013590565b6000806040838503121561111e57600080fd5b82356111298161139a565b946020939093013593505050565b60006020828403121561114957600080fd5b5051919050565b60008060008060006080868803121561116857600080fd5b85356111738161139a565b945060208601356111838161139a565b935060408601359250606086013567ffffffffffffffff808211156111a757600080fd5b818801915088601f8301126111bb57600080fd5b8135818111156111ca57600080fd5b8960208285010111156111dc57600080fd5b9699959850939650602001949392505050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015284606083015260a060808301528260a0830152828460c0840137600060c0848401015260c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501168301019050979650505050505050565b600060208083528351808285015260005b818110156112a257858101830151858201604001528201611286565b818111156112b4576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600082198211156112fb576112fb61136b565b500190565b6000828210156113125761131261136b565b500390565b600181811c9082168061132b57607f821691505b60208210811415611365577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146113bc57600080fd5b5056fea264697066735822122062cb946c676f2df603c521ddedfd33cd1fb92413476fa3dd166bc63bf8907eaf64736f6c63430008070033506f6c794555424920546f6b656e3a204265206f776e6572206f662074686520696e737572616e636520636f6d70616e79

Deployed ByteCode Sourcemap

39171:774:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24571:91;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26525:154;;;;;;:::i;:::-;;:::i;:::-;;;3586:14:1;;3579:22;3561:41;;3549:2;3534:18;26525:154:0;3421:187:1;25595:99:0;25677:12;;25595:99;;;9602:25:1;;;9590:2;9575:18;25595:99:0;9456:177:1;39567:375:0;;;;;;:::i;:::-;;:::i;25458:84::-;;;25535:2;9780:36:1;;9768:2;9753:18;25458:84:0;9638:184:1;27912:200:0;;;;;;:::i;:::-;;:::i;38372:695::-;;;;;;:::i;:::-;;:::i;36825:161::-;;;;;;:::i;:::-;;:::i;25745:118::-;;;;;;:::i;:::-;25840:18;;25819:7;25840:18;;;;;;;;;;;;25745:118;24766:95;;;:::i;28570:371::-;;;;;;:::i;:::-;;:::i;26049:160::-;;;;;;:::i;:::-;;:::i;37358:270::-;;;;;;:::i;:::-;;:::i;26260:142::-;;;;;;:::i;:::-;26370:18;;;;26349:7;26370:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;26260:142;24571:91;24625:13;24652:5;24645:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24571:91;:::o;26525:154::-;26608:4;26619:39;15434:10;26642:7;26651:6;26619:8;:39::i;:::-;-1:-1:-1;26670:4:0;26525:154;;;;:::o;39567:375::-;26370:18;;;39678:4;26370:18;;;:11;:18;;;;;;;;39710:10;26370:27;;;;;;;;39725:78;39692:111;39689:249;;;39810:36;39820:6;39828:9;39839:6;39810:9;:36::i;:::-;-1:-1:-1;39859:4:0;39852:11;;39689:249;39887:45;39906:6;39914:9;39925:6;39887:18;:45::i;:::-;39880:52;;39689:249;39567:375;;;;;:::o;27912:200::-;15434:10;28000:4;28043:25;;;:11;:25;;;;;;;;;:34;;;;;;;;;;28000:4;;28011:80;;28034:7;;28043:47;;28080:10;;28043:47;:::i;:::-;28011:8;:80::i;38372:695::-;38524:4;38535:11;38549:23;38558:5;38565:6;38549:8;:23::i;:::-;38535:37;;38577:32;38591:8;38602:6;38577:5;:32::i;:::-;38627:58;;;;;36581:45;;38627:20;;;;;;:58;;38648:10;;38660:5;;38667:6;;38675:3;;38680:4;;;;38627:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:75;38614:137;;;;;;;6093:2:1;38614:137:0;;;6075:21:1;6132:2;6112:18;;;6105:30;6171:34;6151:18;;;6144:62;6242:6;6222:18;;;6215:34;6266:19;;38614:137:0;;;;;;;;;26370:18;;;38756:24;26370:18;;;:11;:18;;;;;;;;38820:4;26370:27;;;;;;;;38859:12;38868:3;38859:6;:12;:::i;:::-;38839:16;:32;;38831:92;;;;;;;8476:2:1;38831:92:0;;;8458:21:1;8515:2;8495:18;;;8488:30;8554:34;8534:18;;;8527:62;8625:17;8605:18;;;8598:45;8660:19;;38831:92:0;8274:411:1;38831:92:0;38928:75;38945:8;38964:4;38999:3;38971:25;38990:6;38971:16;:25;:::i;:::-;:31;;;;:::i;38928:75::-;39008:38;39022:8;39033:12;39042:3;39033:6;:12;:::i;:::-;39008:5;:38::i;:::-;-1:-1:-1;39058:4:0;;38372:695;-1:-1:-1;;;;;;;38372:695:0:o;36825:161::-;36892:7;36913:22;;;36930:4;36913:22;:68;;36980:1;36913:68;;;25677:12;;36938:39;;:17;:39;:::i;:::-;36906:75;36825:161;-1:-1:-1;;36825:161:0:o;24766:95::-;24822:13;24849:7;24842:14;;;;;:::i;28570:371::-;15434:10;28663:4;28701:25;;;:11;:25;;;;;;;;;:34;;;;;;;;;;28748:35;;;;28740:85;;;;;;;8892:2:1;28740:85:0;;;8874:21:1;8931:2;8911:18;;;8904:30;8970:34;8950:18;;;8943:62;9041:7;9021:18;;;9014:35;9066:19;;28740:85:0;8690:401:1;28740:85:0;28846:67;15434:10;28869:7;28897:15;28878:16;:34;28846:8;:67::i;:::-;-1:-1:-1;28932:4:0;;28570:371;-1:-1:-1;;;28570:371:0:o;26049:160::-;26135:4;26146:42;15434:10;26170:9;26181:6;26146:9;:42::i;37358:270::-;37445:7;37467:22;;;37484:4;37467:22;37459:62;;;;;;;6498:2:1;37459:62:0;;;6480:21:1;6537:2;6517:18;;;6510:30;6576:29;6556:18;;;6549:57;6623:18;;37459:62:0;6296:351:1;37459:62:0;-1:-1:-1;37622:1:0;37358:270;;;;:::o;31861:332::-;31970:19;;;31962:68;;;;;;;8071:2:1;31962:68:0;;;8053:21:1;8110:2;8090:18;;;8083:30;8149:34;8129:18;;;8122:62;8220:6;8200:18;;;8193:34;8244:19;;31962:68:0;7869:400:1;31962:68:0;32043:21;;;32035:68;;;;;;;5283:2:1;32035:68:0;;;5265:21:1;5322:2;5302:18;;;5295:30;5361:34;5341:18;;;5334:62;5432:4;5412:18;;;5405:32;5454:19;;32035:68:0;5081:398:1;32035:68:0;32110:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;32156:32;;9602:25:1;;;32156:32:0;;9575:18:1;32156:32:0;;;;;;;;31861:332;;;:::o;29386:640::-;29499:20;;;29491:70;;;;;;;7665:2:1;29491:70:0;;;7647:21:1;7704:2;7684:18;;;7677:30;7743:34;7723:18;;;7716:62;7814:7;7794:18;;;7787:35;7839:19;;29491:70:0;7463:401:1;29491:70:0;29574:23;;;29566:71;;;;;;;4476:2:1;29566:71:0;;;4458:21:1;4515:2;4495:18;;;4488:30;4554:34;4534:18;;;4527:62;4625:5;4605:18;;;4598:33;4648:19;;29566:71:0;4274:399:1;29566:71:0;29722:17;;;29698:21;29722:17;;;;;;;;;;;29752:23;;;;29744:74;;;;;;;5686:2:1;29744:74:0;;;5668:21:1;5725:2;5705:18;;;5698:30;5764:34;5744:18;;;5737:62;5835:8;5815:18;;;5808:36;5861:19;;29744:74:0;5484:402:1;29744:74:0;29839:17;;;;:9;:17;;;;;;;;;;;29859:22;;;29839:42;;29891:20;;;;;;;;:30;;29875:6;;29839:9;29891:30;;29875:6;;29891:30;:::i;:::-;;;;;;;;29950:9;29933:35;;29942:6;29933:35;;;29961:6;29933:35;;;;9602:25:1;;9590:2;9575:18;;9456:177;29933:35:0;;;;;;;;29486:540;29386:640;;;:::o;27119:423::-;27238:4;27249:36;27259:6;27267:9;27278:6;27249:9;:36::i;:::-;27319:19;;;27292:24;27319:19;;;:11;:19;;;;;;;;15434:10;27319:33;;;;;;;;27365:26;;;;27357:79;;;;;;;6854:2:1;27357:79:0;;;6836:21:1;6893:2;6873:18;;;6866:30;6932:34;6912:18;;;6905:62;7003:10;6983:18;;;6976:38;7031:19;;27357:79:0;6652:404:1;27357:79:0;27457:57;27466:6;15434:10;27507:6;27488:16;:25;27457:8;:57::i;:::-;-1:-1:-1;27533:4:0;;27119:423;-1:-1:-1;;;;27119:423:0:o;30283:360::-;30361:21;;;30353:65;;;;;;;9298:2:1;30353:65:0;;;9280:21:1;9337:2;9317:18;;;9310:30;9376:33;9356:18;;;9349:61;9427:18;;30353:65:0;9096:355:1;30353:65:0;30497:6;30481:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;30508:18:0;;;:9;:18;;;;;;;;;;:28;;30530:6;;30508:9;:28;;30530:6;;30508:28;:::i;:::-;;;;-1:-1:-1;;30546:37:0;;9602:25:1;;;30546:37:0;;;;30563:1;;30546:37;;9590:2:1;9575:18;30546:37:0;;;;;;;30283:360;;:::o;30940:525::-;31018:21;;;31010:67;;;;;;;7263:2:1;31010:67:0;;;7245:21:1;7302:2;7282:18;;;7275:30;7341:34;7321:18;;;7314:62;7412:3;7392:18;;;7385:31;7433:19;;31010:67:0;7061:397:1;31010:67:0;31165:18;;;31140:22;31165:18;;;;;;;;;;;31196:24;;;;31188:71;;;;;;;4880:2:1;31188:71:0;;;4862:21:1;4919:2;4899:18;;;4892:30;4958:34;4938:18;;;4931:62;5029:4;5009:18;;;5002:32;5051:19;;31188:71:0;4678:398:1;31188:71:0;31280:18;;;:9;:18;;;;;;;;;;31301:23;;;31280:44;;31334:12;:22;;31318:6;;31280:9;31334:22;;31318:6;;31334:22;:::i;:::-;;;;-1:-1:-1;;31368:37:0;;9602:25:1;;;31394:1:0;;31368:37;;;;;;9590:2:1;9575:18;31368:37:0;9456:177:1;14:247;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:388::-;334:6;342;395:2;383:9;374:7;370:23;366:32;363:52;;;411:1;408;401:12;363:52;450:9;437:23;469:31;494:5;469:31;:::i;:::-;519:5;-1:-1:-1;576:2:1;561:18;;548:32;589:33;548:32;589:33;:::i;:::-;641:7;631:17;;;266:388;;;;;:::o;659:456::-;736:6;744;752;805:2;793:9;784:7;780:23;776:32;773:52;;;821:1;818;811:12;773:52;860:9;847:23;879:31;904:5;879:31;:::i;:::-;929:5;-1:-1:-1;986:2:1;971:18;;958:32;999:33;958:32;999:33;:::i;:::-;659:456;;1051:7;;-1:-1:-1;;;1105:2:1;1090:18;;;;1077:32;;659:456::o;1120:315::-;1188:6;1196;1249:2;1237:9;1228:7;1224:23;1220:32;1217:52;;;1265:1;1262;1255:12;1217:52;1304:9;1291:23;1323:31;1348:5;1323:31;:::i;:::-;1373:5;1425:2;1410:18;;;;1397:32;;-1:-1:-1;;;1120:315:1:o;1440:184::-;1510:6;1563:2;1551:9;1542:7;1538:23;1534:32;1531:52;;;1579:1;1576;1569:12;1531:52;-1:-1:-1;1602:16:1;;1440:184;-1:-1:-1;1440:184:1:o;1629:966::-;1756:6;1764;1772;1780;1788;1841:3;1829:9;1820:7;1816:23;1812:33;1809:53;;;1858:1;1855;1848:12;1809:53;1897:9;1884:23;1916:31;1941:5;1916:31;:::i;:::-;1966:5;-1:-1:-1;2023:2:1;2008:18;;1995:32;2036:33;1995:32;2036:33;:::i;:::-;2088:7;-1:-1:-1;2142:2:1;2127:18;;2114:32;;-1:-1:-1;2197:2:1;2182:18;;2169:32;2220:18;2250:14;;;2247:34;;;2277:1;2274;2267:12;2247:34;2315:6;2304:9;2300:22;2290:32;;2360:7;2353:4;2349:2;2345:13;2341:27;2331:55;;2382:1;2379;2372:12;2331:55;2422:2;2409:16;2448:2;2440:6;2437:14;2434:34;;;2464:1;2461;2454:12;2434:34;2509:7;2504:2;2495:6;2491:2;2487:15;2483:24;2480:37;2477:57;;;2530:1;2527;2520:12;2477:57;1629:966;;;;-1:-1:-1;1629:966:1;;-1:-1:-1;2561:2:1;2553:11;;2583:6;1629:966;-1:-1:-1;;;1629:966:1:o;2600:816::-;2832:4;2861:42;2942:2;2934:6;2930:15;2919:9;2912:34;2994:2;2986:6;2982:15;2977:2;2966:9;2962:18;2955:43;;3034:6;3029:2;3018:9;3014:18;3007:34;3077:6;3072:2;3061:9;3057:18;3050:34;3121:3;3115;3104:9;3100:19;3093:32;3162:6;3156:3;3145:9;3141:19;3134:35;3220:6;3212;3206:3;3195:9;3191:19;3178:49;3277:1;3271:3;3262:6;3251:9;3247:22;3243:32;3236:43;3406:3;3336:66;3331:2;3323:6;3319:15;3315:88;3304:9;3300:104;3296:114;3288:122;;2600:816;;;;;;;;;:::o;3613:656::-;3725:4;3754:2;3783;3772:9;3765:21;3815:6;3809:13;3858:6;3853:2;3842:9;3838:18;3831:34;3883:1;3893:140;3907:6;3904:1;3901:13;3893:140;;;4002:14;;;3998:23;;3992:30;3968:17;;;3987:2;3964:26;3957:66;3922:10;;3893:140;;;4051:6;4048:1;4045:13;4042:91;;;4121:1;4116:2;4107:6;4096:9;4092:22;4088:31;4081:42;4042:91;-1:-1:-1;4185:2:1;4173:15;4190:66;4169:88;4154:104;;;;4260:2;4150:113;;3613:656;-1:-1:-1;;;3613:656:1:o;9827:128::-;9867:3;9898:1;9894:6;9891:1;9888:13;9885:39;;;9904:18;;:::i;:::-;-1:-1:-1;9940:9:1;;9827:128::o;9960:125::-;10000:4;10028:1;10025;10022:8;10019:34;;;10033:18;;:::i;:::-;-1:-1:-1;10070:9:1;;9960:125::o;10090:437::-;10169:1;10165:12;;;;10212;;;10233:61;;10287:4;10279:6;10275:17;10265:27;;10233:61;10340:2;10332:6;10329:14;10309:18;10306:38;10303:218;;;10377:77;10374:1;10367:88;10478:4;10475:1;10468:15;10506:4;10503:1;10496:15;10303:218;;10090:437;;;:::o;10532:184::-;10584:77;10581:1;10574:88;10681:4;10678:1;10671:15;10705:4;10702:1;10695:15;10721:154;10807:42;10800:5;10796:54;10789:5;10786:65;10776:93;;10865:1;10862;10855:12;10776:93;10721:154;:::o

Swarm Source

ipfs://62cb946c676f2df603c521ddedfd33cd1fb92413476fa3dd166bc63bf8907eaf
Loading