ERC-20
Blockchain
Overview
Max Total Supply
2,100,000,000 MIND
Holders
1,393 ( 0.215%)
Market
Price
$0.00 @ 0.000001 ETH (+4.86%)
Onchain Market Cap
$3,879,435.00
Circulating Supply Market Cap
$2,521,135.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
304,774.117134450265626193 MINDValue
$563.02 ( ~0.224646733153198 Eth) [0.0145%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MITx
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.17; import {SafeERC20, IERC20, Address} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {ERC20Capped, ERC20} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; contract MITx is ERC20Capped, Ownable { using SafeERC20 for IERC20; using Address for address; uint256 public immutable MAX_SUPPLY; constructor( uint256 maxSupply, address tokenOwner, address[] memory accounts, uint256[] memory amounts, string memory name, string memory symbol ) ERC20Capped(maxSupply) ERC20(name, symbol) { // Only need to check `tokenOwner` must be NOT 0x00 // ERC20Capped already check `maxSupply` must be non-zero require(tokenOwner != address(0), "Set 0x00 as Owner"); // set a max number of MITx-V2 Token MAX_SUPPLY = maxSupply; // check `accounts` and `amounts` length are matched before minting initialized amounts // Wouldn't check sum of `amounts` and MAX_SUPPLY. It could be checked off-chain instead uint256 len = accounts.length; require(amounts.length == len, "Length mismatch"); for (uint256 i; i < len; i++) _mint(accounts[i], amounts[i]); // Ownable() set `msg.sender` as Owner by default // Setting non-sender as `owner` is available in the version v5 // Thus, must call _transferOwnership() again at this point _transferOwnership(tokenOwner); } /** @notice Mint `amount` of MITx-V2 Token to `account` @dev Caller must be Owner @param account Beneficiary account to receive tokens @param amount Amount of MITx-V2 Token being minted Note: It reverts likely if totalSupply() + amount exceeds MAX_SUPPLY */ function mint(address account, uint256 amount) external onlyOwner { // ERC20.sol checks `account` must be not 0x00 // MAX_SUPPLY constraint will be checked by ERC20Capped _mint(account, amount); } /** @notice Burn `amount` of MITx-V2 Token from `msg.sender` @dev Caller can be ANY @param amount Amount of MITx-V2 Token being burnt Note: - `msg.sender` burns only his/her current owned balance */ function burn(uint256 amount) external { // ERC20.sol checks `account` must be not 0x00 // and `amount` must be less or equal the balance _burn(_msgSender(), amount); } /** @notice Emergency transfer `token` to `owner` @dev Caller can be ANY @param token Address of token contract (Native Coin = 0x00) @param amount Amount of MITx-V2 Token being burnt Note: - This function allows `owner` to withdraw any tokens that mistakenly sent to this contract - Two types of token can be withdrawed: Native Coin, and ERC-20 */ function emergency(address token, uint256 amount) external { address receiver = owner(); if (token == address(0)) Address.sendValue(payable(receiver), amount); else IERC20(token).safeTransfer(receiver, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 default value returned by this function, unless * it's 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private immutable _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor(uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @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; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ 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)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ 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"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @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). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // 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 cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","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":"emergency","outputs":[],"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":"account","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b50604051620035c1380380620035c18339818101604052810190620000379190620008f0565b85828281600390816200004b919062000c49565b5080600490816200005d919062000c49565b50505060008111620000a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200009d9062000d91565b60405180910390fd5b806080818152505050620000cf620000c36200022260201b60201c565b6200022a60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160362000141576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001389062000e03565b60405180910390fd5b8560a081815250506000845190508084511462000195576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200018c9062000e75565b60405180910390fd5b60005b818110156200020357620001ed868281518110620001bb57620001ba62000e97565b5b6020026020010151868381518110620001d957620001d862000e97565b5b6020026020010151620002f060201b60201c565b8080620001fa9062000ef5565b91505062000198565b5062000215866200022a60201b60201c565b505050505050506200108f565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003006200038160201b60201c565b81620003166200038b60201b620004771760201c565b62000322919062000f42565b111562000366576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035d9062000fcd565b60405180910390fd5b6200037d82826200039560201b620008a21760201c565b5050565b6000608051905090565b6000600254905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000407576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003fe906200103f565b60405180910390fd5b6200041b600083836200050260201b60201c565b80600260008282546200042f919062000f42565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004e2919062001072565b60405180910390a3620004fe600083836200050760201b60201c565b5050565b505050565b505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620005358162000520565b81146200054157600080fd5b50565b60008151905062000555816200052a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000588826200055b565b9050919050565b6200059a816200057b565b8114620005a657600080fd5b50565b600081519050620005ba816200058f565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200061082620005c5565b810181811067ffffffffffffffff82111715620006325762000631620005d6565b5b80604052505050565b6000620006476200050c565b905062000655828262000605565b919050565b600067ffffffffffffffff821115620006785762000677620005d6565b5b602082029050602081019050919050565b600080fd5b6000620006a56200069f846200065a565b6200063b565b90508083825260208201905060208402830185811115620006cb57620006ca62000689565b5b835b81811015620006f85780620006e38882620005a9565b845260208401935050602081019050620006cd565b5050509392505050565b600082601f8301126200071a5762000719620005c0565b5b81516200072c8482602086016200068e565b91505092915050565b600067ffffffffffffffff821115620007535762000752620005d6565b5b602082029050602081019050919050565b60006200077b620007758462000735565b6200063b565b90508083825260208201905060208402830185811115620007a157620007a062000689565b5b835b81811015620007ce5780620007b9888262000544565b845260208401935050602081019050620007a3565b5050509392505050565b600082601f830112620007f057620007ef620005c0565b5b81516200080284826020860162000764565b91505092915050565b600080fd5b600067ffffffffffffffff8211156200082e576200082d620005d6565b5b6200083982620005c5565b9050602081019050919050565b60005b838110156200086657808201518184015260208101905062000849565b60008484015250505050565b600062000889620008838462000810565b6200063b565b905082815260208101848484011115620008a857620008a76200080b565b5b620008b584828562000846565b509392505050565b600082601f830112620008d557620008d4620005c0565b5b8151620008e784826020860162000872565b91505092915050565b60008060008060008060c0878903121562000910576200090f62000516565b5b60006200092089828a0162000544565b96505060206200093389828a01620005a9565b955050604087015167ffffffffffffffff8111156200095757620009566200051b565b5b6200096589828a0162000702565b945050606087015167ffffffffffffffff8111156200098957620009886200051b565b5b6200099789828a01620007d8565b935050608087015167ffffffffffffffff811115620009bb57620009ba6200051b565b5b620009c989828a01620008bd565b92505060a087015167ffffffffffffffff811115620009ed57620009ec6200051b565b5b620009fb89828a01620008bd565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a5b57607f821691505b60208210810362000a715762000a7062000a13565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000adb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000a9c565b62000ae7868362000a9c565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000b2a62000b2462000b1e8462000520565b62000aff565b62000520565b9050919050565b6000819050919050565b62000b468362000b09565b62000b5e62000b558262000b31565b84845462000aa9565b825550505050565b600090565b62000b7562000b66565b62000b8281848462000b3b565b505050565b5b8181101562000baa5762000b9e60008262000b6b565b60018101905062000b88565b5050565b601f82111562000bf95762000bc38162000a77565b62000bce8462000a8c565b8101602085101562000bde578190505b62000bf662000bed8562000a8c565b83018262000b87565b50505b505050565b600082821c905092915050565b600062000c1e6000198460080262000bfe565b1980831691505092915050565b600062000c39838362000c0b565b9150826002028217905092915050565b62000c548262000a08565b67ffffffffffffffff81111562000c705762000c6f620005d6565b5b62000c7c825462000a42565b62000c8982828562000bae565b600060209050601f83116001811462000cc1576000841562000cac578287015190505b62000cb8858262000c2b565b86555062000d28565b601f19841662000cd18662000a77565b60005b8281101562000cfb5784890151825560018201915060208501945060208101905062000cd4565b8683101562000d1b578489015162000d17601f89168262000c0b565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332304361707065643a2063617020697320300000000000000000000000600082015250565b600062000d7960158362000d30565b915062000d868262000d41565b602082019050919050565b6000602082019050818103600083015262000dac8162000d6a565b9050919050565b7f5365742030783030206173204f776e6572000000000000000000000000000000600082015250565b600062000deb60118362000d30565b915062000df88262000db3565b602082019050919050565b6000602082019050818103600083015262000e1e8162000ddc565b9050919050565b7f4c656e677468206d69736d617463680000000000000000000000000000000000600082015250565b600062000e5d600f8362000d30565b915062000e6a8262000e25565b602082019050919050565b6000602082019050818103600083015262000e908162000e4e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000f028262000520565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362000f375762000f3662000ec6565b5b600182019050919050565b600062000f4f8262000520565b915062000f5c8362000520565b925082820190508082111562000f775762000f7662000ec6565b5b92915050565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b600062000fb560198362000d30565b915062000fc28262000f7d565b602082019050919050565b6000602082019050818103600083015262000fe88162000fa6565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062001027601f8362000d30565b9150620010348262000fef565b602082019050919050565b600060208201905081810360008301526200105a8162001018565b9050919050565b6200106c8162000520565b82525050565b600060208201905062001089600083018462001061565b92915050565b60805160a05161250c620010b560003960006104bb015260006104e1015261250c6000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806340c10f19116100ad57806395d89b411161007157806395d89b41146102f8578063a457c2d714610316578063a9059cbb14610346578063dd62ed3e14610376578063f2fde38b146103a657610121565b806340c10f191461026857806342966c681461028457806370a08231146102a0578063715018a6146102d05780638da5cb5b146102da57610121565b8063313ce567116100f4578063313ce567146101c257806332cb6b0c146101e0578063355274ea146101fe578063395093511461021c5780633ec9ef2e1461024c57610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461017457806323b872dd14610192575b600080fd5b61012e6103c2565b60405161013b91906116ef565b60405180910390f35b61015e600480360381019061015991906117aa565b610454565b60405161016b9190611805565b60405180910390f35b61017c610477565b604051610189919061182f565b60405180910390f35b6101ac60048036038101906101a7919061184a565b610481565b6040516101b99190611805565b60405180910390f35b6101ca6104b0565b6040516101d791906118b9565b60405180910390f35b6101e86104b9565b6040516101f5919061182f565b60405180910390f35b6102066104dd565b604051610213919061182f565b60405180910390f35b610236600480360381019061023191906117aa565b610505565b6040516102439190611805565b60405180910390f35b610266600480360381019061026191906117aa565b61053c565b005b610282600480360381019061027d91906117aa565b6105bc565b005b61029e600480360381019061029991906118d4565b6105d2565b005b6102ba60048036038101906102b59190611901565b6105e6565b6040516102c7919061182f565b60405180910390f35b6102d861062e565b005b6102e2610642565b6040516102ef919061193d565b60405180910390f35b61030061066c565b60405161030d91906116ef565b60405180910390f35b610330600480360381019061032b91906117aa565b6106fe565b60405161033d9190611805565b60405180910390f35b610360600480360381019061035b91906117aa565b610775565b60405161036d9190611805565b60405180910390f35b610390600480360381019061038b9190611958565b610798565b60405161039d919061182f565b60405180910390f35b6103c060048036038101906103bb9190611901565b61081f565b005b6060600380546103d1906119c7565b80601f01602080910402602001604051908101604052809291908181526020018280546103fd906119c7565b801561044a5780601f1061041f5761010080835404028352916020019161044a565b820191906000526020600020905b81548152906001019060200180831161042d57829003601f168201915b5050505050905090565b60008061045f6109f8565b905061046c818585610a00565b600191505092915050565b6000600254905090565b60008061048c6109f8565b9050610499858285610bc9565b6104a4858585610c55565b60019150509392505050565b60006012905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000806105106109f8565b90506105318185856105228589610798565b61052c9190611a27565b610a00565b600191505092915050565b6000610546610642565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361058b576105868183610ecb565b6105b7565b6105b681838573ffffffffffffffffffffffffffffffffffffffff16610fbf9092919063ffffffff16565b5b505050565b6105c4611045565b6105ce82826110c3565b5050565b6105e36105dd6109f8565b8261112d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610636611045565b61064060006112fa565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461067b906119c7565b80601f01602080910402602001604051908101604052809291908181526020018280546106a7906119c7565b80156106f45780601f106106c9576101008083540402835291602001916106f4565b820191906000526020600020905b8154815290600101906020018083116106d757829003601f168201915b5050505050905090565b6000806107096109f8565b905060006107178286610798565b90508381101561075c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075390611acd565b60405180910390fd5b6107698286868403610a00565b60019250505092915050565b6000806107806109f8565b905061078d818585610c55565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610827611045565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088d90611b5f565b60405180910390fd5b61089f816112fa565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090890611bcb565b60405180910390fd5b61091d600083836113c0565b806002600082825461092f9190611a27565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109e0919061182f565b60405180910390a36109f4600083836113c5565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690611c5d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590611cef565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610bbc919061182f565b60405180910390a3505050565b6000610bd58484610798565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c4f5781811015610c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3890611d5b565b60405180910390fd5b610c4e8484848403610a00565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90611ded565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a90611e7f565b60405180910390fd5b610d3e8383836113c0565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb90611f11565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610eb2919061182f565b60405180910390a3610ec58484846113c5565b50505050565b80471015610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0590611f7d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610f3490611fce565b60006040518083038185875af1925050503d8060008114610f71576040519150601f19603f3d011682016040523d82523d6000602084013e610f76565b606091505b5050905080610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190612055565b60405180910390fd5b505050565b6110408363a9059cbb60e01b8484604051602401610fde929190612075565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506113ca565b505050565b61104d6109f8565b73ffffffffffffffffffffffffffffffffffffffff1661106b610642565b73ffffffffffffffffffffffffffffffffffffffff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b8906120ea565b60405180910390fd5b565b6110cb6104dd565b816110d4610477565b6110de9190611a27565b111561111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690612156565b60405180910390fd5b61112982826108a2565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361119c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611193906121e8565b60405180910390fd5b6111a8826000836113c0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561122e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112259061227a565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112e1919061182f565b60405180910390a36112f5836000846113c5565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600061142c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166114929092919063ffffffff16565b905060008151148061144e57508080602001905181019061144d91906122c6565b5b61148d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148490612365565b60405180910390fd5b505050565b60606114a184846000856114aa565b90509392505050565b6060824710156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e6906123f7565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516115189190612453565b60006040518083038185875af1925050503d8060008114611555576040519150601f19603f3d011682016040523d82523d6000602084013e61155a565b606091505b509150915061156b87838387611577565b92505050949350505050565b606083156115d95760008351036115d157611591856115ec565b6115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906124b6565b60405180910390fd5b5b8290506115e4565b6115e3838361160f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156116225781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165691906116ef565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b8381101561169957808201518184015260208101905061167e565b60008484015250505050565b6000601f19601f8301169050919050565b60006116c18261165f565b6116cb818561166a565b93506116db81856020860161167b565b6116e4816116a5565b840191505092915050565b6000602082019050818103600083015261170981846116b6565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061174182611716565b9050919050565b61175181611736565b811461175c57600080fd5b50565b60008135905061176e81611748565b92915050565b6000819050919050565b61178781611774565b811461179257600080fd5b50565b6000813590506117a48161177e565b92915050565b600080604083850312156117c1576117c0611711565b5b60006117cf8582860161175f565b92505060206117e085828601611795565b9150509250929050565b60008115159050919050565b6117ff816117ea565b82525050565b600060208201905061181a60008301846117f6565b92915050565b61182981611774565b82525050565b60006020820190506118446000830184611820565b92915050565b60008060006060848603121561186357611862611711565b5b60006118718682870161175f565b93505060206118828682870161175f565b925050604061189386828701611795565b9150509250925092565b600060ff82169050919050565b6118b38161189d565b82525050565b60006020820190506118ce60008301846118aa565b92915050565b6000602082840312156118ea576118e9611711565b5b60006118f884828501611795565b91505092915050565b60006020828403121561191757611916611711565b5b60006119258482850161175f565b91505092915050565b61193781611736565b82525050565b6000602082019050611952600083018461192e565b92915050565b6000806040838503121561196f5761196e611711565b5b600061197d8582860161175f565b925050602061198e8582860161175f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806119df57607f821691505b6020821081036119f2576119f1611998565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a3282611774565b9150611a3d83611774565b9250828201905080821115611a5557611a546119f8565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611ab760258361166a565b9150611ac282611a5b565b604082019050919050565b60006020820190508181036000830152611ae681611aaa565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611b4960268361166a565b9150611b5482611aed565b604082019050919050565b60006020820190508181036000830152611b7881611b3c565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000611bb5601f8361166a565b9150611bc082611b7f565b602082019050919050565b60006020820190508181036000830152611be481611ba8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611c4760248361166a565b9150611c5282611beb565b604082019050919050565b60006020820190508181036000830152611c7681611c3a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611cd960228361166a565b9150611ce482611c7d565b604082019050919050565b60006020820190508181036000830152611d0881611ccc565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611d45601d8361166a565b9150611d5082611d0f565b602082019050919050565b60006020820190508181036000830152611d7481611d38565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611dd760258361166a565b9150611de282611d7b565b604082019050919050565b60006020820190508181036000830152611e0681611dca565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611e6960238361166a565b9150611e7482611e0d565b604082019050919050565b60006020820190508181036000830152611e9881611e5c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611efb60268361166a565b9150611f0682611e9f565b604082019050919050565b60006020820190508181036000830152611f2a81611eee565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000611f67601d8361166a565b9150611f7282611f31565b602082019050919050565b60006020820190508181036000830152611f9681611f5a565b9050919050565b600081905092915050565b50565b6000611fb8600083611f9d565b9150611fc382611fa8565b600082019050919050565b6000611fd982611fab565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061203f603a8361166a565b915061204a82611fe3565b604082019050919050565b6000602082019050818103600083015261206e81612032565b9050919050565b600060408201905061208a600083018561192e565b6120976020830184611820565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120d460208361166a565b91506120df8261209e565b602082019050919050565b60006020820190508181036000830152612103816120c7565b9050919050565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b600061214060198361166a565b915061214b8261210a565b602082019050919050565b6000602082019050818103600083015261216f81612133565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006121d260218361166a565b91506121dd82612176565b604082019050919050565b60006020820190508181036000830152612201816121c5565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061226460228361166a565b915061226f82612208565b604082019050919050565b6000602082019050818103600083015261229381612257565b9050919050565b6122a3816117ea565b81146122ae57600080fd5b50565b6000815190506122c08161229a565b92915050565b6000602082840312156122dc576122db611711565b5b60006122ea848285016122b1565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061234f602a8361166a565b915061235a826122f3565b604082019050919050565b6000602082019050818103600083015261237e81612342565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006123e160268361166a565b91506123ec82612385565b604082019050919050565b60006020820190508181036000830152612410816123d4565b9050919050565b600081519050919050565b600061242d82612417565b6124378185611f9d565b935061244781856020860161167b565b80840191505092915050565b600061245f8284612422565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006124a0601d8361166a565b91506124ab8261246a565b602082019050919050565b600060208201905081810360008301526124cf81612493565b905091905056fea264697066735822122041a67a24c9ffa49920b03d21bd01c157e4662d5338ffc1e989d66841541a079264736f6c63430008110033000000000000000000000000000000000000000006c9144c1c690d4cb4000000000000000000000000000000899e985b18b140aefca18dd7b40d01ef39cc4c9600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4d6f72706865757320496e667261737472756374757265204e6f64650000000000000000000000000000000000000000000000000000000000000000000000044d494e4400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c806340c10f19116100ad57806395d89b411161007157806395d89b41146102f8578063a457c2d714610316578063a9059cbb14610346578063dd62ed3e14610376578063f2fde38b146103a657610121565b806340c10f191461026857806342966c681461028457806370a08231146102a0578063715018a6146102d05780638da5cb5b146102da57610121565b8063313ce567116100f4578063313ce567146101c257806332cb6b0c146101e0578063355274ea146101fe578063395093511461021c5780633ec9ef2e1461024c57610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461017457806323b872dd14610192575b600080fd5b61012e6103c2565b60405161013b91906116ef565b60405180910390f35b61015e600480360381019061015991906117aa565b610454565b60405161016b9190611805565b60405180910390f35b61017c610477565b604051610189919061182f565b60405180910390f35b6101ac60048036038101906101a7919061184a565b610481565b6040516101b99190611805565b60405180910390f35b6101ca6104b0565b6040516101d791906118b9565b60405180910390f35b6101e86104b9565b6040516101f5919061182f565b60405180910390f35b6102066104dd565b604051610213919061182f565b60405180910390f35b610236600480360381019061023191906117aa565b610505565b6040516102439190611805565b60405180910390f35b610266600480360381019061026191906117aa565b61053c565b005b610282600480360381019061027d91906117aa565b6105bc565b005b61029e600480360381019061029991906118d4565b6105d2565b005b6102ba60048036038101906102b59190611901565b6105e6565b6040516102c7919061182f565b60405180910390f35b6102d861062e565b005b6102e2610642565b6040516102ef919061193d565b60405180910390f35b61030061066c565b60405161030d91906116ef565b60405180910390f35b610330600480360381019061032b91906117aa565b6106fe565b60405161033d9190611805565b60405180910390f35b610360600480360381019061035b91906117aa565b610775565b60405161036d9190611805565b60405180910390f35b610390600480360381019061038b9190611958565b610798565b60405161039d919061182f565b60405180910390f35b6103c060048036038101906103bb9190611901565b61081f565b005b6060600380546103d1906119c7565b80601f01602080910402602001604051908101604052809291908181526020018280546103fd906119c7565b801561044a5780601f1061041f5761010080835404028352916020019161044a565b820191906000526020600020905b81548152906001019060200180831161042d57829003601f168201915b5050505050905090565b60008061045f6109f8565b905061046c818585610a00565b600191505092915050565b6000600254905090565b60008061048c6109f8565b9050610499858285610bc9565b6104a4858585610c55565b60019150509392505050565b60006012905090565b7f000000000000000000000000000000000000000006c9144c1c690d4cb400000081565b60007f000000000000000000000000000000000000000006c9144c1c690d4cb4000000905090565b6000806105106109f8565b90506105318185856105228589610798565b61052c9190611a27565b610a00565b600191505092915050565b6000610546610642565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361058b576105868183610ecb565b6105b7565b6105b681838573ffffffffffffffffffffffffffffffffffffffff16610fbf9092919063ffffffff16565b5b505050565b6105c4611045565b6105ce82826110c3565b5050565b6105e36105dd6109f8565b8261112d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610636611045565b61064060006112fa565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461067b906119c7565b80601f01602080910402602001604051908101604052809291908181526020018280546106a7906119c7565b80156106f45780601f106106c9576101008083540402835291602001916106f4565b820191906000526020600020905b8154815290600101906020018083116106d757829003601f168201915b5050505050905090565b6000806107096109f8565b905060006107178286610798565b90508381101561075c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075390611acd565b60405180910390fd5b6107698286868403610a00565b60019250505092915050565b6000806107806109f8565b905061078d818585610c55565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610827611045565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088d90611b5f565b60405180910390fd5b61089f816112fa565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090890611bcb565b60405180910390fd5b61091d600083836113c0565b806002600082825461092f9190611a27565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109e0919061182f565b60405180910390a36109f4600083836113c5565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690611c5d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad590611cef565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610bbc919061182f565b60405180910390a3505050565b6000610bd58484610798565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610c4f5781811015610c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3890611d5b565b60405180910390fd5b610c4e8484848403610a00565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb90611ded565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a90611e7f565b60405180910390fd5b610d3e8383836113c0565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb90611f11565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610eb2919061182f565b60405180910390a3610ec58484846113c5565b50505050565b80471015610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0590611f7d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610f3490611fce565b60006040518083038185875af1925050503d8060008114610f71576040519150601f19603f3d011682016040523d82523d6000602084013e610f76565b606091505b5050905080610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190612055565b60405180910390fd5b505050565b6110408363a9059cbb60e01b8484604051602401610fde929190612075565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506113ca565b505050565b61104d6109f8565b73ffffffffffffffffffffffffffffffffffffffff1661106b610642565b73ffffffffffffffffffffffffffffffffffffffff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b8906120ea565b60405180910390fd5b565b6110cb6104dd565b816110d4610477565b6110de9190611a27565b111561111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690612156565b60405180910390fd5b61112982826108a2565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361119c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611193906121e8565b60405180910390fd5b6111a8826000836113c0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561122e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112259061227a565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112e1919061182f565b60405180910390a36112f5836000846113c5565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b505050565b600061142c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166114929092919063ffffffff16565b905060008151148061144e57508080602001905181019061144d91906122c6565b5b61148d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148490612365565b60405180910390fd5b505050565b60606114a184846000856114aa565b90509392505050565b6060824710156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e6906123f7565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516115189190612453565b60006040518083038185875af1925050503d8060008114611555576040519150601f19603f3d011682016040523d82523d6000602084013e61155a565b606091505b509150915061156b87838387611577565b92505050949350505050565b606083156115d95760008351036115d157611591856115ec565b6115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906124b6565b60405180910390fd5b5b8290506115e4565b6115e3838361160f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156116225781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165691906116ef565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b8381101561169957808201518184015260208101905061167e565b60008484015250505050565b6000601f19601f8301169050919050565b60006116c18261165f565b6116cb818561166a565b93506116db81856020860161167b565b6116e4816116a5565b840191505092915050565b6000602082019050818103600083015261170981846116b6565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061174182611716565b9050919050565b61175181611736565b811461175c57600080fd5b50565b60008135905061176e81611748565b92915050565b6000819050919050565b61178781611774565b811461179257600080fd5b50565b6000813590506117a48161177e565b92915050565b600080604083850312156117c1576117c0611711565b5b60006117cf8582860161175f565b92505060206117e085828601611795565b9150509250929050565b60008115159050919050565b6117ff816117ea565b82525050565b600060208201905061181a60008301846117f6565b92915050565b61182981611774565b82525050565b60006020820190506118446000830184611820565b92915050565b60008060006060848603121561186357611862611711565b5b60006118718682870161175f565b93505060206118828682870161175f565b925050604061189386828701611795565b9150509250925092565b600060ff82169050919050565b6118b38161189d565b82525050565b60006020820190506118ce60008301846118aa565b92915050565b6000602082840312156118ea576118e9611711565b5b60006118f884828501611795565b91505092915050565b60006020828403121561191757611916611711565b5b60006119258482850161175f565b91505092915050565b61193781611736565b82525050565b6000602082019050611952600083018461192e565b92915050565b6000806040838503121561196f5761196e611711565b5b600061197d8582860161175f565b925050602061198e8582860161175f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806119df57607f821691505b6020821081036119f2576119f1611998565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a3282611774565b9150611a3d83611774565b9250828201905080821115611a5557611a546119f8565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611ab760258361166a565b9150611ac282611a5b565b604082019050919050565b60006020820190508181036000830152611ae681611aaa565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611b4960268361166a565b9150611b5482611aed565b604082019050919050565b60006020820190508181036000830152611b7881611b3c565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000611bb5601f8361166a565b9150611bc082611b7f565b602082019050919050565b60006020820190508181036000830152611be481611ba8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611c4760248361166a565b9150611c5282611beb565b604082019050919050565b60006020820190508181036000830152611c7681611c3a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611cd960228361166a565b9150611ce482611c7d565b604082019050919050565b60006020820190508181036000830152611d0881611ccc565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611d45601d8361166a565b9150611d5082611d0f565b602082019050919050565b60006020820190508181036000830152611d7481611d38565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611dd760258361166a565b9150611de282611d7b565b604082019050919050565b60006020820190508181036000830152611e0681611dca565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611e6960238361166a565b9150611e7482611e0d565b604082019050919050565b60006020820190508181036000830152611e9881611e5c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611efb60268361166a565b9150611f0682611e9f565b604082019050919050565b60006020820190508181036000830152611f2a81611eee565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000611f67601d8361166a565b9150611f7282611f31565b602082019050919050565b60006020820190508181036000830152611f9681611f5a565b9050919050565b600081905092915050565b50565b6000611fb8600083611f9d565b9150611fc382611fa8565b600082019050919050565b6000611fd982611fab565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061203f603a8361166a565b915061204a82611fe3565b604082019050919050565b6000602082019050818103600083015261206e81612032565b9050919050565b600060408201905061208a600083018561192e565b6120976020830184611820565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120d460208361166a565b91506120df8261209e565b602082019050919050565b60006020820190508181036000830152612103816120c7565b9050919050565b7f45524332304361707065643a2063617020657863656564656400000000000000600082015250565b600061214060198361166a565b915061214b8261210a565b602082019050919050565b6000602082019050818103600083015261216f81612133565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006121d260218361166a565b91506121dd82612176565b604082019050919050565b60006020820190508181036000830152612201816121c5565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061226460228361166a565b915061226f82612208565b604082019050919050565b6000602082019050818103600083015261229381612257565b9050919050565b6122a3816117ea565b81146122ae57600080fd5b50565b6000815190506122c08161229a565b92915050565b6000602082840312156122dc576122db611711565b5b60006122ea848285016122b1565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061234f602a8361166a565b915061235a826122f3565b604082019050919050565b6000602082019050818103600083015261237e81612342565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006123e160268361166a565b91506123ec82612385565b604082019050919050565b60006020820190508181036000830152612410816123d4565b9050919050565b600081519050919050565b600061242d82612417565b6124378185611f9d565b935061244781856020860161167b565b80840191505092915050565b600061245f8284612422565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006124a0601d8361166a565b91506124ab8261246a565b602082019050919050565b600060208201905081810360008301526124cf81612493565b905091905056fea264697066735822122041a67a24c9ffa49920b03d21bd01c157e4662d5338ffc1e989d66841541a079264736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000006c9144c1c690d4cb4000000000000000000000000000000899e985b18b140aefca18dd7b40d01ef39cc4c9600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4d6f72706865757320496e667261737472756374757265204e6f64650000000000000000000000000000000000000000000000000000000000000000000000044d494e4400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : maxSupply (uint256): 2100000000000000000000000000
Arg [1] : tokenOwner (address): 0x899E985B18b140AEFca18Dd7b40D01Ef39CC4C96
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000006c9144c1c690d4cb4000000
Arg [1] : 000000000000000000000000899e985b18b140aefca18dd7b40d01ef39cc4c96
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [9] : 4d6f72706865757320496e667261737472756374757265204e6f646500000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 4d494e4400000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.