Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
9,748,099.9999999999997481 JIY
Holders
146
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
JiyukoToken
Compiler Version
v0.8.18+commit.87f61d96
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.9; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract JiyukoToken is ERC20, ERC20Burnable, Ownable, ReentrancyGuard { using Address for address payable; using SafeMath for uint256; uint256 public tokensPerEth = 10000; uint256 public availableAmount; event TokensPurchased(address indexed buyer, uint256 amount); event AvailableAmountUpdated(uint256 newAvailableAmount); event TokensPerEthUpdated(uint256 newTokensPerEth); constructor( uint256 initialSupply, // 10 000 000 uint256 initialAvailableAmount // 300 000 ) ERC20("Jiyuko", "JIY") { _mint(msg.sender, initialSupply.mul(10 ** decimals())); availableAmount = initialAvailableAmount.mul(10 ** decimals()); } function buyTokens() external payable nonReentrant { require(msg.value > 0, "You must send ETH to buy tokens."); uint256 tokensToBuy = msg.value.mul(tokensPerEth); require( balanceOf(owner()) > tokensToBuy, "Not enough tokens available for sale." ); require( availableAmount > tokensToBuy, "Token purchase exceeds the available amount." ); availableAmount = availableAmount.sub(tokensToBuy); _transfer(owner(), msg.sender, tokensToBuy); emit TokensPurchased(msg.sender, tokensToBuy); } function setAvailableAmount(uint256 newAvailableAmount) external onlyOwner { require( newAvailableAmount <= balanceOf(owner()), "Available amount exceeds owner's token balance." ); availableAmount = newAvailableAmount.mul(10 ** decimals()); emit AvailableAmountUpdated(newAvailableAmount); } function setTokensPerEth(uint256 newTokensPerEth) external onlyOwner { tokensPerEth = newTokensPerEth; emit TokensPerEthUpdated(newTokensPerEth); } function withdraw() external onlyOwner { uint256 etherBalance = address(this).balance; require(etherBalance > 0, "Nothing to withdraw."); address payable recipient = payable(msg.sender); recipient.sendValue(etherBalance); } function getTokensAvailable() public view returns (uint256) { uint256 totalSupply = totalSupply(); uint256 ownerBalance = balanceOf(owner()); uint256 soldAmount = totalSupply.sub(ownerBalance); return availableAmount.sub(soldAmount); } receive() external payable { this.buyTokens(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(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.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 * ==== * * [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://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "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":"initialSupply","type":"uint256"},{"internalType":"uint256","name":"initialAvailableAmount","type":"uint256"}],"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":false,"internalType":"uint256","name":"newAvailableAmount","type":"uint256"}],"name":"AvailableAmountUpdated","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":false,"internalType":"uint256","name":"newTokensPerEth","type":"uint256"}],"name":"TokensPerEthUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTokensAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAvailableAmount","type":"uint256"}],"name":"setAvailableAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTokensPerEth","type":"uint256"}],"name":"setTokensPerEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526127106007553480156200001757600080fd5b50604051620031f2380380620031f283398181016040528101906200003d91906200042a565b6040518060400160405280600681526020017f4a6979756b6f00000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4a495900000000000000000000000000000000000000000000000000000000008152508160039081620000ba9190620006e1565b508060049081620000cc9190620006e1565b505050620000ef620000e36200018460201b60201c565b6200018c60201b60201c565b60016006819055506200013f3362000133620001106200025260201b60201c565b600a6200011e919062000958565b856200025b60201b62000d3d1790919060201c565b6200027360201b60201c565b62000176620001536200025260201b60201c565b600a62000161919062000958565b826200025b60201b62000d3d1790919060201c565b600881905550505062000ae0565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006012905090565b600081836200026b9190620009a9565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002dc9062000a55565b60405180910390fd5b620002f960008383620003e060201b60201c565b80600260008282546200030d919062000a77565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003c0919062000ac3565b60405180910390a3620003dc60008383620003e560201b60201c565b5050565b505050565b505050565b600080fd5b6000819050919050565b6200040481620003ef565b81146200041057600080fd5b50565b6000815190506200042481620003f9565b92915050565b60008060408385031215620004445762000443620003ea565b5b6000620004548582860162000413565b9250506020620004678582860162000413565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004f357607f821691505b602082108103620005095762000508620004ab565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005737fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000534565b6200057f868362000534565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620005c2620005bc620005b684620003ef565b62000597565b620003ef565b9050919050565b6000819050919050565b620005de83620005a1565b620005f6620005ed82620005c9565b84845462000541565b825550505050565b600090565b6200060d620005fe565b6200061a818484620005d3565b505050565b5b8181101562000642576200063660008262000603565b60018101905062000620565b5050565b601f82111562000691576200065b816200050f565b620006668462000524565b8101602085101562000676578190505b6200068e620006858562000524565b8301826200061f565b50505b505050565b600082821c905092915050565b6000620006b66000198460080262000696565b1980831691505092915050565b6000620006d18383620006a3565b9150826002028217905092915050565b620006ec8262000471565b67ffffffffffffffff8111156200070857620007076200047c565b5b620007148254620004da565b6200072182828562000646565b600060209050601f83116001811462000759576000841562000744578287015190505b620007508582620006c3565b865550620007c0565b601f19841662000769866200050f565b60005b8281101562000793578489015182556001820191506020850194506020810190506200076c565b86831015620007b35784890151620007af601f891682620006a3565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000856578086048111156200082e576200082d620007c8565b5b60018516156200083e5780820291505b80810290506200084e85620007f7565b94506200080e565b94509492505050565b60008262000871576001905062000944565b8162000881576000905062000944565b81600181146200089a5760028114620008a557620008db565b600191505062000944565b60ff841115620008ba57620008b9620007c8565b5b8360020a915084821115620008d457620008d3620007c8565b5b5062000944565b5060208310610133831016604e8410600b8410161715620009155782820a9050838111156200090f576200090e620007c8565b5b62000944565b62000924848484600162000804565b925090508184048111156200093e576200093d620007c8565b5b81810290505b9392505050565b600060ff82169050919050565b60006200096582620003ef565b915062000972836200094b565b9250620009a17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846200085f565b905092915050565b6000620009b682620003ef565b9150620009c383620003ef565b9250828202620009d381620003ef565b91508282048414831517620009ed57620009ec620007c8565b5b5092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000a3d601f83620009f4565b915062000a4a8262000a05565b602082019050919050565b6000602082019050818103600083015262000a708162000a2e565b9050919050565b600062000a8482620003ef565b915062000a9183620003ef565b925082820190508082111562000aac5762000aab620007c8565b5b92915050565b62000abd81620003ef565b82525050565b600060208201905062000ada600083018462000ab2565b92915050565b6127028062000af06000396000f3fe6080604052600436106101445760003560e01c8063715018a6116100b6578063a9059cbb1161006f578063a9059cbb146104b1578063aaa5ad61146104ee578063cbdd69b514610519578063d0febe4c14610544578063dd62ed3e1461054e578063f2fde38b1461058b576101a7565b8063715018a6146103b357806379cc6790146103ca5780638da5cb5b146103f357806391f7cfb91461041e57806395d89b4114610449578063a457c2d714610474576101a7565b8063395093511161010857806339509351146102a75780633ccfd60b146102e457806342966c68146102fb5780634d9dce591461032457806356238b021461034d57806370a0823114610376576101a7565b806306fdde03146101ac578063095ea7b3146101d757806318160ddd1461021457806323b872dd1461023f578063313ce5671461027c576101a7565b366101a7573073ffffffffffffffffffffffffffffffffffffffff1663d0febe4c6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561019157600080fd5b505af11580156101a5573d6000803e3d6000fd5b005b600080fd5b3480156101b857600080fd5b506101c16105b4565b6040516101ce9190611734565b60405180910390f35b3480156101e357600080fd5b506101fe60048036038101906101f991906117ef565b610646565b60405161020b919061184a565b60405180910390f35b34801561022057600080fd5b50610229610669565b6040516102369190611874565b60405180910390f35b34801561024b57600080fd5b506102666004803603810190610261919061188f565b610673565b604051610273919061184a565b60405180910390f35b34801561028857600080fd5b506102916106a2565b60405161029e91906118fe565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c991906117ef565b6106ab565b6040516102db919061184a565b60405180910390f35b3480156102f057600080fd5b506102f96106e2565b005b34801561030757600080fd5b50610322600480360381019061031d9190611919565b610764565b005b34801561033057600080fd5b5061034b60048036038101906103469190611919565b610778565b005b34801561035957600080fd5b50610374600480360381019061036f9190611919565b610838565b005b34801561038257600080fd5b5061039d60048036038101906103989190611946565b610881565b6040516103aa9190611874565b60405180910390f35b3480156103bf57600080fd5b506103c86108c9565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906117ef565b6108dd565b005b3480156103ff57600080fd5b506104086108fd565b6040516104159190611982565b60405180910390f35b34801561042a57600080fd5b50610433610927565b6040516104409190611874565b60405180910390f35b34801561045557600080fd5b5061045e61092d565b60405161046b9190611734565b60405180910390f35b34801561048057600080fd5b5061049b600480360381019061049691906117ef565b6109bf565b6040516104a8919061184a565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d391906117ef565b610a36565b6040516104e5919061184a565b60405180910390f35b3480156104fa57600080fd5b50610503610a59565b6040516105109190611874565b60405180910390f35b34801561052557600080fd5b5061052e610aae565b60405161053b9190611874565b60405180910390f35b61054c610ab4565b005b34801561055a57600080fd5b506105756004803603810190610570919061199d565b610c33565b6040516105829190611874565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad9190611946565b610cba565b005b6060600380546105c390611a0c565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90611a0c565b801561063c5780601f106106115761010080835404028352916020019161063c565b820191906000526020600020905b81548152906001019060200180831161061f57829003601f168201915b5050505050905090565b600080610651610d53565b905061065e818585610d5b565b600191505092915050565b6000600254905090565b60008061067e610d53565b905061068b858285610f24565b610696858585610fb0565b60019150509392505050565b60006012905090565b6000806106b6610d53565b90506106d78185856106c88589610c33565b6106d29190611a6c565b610d5b565b600191505092915050565b6106ea611226565b600047905060008111610732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072990611aec565b60405180910390fd5b6000339050610760828273ffffffffffffffffffffffffffffffffffffffff166112a490919063ffffffff16565b5050565b61077561076f610d53565b82611398565b50565b610780611226565b61079061078b6108fd565b610881565b8111156107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c990611b7e565b60405180910390fd5b6107f86107dd6106a2565b600a6107e99190611cd1565b82610d3d90919063ffffffff16565b6008819055507f8664f23e07899c8d18df99709b5d09cc4d0b66dd1e9fa51c9ea3f32236ad71898160405161082d9190611874565b60405180910390a150565b610840611226565b806007819055507ff7729fa834bbef70b6d3257c2317a562aa88b56c81b544814f93dc5963a2c003816040516108769190611874565b60405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6108d1611226565b6108db6000611565565b565b6108ef826108e9610d53565b83610f24565b6108f98282611398565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b60606004805461093c90611a0c565b80601f016020809104026020016040519081016040528092919081815260200182805461096890611a0c565b80156109b55780601f1061098a576101008083540402835291602001916109b5565b820191906000526020600020905b81548152906001019060200180831161099857829003601f168201915b5050505050905090565b6000806109ca610d53565b905060006109d88286610c33565b905083811015610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1490611d8e565b60405180910390fd5b610a2a8286868403610d5b565b60019250505092915050565b600080610a41610d53565b9050610a4e818585610fb0565b600191505092915050565b600080610a64610669565b90506000610a78610a736108fd565b610881565b90506000610a8f828461162b90919063ffffffff16565b9050610aa68160085461162b90919063ffffffff16565b935050505090565b60075481565b610abc611641565b60003411610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af690611dfa565b60405180910390fd5b6000610b1660075434610d3d90919063ffffffff16565b905080610b29610b246108fd565b610881565b11610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6090611e8c565b60405180910390fd5b8060085411610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490611f1e565b60405180910390fd5b610bc28160085461162b90919063ffffffff16565b600881905550610bda610bd36108fd565b3383610fb0565b3373ffffffffffffffffffffffffffffffffffffffff167f8f28852646c20cc973d3a8218f7eefed58c25c909f78f0265af4818c3d4dc27182604051610c209190611874565b60405180910390a250610c31611690565b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610cc2611226565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890611fb0565b60405180910390fd5b610d3a81611565565b50565b60008183610d4b9190611fd0565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190612084565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3090612116565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f179190611874565b60405180910390a3505050565b6000610f308484610c33565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610faa5781811015610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390612182565b60405180910390fd5b610fa98484848403610d5b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690612214565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361108e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611085906122a6565b60405180910390fd5b61109983838361169a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690612338565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161120d9190611874565b60405180910390a361122084848461169f565b50505050565b61122e610d53565b73ffffffffffffffffffffffffffffffffffffffff1661124c6108fd565b73ffffffffffffffffffffffffffffffffffffffff16146112a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611299906123a4565b60405180910390fd5b565b804710156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90612410565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161130d90612461565b60006040518083038185875af1925050503d806000811461134a576040519150601f19603f3d011682016040523d82523d6000602084013e61134f565b606091505b5050905080611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a906124e8565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe9061257a565b60405180910390fd5b6114138260008361169a565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611499576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114909061260c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161154c9190611874565b60405180910390a36115608360008461169f565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183611639919061262c565b905092915050565b600260065403611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d906126ac565b60405180910390fd5b6002600681905550565b6001600681905550565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116de5780820151818401526020810190506116c3565b60008484015250505050565b6000601f19601f8301169050919050565b6000611706826116a4565b61171081856116af565b93506117208185602086016116c0565b611729816116ea565b840191505092915050565b6000602082019050818103600083015261174e81846116fb565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006117868261175b565b9050919050565b6117968161177b565b81146117a157600080fd5b50565b6000813590506117b38161178d565b92915050565b6000819050919050565b6117cc816117b9565b81146117d757600080fd5b50565b6000813590506117e9816117c3565b92915050565b6000806040838503121561180657611805611756565b5b6000611814858286016117a4565b9250506020611825858286016117da565b9150509250929050565b60008115159050919050565b6118448161182f565b82525050565b600060208201905061185f600083018461183b565b92915050565b61186e816117b9565b82525050565b60006020820190506118896000830184611865565b92915050565b6000806000606084860312156118a8576118a7611756565b5b60006118b6868287016117a4565b93505060206118c7868287016117a4565b92505060406118d8868287016117da565b9150509250925092565b600060ff82169050919050565b6118f8816118e2565b82525050565b600060208201905061191360008301846118ef565b92915050565b60006020828403121561192f5761192e611756565b5b600061193d848285016117da565b91505092915050565b60006020828403121561195c5761195b611756565b5b600061196a848285016117a4565b91505092915050565b61197c8161177b565b82525050565b60006020820190506119976000830184611973565b92915050565b600080604083850312156119b4576119b3611756565b5b60006119c2858286016117a4565b92505060206119d3858286016117a4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611a2457607f821691505b602082108103611a3757611a366119dd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a77826117b9565b9150611a82836117b9565b9250828201905080821115611a9a57611a99611a3d565b5b92915050565b7f4e6f7468696e6720746f2077697468647261772e000000000000000000000000600082015250565b6000611ad66014836116af565b9150611ae182611aa0565b602082019050919050565b60006020820190508181036000830152611b0581611ac9565b9050919050565b7f417661696c61626c6520616d6f756e742065786365656473206f776e6572277360008201527f20746f6b656e2062616c616e63652e0000000000000000000000000000000000602082015250565b6000611b68602f836116af565b9150611b7382611b0c565b604082019050919050565b60006020820190508181036000830152611b9781611b5b565b9050919050565b60008160011c9050919050565b6000808291508390505b6001851115611bf557808604811115611bd157611bd0611a3d565b5b6001851615611be05780820291505b8081029050611bee85611b9e565b9450611bb5565b94509492505050565b600082611c0e5760019050611cca565b81611c1c5760009050611cca565b8160018114611c325760028114611c3c57611c6b565b6001915050611cca565b60ff841115611c4e57611c4d611a3d565b5b8360020a915084821115611c6557611c64611a3d565b5b50611cca565b5060208310610133831016604e8410600b8410161715611ca05782820a905083811115611c9b57611c9a611a3d565b5b611cca565b611cad8484846001611bab565b92509050818404811115611cc457611cc3611a3d565b5b81810290505b9392505050565b6000611cdc826117b9565b9150611ce7836118e2565b9250611d147fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611bfe565b905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611d786025836116af565b9150611d8382611d1c565b604082019050919050565b60006020820190508181036000830152611da781611d6b565b9050919050565b7f596f75206d7573742073656e642045544820746f2062757920746f6b656e732e600082015250565b6000611de46020836116af565b9150611def82611dae565b602082019050919050565b60006020820190508181036000830152611e1381611dd7565b9050919050565b7f4e6f7420656e6f75676820746f6b656e7320617661696c61626c6520666f722060008201527f73616c652e000000000000000000000000000000000000000000000000000000602082015250565b6000611e766025836116af565b9150611e8182611e1a565b604082019050919050565b60006020820190508181036000830152611ea581611e69565b9050919050565b7f546f6b656e20707572636861736520657863656564732074686520617661696c60008201527f61626c6520616d6f756e742e0000000000000000000000000000000000000000602082015250565b6000611f08602c836116af565b9150611f1382611eac565b604082019050919050565b60006020820190508181036000830152611f3781611efb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f9a6026836116af565b9150611fa582611f3e565b604082019050919050565b60006020820190508181036000830152611fc981611f8d565b9050919050565b6000611fdb826117b9565b9150611fe6836117b9565b9250828202611ff4816117b9565b9150828204841483151761200b5761200a611a3d565b5b5092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061206e6024836116af565b915061207982612012565b604082019050919050565b6000602082019050818103600083015261209d81612061565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006121006022836116af565b915061210b826120a4565b604082019050919050565b6000602082019050818103600083015261212f816120f3565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061216c601d836116af565b915061217782612136565b602082019050919050565b6000602082019050818103600083015261219b8161215f565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006121fe6025836116af565b9150612209826121a2565b604082019050919050565b6000602082019050818103600083015261222d816121f1565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006122906023836116af565b915061229b82612234565b604082019050919050565b600060208201905081810360008301526122bf81612283565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006123226026836116af565b915061232d826122c6565b604082019050919050565b6000602082019050818103600083015261235181612315565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061238e6020836116af565b915061239982612358565b602082019050919050565b600060208201905081810360008301526123bd81612381565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006123fa601d836116af565b9150612405826123c4565b602082019050919050565b60006020820190508181036000830152612429816123ed565b9050919050565b600081905092915050565b50565b600061244b600083612430565b91506124568261243b565b600082019050919050565b600061246c8261243e565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006124d2603a836116af565b91506124dd82612476565b604082019050919050565b60006020820190508181036000830152612501816124c5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006125646021836116af565b915061256f82612508565b604082019050919050565b6000602082019050818103600083015261259381612557565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006125f66022836116af565b91506126018261259a565b604082019050919050565b60006020820190508181036000830152612625816125e9565b9050919050565b6000612637826117b9565b9150612642836117b9565b925082820390508181111561265a57612659611a3d565b5b92915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612696601f836116af565b91506126a182612660565b602082019050919050565b600060208201905081810360008301526126c581612689565b905091905056fea264697066735822122067b6b5ad8e204bc3e4dd1f68ed9fa9ec5d6585984d8dd97eef1559fd51f60fbb64736f6c63430008120033000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000000493e0
Deployed Bytecode
0x6080604052600436106101445760003560e01c8063715018a6116100b6578063a9059cbb1161006f578063a9059cbb146104b1578063aaa5ad61146104ee578063cbdd69b514610519578063d0febe4c14610544578063dd62ed3e1461054e578063f2fde38b1461058b576101a7565b8063715018a6146103b357806379cc6790146103ca5780638da5cb5b146103f357806391f7cfb91461041e57806395d89b4114610449578063a457c2d714610474576101a7565b8063395093511161010857806339509351146102a75780633ccfd60b146102e457806342966c68146102fb5780634d9dce591461032457806356238b021461034d57806370a0823114610376576101a7565b806306fdde03146101ac578063095ea7b3146101d757806318160ddd1461021457806323b872dd1461023f578063313ce5671461027c576101a7565b366101a7573073ffffffffffffffffffffffffffffffffffffffff1663d0febe4c6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561019157600080fd5b505af11580156101a5573d6000803e3d6000fd5b005b600080fd5b3480156101b857600080fd5b506101c16105b4565b6040516101ce9190611734565b60405180910390f35b3480156101e357600080fd5b506101fe60048036038101906101f991906117ef565b610646565b60405161020b919061184a565b60405180910390f35b34801561022057600080fd5b50610229610669565b6040516102369190611874565b60405180910390f35b34801561024b57600080fd5b506102666004803603810190610261919061188f565b610673565b604051610273919061184a565b60405180910390f35b34801561028857600080fd5b506102916106a2565b60405161029e91906118fe565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c991906117ef565b6106ab565b6040516102db919061184a565b60405180910390f35b3480156102f057600080fd5b506102f96106e2565b005b34801561030757600080fd5b50610322600480360381019061031d9190611919565b610764565b005b34801561033057600080fd5b5061034b60048036038101906103469190611919565b610778565b005b34801561035957600080fd5b50610374600480360381019061036f9190611919565b610838565b005b34801561038257600080fd5b5061039d60048036038101906103989190611946565b610881565b6040516103aa9190611874565b60405180910390f35b3480156103bf57600080fd5b506103c86108c9565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906117ef565b6108dd565b005b3480156103ff57600080fd5b506104086108fd565b6040516104159190611982565b60405180910390f35b34801561042a57600080fd5b50610433610927565b6040516104409190611874565b60405180910390f35b34801561045557600080fd5b5061045e61092d565b60405161046b9190611734565b60405180910390f35b34801561048057600080fd5b5061049b600480360381019061049691906117ef565b6109bf565b6040516104a8919061184a565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d391906117ef565b610a36565b6040516104e5919061184a565b60405180910390f35b3480156104fa57600080fd5b50610503610a59565b6040516105109190611874565b60405180910390f35b34801561052557600080fd5b5061052e610aae565b60405161053b9190611874565b60405180910390f35b61054c610ab4565b005b34801561055a57600080fd5b506105756004803603810190610570919061199d565b610c33565b6040516105829190611874565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad9190611946565b610cba565b005b6060600380546105c390611a0c565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90611a0c565b801561063c5780601f106106115761010080835404028352916020019161063c565b820191906000526020600020905b81548152906001019060200180831161061f57829003601f168201915b5050505050905090565b600080610651610d53565b905061065e818585610d5b565b600191505092915050565b6000600254905090565b60008061067e610d53565b905061068b858285610f24565b610696858585610fb0565b60019150509392505050565b60006012905090565b6000806106b6610d53565b90506106d78185856106c88589610c33565b6106d29190611a6c565b610d5b565b600191505092915050565b6106ea611226565b600047905060008111610732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072990611aec565b60405180910390fd5b6000339050610760828273ffffffffffffffffffffffffffffffffffffffff166112a490919063ffffffff16565b5050565b61077561076f610d53565b82611398565b50565b610780611226565b61079061078b6108fd565b610881565b8111156107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c990611b7e565b60405180910390fd5b6107f86107dd6106a2565b600a6107e99190611cd1565b82610d3d90919063ffffffff16565b6008819055507f8664f23e07899c8d18df99709b5d09cc4d0b66dd1e9fa51c9ea3f32236ad71898160405161082d9190611874565b60405180910390a150565b610840611226565b806007819055507ff7729fa834bbef70b6d3257c2317a562aa88b56c81b544814f93dc5963a2c003816040516108769190611874565b60405180910390a150565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6108d1611226565b6108db6000611565565b565b6108ef826108e9610d53565b83610f24565b6108f98282611398565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b60606004805461093c90611a0c565b80601f016020809104026020016040519081016040528092919081815260200182805461096890611a0c565b80156109b55780601f1061098a576101008083540402835291602001916109b5565b820191906000526020600020905b81548152906001019060200180831161099857829003601f168201915b5050505050905090565b6000806109ca610d53565b905060006109d88286610c33565b905083811015610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1490611d8e565b60405180910390fd5b610a2a8286868403610d5b565b60019250505092915050565b600080610a41610d53565b9050610a4e818585610fb0565b600191505092915050565b600080610a64610669565b90506000610a78610a736108fd565b610881565b90506000610a8f828461162b90919063ffffffff16565b9050610aa68160085461162b90919063ffffffff16565b935050505090565b60075481565b610abc611641565b60003411610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af690611dfa565b60405180910390fd5b6000610b1660075434610d3d90919063ffffffff16565b905080610b29610b246108fd565b610881565b11610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6090611e8c565b60405180910390fd5b8060085411610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490611f1e565b60405180910390fd5b610bc28160085461162b90919063ffffffff16565b600881905550610bda610bd36108fd565b3383610fb0565b3373ffffffffffffffffffffffffffffffffffffffff167f8f28852646c20cc973d3a8218f7eefed58c25c909f78f0265af4818c3d4dc27182604051610c209190611874565b60405180910390a250610c31611690565b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610cc2611226565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890611fb0565b60405180910390fd5b610d3a81611565565b50565b60008183610d4b9190611fd0565b905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190612084565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3090612116565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f179190611874565b60405180910390a3505050565b6000610f308484610c33565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610faa5781811015610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390612182565b60405180910390fd5b610fa98484848403610d5b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690612214565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361108e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611085906122a6565b60405180910390fd5b61109983838361169a565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690612338565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161120d9190611874565b60405180910390a361122084848461169f565b50505050565b61122e610d53565b73ffffffffffffffffffffffffffffffffffffffff1661124c6108fd565b73ffffffffffffffffffffffffffffffffffffffff16146112a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611299906123a4565b60405180910390fd5b565b804710156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90612410565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161130d90612461565b60006040518083038185875af1925050503d806000811461134a576040519150601f19603f3d011682016040523d82523d6000602084013e61134f565b606091505b5050905080611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a906124e8565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe9061257a565b60405180910390fd5b6114138260008361169a565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611499576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114909061260c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161154c9190611874565b60405180910390a36115608360008461169f565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183611639919061262c565b905092915050565b600260065403611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d906126ac565b60405180910390fd5b6002600681905550565b6001600681905550565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156116de5780820151818401526020810190506116c3565b60008484015250505050565b6000601f19601f8301169050919050565b6000611706826116a4565b61171081856116af565b93506117208185602086016116c0565b611729816116ea565b840191505092915050565b6000602082019050818103600083015261174e81846116fb565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006117868261175b565b9050919050565b6117968161177b565b81146117a157600080fd5b50565b6000813590506117b38161178d565b92915050565b6000819050919050565b6117cc816117b9565b81146117d757600080fd5b50565b6000813590506117e9816117c3565b92915050565b6000806040838503121561180657611805611756565b5b6000611814858286016117a4565b9250506020611825858286016117da565b9150509250929050565b60008115159050919050565b6118448161182f565b82525050565b600060208201905061185f600083018461183b565b92915050565b61186e816117b9565b82525050565b60006020820190506118896000830184611865565b92915050565b6000806000606084860312156118a8576118a7611756565b5b60006118b6868287016117a4565b93505060206118c7868287016117a4565b92505060406118d8868287016117da565b9150509250925092565b600060ff82169050919050565b6118f8816118e2565b82525050565b600060208201905061191360008301846118ef565b92915050565b60006020828403121561192f5761192e611756565b5b600061193d848285016117da565b91505092915050565b60006020828403121561195c5761195b611756565b5b600061196a848285016117a4565b91505092915050565b61197c8161177b565b82525050565b60006020820190506119976000830184611973565b92915050565b600080604083850312156119b4576119b3611756565b5b60006119c2858286016117a4565b92505060206119d3858286016117a4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611a2457607f821691505b602082108103611a3757611a366119dd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611a77826117b9565b9150611a82836117b9565b9250828201905080821115611a9a57611a99611a3d565b5b92915050565b7f4e6f7468696e6720746f2077697468647261772e000000000000000000000000600082015250565b6000611ad66014836116af565b9150611ae182611aa0565b602082019050919050565b60006020820190508181036000830152611b0581611ac9565b9050919050565b7f417661696c61626c6520616d6f756e742065786365656473206f776e6572277360008201527f20746f6b656e2062616c616e63652e0000000000000000000000000000000000602082015250565b6000611b68602f836116af565b9150611b7382611b0c565b604082019050919050565b60006020820190508181036000830152611b9781611b5b565b9050919050565b60008160011c9050919050565b6000808291508390505b6001851115611bf557808604811115611bd157611bd0611a3d565b5b6001851615611be05780820291505b8081029050611bee85611b9e565b9450611bb5565b94509492505050565b600082611c0e5760019050611cca565b81611c1c5760009050611cca565b8160018114611c325760028114611c3c57611c6b565b6001915050611cca565b60ff841115611c4e57611c4d611a3d565b5b8360020a915084821115611c6557611c64611a3d565b5b50611cca565b5060208310610133831016604e8410600b8410161715611ca05782820a905083811115611c9b57611c9a611a3d565b5b611cca565b611cad8484846001611bab565b92509050818404811115611cc457611cc3611a3d565b5b81810290505b9392505050565b6000611cdc826117b9565b9150611ce7836118e2565b9250611d147fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611bfe565b905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611d786025836116af565b9150611d8382611d1c565b604082019050919050565b60006020820190508181036000830152611da781611d6b565b9050919050565b7f596f75206d7573742073656e642045544820746f2062757920746f6b656e732e600082015250565b6000611de46020836116af565b9150611def82611dae565b602082019050919050565b60006020820190508181036000830152611e1381611dd7565b9050919050565b7f4e6f7420656e6f75676820746f6b656e7320617661696c61626c6520666f722060008201527f73616c652e000000000000000000000000000000000000000000000000000000602082015250565b6000611e766025836116af565b9150611e8182611e1a565b604082019050919050565b60006020820190508181036000830152611ea581611e69565b9050919050565b7f546f6b656e20707572636861736520657863656564732074686520617661696c60008201527f61626c6520616d6f756e742e0000000000000000000000000000000000000000602082015250565b6000611f08602c836116af565b9150611f1382611eac565b604082019050919050565b60006020820190508181036000830152611f3781611efb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f9a6026836116af565b9150611fa582611f3e565b604082019050919050565b60006020820190508181036000830152611fc981611f8d565b9050919050565b6000611fdb826117b9565b9150611fe6836117b9565b9250828202611ff4816117b9565b9150828204841483151761200b5761200a611a3d565b5b5092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061206e6024836116af565b915061207982612012565b604082019050919050565b6000602082019050818103600083015261209d81612061565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006121006022836116af565b915061210b826120a4565b604082019050919050565b6000602082019050818103600083015261212f816120f3565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061216c601d836116af565b915061217782612136565b602082019050919050565b6000602082019050818103600083015261219b8161215f565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006121fe6025836116af565b9150612209826121a2565b604082019050919050565b6000602082019050818103600083015261222d816121f1565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006122906023836116af565b915061229b82612234565b604082019050919050565b600060208201905081810360008301526122bf81612283565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006123226026836116af565b915061232d826122c6565b604082019050919050565b6000602082019050818103600083015261235181612315565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061238e6020836116af565b915061239982612358565b602082019050919050565b600060208201905081810360008301526123bd81612381565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006123fa601d836116af565b9150612405826123c4565b602082019050919050565b60006020820190508181036000830152612429816123ed565b9050919050565b600081905092915050565b50565b600061244b600083612430565b91506124568261243b565b600082019050919050565b600061246c8261243e565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006124d2603a836116af565b91506124dd82612476565b604082019050919050565b60006020820190508181036000830152612501816124c5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006125646021836116af565b915061256f82612508565b604082019050919050565b6000602082019050818103600083015261259381612557565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006125f66022836116af565b91506126018261259a565b604082019050919050565b60006020820190508181036000830152612625816125e9565b9050919050565b6000612637826117b9565b9150612642836117b9565b925082820390508181111561265a57612659611a3d565b5b92915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612696601f836116af565b91506126a182612660565b602082019050919050565b600060208201905081810360008301526126c581612689565b905091905056fea264697066735822122067b6b5ad8e204bc3e4dd1f68ed9fa9ec5d6585984d8dd97eef1559fd51f60fbb64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000000493e0
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 10000000
Arg [1] : initialAvailableAmount (uint256): 300000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000989680
Arg [1] : 00000000000000000000000000000000000000000000000000000000000493e0
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.