ETH Price: $3,274.47 (+0.72%)
Gas: 1 Gwei

Contract

0x24c1b2ba959bD6713f0282318bb8D8281aA26B48
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Buy Tokens179713162023-08-22 16:02:47339 days ago1692720167IN
0x24c1b2ba...81aA26B48
0 ETH0.0059391446.46525805
Buy Tokens179713142023-08-22 16:02:23339 days ago1692720143IN
0x24c1b2ba...81aA26B48
0 ETH0.0061351547.99877526
Buy Tokens179712542023-08-22 15:50:23339 days ago1692719423IN
0x24c1b2ba...81aA26B48
0 ETH0.0055752143.61802482
Buy Tokens179712312023-08-22 15:45:47339 days ago1692719147IN
0x24c1b2ba...81aA26B48
0 ETH0.0062116846.83860756
Buy Tokens179711512023-08-22 15:29:23339 days ago1692718163IN
0x24c1b2ba...81aA26B48
0 ETH0.0087402368.37977092
Buy Tokens179711102023-08-22 15:21:11339 days ago1692717671IN
0x24c1b2ba...81aA26B48
0 ETH0.0086733467.85643404
Buy Tokens179711092023-08-22 15:20:59339 days ago1692717659IN
0x24c1b2ba...81aA26B48
0 ETH0.0090904571.11977371
Buy Tokens179711062023-08-22 15:20:23339 days ago1692717623IN
0x24c1b2ba...81aA26B48
0 ETH0.0098735474.45049096
Buy Tokens179711052023-08-22 15:20:11339 days ago1692717611IN
0x24c1b2ba...81aA26B48
0 ETH0.008488973.48494006
Buy Tokens179710992023-08-22 15:18:59339 days ago1692717539IN
0x24c1b2ba...81aA26B48
0 ETH0.0100770875.99213455
Buy Tokens179710432023-08-22 15:07:47339 days ago1692716867IN
0x24c1b2ba...81aA26B48
0 ETH0.0101954979.76507807
Buy Tokens179710242023-08-22 15:03:59339 days ago1692716639IN
0x24c1b2ba...81aA26B48
0 ETH0.0113482685.57046755
Buy Tokens179709032023-08-22 14:39:23339 days ago1692715163IN
0x24c1b2ba...81aA26B48
0 ETH0.01341238101.13474414
Buy Tokens179708932023-08-22 14:37:23339 days ago1692715043IN
0x24c1b2ba...81aA26B48
0 ETH0.01347574105.428372
Buy Tokens179706602023-08-22 13:50:35339 days ago1692712235IN
0x24c1b2ba...81aA26B48
0 ETH0.0061554646.41462011
Buy Tokens179706552023-08-22 13:49:35339 days ago1692712175IN
0x24c1b2ba...81aA26B48
0 ETH0.0062523647.14530251
Buy Tokens179706452023-08-22 13:47:23339 days ago1692712043IN
0x24c1b2ba...81aA26B48
0 ETH0.0055670341.97765671
Buy Tokens179705752023-08-22 13:33:11339 days ago1692711191IN
0x24c1b2ba...81aA26B48
0 ETH0.0060026646.9666314
Buy Tokens179705322023-08-22 13:24:23339 days ago1692710663IN
0x24c1b2ba...81aA26B48
0 ETH0.0049444438.6831922
Buy Tokens179704722023-08-22 13:12:23339 days ago1692709943IN
0x24c1b2ba...81aA26B48
0 ETH0.0054711744.47423165
Buy Tokens179703012023-08-22 12:37:59339 days ago1692707879IN
0x24c1b2ba...81aA26B48
0 ETH0.0032929525.762624
Buy Tokens179698812023-08-22 11:13:11339 days ago1692702791IN
0x24c1b2ba...81aA26B48
0 ETH0.0018215616.45214139
Buy Tokens179697002023-08-22 10:36:47339 days ago1692700607IN
0x24c1b2ba...81aA26B48
0 ETH0.0026070719.65836145
Buy Tokens179696872023-08-22 10:34:11339 days ago1692700451IN
0x24c1b2ba...81aA26B48
0 ETH0.0023558417.76403946
Buy Tokens179693552023-08-22 9:27:23340 days ago1692696443IN
0x24c1b2ba...81aA26B48
0 ETH0.0024160118.90541558
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SHIATokenCrowdsale

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : SHIATokenCrowdsale.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./Crowdsale.sol";
import "./AllowanceCrowdsale.sol";
import "./TimedCrowdsale.sol";

contract SHIATokenCrowdsale is AllowanceCrowdsale, TimedCrowdsale {
	constructor(
		uint256 _rate,
		address payable _wallet,
		ERC20 _token,
		ERC20 _usdt,
		address _tokenWallet,
		uint256 _openingTime,
		uint256 _closingTime,

		uint256 maxInvestment,
        uint256 minInvestment
	)
		Crowdsale(_rate, _wallet, _token, _usdt, maxInvestment, minInvestment)
		AllowanceCrowdsale(_tokenWallet)
		TimedCrowdsale(_openingTime, _closingTime)
	{}

	/**
	 * @dev Extend parent behavior requiring to be within contributing period.
	 * @param beneficiary Token purchaser
	 * @param weiAmount Amount of wei contributed
	 */
	function _preValidatePurchase(address beneficiary, uint256 weiAmount)
		internal
		view
		override(Crowdsale, TimedCrowdsale)
		onlyWhileOpen
	{
		super._preValidatePurchase(beneficiary, weiAmount);
	}

	/**
	 * @dev Overrides parent behavior by transferring tokens from wallet.
	 * @param beneficiary Token purchaser
	 * @param tokenAmount Amount of tokens purchased
	 */
	function _deliverTokens(address beneficiary, uint256 tokenAmount)
		internal
		override(Crowdsale, AllowanceCrowdsale)
	{
		super._deliverTokens(beneficiary, tokenAmount);
	}
}

File 2 of 13 : TimedCrowdsale.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Crowdsale.sol";

/**
 * @title TimedCrowdsale
 * @dev Borrow from https://github.dev/OpenZeppelin/openzeppelin-contracts/blob/docs-v2.x/contracts/crowdsale/validation/TimedCrowdsale.sol
 * @dev Crowdsale accepting contributions only within a time frame.
 */
abstract contract TimedCrowdsale is Crowdsale {
	uint256 public _openingTime;
	uint256 public _closingTime;

	/**
	 * Event for crowdsale extending
	 * @param newClosingTime new closing time
	 * @param prevClosingTime old closing time
	 */
	event TimedCrowdsaleExtended(
		uint256 prevClosingTime,
		uint256 newClosingTime
	);

	/**
	 * @dev Reverts if not in crowdsale time range.
	 */
	modifier onlyWhileOpen() {
		require(isOpen(), "TimedCrowdsale: not open");
		_;
	}

	/**
	 * @dev Constructor, takes crowdsale opening and closing times.
	 * @param openingTime Crowdsale opening time
	 * @param closingTime Crowdsale closing time
	 */
	constructor(uint256 openingTime, uint256 closingTime) {
		// solhint-disable-next-line not-rely-on-time
		require(
			openingTime >= block.timestamp,
			"TimedCrowdsale: opening time is before current time"
		);
		// solhint-disable-next-line max-line-length
		require(
			closingTime > openingTime,
			"TimedCrowdsale: opening time is not before closing time"
		);

		_openingTime = openingTime;
		_closingTime = closingTime;
	}


	/**
	 * @return true if the crowdsale is open, false otherwise.
	 */
	function isOpen() public view returns (bool) {
		// solhint-disable-next-line not-rely-on-time
		return
			block.timestamp >= _openingTime && block.timestamp <= _closingTime;
	}

	/**
	 * @dev Checks whether the period in which the crowdsale is open has already elapsed.
	 * @return Whether crowdsale period has elapsed
	 */
	function hasClosed() public view returns (bool) {
		// solhint-disable-next-line not-rely-on-time
		return block.timestamp > _closingTime;
	}

	/**
	 * @dev Extend parent behavior requiring to be within contributing period.
	 * @param beneficiary Token purchaser
	 * @param weiAmount Amount of wei contributed
	 */
	function _preValidatePurchase(address beneficiary, uint256 weiAmount)
		internal
		view
		virtual
		override
		onlyWhileOpen
	{
		super._preValidatePurchase(beneficiary, weiAmount);
	}

	/**
	 * @dev Extend crowdsale.
	 * @param newClosingTime Crowdsale closing time
	 */
	function _extendTime(uint256 newClosingTime) internal {
		require(!hasClosed(), "TimedCrowdsale: already closed");
		// solhint-disable-next-line max-line-length
		require(
			newClosingTime > _closingTime,
			"TimedCrowdsale: new closing time is before current closing time"
		);

		emit TimedCrowdsaleExtended(_closingTime, newClosingTime);
		_closingTime = newClosingTime;
	}
}

File 3 of 13 : AllowanceCrowdsale.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "./Crowdsale.sol";

/**
 * @title AllowanceCrowdsale
 * @dev Borrow from https://github.dev/OpenZeppelin/openzeppelin-contracts/blob/docs-v2.x/contracts/crowdsale/emission/AllowanceCrowdsale.sol
 * @dev Extension of Crowdsale where tokens are held by a wallet, which approves an allowance to the crowdsale.
 */
abstract contract AllowanceCrowdsale is Crowdsale {
	using SafeERC20 for IERC20;

	address public _tokenWallet;

	/**
	 * @dev Constructor, takes token wallet address.
	 * @param tokenWallet Address holding the tokens, which has approved allowance to the crowdsale.
	 */
	constructor(address tokenWallet) {
		require(
			tokenWallet != address(0),
			"AllowanceCrowdsale: token wallet is the zero address"
		);
		_tokenWallet = tokenWallet;
	}
	
	/**
	 * @dev Checks the amount of tokens left in the allowance.
	 * @return Amount of tokens left in the allowance
	 */
	function remainingTokens() public view returns (uint256) {
		return
			Math.min(
				_token.balanceOf(_tokenWallet),
				_token.allowance(_tokenWallet, address(this))
			);
	}

	/**
	 * @dev Overrides parent behavior by transferring tokens from wallet.
	 * @param beneficiary Token purchaser
	 * @param tokenAmount Amount of tokens purchased
	 */
	function _deliverTokens(address beneficiary, uint256 tokenAmount)
		internal
		virtual
		override
	{
		_token.safeTransferFrom(_tokenWallet, beneficiary, tokenAmount);
	}
}

File 4 of 13 : Crowdsale.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

/**
 * @title Crowdsale
 * @dev Borrow from https://github.dev/OpenZeppelin/openzeppelin-contracts/blob/docs-v2.x/contracts/crowdsale/Crowdsale.ol and upgrade to solidity v0.8.0
 * @dev Crowdsale is a base contract for managing a token crowdsale,
 * allowing investors to purchase tokens with ether. This contract implements
 * such functionality in its most fundamental form and can be extended to provide additional
 * functionality and/or custom behavior.
 * The external interface represents the basic interface for purchasing tokens, and conforms
 * the base architecture for crowdsales. It is *not* intended to be modified / overridden.
 * The internal interface conforms the extensible and modifiable surface of crowdsales. Override
 * the methods to add functionality. Consider using 'super' where appropriate to concatenate
 * behavior.
 */
contract Crowdsale is Context, Ownable, ReentrancyGuard {
	using SafeERC20 for IERC20;

	// The token being sold
	IERC20 public _token;

	// The token used to pruchase
	IERC20 public _usdt;

	// Maximum investment per investor (in USDT)
    uint256 public _maxInvestment;

    // Minimum investment per investor (in USDT)
    uint256 public _minInvestment;

	// Address where funds are collected
	address payable public _wallet;

	// How many token units a buyer gets per wei.
	// The rate is the conversion between wei and the smallest and indivisible token unit.
	// So, if you are using a rate of 1 with a ERC20Detailed token with 3 decimals called TOK
	// 1 wei will give you 1 unit, or 0.001 TOK.
	uint256 public _rate;

	// Amount of wei raised
	uint256 public _weiRaised;

	/**
	 * Event for token purchase logging
	 * @param purchaser who paid for the tokens
	 * @param beneficiary who got the tokens
	 * @param value weis paid for purchase
	 * @param amount amount of tokens purchased
	 */
	event TokensPurchased(
		address indexed purchaser,
		address indexed beneficiary,
		uint256 value,
		uint256 amount
	);

	/**
	 * @param rate Number of token units a buyer gets per wei
	 * @dev The rate is the conversion between wei and the smallest and indivisible
	 * token unit. So, if you are using a rate of 1 with a ERC20Detailed token
	 * with 3 decimals called TOK, 1 wei will give you 1 unit, or 0.001 TOK.
	 * @param wallet Address where collected funds will be forwarded to
	 * @param token Address of the token being sold
	 */
	constructor(
		uint256 rate,
		address payable wallet,
		IERC20 token,
		IERC20 usdt,

		uint256 maxInvestment,
        uint256 minInvestment
	) {
		require(rate > 0, "Crowdsale: rate is 0");
		require(wallet != address(0), "Crowdsale: wallet is the zero address");
		require(
			address(token) != address(0),
			"Crowdsale: token is the zero address"
		);
		require(maxInvestment > 0, "SHIACrowdsale: max investment is 0");
        require(minInvestment > 0, "SHIACrowdsale: min investment is 0");

		_rate = rate;
		_wallet = wallet;
		_token = token;
		_usdt = usdt;
		_maxInvestment = maxInvestment;
        _minInvestment = minInvestment;
	}


	/**
	 * @dev fallback function ***DO NOT OVERRIDE***
	 * Note that other contracts will transfer funds with a base gas stipend
	 * of 2300, which is not enough to call buyTokens. Consider calling
	 * buyTokens directly when purchasing tokens from a contract.
	 */
	// receive() external payable {
	// 	buyTokens(_msgSender());
	// }

	/**
	 * @dev This function updates the minimum investment
	 * This function has a non-reentrancy guard, so it shouldn't be called by
	 * another `nonReentrant` function.
	 * @param newMaxInvestment new max investment required
	 */
	function updateMaximumInvestment(uint256 newMaxInvestment) public onlyOwner nonReentrant  {
		// update rate
		_maxInvestment = newMaxInvestment;
	}

	/**
	 * @dev This function updates the minimum investment
	 * This function has a non-reentrancy guard, so it shouldn't be called by
	 * another `nonReentrant` function.
	 * @param newMinInvesetment new minimum investment required
	 */
	function updateMinimumInvestment(uint256 newMinInvesetment) public onlyOwner nonReentrant  {
		// update rate
		_minInvestment = newMinInvesetment;
	}

	/**
	 * @dev This function chnages the reciepient walet
	 * This function has a non-reentrancy guard, so it shouldn't be called by
	 * another `nonReentrant` function.
	 * @param newWallet New wallet
	 */
	function updateWallet(address payable newWallet) public onlyOwner nonReentrant  {
		// update rate
		_wallet = newWallet;
	}
	
	/**
	 * @dev This function chnages the rate
	 * This function has a non-reentrancy guard, so it shouldn't be called by
	 * another `nonReentrant` function.
	 * @param newRate Value in usdt involved in the purchase
	 */
	function updateRate(uint256 newRate) public onlyOwner nonReentrant  {
		// update rate
		_rate = newRate;
	}


	/**
	 * @dev low level token purchase ***DO NOT OVERRIDE***
	 * This function has a non-reentrancy guard, so it shouldn't be called by
	 * another `nonReentrant` function.
	 * @param beneficiary Recipient of the token purchase
	 * @param usdtAmount Value in usdt involved in the purchase
	 */
	function buyTokens(address beneficiary, uint256 usdtAmount) public nonReentrant {
		_preValidatePurchase(beneficiary, usdtAmount);

		// calculate token amount to be created
		uint256 tokenAmount = _getTokenAmount(usdtAmount);

		// update state
		_weiRaised = _weiRaised + usdtAmount;

		_processPurchase(beneficiary, tokenAmount);
		emit TokensPurchased(_msgSender(), beneficiary, usdtAmount, tokenAmount);

		_updatePurchasingState(beneficiary, usdtAmount);

		_forwardFunds(usdtAmount);
		_postValidatePurchase(beneficiary, usdtAmount);
	}

	/**
	 * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met.
	 * Use `super` in contracts that inherit from Crowdsale to extend their validations.
	 * Example from CappedCrowdsale.sol's _preValidatePurchase method:
	 *     super._preValidatePurchase(beneficiary, usdtAmount);
	 *     require(weiRaised().add(usdtAmount) <= cap);
	 * @param beneficiary Address performing the token purchase
	 * @param usdtAmount Value in wei involved in the purchase
	 */
	function _preValidatePurchase(address beneficiary, uint256 usdtAmount)
		internal
		view
		virtual
	{
		require(
			beneficiary != address(0),
			"Crowdsale: beneficiary is the zero address"
		);
		require(usdtAmount != 0, "Crowdsale: usdtAmount is 0");
		require(usdtAmount >= _minInvestment, "SHIACrowdsale: investment amount is less than minimum");
        require(usdtAmount <= _maxInvestment, "SHIACrowdsale: investment amount is greater than maximum");

		this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
	}

	/**
	 * @dev Validation of an executed purchase. Observe state and use revert statements to undo rollback when valid
	 * conditions are not met.
	 * @param beneficiary Address performing the token purchase
	 * @param usdtAmount Value in wei involved in the purchase
	 */
	function _postValidatePurchase(address beneficiary, uint256 usdtAmount)
		internal
		view
	{
		// solhint-disable-previous-line no-empty-blocks
	}

	/**
	 * @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends
	 * its tokens.
	 * @param beneficiary Address performing the token purchase
	 * @param tokenAmount Number of tokens to be emitted
	 */
	function _deliverTokens(address beneficiary, uint256 tokenAmount)
		internal
		virtual
	{
		_token.safeTransfer(beneficiary, tokenAmount);
	}

	/**
	 * @dev Executed when a purchase has been validated and is ready to be executed. Doesn't necessarily emit/send
	 * tokens.
	 * @param beneficiary Address receiving the tokens
	 * @param tokenAmount Number of tokens to be purchased
	 */
	function _processPurchase(address beneficiary, uint256 tokenAmount)
		internal
	{
		_deliverTokens(beneficiary, tokenAmount);
	}

	/**
	 * @dev Override for extensions that require an internal state to check for validity (current user contributions,
	 * etc.)
	 * @param beneficiary Address receiving the tokens
	 * @param usdtAmount Value in wei involved in the purchase
	 */
	function _updatePurchasingState(address beneficiary, uint256 usdtAmount)
		internal
	{
		// solhint-disable-previous-line no-empty-blocks
	}

	/**
	 * @dev Override to extend the way in which ether is converted to tokens.
	 * @param usdtAmount Value in usdt to be converted into tokens
	 * @return Number of tokens that can be purchased with the specified _weiAmount
	 */
	function _getTokenAmount(uint256 usdtAmount)
		internal
		view
		returns (uint256)
	{
		return usdtAmount * _rate;
	}


	/**
	 * @dev Determines how ETH is stored/forwarded on purchases.
	 */
	function _forwardFunds(uint256 usdtAmount) internal {
		// conver usdtAmount to kwei because usdt is 6 decimals
		uint256 kweiAmount = usdtAmount / 10 ** 12;
		
		require(_wallet != address(0), "SHIACrowdsale: wallet is the zero address");
        require(_usdt.balanceOf(msg.sender) >= kweiAmount, "SHIACrowdsale: insufficient USDT balance");
        SafeERC20.safeTransferFrom(_usdt, msg.sender, _wallet, kweiAmount);
	}
}

File 5 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT

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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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 defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @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");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to 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 { }
}

File 6 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 of 13 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.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;

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

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

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

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

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

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

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

File 8 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 9 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 11 of 13 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 12 of 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

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);
}

File 13 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"},{"internalType":"address payable","name":"_wallet","type":"address"},{"internalType":"contract ERC20","name":"_token","type":"address"},{"internalType":"contract ERC20","name":"_usdt","type":"address"},{"internalType":"address","name":"_tokenWallet","type":"address"},{"internalType":"uint256","name":"_openingTime","type":"uint256"},{"internalType":"uint256","name":"_closingTime","type":"uint256"},{"internalType":"uint256","name":"maxInvestment","type":"uint256"},{"internalType":"uint256","name":"minInvestment","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"prevClosingTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newClosingTime","type":"uint256"}],"name":"TimedCrowdsaleExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"purchaser","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensPurchased","type":"event"},{"inputs":[],"name":"_closingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxInvestment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_minInvestment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_openingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_usdt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_weiRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"usdtAmount","type":"uint256"}],"name":"buyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasClosed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxInvestment","type":"uint256"}],"name":"updateMaximumInvestment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinInvesetment","type":"uint256"}],"name":"updateMinimumInvestment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"updateRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newWallet","type":"address"}],"name":"updateWallet","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002e1a38038062002e1a833981810160405281019062000037919062000550565b8383868b8b8b8b8888600062000052620004ec60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060018081905550600086116200013d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000134906200082d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415620001b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001a7906200084f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000223576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200021a906200080b565b60405180910390fd5b6000821162000269576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002609062000761565b60405180910390fd5b60008111620002af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a690620007c7565b60405180910390fd5b8560078190555084600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160048190555080600581905550505050505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000400576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003f790620007a5565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550504282101562000488576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200047f9062000783565b60405180910390fd5b818111620004cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004c490620007e9565b60405180910390fd5b81600a8190555080600b81905550505050505050505050505062000ba2565b600033905090565b600081519050620005058162000b3a565b92915050565b6000815190506200051c8162000b54565b92915050565b600081519050620005338162000b6e565b92915050565b6000815190506200054a8162000b88565b92915050565b60008060008060008060008060006101208a8c0312156200057057600080fd5b6000620005808c828d0162000539565b9950506020620005938c828d016200050b565b9850506040620005a68c828d0162000522565b9750506060620005b98c828d0162000522565b9650506080620005cc8c828d01620004f4565b95505060a0620005df8c828d0162000539565b94505060c0620005f28c828d0162000539565b93505060e0620006058c828d0162000539565b925050610100620006198c828d0162000539565b9150509295985092959850929598565b60006200063860228362000871565b91506200064582620008e8565b604082019050919050565b60006200065f60338362000871565b91506200066c8262000937565b604082019050919050565b60006200068660348362000871565b9150620006938262000986565b604082019050919050565b6000620006ad60228362000871565b9150620006ba82620009d5565b604082019050919050565b6000620006d460378362000871565b9150620006e18262000a24565b604082019050919050565b6000620006fb60248362000871565b9150620007088262000a73565b604082019050919050565b60006200072260148362000871565b91506200072f8262000ac2565b602082019050919050565b60006200074960258362000871565b9150620007568262000aeb565b604082019050919050565b600060208201905081810360008301526200077c8162000629565b9050919050565b600060208201905081810360008301526200079e8162000650565b9050919050565b60006020820190508181036000830152620007c08162000677565b9050919050565b60006020820190508181036000830152620007e2816200069e565b9050919050565b600060208201905081810360008301526200080481620006c5565b9050919050565b600060208201905081810360008301526200082681620006ec565b9050919050565b60006020820190508181036000830152620008488162000713565b9050919050565b600060208201905081810360008301526200086a816200073a565b9050919050565b600082825260208201905092915050565b60006200088f82620008be565b9050919050565b6000620008a382620008be565b9050919050565b6000620008b78262000882565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f5348494143726f776473616c653a206d617820696e766573746d656e7420697360008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b7f54696d656443726f776473616c653a206f70656e696e672074696d652069732060008201527f6265666f72652063757272656e742074696d6500000000000000000000000000602082015250565b7f416c6c6f77616e636543726f776473616c653a20746f6b656e2077616c6c657460008201527f20697320746865207a65726f2061646472657373000000000000000000000000602082015250565b7f5348494143726f776473616c653a206d696e20696e766573746d656e7420697360008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b7f54696d656443726f776473616c653a206f70656e696e672074696d652069732060008201527f6e6f74206265666f726520636c6f73696e672074696d65000000000000000000602082015250565b7f43726f776473616c653a20746f6b656e20697320746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f43726f776473616c653a20726174652069732030000000000000000000000000600082015250565b7f43726f776473616c653a2077616c6c657420697320746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b62000b458162000882565b811462000b5157600080fd5b50565b62000b5f8162000896565b811462000b6b57600080fd5b50565b62000b7981620008aa565b811462000b8557600080fd5b50565b62000b9381620008de565b811462000b9f57600080fd5b50565b6122688062000bb26000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063848b86e3116100b8578063db847deb1161007c578063db847deb146102e2578063dce12abd146102fe578063ecd0c0c31461031c578063f2fde38b1461033a578063f7d978bd14610356578063f853edb41461037457610137565b8063848b86e31461024e5780638da5cb5b1461026a57806394a5aa8d14610288578063be3601f8146102a6578063bf583903146102c457610137565b80636329b4ba116100ff5780636329b4ba146101d05780636418345e146101ee57806369ea17711461020a578063715018a61461022657806383bebced1461023057610137565b80630752881a1461013c5780631515bc2b1461015857806347535d7b146101765780634ff9448e14610194578063610757e4146101b2575b600080fd5b61015660048036038101906101519190611642565b610392565b005b6101606104ac565b60405161016d9190611a22565b60405180910390f35b61017e6104b8565b60405161018b9190611a22565b60405180910390f35b61019c6104d3565b6040516101a99190611c1a565b60405180910390f35b6101ba6104d9565b6040516101c791906119a7565b60405180910390f35b6101d86104ff565b6040516101e59190611c1a565b60405180910390f35b610208600480360381019061020391906116a7565b610505565b005b610224600480360381019061021f91906116a7565b6105e0565b005b61022e6106bb565b005b6102386107f5565b6040516102459190611c1a565b60405180910390f35b61026860048036038101906102639190611619565b6107fb565b005b610272610910565b60405161027f919061198c565b60405180910390f35b610290610939565b60405161029d9190611c1a565b60405180910390f35b6102ae61093f565b6040516102bb9190611a3d565b60405180910390f35b6102cc610965565b6040516102d99190611c1a565b60405180910390f35b6102fc60048036038101906102f791906116a7565b610b10565b005b610306610beb565b604051610313919061198c565b60405180910390f35b610324610c11565b6040516103319190611a3d565b60405180910390f35b610354600480360381019061034f91906115f0565b610c37565b005b61035e610de0565b60405161036b9190611c1a565b60405180910390f35b61037c610de6565b6040516103899190611c1a565b60405180910390f35b600260015414156103d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103cf90611bfa565b60405180910390fd5b60026001819055506103ea8282610dec565b60006103f582610e41565b9050816008546104059190611c90565b6008819055506104158382610e58565b8273ffffffffffffffffffffffffffffffffffffffff16610434610e66565b73ffffffffffffffffffffffffffffffffffffffff167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b848460405161047b929190611c35565b60405180910390a361048d8383610e6e565b61049682610e72565b6104a0838361105a565b50600180819055505050565b6000600b544211905090565b6000600a5442101580156104ce5750600b544211155b905090565b600b5481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b61050d610e66565b73ffffffffffffffffffffffffffffffffffffffff1661052b610910565b73ffffffffffffffffffffffffffffffffffffffff1614610581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057890611b5a565b60405180910390fd5b600260015414156105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be90611bfa565b60405180910390fd5b6002600181905550806005819055506001808190555050565b6105e8610e66565b73ffffffffffffffffffffffffffffffffffffffff16610606610910565b73ffffffffffffffffffffffffffffffffffffffff161461065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065390611b5a565b60405180910390fd5b600260015414156106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990611bfa565b60405180910390fd5b6002600181905550806007819055506001808190555050565b6106c3610e66565b73ffffffffffffffffffffffffffffffffffffffff166106e1610910565b73ffffffffffffffffffffffffffffffffffffffff1614610737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072e90611b5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60075481565b610803610e66565b73ffffffffffffffffffffffffffffffffffffffff16610821610910565b73ffffffffffffffffffffffffffffffffffffffff1614610877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086e90611b5a565b60405180910390fd5b600260015414156108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b490611bfa565b60405180910390fd5b600260018190555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001808190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610b0b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016109e7919061198c565b60206040518083038186803b1580156109ff57600080fd5b505afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3791906116d0565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16306040518363ffffffff1660e01b8152600401610ab69291906119c2565b60206040518083038186803b158015610ace57600080fd5b505afa158015610ae2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0691906116d0565b61105e565b905090565b610b18610e66565b73ffffffffffffffffffffffffffffffffffffffff16610b36610910565b73ffffffffffffffffffffffffffffffffffffffff1614610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8390611b5a565b60405180910390fd5b60026001541415610bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc990611bfa565b60405180910390fd5b6002600181905550806004819055506001808190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c3f610e66565b73ffffffffffffffffffffffffffffffffffffffff16610c5d610910565b73ffffffffffffffffffffffffffffffffffffffff1614610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90611b5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90611a9a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b600a5481565b610df46104b8565b610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90611aba565b60405180910390fd5b610e3d8282611077565b5050565b600060075482610e519190611d17565b9050919050565b610e6282826110cc565b5050565b600033905090565b5050565b600064e8d4a5100082610e859190611ce6565b9050600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1090611b1a565b60405180910390fd5b80600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610f75919061198c565b60206040518083038186803b158015610f8d57600080fd5b505afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc591906116d0565b1015611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90611ada565b60405180910390fd5b611056600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846110da565b5050565b5050565b600081831061106d578161106f565b825b905092915050565b61107f6104b8565b6110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b590611aba565b60405180910390fd5b6110c88282611163565b5050565b6110d682826112a5565b5050565b61115d846323b872dd60e01b8585856040516024016110fb939291906119eb565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061131a565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90611b7a565b60405180910390fd5b6000811415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90611b9a565b60405180910390fd5b60055481101561125c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125390611a7a565b60405180910390fd5b6004548111156112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129890611b3a565b60405180910390fd5b5050565b611316600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168383600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166110da909392919063ffffffff16565b5050565b600061137c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113e19092919063ffffffff16565b90506000815111156113dc578080602001905181019061139c919061167e565b6113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290611bda565b60405180910390fd5b5b505050565b60606113f084846000856113f9565b90509392505050565b60608247101561143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590611afa565b60405180910390fd5b6114478561150d565b611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90611bba565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516114af9190611975565b60006040518083038185875af1925050503d80600081146114ec576040519150601f19603f3d011682016040523d82523d6000602084013e6114f1565b606091505b5091509150611501828286611520565b92505050949350505050565b600080823b905060008111915050919050565b6060831561153057829050611580565b6000835111156115435782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115779190611a58565b60405180910390fd5b9392505050565b600081359050611596816121d6565b92915050565b6000813590506115ab816121ed565b92915050565b6000815190506115c081612204565b92915050565b6000813590506115d58161221b565b92915050565b6000815190506115ea8161221b565b92915050565b60006020828403121561160257600080fd5b600061161084828501611587565b91505092915050565b60006020828403121561162b57600080fd5b60006116398482850161159c565b91505092915050565b6000806040838503121561165557600080fd5b600061166385828601611587565b9250506020611674858286016115c6565b9150509250929050565b60006020828403121561169057600080fd5b600061169e848285016115b1565b91505092915050565b6000602082840312156116b957600080fd5b60006116c7848285016115c6565b91505092915050565b6000602082840312156116e257600080fd5b60006116f0848285016115db565b91505092915050565b61170281611d83565b82525050565b61171181611d71565b82525050565b61172081611d95565b82525050565b600061173182611c5e565b61173b8185611c74565b935061174b818560208601611def565b80840191505092915050565b61176081611dcb565b82525050565b600061177182611c69565b61177b8185611c7f565b935061178b818560208601611def565b61179481611e80565b840191505092915050565b60006117ac603583611c7f565b91506117b782611e91565b604082019050919050565b60006117cf602683611c7f565b91506117da82611ee0565b604082019050919050565b60006117f2601883611c7f565b91506117fd82611f2f565b602082019050919050565b6000611815602883611c7f565b915061182082611f58565b604082019050919050565b6000611838602683611c7f565b915061184382611fa7565b604082019050919050565b600061185b602983611c7f565b915061186682611ff6565b604082019050919050565b600061187e603883611c7f565b915061188982612045565b604082019050919050565b60006118a1602083611c7f565b91506118ac82612094565b602082019050919050565b60006118c4602a83611c7f565b91506118cf826120bd565b604082019050919050565b60006118e7601a83611c7f565b91506118f28261210c565b602082019050919050565b600061190a601d83611c7f565b915061191582612135565b602082019050919050565b600061192d602a83611c7f565b91506119388261215e565b604082019050919050565b6000611950601f83611c7f565b915061195b826121ad565b602082019050919050565b61196f81611dc1565b82525050565b60006119818284611726565b915081905092915050565b60006020820190506119a16000830184611708565b92915050565b60006020820190506119bc60008301846116f9565b92915050565b60006040820190506119d76000830185611708565b6119e46020830184611708565b9392505050565b6000606082019050611a006000830186611708565b611a0d6020830185611708565b611a1a6040830184611966565b949350505050565b6000602082019050611a376000830184611717565b92915050565b6000602082019050611a526000830184611757565b92915050565b60006020820190508181036000830152611a728184611766565b905092915050565b60006020820190508181036000830152611a938161179f565b9050919050565b60006020820190508181036000830152611ab3816117c2565b9050919050565b60006020820190508181036000830152611ad3816117e5565b9050919050565b60006020820190508181036000830152611af381611808565b9050919050565b60006020820190508181036000830152611b138161182b565b9050919050565b60006020820190508181036000830152611b338161184e565b9050919050565b60006020820190508181036000830152611b5381611871565b9050919050565b60006020820190508181036000830152611b7381611894565b9050919050565b60006020820190508181036000830152611b93816118b7565b9050919050565b60006020820190508181036000830152611bb3816118da565b9050919050565b60006020820190508181036000830152611bd3816118fd565b9050919050565b60006020820190508181036000830152611bf381611920565b9050919050565b60006020820190508181036000830152611c1381611943565b9050919050565b6000602082019050611c2f6000830184611966565b92915050565b6000604082019050611c4a6000830185611966565b611c576020830184611966565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611c9b82611dc1565b9150611ca683611dc1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611cdb57611cda611e22565b5b828201905092915050565b6000611cf182611dc1565b9150611cfc83611dc1565b925082611d0c57611d0b611e51565b5b828204905092915050565b6000611d2282611dc1565b9150611d2d83611dc1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611d6657611d65611e22565b5b828202905092915050565b6000611d7c82611da1565b9050919050565b6000611d8e82611da1565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611dd682611ddd565b9050919050565b6000611de882611da1565b9050919050565b60005b83811015611e0d578082015181840152602081019050611df2565b83811115611e1c576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f5348494143726f776473616c653a20696e766573746d656e7420616d6f756e7460008201527f206973206c657373207468616e206d696e696d756d0000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54696d656443726f776473616c653a206e6f74206f70656e0000000000000000600082015250565b7f5348494143726f776473616c653a20696e73756666696369656e74205553445460008201527f2062616c616e6365000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5348494143726f776473616c653a2077616c6c657420697320746865207a657260008201527f6f20616464726573730000000000000000000000000000000000000000000000602082015250565b7f5348494143726f776473616c653a20696e766573746d656e7420616d6f756e7460008201527f2069732067726561746572207468616e206d6178696d756d0000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43726f776473616c653a2062656e656669636961727920697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f43726f776473616c653a2075736474416d6f756e742069732030000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6121df81611d71565b81146121ea57600080fd5b50565b6121f681611d83565b811461220157600080fd5b50565b61220d81611d95565b811461221857600080fd5b50565b61222481611dc1565b811461222f57600080fd5b5056fea2646970667358221220589310e5384286b243d0db27ec5471a7a13b50d089a1c38cce495f61470f23df64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000019000000000000000000000000b93545b5bd508a29fded676cb80c395fa05d347a0000000000000000000000002da32d5c8c6f6b58ed0a16eeb163ce92e7687acd000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000081690e382d85f86e6c1c678d7e248265d5e24e040000000000000000000000000000000000000000000000000000000064487d8a00000000000000000000000000000000000000000000000000000000676cadda000000000000000000000000000000000000000000003f870857a3e0e380000000000000000000000000000000000000000000000000000d8d726b7177a80000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063848b86e3116100b8578063db847deb1161007c578063db847deb146102e2578063dce12abd146102fe578063ecd0c0c31461031c578063f2fde38b1461033a578063f7d978bd14610356578063f853edb41461037457610137565b8063848b86e31461024e5780638da5cb5b1461026a57806394a5aa8d14610288578063be3601f8146102a6578063bf583903146102c457610137565b80636329b4ba116100ff5780636329b4ba146101d05780636418345e146101ee57806369ea17711461020a578063715018a61461022657806383bebced1461023057610137565b80630752881a1461013c5780631515bc2b1461015857806347535d7b146101765780634ff9448e14610194578063610757e4146101b2575b600080fd5b61015660048036038101906101519190611642565b610392565b005b6101606104ac565b60405161016d9190611a22565b60405180910390f35b61017e6104b8565b60405161018b9190611a22565b60405180910390f35b61019c6104d3565b6040516101a99190611c1a565b60405180910390f35b6101ba6104d9565b6040516101c791906119a7565b60405180910390f35b6101d86104ff565b6040516101e59190611c1a565b60405180910390f35b610208600480360381019061020391906116a7565b610505565b005b610224600480360381019061021f91906116a7565b6105e0565b005b61022e6106bb565b005b6102386107f5565b6040516102459190611c1a565b60405180910390f35b61026860048036038101906102639190611619565b6107fb565b005b610272610910565b60405161027f919061198c565b60405180910390f35b610290610939565b60405161029d9190611c1a565b60405180910390f35b6102ae61093f565b6040516102bb9190611a3d565b60405180910390f35b6102cc610965565b6040516102d99190611c1a565b60405180910390f35b6102fc60048036038101906102f791906116a7565b610b10565b005b610306610beb565b604051610313919061198c565b60405180910390f35b610324610c11565b6040516103319190611a3d565b60405180910390f35b610354600480360381019061034f91906115f0565b610c37565b005b61035e610de0565b60405161036b9190611c1a565b60405180910390f35b61037c610de6565b6040516103899190611c1a565b60405180910390f35b600260015414156103d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103cf90611bfa565b60405180910390fd5b60026001819055506103ea8282610dec565b60006103f582610e41565b9050816008546104059190611c90565b6008819055506104158382610e58565b8273ffffffffffffffffffffffffffffffffffffffff16610434610e66565b73ffffffffffffffffffffffffffffffffffffffff167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b848460405161047b929190611c35565b60405180910390a361048d8383610e6e565b61049682610e72565b6104a0838361105a565b50600180819055505050565b6000600b544211905090565b6000600a5442101580156104ce5750600b544211155b905090565b600b5481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b61050d610e66565b73ffffffffffffffffffffffffffffffffffffffff1661052b610910565b73ffffffffffffffffffffffffffffffffffffffff1614610581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057890611b5a565b60405180910390fd5b600260015414156105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105be90611bfa565b60405180910390fd5b6002600181905550806005819055506001808190555050565b6105e8610e66565b73ffffffffffffffffffffffffffffffffffffffff16610606610910565b73ffffffffffffffffffffffffffffffffffffffff161461065c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065390611b5a565b60405180910390fd5b600260015414156106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990611bfa565b60405180910390fd5b6002600181905550806007819055506001808190555050565b6106c3610e66565b73ffffffffffffffffffffffffffffffffffffffff166106e1610910565b73ffffffffffffffffffffffffffffffffffffffff1614610737576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072e90611b5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60075481565b610803610e66565b73ffffffffffffffffffffffffffffffffffffffff16610821610910565b73ffffffffffffffffffffffffffffffffffffffff1614610877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086e90611b5a565b60405180910390fd5b600260015414156108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b490611bfa565b60405180910390fd5b600260018190555080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001808190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610b0b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016109e7919061198c565b60206040518083038186803b1580156109ff57600080fd5b505afa158015610a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3791906116d0565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16306040518363ffffffff1660e01b8152600401610ab69291906119c2565b60206040518083038186803b158015610ace57600080fd5b505afa158015610ae2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0691906116d0565b61105e565b905090565b610b18610e66565b73ffffffffffffffffffffffffffffffffffffffff16610b36610910565b73ffffffffffffffffffffffffffffffffffffffff1614610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8390611b5a565b60405180910390fd5b60026001541415610bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc990611bfa565b60405180910390fd5b6002600181905550806004819055506001808190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c3f610e66565b73ffffffffffffffffffffffffffffffffffffffff16610c5d610910565b73ffffffffffffffffffffffffffffffffffffffff1614610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90611b5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90611a9a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b600a5481565b610df46104b8565b610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90611aba565b60405180910390fd5b610e3d8282611077565b5050565b600060075482610e519190611d17565b9050919050565b610e6282826110cc565b5050565b600033905090565b5050565b600064e8d4a5100082610e859190611ce6565b9050600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1090611b1a565b60405180910390fd5b80600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610f75919061198c565b60206040518083038186803b158015610f8d57600080fd5b505afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc591906116d0565b1015611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90611ada565b60405180910390fd5b611056600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846110da565b5050565b5050565b600081831061106d578161106f565b825b905092915050565b61107f6104b8565b6110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b590611aba565b60405180910390fd5b6110c88282611163565b5050565b6110d682826112a5565b5050565b61115d846323b872dd60e01b8585856040516024016110fb939291906119eb565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061131a565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90611b7a565b60405180910390fd5b6000811415611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90611b9a565b60405180910390fd5b60055481101561125c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125390611a7a565b60405180910390fd5b6004548111156112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129890611b3a565b60405180910390fd5b5050565b611316600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168383600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166110da909392919063ffffffff16565b5050565b600061137c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113e19092919063ffffffff16565b90506000815111156113dc578080602001905181019061139c919061167e565b6113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290611bda565b60405180910390fd5b5b505050565b60606113f084846000856113f9565b90509392505050565b60608247101561143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590611afa565b60405180910390fd5b6114478561150d565b611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90611bba565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516114af9190611975565b60006040518083038185875af1925050503d80600081146114ec576040519150601f19603f3d011682016040523d82523d6000602084013e6114f1565b606091505b5091509150611501828286611520565b92505050949350505050565b600080823b905060008111915050919050565b6060831561153057829050611580565b6000835111156115435782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115779190611a58565b60405180910390fd5b9392505050565b600081359050611596816121d6565b92915050565b6000813590506115ab816121ed565b92915050565b6000815190506115c081612204565b92915050565b6000813590506115d58161221b565b92915050565b6000815190506115ea8161221b565b92915050565b60006020828403121561160257600080fd5b600061161084828501611587565b91505092915050565b60006020828403121561162b57600080fd5b60006116398482850161159c565b91505092915050565b6000806040838503121561165557600080fd5b600061166385828601611587565b9250506020611674858286016115c6565b9150509250929050565b60006020828403121561169057600080fd5b600061169e848285016115b1565b91505092915050565b6000602082840312156116b957600080fd5b60006116c7848285016115c6565b91505092915050565b6000602082840312156116e257600080fd5b60006116f0848285016115db565b91505092915050565b61170281611d83565b82525050565b61171181611d71565b82525050565b61172081611d95565b82525050565b600061173182611c5e565b61173b8185611c74565b935061174b818560208601611def565b80840191505092915050565b61176081611dcb565b82525050565b600061177182611c69565b61177b8185611c7f565b935061178b818560208601611def565b61179481611e80565b840191505092915050565b60006117ac603583611c7f565b91506117b782611e91565b604082019050919050565b60006117cf602683611c7f565b91506117da82611ee0565b604082019050919050565b60006117f2601883611c7f565b91506117fd82611f2f565b602082019050919050565b6000611815602883611c7f565b915061182082611f58565b604082019050919050565b6000611838602683611c7f565b915061184382611fa7565b604082019050919050565b600061185b602983611c7f565b915061186682611ff6565b604082019050919050565b600061187e603883611c7f565b915061188982612045565b604082019050919050565b60006118a1602083611c7f565b91506118ac82612094565b602082019050919050565b60006118c4602a83611c7f565b91506118cf826120bd565b604082019050919050565b60006118e7601a83611c7f565b91506118f28261210c565b602082019050919050565b600061190a601d83611c7f565b915061191582612135565b602082019050919050565b600061192d602a83611c7f565b91506119388261215e565b604082019050919050565b6000611950601f83611c7f565b915061195b826121ad565b602082019050919050565b61196f81611dc1565b82525050565b60006119818284611726565b915081905092915050565b60006020820190506119a16000830184611708565b92915050565b60006020820190506119bc60008301846116f9565b92915050565b60006040820190506119d76000830185611708565b6119e46020830184611708565b9392505050565b6000606082019050611a006000830186611708565b611a0d6020830185611708565b611a1a6040830184611966565b949350505050565b6000602082019050611a376000830184611717565b92915050565b6000602082019050611a526000830184611757565b92915050565b60006020820190508181036000830152611a728184611766565b905092915050565b60006020820190508181036000830152611a938161179f565b9050919050565b60006020820190508181036000830152611ab3816117c2565b9050919050565b60006020820190508181036000830152611ad3816117e5565b9050919050565b60006020820190508181036000830152611af381611808565b9050919050565b60006020820190508181036000830152611b138161182b565b9050919050565b60006020820190508181036000830152611b338161184e565b9050919050565b60006020820190508181036000830152611b5381611871565b9050919050565b60006020820190508181036000830152611b7381611894565b9050919050565b60006020820190508181036000830152611b93816118b7565b9050919050565b60006020820190508181036000830152611bb3816118da565b9050919050565b60006020820190508181036000830152611bd3816118fd565b9050919050565b60006020820190508181036000830152611bf381611920565b9050919050565b60006020820190508181036000830152611c1381611943565b9050919050565b6000602082019050611c2f6000830184611966565b92915050565b6000604082019050611c4a6000830185611966565b611c576020830184611966565b9392505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611c9b82611dc1565b9150611ca683611dc1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611cdb57611cda611e22565b5b828201905092915050565b6000611cf182611dc1565b9150611cfc83611dc1565b925082611d0c57611d0b611e51565b5b828204905092915050565b6000611d2282611dc1565b9150611d2d83611dc1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611d6657611d65611e22565b5b828202905092915050565b6000611d7c82611da1565b9050919050565b6000611d8e82611da1565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611dd682611ddd565b9050919050565b6000611de882611da1565b9050919050565b60005b83811015611e0d578082015181840152602081019050611df2565b83811115611e1c576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f5348494143726f776473616c653a20696e766573746d656e7420616d6f756e7460008201527f206973206c657373207468616e206d696e696d756d0000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54696d656443726f776473616c653a206e6f74206f70656e0000000000000000600082015250565b7f5348494143726f776473616c653a20696e73756666696369656e74205553445460008201527f2062616c616e6365000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5348494143726f776473616c653a2077616c6c657420697320746865207a657260008201527f6f20616464726573730000000000000000000000000000000000000000000000602082015250565b7f5348494143726f776473616c653a20696e766573746d656e7420616d6f756e7460008201527f2069732067726561746572207468616e206d6178696d756d0000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43726f776473616c653a2062656e656669636961727920697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f43726f776473616c653a2075736474416d6f756e742069732030000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6121df81611d71565b81146121ea57600080fd5b50565b6121f681611d83565b811461220157600080fd5b50565b61220d81611d95565b811461221857600080fd5b50565b61222481611dc1565b811461222f57600080fd5b5056fea2646970667358221220589310e5384286b243d0db27ec5471a7a13b50d089a1c38cce495f61470f23df64736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000019000000000000000000000000b93545b5bd508a29fded676cb80c395fa05d347a0000000000000000000000002da32d5c8c6f6b58ed0a16eeb163ce92e7687acd000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000081690e382d85f86e6c1c678d7e248265d5e24e040000000000000000000000000000000000000000000000000000000064487d8a00000000000000000000000000000000000000000000000000000000676cadda000000000000000000000000000000000000000000003f870857a3e0e380000000000000000000000000000000000000000000000000000d8d726b7177a80000

-----Decoded View---------------
Arg [0] : _rate (uint256): 25
Arg [1] : _wallet (address): 0xB93545b5bd508A29FDEd676cB80c395fa05D347a
Arg [2] : _token (address): 0x2Da32d5c8c6F6B58Ed0A16eeb163cE92E7687Acd
Arg [3] : _usdt (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [4] : _tokenWallet (address): 0x81690e382D85f86E6C1c678d7e248265d5E24E04
Arg [5] : _openingTime (uint256): 1682472330
Arg [6] : _closingTime (uint256): 1735175642
Arg [7] : maxInvestment (uint256): 300000000000000000000000
Arg [8] : minInvestment (uint256): 250000000000000000000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [1] : 000000000000000000000000b93545b5bd508a29fded676cb80c395fa05d347a
Arg [2] : 0000000000000000000000002da32d5c8c6f6b58ed0a16eeb163ce92e7687acd
Arg [3] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [4] : 00000000000000000000000081690e382d85f86e6c1c678d7e248265d5e24e04
Arg [5] : 0000000000000000000000000000000000000000000000000000000064487d8a
Arg [6] : 00000000000000000000000000000000000000000000000000000000676cadda
Arg [7] : 000000000000000000000000000000000000000000003f870857a3e0e3800000
Arg [8] : 00000000000000000000000000000000000000000000000d8d726b7177a80000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.